diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index b3fa1e0..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2 -updates: - - package-ecosystem: github-actions - directory: "/" - schedule: - interval: daily - time: "04:00" - reviewers: - - "waja" - pull-request-branch-name: - separator: "-" - open-pull-requests-limit: 10 diff --git a/.github/workflows/packaging_test.yml b/.github/workflows/packaging_test.yml deleted file mode 100644 index 9dc4643..0000000 --- a/.github/workflows/packaging_test.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Packaging Test - -on: - push: - branches: - - $default-branch - - development - - master - # Run tests for any PRs - pull_request: - -env: - SOURCE_DIR: ./ - ARTIFACTS_DIR: debian/build/release/ - -jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - env: - DEBIAN_FRONTEND: "noninteractive" - - name: Remove github artefacts - run: | - rm -rf .github* - - name: Adjust distibution in changelog file - run: | - sed -i '0,/restricted/s//stable/' debian/changelog - - name: Build Debian package - uses: dawidd6/action-debian-package@v1.4.4 - with: - artifacts_directory: debian/build/release/ - os_distribution: testing - - name: Debug - run: | - ls -la diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 3ef907c..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,71 +0,0 @@ -on: - push: - # Sequence of patterns matched against refs/tags - tags: - - 'debian/*' # Push events to matching debian/*, i.e. debian/1.0-2, debian/20.15.10, debian/23.20020326 - -name: Release Process - -env: - SOURCE_DIR: ./ - ARTIFACTS_DIR: debian/build/release/ - -jobs: - create-release: - name: Create Release - runs-on: ubuntu-latest - outputs: - release-id: ${{ steps.create_release.outputs.id }} - steps: - - name: Checkout code - uses: actions/checkout@v3 - - name: Install needed packages - run: | - if [ $(dpkg -l | grep -c dpkg-dev) -ne 1 ]; then sudo apt-get update && sudo apt-get install -y dpkg-dev; fi - - name: Gather changelog - run: | - ls -la - dpkg-parsechangelog | tail -n +9 > debian.changelog - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - body_path: debian.changelog - draft: false - prerelease: false - - build: - name: Build and upload packages - needs: create-release - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - env: - DEBIAN_FRONTEND: "noninteractive" - - name: Remove github artefacts - run: | - rm -rf .github* - - name: Adjust distibution in changelog file - run: | - sed -i '0,/restricted/s//stable/' debian/changelog - - name: Build Debian package - uses: dawidd6/action-debian-package@v1.4.4 - with: - artifacts_directory: debian/build/release/ - os_distribution: testing -# - name: Build Debian package -# uses: pi-top/action-debian-package@v0.2.0 -# with: -# artifacts_directory: debian/build/release/ -# target_architectures: "amd64,i386" - - name: Upload the artifacts - uses: skx/github-action-publish-binaries@release-2.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - releaseId: ${{ needs.create-release.outputs.release-id }} - args: debian/build/release/* diff --git a/ChangeLog b/ChangeLog index ca6cf7b..1e3d4bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,22958 +1 @@ -2022-10-19 Sven Nierlein - - * NP-VERSION-GEN, configure.ac: set release version for 2.3.2 - - * AUTHORS, NEWS, THANKS.in, doc/RELEASING.md: release v2.3.2 - -2021-04-10 Jan Wagner - - * THANKS.in: Updating THANKS.in - - * AUTHORS: Adding Andreas Baumann to AUTHORS - - * NEWS: Draft NEWS - -2022-10-07 Lorenz <12514511+RincewindsHat@users.noreply.github.com> - - * configure.ac, pkg/solaris/solpkg, plugins-scripts/check_sensors.sh: - Replace egrep with grep -E (#1791) - - Replace egrep with grep -E to avoid the deprecation warnings - -2022-09-19 Lorenz <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/check_load.c, plugins/t/check_load.t: Display total and scaled - load values if check_load scales the values by number of CPUs (#1778) - - * Renew copyright - - * Display more verbose output, if scaled load values are used - - * Actually use scaled value for determining status and print the fitting perfdata depending on input parameters - - * Add test cases for scaled mode - -2016-12-31 Jan Wagner - - * plugins/check_http.c: check_http: Fix HD6 definition - -2016-11-21 John C. Frickson - - * plugins/check_http.c: I had to make a couple of small changes. - -2016-04-12 Eric Wunderlin - - * plugins/check_http.c: Remove unused code - -2016-04-11 Eric Wunderlin - - * plugins/check_http.c: Added ability to correctly check redirects with - reference format //test.server.com/folder - - Referenced redirect of the format //www.server.com/folder would result - in check_http trying to contact http://hostname:80//www.server.com/folder - instead of http://www.server.com/folder. Referenced redirect of this format - is listed in rfc3986 ( https://tools.ietf.org/html/rfc3986 ). It should - work as expected now. - -2022-09-14 Lorenz <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/check_ntp.c: Check ntp remove unused variables (#1781) - - * Remove unused argument - - * Fix typo in comment - -2022-09-11 Lorenz <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/check_disk.c: Check disk compiler warnings (#1758) - - * Use unused variable - - * Proper format strings for printf - - * Use proper functions for absolute values - - * Remove and add comments at some places - - * plugins/check_load.c: Check load compiler warnings (#1759) - - * Fix compiler warnings due to implizit conversion and formats - - * Make includes more specific and complement them - - * Formatting fixes - - * plugins/check_swap.c: Check swap compiler warnings (#1756) - - * Fix compiler warnings - - * Fix superfluous whitespaces - -2022-07-25 Lorenz <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/check_swap.c: check_swap: Fix unit for total in perfdata - (#1779) - - * check_swap: Fix unit for total in perfdata - - * Remove trailing whitespaces - -2022-07-25 Sven Nierlein - - * plugins/check_swap.c: fix parsing swap values (#1780) - - tmp_KB changed from float to uint64, so change the sscanf format accordingly. - -2022-07-24 adrb - - * plugins/check_snmp.c: check_snmp: Segfault if number of processed - lines is greater than number of thresholds - - Segfault at line 489 if number of processed lines is greater than number (#1589) of thresholds - - Co-authored-by: Lorenz <12514511+RincewindsHat@users.noreply.github.com> - -2022-07-20 Lorenz <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/t/check_curl.t, plugins/t/check_http.t: Remove check_http and - check_curl test which are somehow always failing (#1777) - - * Remove failing checks for check_http - * Remove failing checks for check_curl - -2022-07-14 eriksejr - - * plugins-root/check_icmp.c: Set msg_namelen to the size of the sockaddr - struct for the appropriate address family and not sockaddr_storage - (#1771) - - Co-authored-by: Erik Sejr - Co-authored-by: Lorenz <12514511+RincewindsHat@users.noreply.github.com> - -2022-07-14 Archie L. Cobbs - - * plugins/check_by_ssh.c: check_by_ssh: Add "-U" flag (#1123). (#1774) - - This causes a 255 exit value from ssh(1), which indicates a connection failure, - to return UNKNOWN instead of CRITICAL; similar to check_nrpe's "-u" flag. - -2022-07-03 Lorenz <12514511+RincewindsHat@users.noreply.github.com> - - * .github/workflows/codeql-analysis.yml: Update CodeQL and update runner - before installing (#1775) - -2022-06-18 CDMIUB - - * plugins-scripts/check_disk_smb.pl: Cdmiub (#1770) - - * added timout option to check_disk_smb - -2022-04-10 Andreas Baumann - - * plugins/check_curl.c: check_curl: added option - --continue-after-certificate (#1761) - - * plugins/check_http.c: check_http: added option - --continue-after-certificate (#1761) - -2022-03-26 Tobias Fiebig - - * plugins-scripts/check_mailq.pl: remove duplicate W=i/C=i args (#1755) - - Co-authored-by: Tobias Fiebig - -2022-03-17 Claudio Kuenzler - - * plugins-scripts/check_disk_smb.pl: Add configfile feature to - check_disk_smb (#1402) - -2022-03-15 Lorenz <12514511+RincewindsHat@users.noreply.github.com> - - * plugins-root/check_icmp.c, plugins-root/t/check_icmp.t: check_icmp: - buffer offerflow (#1733) - - * Fix different overflows - - * Less includes - - * Add testcases - - * Remove unused variable - - * Remove unused and commented includes - -2022-02-15 Andreas Motl - - * plugins-scripts/check_uptime.pl, plugins-scripts/t/check_uptime.t: - check_uptime: Fix lowercase typo in plugin output - -2022-02-12 Andreas Motl - - * plugins-scripts/check_uptime.pl, plugins-scripts/t/check_uptime.t: - check_uptime: Add option to report uptime in days instead of seconds - - Currently, the plugin output is: - - CRITICAL: Uptime is 38829029 seconds. - - When using the proposed `--days|-d` option, it will be: - - CRITICAL: Uptime is 449 days. - -2022-02-01 Lorenz <12514511+RincewindsHat@users.noreply.github.com> - - * configure.ac: Use silent automake by default (#1747) - -2022-01-30 Lorenz <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/check_disk.c: Description for -M was the wrong way around - (#1746) - - Using -M should show the mountpoint instead of the device the - file system originated from. - Seems like this was not the case for a long time and now - the default is to show the mount point. Using `-M` reverts - to showing the (block) device instead. - The usage Description was adjusted with this commit. - - * plugins/check_procs.c: Fix double percentage sign in usage (#1743) - -2021-05-23 Tobias Wiese - - * plugins/sslutils.c, plugins/tests/certs/.gitignore, - plugins/tests/certs/client-cert.pem, plugins/tests/certs/client-key.pem, - plugins/tests/certs/clientca-cert.pem, - plugins/tests/certs/clientca-key.pem, - plugins/tests/certs/clientchain-cert.pem, - plugins/tests/certs/clientchain-key.pem, - plugins/tests/certs/clientintermediate-cert.pem, - plugins/tests/certs/clientintermediate-key.pem, - plugins/tests/certs/expired-cert.pem, - plugins/tests/certs/expired-key.pem, plugins/tests/certs/ext.cnf, - plugins/tests/certs/generate-certs.sh, - plugins/tests/certs/server-cert.pem, plugins/tests/certs/server-key.pem, - plugins/tests/check_curl.t, plugins/tests/check_http.t: sslutils: use - chain from client certificates - - sslutils used to load only the first certificate when it was given a - client certificate file. - - Added tests for check_http to connect to a http server that expects a - client certificate (simple and with chain). - -2021-12-20 ghciv6 - - * plugins-root/check_icmp.c, plugins-root/t/check_icmp.t: - delay - set_source_ip() until address_family is detected - - add a test to check '-s' - -2022-01-27 Andreas Baumann - - * plugins/check_curl.c, plugins/picohttpparser/picohttpparser.c, - plugins/picohttpparser/picohttpparser.h: fixed -ffollow for HTTP/2.0 - (Fixes #1685): added major_version parsing to PicoHTTPParser - -2022-01-29 Andreas Baumann - - * plugins/check_curl.c, plugins/check_http.c: check_http and check_curl: - added --max-redirs=N option (feature #1684) - -2022-01-25 datamuc - - * plugins/check_pgsql.c: add --queryname parameter to check_pgsql - (#1741) - - This is used in the long output instead of the actual query. - So instead of - - OK - 'select stuff from various, tables where some_stuff is null and other_stuff is not null' returned 42 - - one can use --queryname=check_greatest_basket and it will print - - OK - check_greatest_basket returned 42 - - That's nicer for alerting purposes, at least in our use case. - -2022-01-23 Lorenz <12514511+RincewindsHat@users.noreply.github.com> - - * doc/developer-guidelines.sgml: Point to Icinga Exchange instead of - dead Monitoring Exchange (#1737) - -2022-01-22 RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/check_fping.c: Fixes the positioning of the code and some - other changes - -2022-01-21 Jan Wagner - - * plugins/check_fping.c: Implements 'host-alive' mode (Closes. #1027) - - To reduce the check-duration, it addes a host-alive flag which stops testing - after the first successful reply. - -2022-01-22 Lorenz <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/check_disk.c: Trivial printf fix and a little bit of code - style (#1695) - - * Fix several warnings (and some downright bugs probably) with formating in check_disk - - Update to master - - * Fix merge error, I forgot the last time - - * Fix indentation - - Co-authored-by: rincewind - -2022-01-22 Mark A. Ziesemer - - * plugins/check_ping.c: Trivial source code formatting only: Use tabs - consistently for source code indentation (whitespace), as per - https://github.com/monitoring-plugins/monitoring-plugins/blob/master/CODING - . (#1424) - - Looks good, thank you very much. - -2022-01-21 Lorenz <12514511+RincewindsHat@users.noreply.github.com> - - * plugins-scripts/check_mailq.pl: Rebase to master (#1731) - -2018-08-27 Ken D - - * plugins/check_snmp.c: Updated int state to human readable - -2017-06-19 Ken D - - * plugins/check_snmp.c: Added option for null zero length string exit - codes - - When using a large distributed network with the same group of checks used against a large number of devices, occationally there are missing cards in a few devices that are present in other devices. Rather than having a large number of unknown results, disable active checking on those large number of result or having to create a unique check configuration for those devices. - - This option allows you to select an OK, WARNING, CRITICAL or UNKNOWN status while still retaining the default behavior when not present. This also allows a for the check to immediately start checks as intended should the hardware be added that the check is looking for. - -2022-01-03 Lorenz Kästle - - * plugins/check_swap.c: Rename tmp variable to get even with master - -2021-04-23 rincewind - - * plugins-scripts/check_sensors.sh: check_sensors.sh: Make shellcheck - happier - -2021-12-20 RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> - - * plugins-scripts/check_log.sh: Apparently Dash is not Bash, so -v does - not work - -2021-12-02 RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> - - * plugins-scripts/check_log.sh: Missing oldlog now aborts check_log - - * plugins-scripts/check_mailq.pl: Fix syntax error resulting from - merging - -2021-11-29 RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> - - * plugins-scripts/check_file_age.pl: Make size parameter a little bit - more intelligible - -2021-11-24 RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> - - * plugins-root/check_icmp.c, plugins/check_disk.c, plugins/check_swap.c: - More wrong printf formatting - - * plugins/check_hpjd.c: check_hpjd: Fixing port option - - * plugins-root/check_icmp.c, plugins/check_disk.c, plugins/check_hpjd.c, - plugins/check_swap.c: Fix CodeQL checks - -2021-11-24 PhiBo - - * plugins/check_ups.c: Fix possible overflow in check_ups (Fixes: #1030) - -2021-11-21 RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/check_game.c: Update Url to qstat - -2021-11-19 Linda Guo - - * plugins/check_ldap.c: Allows check_ldap to get password from env - variable - - It's not secure to provide LDAP password through command line option - because other users on the same host can see the password in - 'ps' command output. - - This change allows check_ldap to get password from environment variable. - -2021-04-19 Lorenz Kästle - - * plugins/check_snmp.c: Fix option description authpassword -> - authpasswd - - * plugins/check_snmp.c: Revert "Fixed option description authpassword -> - authpasswd + whitespaces" - - This reverts commit b27e639725f680411aaa78dd9aa59cfff84ad0c5. - - * plugins/check_snmp.c: Fixed option description authpassword -> - authpasswd + whitespaces - -2021-11-19 RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/check_swap.c: Small fix to threshold validation and style - (indentation) fixes - -2021-11-17 RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/check_ping.c: Add thresholds even if value is missing - - * plugins/utils.c: homogenize perfdata function and fix small bug with - missing semicolon - - * plugins/check_ping.c: Show RTA as unknown if it can not be determined - -2021-07-09 rincewind - - * plugins/check_ping.c: Do not show RTA if no connection was possible - -2021-11-17 Sven Nierlein - - * lib/utils_base.c, lib/utils_base.h, plugins/check_snmp.c, - plugins/tests/check_snmp.t: check_snmp: fix performance thresholds when - using multiple oids - - when using check_snmp with multiple oids it simply printed the unparsed content - from -w/-c into the thresholds for each oid. So each oid contained the hole -w - from all oids. - - ./check_snmp ... -o iso.3.6.1.2.1.25.1.3.0,iso.3.6.1.2.1.25.1.5.0 -w '1,2' -c '3,4' - - before: - SNMP ... | HOST-RESOURCES-MIB::hrSystemInitialLoadDevice.0=393216;1,2;3,4 HOST-RESOURCES-MIB::hrSystemNumUsers.0=24;1,2;3,4 - - after: - SNMP ... | HOST-RESOURCES-MIB::hrSystemInitialLoadDevice.0=393216;1;3 HOST-RESOURCES-MIB::hrSystemNumUsers.0=24;2;4 - - This also applies to fixed thresholds since check_snmp translates negative infinities from: '~:-1' to '@-1:~' - -2021-11-15 Aksel Sjögren - - * plugins-root/check_icmp.c: check_icmp: Fix pkt perfdata in check_host - mode - - Add missing "warn" threshold field in "pkt" perfdata output. - Perfdata should be interpreted as; - - 'label'=value[UOM];[warn];[crit];[min];[max] - - With one field missing, the hardcoded min value '0' ended up in the - "crit" field, making applications interpreting the perfdata thining that - critical threshold is always exceeded. - -2021-10-26 Sven Nierlein - - * plugins/tests/check_procs.t, plugins/tests/var/ps-axwo.debian: - check_procs: add test for elapsed time - - * plugins/tests/var/ps_axwo.debian: remove unused test file - -2021-10-25 Sven Nierlein - - * configure.ac, plugins/tests/check_procs.t: check_procs: improve ps - args autodetection - - one of the first ps commands in the configure.ac is `axwo 'stat comm vsz rss user uid pid ppid args'` which - works on most modern linux systems (checked debian 10/11 and centos 7/8). But this test misses the etime - argument. Therefore `check_procs --metric=ELAPSED` does not work. - - To fix this, we simply do the same test including etime before that one. - - * plugins/check_procs.c: check_procs: remove trailing whitespace - -2021-10-28 Geert Hendrickx - - * plugins/check_smtp.c: check_smtp: add -L flag to support LMTP (LHLO - instead of HELO/EHLO). - -2021-10-27 RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/check_disk.c: Replace tabs with spaces and do some formatting - - * plugins/check_disk.c: Remove whitespace at the end of lines - -2021-10-26 RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/utils.c: Fix my own errors for real this time and add some - comments, so I wont do them again - - * plugins/utils.c: Re-add separation semicolons for perfdata, which I - deleted - - * plugins/check_disk.c: Reform some arithmetical operations for more - clarity - - * plugins/check_disk.c: hopefully fix warning high tide with percentage - - * plugins/t/check_disk.t: Fix some tests - -2021-10-25 RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/utils.c: Remove useless lines and fix some formatting - - * lib/utils_disk.h, plugins/check_disk.c: Switch to uint64_t - - * plugins/check_disk.c: Reformat a little bit for easier reading - - * plugins/check_disk.c: Recognice IEC binary units and format - accordingly to base2 (always) - -2021-07-05 Harald Jenny - - * plugins/t/check_load.t: Update check_load.t - - adjust tests for new plugin output - - * plugins/check_load.c: Create check_load.c - - just a cosmetic fix so the load plugin display a LOAD prefix before check results - -2021-10-25 Sven Nierlein - - * .github/workflows/test.yml: actions: map utmp from host to container - - this fixes the check_users not having any logged in user to check. - -2021-10-18 Lorenz Kästle - - * plugins-scripts/check_ircd.pl: Add comment to make the purpose of the - nickname fix more obvious - - * plugins-scripts/check_ircd.pl: Restrict the nickname length of the - test user for check_ircd - - check_ircd was using the string `ircd` plus the PID as a nickname - for connecting to a IRC network by default. - This caused errors, when the PID was too high and the network - restricted the length of the nickname to 9 characters. - This patch "fixes" this by just cutting it of, if it gets too big. - -2021-10-02 RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/check_swap.c, plugins/utils.c, plugins/utils.h: Revert to poor - man's logic - - * plugins/check_swap.c: Change all to comments to old comment style - -2021-09-26 RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> - - * plugins/check_swap.c: Fix comparing logic - - * plugins/t/check_swap.t: Remove spaces from tests - -2021-09-25 rincewind - - * plugins/check_swap.c: check_swap: Fix perfdata und thresholds for big - values and simplify code - - The original problem was https://github.com/monitoring-plugins/monitoring-plugins/pull/1705 - where the performance data output of check_swap did not conform to - the parser logic of a monitoring system (which decided to go for - "correct" SI or IEC units. - The PR was accompanied by a change to byte values in the performance - data which broke the _perfdata_ helper function which could not handle - values of this size. - The fix for this, was to use _fperfdata_ which could, but would - use float values. - - I didn't like that (since all values here are discreet) and this - is my proposal for a fix for the problem. - - It introduces some helper functions which do now explicitely work - with (u)int64_t, including a special version of the _perfdata_ helper. - - In the process of introducing this to check_swap, I stumbled over - several sections of the check_swap code which I found problematic. - Therefore I tried to simplify the code and make it more readable - and less redundant. - - I am kinda sorry about this, but sincerely hope my changes can - be helpful. - - * plugins/utils.c, plugins/utils.h: Introduce new perfdata functions and - stuff for using (u)int64_t - -2021-05-24 Jonny007-MKD - - * plugins/check_dns.c, plugins/t/check_dns.t: Improvements suggested by - tobiaswiese - -2020-02-23 Jonny007-MKD - - * plugins/check_dns.c: check_dns: Fix memory leak - - * NEWS, plugins/check_dns.c, plugins/t/check_dns.t: check_dns: add - --expect-nxdomain - -2021-09-01 rincewind - - * .github/prepare_debian.sh: Use netcat-openbsd for debian explicitely - -2021-07-25 Andreas Baumann - - * plugins/check_curl.c: check_curl: fixed a potential buffer overflow in - retir/uri_string - - * plugins/check_curl.c: check_curl: fixed DNS caching for SSL hostnames - (avoid CURLOPT_RESOLVE entry errors) - -2021-07-22 Peter Newman - - * plugins-scripts/check_ifoperstatus.pl: Re-attach a comment to where it - actually belongs - -2021-07-05 rincewind - - * plugins-scripts/check_log.sh: Add quoting for the remaining variables - -2021-07-04 Andreas Baumann - - * plugins/check_curl.c: check_curl: changed to STATE_CRITICAL for - infinite loops (-ffollow) - -2021-07-02 rincewind - - * plugins-scripts/check_log.sh: Add -a option to print all matching - lines and -p and -e options for perl and extended RE - - * plugins-scripts/check_log.sh: Add extended and perl regex - - * plugins-scripts/check_log.sh: Apply shellcheck - - * plugins-scripts/check_log.sh: Remove modified note, since this is a - git repository - -2021-06-25 Lorenz Kästle - - * plugins/check_by_ssh.c: Let ssh decide if a host is valid, enables - usage of ssh .config file - -2021-06-24 Andreas Baumann - - * plugins/check_curl.c: fix for missing X509_up_ref on old systems with - only OpenSSL 1.0 - -2021-06-24 Daniel Uhlmann - - * plugins/check_http.c: changed 'STATE_CRITICAL' to 'STATE_WARNING' for - infinite loop - -2021-06-24 Andreas Baumann - - * plugins/check_curl.c: added option --enable-automatic-decompression - -2021-05-27 Andreas Baumann - - * plugins/check_curl.c: check_curl: - - added verbose output in verify_callback - - pin refcounting for certs (avoid subject extraction error when checking - certs in is_openssl_callback mode) - -2021-05-24 Barak Shohat - - * plugins/check_curl.c, plugins/t/check_curl.t: check_curl.c: bugfix: - verify certificates option should not force SSL to be used - -2021-05-20 Sven Nierlein - - * plugins/tests/check_http.t: tests: ignore sigpipes in https test - daemon - - check_http closes the connection after checking the certificate with -C. This leads to sigpipe - errors when the ssl daemon wants to send a response and the daemon quits which makes the - subsequent tests fail. - - * plugins/tests/check_curl.t, plugins/tests/check_http.t: tests: - increase startup sleep - - github action might fail from to time otherwise - - * .github/prepare_debian.sh, .github/workflows/test.yml: remove useless - comments - -2021-05-19 Jacob Hansen - - * .github/workflows/test.yml: Prune container and volumes - - Rather than manully removing the tmpfs volume. - - * plugins/t/check_fping.t: Refactor check_fping - - * Set correct amount of tests based on conditionals. - * When running the test as non-root, we would previously check is the - setuid bit is set. This doesn't seem to be needed, so just check if the - binary is executable for the user running the test. - * Use cmp_ok to check if tests succeeds rather than couting. - - * .github/workflows/test.yml: Disable IPv6 in tests - - Docker doesn't seem to have a working IPv6 stack by default. For now - disable IPv6 tests. - -2021-05-18 Jacob Hansen - - * plugins/t/check_curl.t: check_curl.t: Adjust test to use -f curl - - It appears that `-f follow` doesn't work correctly in `check_curl` at - the moment. Test adjusted to use `-f curl` instead. - - Issue for the above created: https://github.com/monitoring-plugins/monitoring-plugins/issues/1685 - -2021-04-30 Jacob Hansen - - * .github/prepare_debian.sh: Use openssl generated cert - - The SSL certificate generate using make-ssl-cert seems to not work well - with a our plugins. Causing a "CN could not be found" error to be shown. - - Using an OpenSSL generated certifiticate, seems to work better. - -2021-04-29 Aksel Sjögren - - * plugins-root/t/check_dhcp.t: Fix check_dhcp tests - - * try to use "/usr/sbin/ip" before "ifconfig" since the latter is - obsolete on Linux to figure out interface to listen for DHCP messages. - But keeping ifconfig method just in case. - Without this, tests fail on boxes without ifconfig AND the correct - interface named ethX. - - * amend possible failure responses, as check_dhcp might get a DHCPOFFER, - but from an unexpected address - which happens if the box running - tests are on a network with a DHCP server. - - * plugins-root/Makefile.am: Add test-debug for plugins-root - - Fixes "No rule to make target 'test-debug'" when running "make - test-debug" in root dir. - -2021-04-28 Aksel Sjögren - - * plugins/t/check_curl.t, plugins/t/check_http.t: Fix conditional tests - for check_http, check_curl - - Set correct number of tests in skip- blocks to avoid the error "Bad - plan. You planned 50 tests but ran 55" when run with/without - /usr/bin/faketime and NP_INTERNET_ACCESS=yes/no. - -2021-04-30 Jacob Hansen - - * .github/prepare_debian.sh: Attempt to fix check_users - -2021-04-13 Sven Nierlein - - * .github/NPTest.cache, .github/prepare_debian.sh, - .github/workflows/test.yml, .travis.yml: migrate travis ci to github - actions - -2021-04-12 Sven Nierlein - - * plugins/t/check_fping.t: fix fping test - - in case of dns errors, fping returns an unknown and thats ok. - -2021-04-28 PhiBo - - * .github/workflows/codeql-analysis.yml: Add CodeQL checks - - Add initial github actions to perform CodeQL securtiy checks - -2021-04-12 Barak Shohat - - * plugins/check_curl.c: check_curl: Fix bug where headers beginning with - HTTP_ cause the status line parsing to fail. - -2021-04-08 Andreas Baumann - - * plugins/check_curl.c: check_curl: backported --show-body/-B to print - body (from check_http) - - * plugins/check_curl.c: check_curl: make -C obvious (from check_http, - part 2) - - * plugins/check_curl.c: check_curl: make -C obvious (from check_http) - - * plugins/check_curl.c: check_curl: Increase regexp limit (to 1024 as in - check_http) - -2021-04-07 Barak Shohat - - * plugins/check_curl.c, plugins/t/check_curl.t: Add an option to - check_curl to verify the peer certificate & host using the system CA's - -2021-04-06 Barak Shohat - - * plugins/check_curl.c, plugins/t/check_curl.t: Updated check_curl.c to - display a specific human-readable error message where possible - -2021-03-11 Sven Nierlein - - * plugins/check_curl.c, plugins/tests/check_curl.t: fix check_curl crash - if http header contains leading spaces - - check_curl crashes when a (broken) http server returns invalid http header with - leading spaces or double colons. This PR adds a fix and a test case for this. - -2021-03-08 Andreas Baumann - - * plugins/check_curl.c: check_curl: added string_statuscode function for - printing HTTP/1.1 and HTTP/2 correctly - -2021-02-15 Florian Lohoff - - * plugins/check_pgsql.c: Using snprintf which honors the buffers size - and guarantees null termination. (Closes: #1601) - - As strcpy may overflow the resulting buffer: - - flo@p5:~$ /tmp/f/usr/lib/nagios/plugins/check_pgsql -d "$(seq 1 10000)" - *** buffer overflow detected ***: terminated - Aborted - - I would propose to change the code rather like this, using snprintf - which honors the buffers size and guarantees null termination. - -2021-01-19 Andreas Baumann - - * plugins/check_curl.c: check_curl: fixed a potential buffer overflow in - url buffer - - * plugins/check_curl.c: check_curl: fixed help, usage and errors for TLS - 1.3 - -2021-01-03 Wolfgang Karall-Ahlborn - - * plugins/tests/check_procs.t: check_procs -- update test data too - - * plugins/check_procs.c: check_procs -- exchange needle and haystack in - strstr() for proper state match - -2020-12-19 Tim Gates - - * plugins-root/check_icmp.c: docs: fix simple typo, conspicuosly -> - conspicuously - - There is a small typo in plugins-root/check_icmp.c. - - Should read `conspicuously` rather than `conspicuosly`. - -2020-12-09 Jan Wagner - - * doc/RELEASING.md: Prepare the release docu for 2024 when we release - 2.4 - - * NEWS: New version in NEWS - - * NP-VERSION-GEN, configure.ac: New version number for git - - * NEWS: Draft NEWS - - * THANKS.in: Updating contributors - - * NP-VERSION-GEN, configure.ac: Updating version number - -2020-12-08 Sven Nierlein - - * plugins-scripts/check_mailq.pl: check_mailq: restore accidentially - removed options - - with https://github.com/monitoring-plugins/monitoring-plugins/issues/381 -W and -C have been removed. It - would have been sufficient to only remove the long options. Restoring short options.. - - - fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954961 - -2020-11-02 Rolf Eike Beer - - * plugins/check_dns.c: check_dns: split multiple IP addresses passed in - one -a argument - -2020-10-02 Prathamesh Bhanuse <72161308+Prathu121@users.noreply.github.com> - - * README: Update README - -2020-09-15 ghciv6 - - * plugins/check_mysql_query.c: - fix for issue #1562 - 1st compare then free up resources - -2020-08-18 mdavranche - - * plugins/check_swap.c: check_swap: Handle cached swap - -2020-05-20 ghciv6 - - * plugins/check_dns.c: detect unreachable dns service in nslookup output - (from bind-utils-9.8.2) - prevent core if error_scan detects an error in a line without ':' - -2020-05-18 Sven Nierlein - - * plugins/check_curl.c: check_curl: host_name may be null - - for example when using like: ./check_curl localhost - - * plugins/t/check_curl.t: update test parameter according to check_http - - * plugins/check_curl.c: check_curl: use CURLOPT_RESOLVE to fix - connecting to the right ip - - when using ssl, the composed url contains the hostname instead of the specified - ip. So use CURLOPT_RESOLVE to make curl still connect to the ip. - - * plugins/check_curl.c: check_curl: clean trailing whitespace - -2020-05-15 Sven Nierlein - - * plugins/tests/check_curl.t: merge test changes from check_http - - the example certificate has changed since. - - * plugins/tests/certs/expired-cert.pem, - plugins/tests/certs/expired-key.pem, plugins/tests/check_http.t: tests: - update expired test certificate - - the certificate used to test expired http checks is to old to be used - with recent ssl libraries and results in: - - > SSL routines:SSL_CTX_use_certificate:ee key too small - - unfortunatly the error is only visible when setting $IO::Socket::SSL::DEBUG in - the check_http.t file. - - * plugins/tests/certs/expired-cert.pem, - plugins/tests/certs/expired-key.pem, plugins/tests/check_http.t: tests: - update expired test certificate - - the certificate used to test expired http checks is to old to be used - with recent ssl libraries and results in: - - > SSL routines:SSL_CTX_use_certificate:ee key too small - - unfortunatly the error is only visible when setting $IO::Socket::SSL::DEBUG in - the check_http.t file. - -2020-04-13 ghciv6 - - * configure.ac: - workaround for issue #1550 - - better use "ping -4" instead of "ping" if supported - -2020-01-30 DaTa - - * doc/developer-guidelines.sgml: Revert "simplify documentation" - - This reverts commit 7693af147926d0eb7369a43070d114b6bd79dc70. - - Now it is wrong: - - After reading - - https://www.naemon.org/documentation/usersguide/pluginapi.html#plugin_output_spec - - the old wording makes more sense. - -2017-07-19 Vadim Zhukov - - * plugins-root/check_dhcp.c: Use size_t instead of int when calling - sysctl(3). - - Otherwise, it writes sizeof(size_t) bytes to &oldlen, smashing the stack. - -2020-01-07 Alexander A. Klimov - - * plugins/check_tcp.c: check_tcp: add --sni - -2019-12-25 Christian Tacke <8560110+ChristianTacke@users.noreply.github.com> - - * plugins/popen.c, plugins/popen.h: Fix timeout_interval declarations - - There are different declarations for timeout_interval: - - lib/utils_base.c has the definition: - unsigned int timeout_interval = DEFAULT_SOCKET_TIMEOUT; - lib/utils_base.h has the appropiate declaration: - extern unsigned int timeout_interval; - - plugins/popen.h has an extra declaration: - extern unsigned int timeout_interval; - This doesn't hurt, but it's a dupe. The one in utils_base.h - should be enough, so remove this one. - - plugins/popen.c has a WRONG one: - extern int timeout_interval; - Remove it! - Use #include "utils.h" to get the right one. - This makes the local defines for max/min unnecassary, so - remove them also. - -2019-12-29 Andreas Baumann - - * plugins/check_curl.c: increased copyright - -2019-11-28 datamuc - - * doc/developer-guidelines.sgml: simplify documentation - - "first" + "second to last" is every line right? - -2019-11-07 Andreas Baumann - - * plugins/check_curl.c: check_curl: NSS, parse more date formats from - certificate (in -C cert check) - - * plugins/check_curl.c: check_curl: more tolerant CN= parsing when - checking certificates (hit on Centos 8) - -2019-10-11 Andreas Baumann - - * plugins/check_curl.c: setting no_body to TRUE when we have a HEAD - request - -2019-09-07 Andreas Baumann - - * plugins/check_curl.c: some LIBCURL_VERSION checks around HTTP/2 - feature - - * plugins/check_curl.c: added --http-version option to check_curl to - choose HTTP version - - * plugins/check_curl.c: improved curlhelp_parse_statusline to handle - both HTTP/1.x and HTTP/2 - - * plugins/picohttpparser/picohttpparser.c, - plugins/picohttpparser/picohttpparser.h: check_curl: updates embedded - picohttpparser to newest git version - - * REQUIREMENTS: fixed whitespaces in REQUIREMENTS for check_curl to fit - the rest of the requrirements - - * plugins/check_curl.c: setting progname of check_curl plugin to - check_curl (at least for now) - - * configure.ac: remove obsolete AM_CONDITIONAL([WITH_CHECK_CURL]) - -2019-08-12 tonvoon - - * nagiosplug_mariadbclient.patch: Delete nagiosplug_mariadbclient.patch - -2019-08-02 Ton Voon - - * m4/np_mysqlclient.m4, nagiosplug_mariadbclient.patch: Allow - mariadbclient to be used for check_mysql - -2019-04-25 Sven Nierlein - - * plugins/popen.c, plugins/runcmd.c, plugins/utils.c, plugins/utils.h: - fix maxfd being zero - - If _SC_OPEN_MAX is available then maxfd was zero initialized and never set to the value from sysconf. - This leads to segfaults with free(): invalid size introduced by commit 7cafb0e84550035fe671662c293122be975065ca. - -2019-04-09 Christopher Odenbach - - * plugins/check_disk.c: include -P switch in help - -2019-03-21 ChrisWi - - * plugins/check_procs.c: improve command examples for 'at least' - processes - -2013-05-10 Robin Sonefors - - * plugins/check_mysql.c: check_mysql: Allow sockets to be specified to - -H - - The help text says that -H accepts a "unix socket (must be an absolute - path)". Now that actually corresponds to reality. - -2019-02-19 Sven Nierlein - - * plugins/tests/certs/server-cert.pem, - plugins/tests/certs/server-key.pem, plugins/tests/check_http.t: renew - test certificates - -2019-02-15 Rolf Eike Beer - - * plugins/check_dns.c: check_dns: fix typo in parameter description - -2019-02-15 Sven Nierlein - - * lib/utils_base.c, lib/utils_base.h, lib/utils_cmd.c, lib/utils_cmd.h, - plugins/check_dbi.c, plugins/check_pgsql.c, plugins/common.h, - plugins/popen.c, plugins/runcmd.c, plugins/utils.c, plugins/utils.h: - check_by_ssh: fix child process leak on timeouts - - When check_by_ssh runs into a timeout it simply exits keeping all child processes running. - Simply adopting the kill loop from runcmd_timeout_alarm_handler() fixes this. - -2019-02-12 Tobias Wolf - - * plugins/check_http.c: Also support the --show-body/-B flag when - --expect is used - -2019-02-04 Jan Wagner - - * .travis.yml, plugins/t/NPTest.cache.travis: travis-ci: Use RSA keys - for SSH tests - -2019-02-02 Jan Wagner - - * .travis.yml: travis-ci: Restart mysql - - * .travis.yml: travis-ci: The package name is now 'squid' - - * .travis.yml: travis-ci: Remove backports ppa - - * .travis.yml: travis-ci: Switch over to xenial - -2019-01-21 Sven Nierlein - - * plugins/tests/check_snmp.t: tests: make check_snmp test more reliable - - The check_snmp rate tests depend on the exact amount of time spend between the - plugin runs and will fail on busy machines, ex. the ci servers. Using faketime - mitigates this issue and also removes all the sleeps. - -2019-01-18 Iustin Pop - - * plugins/check_smtp.c: Simply initializes n before it is used - - When SSL is enabled, n is assigned the size of the server's second EHLO - response (I think in bytes), which will usually be significantly higher - than the command passed. As such, no commands are executed and no responses - are checked, which - silently - defeats the desired checks and results in a - success value. - -2010-09-07 Kostyantyn Hushchyn - - * plugins/check_hpjd.c: check_hpjd: Added -D option to disable warning - on 'out of paper' - -2018-12-10 Jacob Hansen - - * plugins-root/check_icmp.c: check_icmp: Do not overwrite -4,-6 on - lookup - - In case we needed to do a lookup, we previously overwrote the - address_family to IPv6, even if we supplied -4 as a cmd line argument. - - This commit should ensure the cmd line argument is always followed. - - * plugins-root/check_icmp.c: check_icmp: emit error if multiple protocol - version - - As we do not support checking both IPv4 and IPv6 hosts in one execution - we emit an error if multiple protocol versions are defined in the cmd - line args. - - * plugins-root/check_icmp.c: check_icmp: move opts string into a - variable - - This commit moves the opts string into a variable as it is now used - twice. - -2018-12-08 Vincent Danjean - - * gl/fsusage.c, gl/fsusage.h, lib/utils_disk.c, lib/utils_disk.h, - plugins/check_disk.c: [check_disk] add support to display inodes usage - in perfdata - - This is not enabled by default - It can be enabled with the -P (--iperfdata) option - -2018-12-06 Jacob Hansen - - * plugins-root/check_icmp.c: check_icmp: Correctly set address_family on - lookup - - If a hostname is supplied instead of an IP address, the automatic - address family detection would fail to correctly set the IP protocol - version (it would always be IPv6). - - We now supply AF_UNSPEC to getaddrinfo, which should then return the - correct address family in the result. - -2018-12-03 Jacob Hansen - - * plugins-root/check_icmp.c: check_icmp: removed outcommented code - - * plugins-root/check_icmp.c: check_icmp: process protocol version args - first - - Detection of protocol version is in the previous patch implemented in - the add_target() function, which is called when adding the -H command - line argument. That means that if a protocal version argument (-4, -6) - is added after the -H then the protocol version might be incorrectly - set. - - This patch ensures that we first process the protocol version arguments, - and then we process the rest of the arguments. - -2018-11-29 Jacob Hansen - - * plugins-root/check_icmp.c: check_icmp: Automatically detect IP - protocol - - This patch automatically detects whether the protocol version is IPv4 or - IPv6 - - All credits to: https://github.com/ghciv6 - -2015-10-22 Lars Michelsen - - * plugins-root/check_icmp.c: Fixed parameter handling after - 01efbb2183d49c5082598d4799788fc385342f28 - -2015-10-13 Lars Michelsen - - * plugins-root/check_icmp.c: check_icmp: Add IPv6 support - - This commit adds IPv6 capabilities to check_icmp. It is now possible to - specify the address family using the arguments -4 (default) or -6. - - To make the change possible we had to move the argument parsing previous - to creating the socket to be able to create it with the correct address - family. - - This commit also fixes some gcc 4.9.2 compiler warnings. It has been - tested with several current linux distributions (debian, ubuntu, rh, - sles). - - This commit fixes monitoring-plugins/monitoring-plugins#1291 - -2018-12-05 Tomas Mozes - - * plugins/check_http.c: plugins: check_http: Increase regexp limit - -2018-12-04 Sven Nierlein - - * .travis.yml, NPTest.pm, plugins/t/NPTest.cache.travis, - plugins/t/check_by_ssh.t, plugins/t/check_fping.t, - plugins/t/check_ftp.t, plugins/t/check_http.t, plugins/t/check_imap.t, - plugins/t/check_jabber.t, plugins/t/check_ldap.t, - plugins/t/check_mysql.t, plugins/t/check_mysql_query.t, - plugins/t/check_snmp.t, plugins/t/check_ssh.t, plugins/t/check_tcp.t, - plugins/t/check_time.t: tests: rework test parameters - - there were 2 variants of calling getTestParameter: - - - parameter, description, default value - - parameter, env value, default value, description, scope - - While scope was never actually used and having 2 names for the same value led - to having 2 different entries in the cache file for the same configuration. - - This commit removes the variants and simplifies tests parameters by only using - the first 3 parameter variant. - -2018-12-04 Sven Nierlein - - * NPTest.pm: NPTest: unify whitespace - -2018-12-04 Sven Nierlein - - * plugins-scripts/t/check_file_age.t: tests: skip some tests if - Monitoring::Plugin::Range isn't available - - The check_file_age uses Monitoring::Plugin::Range internally. Skip thoses tests - if the module isn't available. - -2018-12-04 Sven Nierlein - - * Makefile.am: tests: enable plugins-root tests - -2010-12-14 Kostyantyn Hushchyn - - * plugins/check_cluster.c: check_cluster.c: Added data argument - validation. - -2018-11-12 Andreas Baumann - - * plugins/check_curl.c: set hostname in for CURLOPT_CURL to virtual - hostname in case of SSL (for SNI to work) - -2018-11-09 Tobias Wolf - - * plugins/check_http.c: Add new flag --show-body/-B to print body - - This should help with figuring out ia problem at a glance when enabled for - healthz endpoints on web APIs, for example. - - The content of the body can point to what the problem is and help with - diagnostics. - - Fixes #1559 - -2018-11-06 Markus Frosch - - * .travis.yml, plugins/t/NPTest.cache.travis, plugins/t/check_http.t, - tools/squid.conf: test: Add proxy tests via proxy - - On Travis with a local squid - -2018-10-31 Markus Frosch - - * plugins/check_http.c: Allow user to specify HTTP method after proxy - CONNECT - - Simple format, avoids refactoring the CONNECT feature. - -2018-10-29 Sven Nierlein - - * plugins/check_curl.c: check_curl: code cleanup - - CURLOPT_RESOLVE is not required, since we do not verify certificates in any way. - -2018-10-25 Sven Nierlein - - * plugins/check_curl.c, plugins/t/check_curl.t: check_curl: rewrite - connect_to / host headers - - since CURLOPT_CONNECT_TO is only available in later curl versions, we do it the other way round now and - set the url from the address we want to connect to and then set the host header accordingly. - -2018-10-24 Sven Nierlein - - * plugins/check_curl.c: check_curl: code cleanup - - * plugins/check_curl.c: check_curl: handle supplied port correctly - - if a port was given by -p, it should not be overruled by the port extracted from -H. - - * .travis.yml, configure.ac: check_curl: fix builds if curl is not - enabled - - * .travis.yml: travis: --enable-check-curl is no longer required - - * .gitignore: cleanup gitignore - - these files have been removed meanwhile - - * configure.ac, plugins/Makefile.am: builds: alway put picohttpparser - into the dist tarball - - substituting PICOHTTPPARSER_DIR only when curl gets build, leads - to different dist tarballs depending on wether libcurl was available - or not. This then breaks later builds from this tarball because of - the missing files. - - * configure.ac: check_curl: do not build check_curl if curllibs are - missing - -2018-10-23 Sven Nierlein - - * m4/uriparser.m4: uriparser: do not reset flags if already set - - * plugins/picohttpparser/Makefile.am: picohttpparser: add header to - final tarball - - * m4/uriparser.m4: check_curl: do not use pkg-config if --with-uriparser - was supplied by commandline - - if we run configure with --with-uriparser=... it should use that path or fail. - - * configure.ac: check_curl: enable by default if all requirements are - met - -2018-10-22 Sven Nierlein - - * plugins/check_curl.c: check_curl: unify performance data - - and align them with check_http - - * plugins/check_curl.c: check_curl: use same page length in performance - data and text output - -2018-06-29 Christopher Odenbach - - * plugins/tests/check_curl.t: added some advanced tests for check_curl - -2018-06-12 Christopher Odenbach - - * plugins/check_curl.c: Modified virtual host and port behaviour to - match check_http. - -2018-06-08 Andreas Baumann - - * plugins/check_curl.c: check_curl: changed name of plugin in user-agent - and added curl_version() to it - -2018-06-03 Andreas Baumann - - * plugins/check_curl.c: check_curl: removed some dead code - -2018-06-02 Andreas Baumann - - * plugins/check_curl.c: check_curl: removed die in redirect with - relative paths, simple cases (same protocol, same host) actually work - - * plugins/check_curl.c: ..I should really not test in test code :-) - - * REQUIREMENTS, plugins/check_curl.c: check_curl: made HTTP message - optional - -2018-06-01 Andreas Baumann - - * m4/uriparser.m4: check-curl: have some fallbacks ready if pkg-config - is missing for uriparser tests - -2018-06-01 Jean-François Rameau - - * plugins/check_curl.c: Avoid working with free'ed memory - -2018-06-01 Andreas Baumann - - * plugins/check_curl.c: fixed typo in check_curl error message - (unparsable) - - * ACKNOWLEDGEMENTS, REQUIREMENTS, configure.ac, m4/uriparser.m4, - plugins/Makefile.am, plugins/uriparser/Makefile.am, - plugins/uriparser/Uri.h, plugins/uriparser/UriBase.h, - plugins/uriparser/UriCommon.c, plugins/uriparser/UriCommon.h, - plugins/uriparser/UriCompare.c, plugins/uriparser/UriDefsAnsi.h, - plugins/uriparser/UriDefsConfig.h, plugins/uriparser/UriDefsUnicode.h, - plugins/uriparser/UriEscape.c, plugins/uriparser/UriFile.c, - plugins/uriparser/UriIp4.c, plugins/uriparser/UriIp4.h, - plugins/uriparser/UriIp4Base.c, plugins/uriparser/UriIp4Base.h, - plugins/uriparser/UriNormalize.c, plugins/uriparser/UriNormalizeBase.c, - plugins/uriparser/UriNormalizeBase.h, plugins/uriparser/UriParse.c, - plugins/uriparser/UriParseBase.c, plugins/uriparser/UriParseBase.h, - plugins/uriparser/UriQuery.c, plugins/uriparser/UriRecompose.c, - plugins/uriparser/UriResolve.c, plugins/uriparser/UriShorten.c: removed - embedded uriparser library, added --with-uriparser configure option - to use uriparser library from the system - - * plugins/check_curl.c: bumped coyright to 2018 in check_curl.c - -2018-05-31 Andreas Baumann - - * ACKNOWLEDGEMENTS, plugins/uriparser/Uri.h, - plugins/uriparser/UriBase.h, plugins/uriparser/UriCommon.c, - plugins/uriparser/UriCompare.c, plugins/uriparser/UriDefsAnsi.h, - plugins/uriparser/UriDefsConfig.h, plugins/uriparser/UriDefsUnicode.h, - plugins/uriparser/UriEscape.c, plugins/uriparser/UriFile.c, - plugins/uriparser/UriIp4.c, plugins/uriparser/UriIp4.h, - plugins/uriparser/UriIp4Base.c, plugins/uriparser/UriNormalize.c, - plugins/uriparser/UriNormalizeBase.c, plugins/uriparser/UriParse.c, - plugins/uriparser/UriParseBase.c, plugins/uriparser/UriQuery.c, - plugins/uriparser/UriRecompose.c, plugins/uriparser/UriResolve.c, - plugins/uriparser/UriShorten.c: updated bundled version of uriparser to - 0.8.5 - - * plugins/check_curl.c: fixed initialization of server_url (freeing - non-pointer in case of redirects) - -2018-05-28 Sven Nierlein - - * plugins/check_curl.c: check_curl: cleanup - - - remove obsolete todos - - change exit code to unknown if regex exectute fails - -2017-11-02 Andreas Baumann - - * plugins/check_curl.c: set ssl_version to CURL_SSLVERSION_DEFAULT and - not CURL_SSLVERSION_TLSv1_0 - (since curl 7.56.1 we get an illegal argument error otherwise) - -2017-05-31 Andreas Baumann - - * plugins/check_curl.c: added -b to print_usage - -2017-05-28 Sven Nierlein - - * plugins/check_curl.c: check_curl: add proxy auth option - - * plugins/check_curl.c: check_curl: update docs - - * plugins/check_curl.c: check_curl: add legacy http request support - - * plugins/check_curl.c: check_curl: add docs about https proxy - - * plugins/check_curl.c: check_curl: clean whitespace - - * plugins/check_curl.c: check_curl: handle proxied https requests - -2017-05-07 Andreas Baumann - - * .travis.yml, plugins/check_curl.c: fixed some printf bugs and switched - to libcurl4-openssl for Travis tests - - * REQUIREMENTS: added check_curl to REQUIREMENTS - -2017-05-06 Andreas Baumann - - * plugins/uriparser/Makefile.am: fixed include flags for liburiparser - - * .travis.yml: added check|_curl enabler in right position in configure - in Travis script - - * .travis.yml, configure.ac, plugins/check_curl.c: fixed redirect sticky - port handling in redir - - * .gitignore, ACKNOWLEDGEMENTS, configure.ac, plugins/Makefile.am, - plugins/check_curl.c, plugins/picohttpparser/Makefile.am, - plugins/picohttpparser/picohttpparser.c, - plugins/picohttpparser/picohttpparser.h, plugins/uriparser/Makefile.am, - plugins/uriparser/Uri.h, plugins/uriparser/UriBase.h, - plugins/uriparser/UriCommon.c, plugins/uriparser/UriCommon.h, - plugins/uriparser/UriCompare.c, plugins/uriparser/UriDefsAnsi.h, - plugins/uriparser/UriDefsConfig.h, plugins/uriparser/UriDefsUnicode.h, - plugins/uriparser/UriEscape.c, plugins/uriparser/UriFile.c, - plugins/uriparser/UriIp4.c, plugins/uriparser/UriIp4.h, - plugins/uriparser/UriIp4Base.c, plugins/uriparser/UriIp4Base.h, - plugins/uriparser/UriNormalize.c, plugins/uriparser/UriNormalizeBase.c, - plugins/uriparser/UriNormalizeBase.h, plugins/uriparser/UriParse.c, - plugins/uriparser/UriParseBase.c, plugins/uriparser/UriParseBase.h, - plugins/uriparser/UriQuery.c, plugins/uriparser/UriRecompose.c, - plugins/uriparser/UriResolve.c, plugins/uriparser/UriShorten.c: some - rework: - - added old style 'redir' function and options along to a new - libcurl internal 'follow' parameter 'curl' - - moved picohttpparser to it's own subdirectory - - added uriparser to be used instead of the home-grown parser in - 'redir' - -2017-05-05 Andreas Baumann - - * plugins/tests/check_curl.t: synched tests/check_http.t test changes - (virtualhost) into tests/check_curl.t - -2017-05-04 Andreas Baumann - - * plugins/check_curl.c: fixed failing tests due to wrong content_length - calculation - - * plugins/check_curl.c: fixed getopt (-l missing, wrong order, hard to - compare with check_http.c) - - * plugins/check_curl.c: more tolerant CERTINFO parsing - -2017-04-28 Andreas Baumann - - * plugins/check_curl.c: using CURLOPT_RESOLVE to make sure -I is the IP - we connect to - - * plugins/check_curl.c: changed URL construction again, IP should - preceed hostname, hostname set as Host: (makes sure we get the corrent - DNS entry and server) - -2017-04-27 Andreas Baumann - - * plugins/check_curl.c: page length is computed from header, fallback to - actual body size (get_content_length) - - * plugins/check_curl.c: fixed setting host_name or server_address in - curl URL option - -2017-04-24 Andreas Baumann - - * plugins/check_curl.c: reverted hostname in URL, must use CURL_RESOLVE - mayabe - - * plugins/check_curl.c: must use host_name and not server_address in - URL, CN subject mismatch - -2017-04-21 Andreas Baumann - - * plugins/check_curl.c: disable non-OpenSSL code compilation in -C check - if we have USE_OPENSSL set - - * plugins/check_curl.c: made non-OpenSSL version of certificate -C check - work - - * plugins/check_curl.c: handling the -C check now when compiled with - OpenSSL but libcurl is not compiled with OpenSSL - - * plugins/check_curl.c: preparing for certificate checks (non-OpenSSL - version) - - * plugins/check_curl.c: small cleanup - -2017-04-20 Andreas Baumann - - * plugins/check_curl.c: probing for SSL library used by libcurl and - started improving the certificate check -C - -2017-04-19 Andreas Baumann - - * plugins/check_curl.c: using curl_getdate instead of local - parse_time_string, added verbose debug code for -M - - * plugins/check_curl.c: small fixes and cleanups around SSL, be more - tolerant to -S options - - * plugins/check_curl.c: for now we set LIBCURL_USES_OPENSSL always - - * plugins/check_curl.c: made check_curl compile also if we have openssl - disabled - - * plugins/check_curl.c: fixed some libcurl checks and minimal versions - - * plugins/check_curl.c: some work on certificate checking for - non-OpenSSL libraries - -2017-04-18 Andreas Baumann - - * plugins/check_curl.c, po/de.po: small fix and we see - CURLOPT_SSL_CTX_FUNCTION does not work on Centos 6? - - * plugins/check_curl.c: some cleanup and added error handling around - curl_easy_getinfo/curl_easy_setopt - -2017-04-16 Andreas Baumann - - * plugins/check_curl.c, plugins/tests/check_curl.t: fixed test outputs - for status line checks - handling empty data in POST and PUT - handling data upload (from -P ) also in PUT - -2017-04-15 Andreas Baumann - - * plugins/check_curl.c: added -n and more display_html stuff - - * plugins/check_curl.c: added -L option - - * plugins/check_curl.c: fixed non-C99-ism in get_header_value - -2017-04-14 Andreas Baumann - - * .gitignore, plugins/Makefile.am, plugins/check_curl.c, - plugins/picohttpparser.c, plugins/picohttpparser.h: added -M age - option for document age, using picohttpparser from h2o (maybe handy - later to make a more robust header condition checker?) - - * plugins/t/check_curl.t, plugins/tests/check_curl.t: made check_curl - tests copies of check_http tests because they will differ slightly - -2017-03-19 Andreas Baumann - - * plugins/check_curl.c: added POST support (-P/-T options) - - * plugins/check_curl.c: fixed handling of SSL/TLS protocol versions - - * plugins/check_curl.c: added -l option, fixed some usage/help - - * plugins/check_curl.c: added -d/--header-string option - -2017-03-18 Sven Nierlein - - * plugins/check_curl.c: check_curl: implement -e/--expect - - * plugins/check_curl.c: check_curl: support check_http arguments for - backwards compatibility - - * plugins/check_curl.c: check_curl: adopt output format from check_http - - * plugins/t/check_curl.t, plugins/t/check_http.t, - plugins/tests/check_curl.t, plugins/tests/check_http.t: check_curl: make - check_curl use the same tests as check_http - -2017-03-17 Andreas Baumann - - * plugins/check_curl.c: added -4/-6 option - - * plugins/check_curl.c: added -m/--pagesize option - - * plugins/check_curl.c: added help for --invert-regex - - * plugins/check_curl.c: added -R/-ereg/-eregi - - * plugins/check_curl.c: added -N/--no-body option - - * plugins/check_curl.c: added usage and help for -E/--extended-perfdata - - * plugins/check_curl.c: reverted double header in longopts - - * plugins/check_curl.c: added help/usage and getopt long struct member - for -k/--header option - - * plugins/check_curl.c: fixed a missing else before curl_easy_setopt - CURLOPT_CUSTOMREQUEST - -2017-03-15 Sven Nierlein - - * plugins/t/check_curl.t: add check_curl test - - just a copy of check_http for now... - - * plugins/check_curl.c: check_curl: set correct host header - -2017-03-14 Sven Nierlein - - * plugins/check_curl.c: check_curl: implement extended performance data - - * plugins/Makefile.am, plugins/check_curl.c, plugins/sslutils.c: - check_curl: implement certificate checks - - * plugins/check_curl.c: check_curl: implement optional http headers - -2017-03-12 Andreas Baumann - - * plugins/check_curl.c: added HTTP method handling - -2017-01-22 Andreas Baumann - - * plugins/check_curl.c: forgot declaration of INVERT_REGEX in getopt - otions - - * plugins/check_curl.c: added some casts for curl write functions - - * plugins/check_curl.c: added -r and --invert-regex - -2017-01-21 Andreas Baumann - - * plugins/check_curl.c: added -ca-file option - - * plugins/check_curl.c: handling last HTTP header correctly in HTTP line - parser (added a strrstr replacement) - -2017-01-20 Andreas Baumann - - * plugins/check_curl.c: some comment cleanup - - * plugins/check_curl.c: adapted to style, using header file shims - instead of HAVE_XXX by hand - -2017-01-19 Andreas Baumann - - * plugins/check_curl.c: fixed curl error message - - * plugins/check_curl.c: added -s option - - * plugins/check_curl.c: added most options from nagios-curl-plugin - -2017-01-13 Andreas Baumann - - * .gitignore, configure.ac, m4/libcurl.m4, plugins/Makefile.am, - plugins/check_curl.c: added autoconf stuff for curl plugin, created - empty plugin - -2018-10-13 Lucas Bussey <> - - * .gitignore: Added a compiled plugin script that was missing from - gitignore - -2018-10-10 Stefan Bethke - - * plugins/check_http.c: Docs check_http: make -C obvious - - You need to read the docs carefully to realize that check_http has two - modes of operation: the regular HTTP checks, and a TLS certificate - check. Only one of these can be run in a single invocation. - - Fixes #1553 - -2018-09-29 Guido Falsi - - * lib/utils_base.c: Avoid passing NULL to vprintf(). - -2018-07-25 Rolf Eike Beer - - * NEWS, plugins/check_dns.c: check_dns: allow forcing complete match of - all addresses - - * NEWS, THANKS.in, plugins/check_dns.c: check_dns: allow returned - addresses to be in any order - - * plugins/check_dns.c: check_dns: simplify loop - -2018-06-17 Bernd Arnold - - * plugins-scripts/check_uptime.pl: Fixed error message, added comment - - * plugins-scripts/check_uptime.pl: Drop uptime binary call - - No need to call /bin/uptime, since the string can be generated with strftime(...). - - * plugins-scripts/check_uptime.pl: Added help text for range support - - * plugins-scripts/check_uptime.pl: Remove useless (empty) print - -2018-06-13 Sven Nierlein - - * plugins-scripts/check_uptime.pl: fix typo in check_uptime - - * plugins-scripts/Makefile.am: add check_uptime to makefile - -2018-06-13 Bernd Arnold - - * plugins-scripts/check_uptime.pl: Refactoring - - Better alignment. - Avoid duplications ("Exceeds ... threshold"). - - * plugins-scripts/t/check_uptime.t: Added tests for range values - - * plugins-scripts/check_uptime.pl, plugins-scripts/t/check_uptime.t: - Introducing ranges for warning and critical - - Works as before: - -w 1w -c 2w - - New (as before, but also warn if uptime < 5m, and crit if uptime < 2m): - -w 5m:1w -c 2m:2w - - (idea by @sni) - - Also refactored the time calculation, if a suffix is present: - New sub calc_as_seconds($) - - * plugins-scripts/check_uptime.pl: Modified alignment - - * plugins-scripts/check_uptime.pl: Fix: Use macro for perl binary - - I've messed that up in the previous commit 554b702f9d65fdfe640f20633543e00cd79d64ac. - -2018-06-09 Bernd Arnold - - * plugins-scripts/check_uptime.pl: Fix: Initialize values - - Otherwise, there's a warning about unitialized values: - Use of uninitialized value $hours in numeric gt (>) at ... - Use of uninitialized value $days in numeric gt (>) at ... - -2018-06-03 Bernd Arnold - - * plugins-scripts/check_uptime.pl: Fix: uptime_file variable was - declared too late - - When called with --help, the following error was shown: - Use of uninitialized value $uptime_file in concatenation (.) or string at - - * plugins-scripts/t/check_uptime.t: Added test file - - * plugins-scripts/check_uptime.pl: Added suffix "s" for seconds in - perfdata output - - * plugins-scripts/check_uptime.pl: Rename to .pl - - All other check script also have the .pl ending - -2018-05-30 Bernd Arnold - - * plugins-scripts/check_uptime: Replaced my values with macros - - * plugins-scripts/check_uptime: My version of check_uptime - - Derived from check_mailq - -2018-01-19 Sven Nierlein - - * plugins/check_snmp.c: Update check_snmp.c - - remove unnecessary brackets in help text - -2018-01-19 Michael Kraus - - * plugins/check_snmp.c: check_snmp: make calcualtion of timeout value in - help output more clear - -2017-11-06 Bernard Spil - - * plugins/common.h: Fix build issue with MariaDB 10.2 - - As of 10.2 MariaDB no longer defines MYSQL_PORT. - -2017-10-17 Rasp8e - - * plugins/check_http.c: Adding Proxy-Authorization and extra headers in - the case of connection through PROXY to HTTPS - -2017-09-07 Marc Sánchez - - * configure.ac, plugins/check_load.c: Only turn on ordering procs by CPU - usage if PS_USES_PROCPCPU - Disable sorting of procs by CPU usage on check_load if procpcpu is not present on PS_VARLIST - - * plugins/check_load.c: Using PS_COMMAND constant and ordering output by - procpcpu - - * plugins/check_load.c: Making show top consuming processes option less - complicated - - * plugins/check_load.c: Adding print top consuming processes option to - check_load - - -W, --print-top-warning - Print top consuming processes on WARNING status - -C, --print-top-critical - Print top consuming processes on CRITICAL status - -n, --procs-to-show=NUMBER_OF_PROCS - Number of processes to show when printing top consuming - processes. Not useful without -W or -C. Default value is 5 - -2017-09-06 Marc Sánchez - - * plugins/check_apt.c: Adding packages-warning option - This option specifies the minumum number of packages available for upgrade to return WARNING status. Default is 1 package. - -2017-09-04 Michael Kraus - - * plugins/negate.c: Output plugin's stderr to stderr - - Output plugin's stderr to stderr and do not exit with WARNING in that case - -2017-06-07 Stephane Lapie - - * plugins-scripts/check_mailq.pl: Fix regexp for nullmailer "mailq" - output - - As it currently is, the regular expression does not match mailq command - output on a Debian Jessie setup. - - Three erroneous behaviors fixed : - - Meaningful lines do not end with the "bytes" word - - There might be one or more space before the byte count, not 2 - - Time match was completely broken, it only accounted for 0-29 minutes - and 0-29 seconds. - -2017-05-31 Christopher Odenbach - - * plugins/check_swap.c: repaired "-n" behaviour. If run with "-n ok" a - host which ran - completely out of swap space would return "ok" which is - not desired. It should only return "ok" if there is no - swap space configured at all. - -2017-05-16 Lee Clemens - - * plugins-scripts/check_mailq.pl: Add mailq -C option for config dir or - config file - - New variable, mailq_args, is appended for postfix mta mailq commands - - Fixes #1489 - -2017-04-21 Karol Babioch - - * plugins/check_dig.c: plugins: check_dig: Fix spelling - -2017-04-05 phowen - - * .travis.yml, plugins-scripts/check_file_age.pl: resolve issues from - code review - -2017-03-26 Christopher Odenbach - - * plugins/tests/check_http.t: Added tests for virtual port behaviour. - Separated from all other tests this time. - -2017-03-13 Sven Nierlein - - * plugins-scripts/t/utils.t: script tests: fix relative lib path in - utils test - - utils.pm uses relative include ".." but the path is relativ to the current folder, so it - does not work when running "perl t/utils.t". Just add another lib of "." fixes that. We could - use FindBin but we don't want to make it unnecessarily complicated. - -2017-03-12 Sven Nierlein - - * plugins/t/check_udp.t: udp test: prefer nc over netcat syntax - - sles 12 systems have netcat symlinked to nc and so expect nc syntax for netcat. - - * plugins/t/check_disk.t: check_disk test: increase assumed thresholds - - The check_disk fails if the build system has more than 100GB of free disk - space. Lets make this 100TB and we are safe for a couple more years. - -2017-03-10 Sven Nierlein - - * .travis.yml, plugins/t/NPTest.cache.travis, plugins/t/check_http.t, - plugins/t/check_tcp.t: remove hardcoded verisign.com tests - - and make it configurable - - * .travis.yml: make travis tests more reliable - - - add-apt-repository might be missing, so install it to be sure - - killing ntp might fail if there is none - - removing ipv6 from etc/hosts should not fail - - * plugins-scripts/check_disk_smb.pl: fix timeout issue with - check_disk_smb - - check_disk_smb hangs if the smbclient is still running. So send a sigint to all - childs and exit cleanly. - - * plugins/t/check_snmp.t: make snmp tests more reliable - - snmp tests fail if the snmp daemon runs systemd, then the process with 1 has arguments. Convert - the test into a regex which works for sysv and systemd. - -2017-03-12 Sven Nierlein - - * plugins/check_dns.c: check_dns: fix error detection on sles nslookup - - on sles (ex. 11sp1) systems the nslookup output for not found was not parsed correctly - and interpreted as ok when it should be critical: - - ./check_dns -H nosuchhost.nodomain -t 1 -vvv - /usr/bin/nslookup -sil nosuchhost.nodomain Server: 10.0.2.3 - Address: 10.0.2.3#53 - Non-authoritative answer: - *** Can't find nosuchhost.nodomain: No answer - DNS OK: 0.011 seconds response time. nosuchhost.nodomain returns |time=0.010892s;;;0.000000 - -2017-02-14 phowen - - * plugins-scripts/check_file_age.pl, plugins-scripts/t/check_file_age.t: - add range checking to check_file_age - -2017-02-07 Gerhard Lausser - - * plugins/check_snmp.c: check_snmp: put the "c" (to mark a counter) - after the perfdata value - -2017-01-17 Jan Wagner - - * NEWS: Add missing changes - -2017-01-16 Valentin Vidic - - * plugins/check_apt.c: check_apt: Add -l/--list option to print packages - -2017-01-10 Holger Weiss - - * plugins-root/check_icmp.c: Apply another spelling fix - -2017-01-06 Jan Wagner - - * plugins-scripts/check_oracle.sh: Fixing shellcheck SC2166 - - * plugins-scripts/check_oracle.sh: Fixing shellcheck SC2162 - - * plugins-scripts/check_oracle.sh: Fixing shellcheck SC2143 - - * plugins-scripts/check_oracle.sh: Fixing shellcheck SC2009 - - This requires pgrep from the procps package. - - * plugins-scripts/check_log.sh, plugins-scripts/check_oracle.sh, - plugins-scripts/check_sensors.sh: Fixing shellcheck SC2086 - - * plugins-scripts/check_log.sh, plugins-scripts/check_oracle.sh, - plugins-scripts/check_sensors.sh: Fixing shellcheck SC2006 - -2016-03-03 Elan Ruusamäe - - * plugins/check_ping.c: understang ping6 output from iputils package - -2016-12-29 Christian Schmidt - - * plugins/check_apt.c, plugins/t/check_apt.t: Add --only-critical switch - to check_apt - -2016-12-23 Nicolai - - * plugins/t/NPTest.cache.travis, plugins/t/check_dns.t: check_dns: Small - test cleanup - - * plugins/t/NPTest.cache.travis: check_dns: Fix travis tests - - (or try to fix it...) - - * NEWS, THANKS.in, plugins/check_dns.c, plugins/t/check_dns.t: - check_dns: Tests and info - -2016-12-21 Nicolai Søborg - - * plugins/check_dns.c: check_dns: Accept CIDR - -2016-12-19 Patrick Rauscher - - * plugins/check_dns.c: check_dns: allow for IPv6 RDNS - -2016-12-08 Jan Wagner - - * .travis.yml: travis-ci: Install mariadb only if no MySQL is present - -2016-12-07 Holger Weiss - - * NEWS: Mention check_dhcp fix - -2016-12-07 Harald Koch - - * plugins-root/check_dhcp.c: properly remove MSG_PEEK in check_dhcp.c. - Fixes #1450. - -2016-11-30 Jan Wagner - - * plugins-root/check_icmp.c, plugins/check_fping.c, - plugins/check_http.c, plugins/check_ide_smart.c, plugins/check_ldap.c, - plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_pgsql.c, - plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c, - po/de.po, po/fr.po, po/monitoring-plugins.pot: Spelling fixes suggested - by lintian - -2016-11-29 Jan Wagner - - * .travis.yml: Revert "travis-ci: Workaround travis-ci/travis-ci#329" - - Encrypted env variables are not available for PRs - - This reverts commit fe69d3680a1104adcc35d3722f38ac05a976e21f. - - * .travis.yml: travis-ci: Drop clang++, which makes no sense here - - * .travis.yml: travis-ci: Disable notification via mail - - * .travis.yml: travis-ci: Workaround travis-ci/travis-ci#329 - - By encrypting the notification settings. This still fail for ppl - with push access to the origin repro while pushing to their own - clone. - -2016-11-29 Holger Weiss - - * NEWS, NP-VERSION-GEN, configure.ac: Prepare for the 2.2 release - - * doc/RELEASING.md: Update command line for tagging - - * doc/RELEASING.md: Fix a typo - - * doc/RELEASING.md: Apply more cosmetic changes - - * doc/RELEASING.md: Don't forget to commit NEWS - - * doc/RELEASING.md: Apply more formatting fixes - - * doc/RELEASING.md: Clarify name of remote repo - - * doc/RELEASING.md: Fix code blocks within lists - - Code blocks within lists must be indented with eight spaces. - - * doc/RELEASING.md: Use HTML-style comment - - * doc/RELEASING, doc/RELEASING.md: Rewrite doc/RELEASING notes - - Update the documentation on creating a Monitoring Plugins release, and - convert it to Markdown. - -2016-11-28 Holger Weiss - - * NEWS: Cosmetic changes - - * THANKS.in: Update THANKS.in file - - * NEWS: Remove attributions from NEWS file - - Attributions were inconsistently added to only some of the NEWS entries, - and we have other places for attributing contributions. - - * NEWS: Clean up NEWS entries for the 2.2 release - - ... and group them by plugin. - - * tools/update-thanks: Match case-insensitively - - When checking whether an author name already exists in the AUTHORS or - THANKS.in file, perform a case-insensitive match. - - * THANKS.in: Add new authors - - Update the THANKS.in file with the new Git commit authors. - - * NEWS: Add missing entries - -2016-11-21 Jan Wagner - - * .travis.yml: travis-ci: Adding clang to the matrix - - See https://docs.travis-ci.com/user/multi-os/#Example-Multi-OS-Build-Matrix - for Multi OS matrix - - * .travis.yml: travis-ci: Implement a matrix - - See https://docs.travis-ci.com/user/customizing-the-build/#Build-Matrix - -2016-11-21 Holger Weiss - - * plugins/check_radius.c: check_radius: Make compiler happy - -2016-11-21 Oliver Skibbe - - * plugins/check_disk.c: Revert "check_disk - show all disks if state is - ok and option error only is used" - -2016-11-21 Holger Weiss - - * plugins/sslutils.c: sslutils: Address compiler warning - - SSLv23_client_method() and friends return a pointer to a const-qualified - SSL_METHOD. - -2016-11-20 Jan Wagner - - * .travis.yml, plugins/t/NPTest.cache.travis: Creating and mounting - randisk to make use of check_disk tests - -2016-11-18 Jan Wagner - - * plugins-scripts/check_ifoperstatus.pl, - plugins-scripts/check_ifstatus.pl, plugins/check_ntp_time.c: It's useful - to use 'useful' instead of 'usefull' - -2016-11-17 Holger Weiss - - * NEWS, REQUIREMENTS: Document radcli support in NEWS and REQUIREMENTS - - * plugins/check_radius.c, plugins/check_smtp.c, plugins/netutils.c, - plugins/netutils.h: check_radius: Replace functions removed in radcli - - The radcli library no longer offers the rc_get_ipaddr(), - rc_good_ipaddr(), and rc_own_ipaddress() functions. - - * plugins/check_radius.c: check_radius: Fix rc_send_server() call for - radcli - - With radcli, the rc_send_server() function expects an additional - argument. - -2016-11-15 Holger Weiss - - * plugins/check_radius.c: check_radius: Remove unused variable - - The radcli library doesn't define the ENV type, and we don't use it - anyway. - -2016-11-05 Jan Wagner - - * .travis.yml, configure.ac, plugins/check_radius.c: This patch adds - support for using the readcli lib. - - http://radcli.github.io/radcli/ - - (Closes #1437) - -2016-11-13 vagrant - - * configure.ac, plugins/check_http.c, plugins/check_smtp.c, - plugins/check_tcp.c, plugins/common.h: add openssl 1.1 support - - changes: - - CRYPTO_lock detection replaced in configure.ac. We don't use that - function anywhere, so just replace it with the suggested one from - https://wiki.openssl.org/index.php/Library_Initialization#Autoconf - - OPENSSL_NO_SSL2 is no longer defined while ssl2 is not included. - Set it ourself using the suggested openssl 1.1 version check from - https://wiki.openssl.org/index.php/1.1_API_Changes#Backward_compatibility - - openssl 1.1 sends a sigpipe if the connection is still open when - calling SSL_shutdown(), so move the close before the shutdown. - -2016-11-11 Sven Nierlein - - * plugins/tests/check_http.t: Revert "adopt http test to changed ssl - expire date output" - - This reverts commit 6cd50bc42cb4b25a3c0f7153df7f83b7262f404b. - - * plugins/tests/check_http.t: tests: make tests reliable for forcing the - locale to C - - * .travis.yml: clean cpan installation - - HTTP::Daemon::SSL gets installed as pkg already. - - * NEWS: update news file - - * plugins/t/check_http.t: check_http: add host header tests - - * .travis.yml: travis: install HTTP::Daemon::SSL perl module - - which is required for plugins/tests/check_http.t - - * plugins/tests/check_http.t: adopt http test to changed ssl expire date - output - -2015-09-15 Christopher Odenbach - - * THANKS.in, plugins/check_http.c: patch to support the concept of - virtual ports - -2016-11-08 Sven Nierlein - - * THANKS.in: update thanks file - -2016-05-05 Christian Kujau - - * plugins/check_dig.c: check_dig: use +retry instead of +tries - - After upgrading from an Ubuntu/15.10 to 16.04 installation, I noticed that - check_dig is always returning a WARNING: - - $ /usr/lib/nagios/plugins/check_dig -l localhost -v - /usr/bin/dig -p 53 @127.0.0.1 localhost A +tries=3 +time=6 - Looking for: 'localhost' - DNS WARNING - 0.008 seconds response time (dig returned an error status)|time=0.008274s;;;0.000000 - - The older Ubuntu installation got its check_dig from the - nagios-plugins-standard package[0] which did not include the +tries - option. The current Ubuntu version provides its check_dig from the - monitoring-plugins-standard package[1], which _does_ use the +tries - option that was introduced with df53473[2]. - - On my system, it so happens that /usr/bin/dig is provided not by the - (BIND) dnsutils package but by knot-dnsutils[3] from the Knot DNS project. - The Knot dig(1) command doesn't support the +tries option[4] but does - support +retry (which is also supported[5] by the BIND dig(1) command). - - One way to fix that would be for me to install the BIND dnsutils package. But I did not - want to do that: it's so much larger in size and pulls in much more dependencies - than the knot-dnsutils package. - - The patch below changes check_dig to use +retry instead of +tries. Both - options are similar, but not the same: - - +retry - Sets the number of times to retry UDP queries to server to T - instead of the default, 2. Unlike +tries, this does not include - the initial query - - As number_tries seems to be hard coded to 3, I've lowered DEFAULT_TRIES to - 2 so check_dig should behave as before (with +tries=3). - - Thanks, - Christian. - - [0] http://packages.ubuntu.com/wily/nagios-plugins-standard - [1] http://packages.ubuntu.com/xenial/monitoring-plugins-standard - [2] https://github.com/monitoring-plugins/monitoring-plugins/commit/df53473 - [3] http://packages.ubuntu.com/xenial/knot-dnsutils - [4] https://www.knot-dns.cz/docs/2.x/html/man_kdig.html#notes - [5] https://ftp.isc.org/isc/bind9/cur/9.10/doc/arm/man.dig.html - -2016-05-04 Sebastian Herbszt - - * plugins/check_ide_smart.c: check_ide_smart: remove unused function - - Remove function unused since commit b5cc292. - -2016-11-08 Sven Nierlein - - * plugins/t/NPTest.cache.travis: tests: enable snmp tests - - Enabled snmp tests against snmpd on localhost. It was installed already - in the travis file, we just need to enable the tests by setting the - parameters in the answers file. - - * plugins/t/check_snmp.t: check_snmp: fix number of tests skiped - - * plugins/t/check_snmp.t: check_snmp: add testcase for no datatype - - * plugins/check_snmp.c: Revert "check_snmp: fix push request 1173 for - SNMP responses without datatype indicator" - - This reverts commit 3178c8c0ff18822a04fe01c749f3564887473eed. - - * THANKS.in: Revert "update thanks file" - - This reverts commit 4403c402cba0315c2cb9ebe40639a5fe312d643e. - - * THANKS.in: update thanks file - -2015-08-26 Thomas Kurschel - - * plugins/check_snmp.c: check_snmp: fix push request 1173 for SNMP - responses without datatype indicator - -2016-11-07 Sven Nierlein - - * plugins/check_load.c: fix superfluous argument to printf (#fixes 1308) - - * NEWS, THANKS.in: update news and thanks file - - * plugins/t/check_http.t: tests: adjust check_http to new output format - -2015-11-25 Peter (pir) Radcliffe - - * plugins/sslutils.c, plugins/tests/check_http.t: GMT expiry display - - Change solution to display GMT time in the local display format with - the offset number of hours from GMT to be clear about what timezone - this is if the local display format does not include offset. - - * plugins/tests/check_http.t: Revert "Fix check_http test time output" - - This reverts commit 2d9e61a4382b8366331cde7617dbc4e381a0219a. - -2015-11-24 Peter (pir) Radcliffe - - * plugins/tests/check_http.t: Fix check_http test time output - - Tests need to match new output time and timezone. - - * plugins/sslutils.c: Use GMT timezone in SSL certs - - SSL certs are required to use times in GMT per - https://www.ietf.org/rfc/rfc5280.txt but the mktime() here assumes the - current timezone. - - Fix the time_t conversion to be done assuming GMT with timegm() and - only do it once rather than twice. - - Display the expiry date and time with ISO format years and give an - offset from GMT and a timezone to be very clear about exactly what time - is being displayed. Time given is correct and now in the machine’s - timezone. - -2015-05-19 abrist - - * NEWS, THANKS.in, plugins/check_snmp.c: check_snmp.c - Added IPv6 - support - - The "-6" optarg now prepends the server_address with "udp6:" for the - snmpget external command as per the net-snmp syntax at: - http://www.net-snmp.org/wiki/index.php/FAQ:Applications_28 - - Thanks to DrydenK (Roberto Greiner) for the heads up. - -2016-11-07 Sven Nierlein - - * plugins/t/check_users.t: check_users: add new test cases - - * plugins/check_users.c: check_users: still allow zero thresholds - -2016-11-07 John C. Frickson - - * NEWS, plugins/check_users.c, plugins/utils.c, plugins/utils.h: - check_users not correctly detecting thresholds - - Fix for issue https://github.com/nagios-plugins/nagios-plugins/issues/81 - - check_users now uses the standard warning and critical ranges parser and - a standard perdata output routine. - -2016-11-04 Oliver Skibbe - - * plugins/check_disk.c: check_disk - show all disks if state is ok and - option error only is used - - This fix changes output of check_disk in case of --error-only/-e option - is used and state is ok - - - Old output: DISK OK - - New output: DISK OK - free space: / 159731 MB (83% inode=61%); - /dev/shm 2926 MB (100% inode=99%); /boot 58 MB (32% inode=99%); - - Resolves: #1420 - -2016-03-10 Sven Nierlein - - * plugins/check_by_ssh.c: check_by_ssh: print command output in verbose - mode - - right now it is not possible to print the command output of ssh. check_by_ssh - only prints the command itself. This patchs adds printing the output too. This - makes it possible to use ssh with verbose logging which helps debuging any - connection, key or other ssh problems. - Note: you must use -E,--skip-stderr=, otherwise check_by_ssh would - always exit with unknown state. - - Example: - - ./check_by_ssh -H localhost -o LogLevel=DEBUG3 -C "sleep 1" -E 999 -v - -2016-09-16 Holger Weiss - - * plugins-root/check_dhcp.c: check_dhcp: Make xid a bit more random - - Don't just use the current time(2) to seed the PRNG that generates the - xid. A DHCP server might be checked multiple times per second. - -2016-09-14 Holger Weiss - - * plugins-root/check_dhcp.c: check_dhcp: Don't peek before reading - response - - Omit a recvfrom(3) call which has the MSG_PEEK flag set and should have - no effect at all. According to a comment in the code, this call was - meant to be a workaround to an opaque issue. If anyone runs into that - issue, we should fix it properly instead. - -2016-03-24 Oliver Skibbe - - * AUTHORS: Update AUTHORS - - Added Oliver Skibbe to Authors - -2016-02-22 Holger Weiss - - * plugins/t/check_http.t: Let check_http test use HTTP/1.1 - - * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, - gl/m4/strcasestr.m4, gl/strcasestr.c: Add Gnulib module "strcasestr" - -2016-02-22 Sven Geggus - - * plugins/check_dns.c: DNS is case insensitive! - - Thus recent Versions of bind will no longer change .IN-ADDR.ARPA to lowercase - as the uppercase version is also valid. - - To have check_dns.c consider this fact change strstr to strcasestr - -2015-11-04 Gerhard Lausser - - * plugins/check_http.c: Update check_http.c - - If a web page contains a nul character, check_http reads the complete page but --expect does not search beyond this character. - -2015-11-02 Gerhard Lausser - - * plugins/check_ldap.c: Typo in check_ldap.c usage - -2015-10-28 Klaus Ethgen - - * plugins/check_disk.c: Fixing the stuff that is broken on btrfs - - (Closes #1357) - -2015-10-21 Jan Wagner - - * .travis.yml: travis-ci: Adding spwaspace to trusty env - - * .travis.yml: travis-ci: Stop local running ntpd - -2015-10-20 Jan Wagner - - * .travis.yml: travis-ci: Detect LDAP config - - * .travis.yml: travis-ci: Add ppa:waja/precise-backports for fixed - faketime - - * .travis.yml: travis-ci: Clearly documentx why we need install mariadb - - * .travis.yml: travis-ci: Work around broken /etc/hosts on trusty env - -2015-10-19 Jan Wagner - - * .travis.yml: travis-ci: Adding multiverse repository as long it's not - default. snmp-mibs-downloader is located there - - * .travis.yml: travis-ci: Install mariadb-client and mariadb-server - - * .travis.yml: travis-ci: Migrating to Trusty CI env - -2015-10-16 Holger Weiss - - * NEWS, NP-VERSION-GEN, configure.ac: Prepare for the 2.1.2 release - -2015-10-15 Bernd Apfel - - * plugins-scripts/check_mssql.pl: check_mssql.pl: switched alarm timeout - - - alarm() now uses -t option - contributed by Bernd Arnold (wopfel@gmail.com) - - closes #991 - -2015-10-15 Daniel Stirnimann - - * plugins/check_dig.c: check_dig: expected answer is now incasesensitive - - check_dig was casesensitive if an expected answer is given. - Switching strstr with strcasestr fixes this issue - - While testing i noticed a bug where expected is not an exact match - New issue for that is opened #1385 - - This fix closes #1233 - -2015-10-13 Jan Wagner - - * NEWS: Updating NEWS - -2015-10-12 Holger Weiss - - * NEWS, configure.ac, plugins/Makefile.am, plugins/check_disk.c: Revert - "Don't let check_disk hang on hanging file systems" - - This reverts commit 6986aa1d0a352d8d02eed4896034631fffd25a27. That - commit leads to issues on non-Linux systems, and it seems to not - (always) work as expected on Linux, either. - - Conflicts: - plugins/Makefile.am - plugins/check_disk.c - - Closes #1377 and closes #1329. - -2015-10-08 Sven Nierlein - - * doc/developer-guidelines.sgml: fix guidelines docbook syntax - - no newlines allowed after - -2015-10-08 Holger Weiss - - * doc/developer-guidelines.sgml: Add missing tag - -2015-10-08 Oliver Skibbe - - * plugins/check_smtp.c: check_smtp: extended support for expect option - - expect option (-e) supported only first response, so checking for - any other response like 250-xxx would never match. This fix stores - return of relevant buffer - - closes #1381 - - * plugins/check_smtp.c: check_smtp.c: modified SSL check for use with -e - - - currently STARTTLS check does not work with -e if there's text - like '220 hostname ESMTP*'. This is caused by SMTP answer from - host. Postfix answer: 220 2.0.0 Ready to start TLS, Exchange - 2010: 220 2.0.0 SMTP server ready. This fix checks against 220 - - closes #1093 - -2015-10-07 Oliver Skibbe - - * plugins/check_http.c: * check_http: added timeout to perfdata as max - val - -2015-10-06 Holger Weiss - - * plugins/check_smtp.c: check_smtp: Let "-D" option imply "-S" - - * plugins/check_smtp.c: check_smtp: QUIT SMTP connection when "-D" is - used - - Don't forget to issue an SMTP QUIT command when the -D/--certificate - option is specified. This avoids undesired MTA log messages. - -2015-07-28 abrist - - * plugins-root/pst3.c: Fix for unclosed filehandle in pst3 on Solaris - - On Solaris, check_procs uses pst3 instead of /bin/ps (see - http://monitoring-plugins.org/doc/faq/ps-on-solaris.html for background). There's - a small bug in pst3 which causes it to NOT report some processes that are at - the end of the process table, at least on very busy systems (we noticed this - on a CoolThreads T5240 with load averages up to 90). - - The bug is that a filehandle is not properly closed. - - Thanks to jwinkle01 for finding and patching the bug. - - (Closes #1203) - -2015-10-05 Jan Wagner - - * plugins-scripts/Makefile.am: Testing shell scripts with 'sh -n' - - * plugins-scripts/Makefile.am: Cosmetical changes - -2015-10-04 Holger Weiss - - * NEWS: Fix typos - - * NEWS, plugins/check_http.c, plugins/netutils.h, plugins/sslutils.c: - check_http: Allow for requesting TLSv1.1/TLSv1.2 - - check_http's -S/--ssl option now allows for requesting the TLSv1.1 and - TLSv1.2 protocols. Apart from that, a '+' suffix can be appended in - oder to also accept newer protocols than the specified version. - - Closes #1338, and closes #1354, and closes #1359. - -2015-10-04 Jan Wagner - - * NEWS, plugins-scripts/check_ntp.pl: check_ntp.pl: Droping this - superseded plugin - - * plugins-scripts/check_netdns.pl: check_netdns.pl: Prototyping - functions - -2015-10-04 Sven Nierlein - - * plugins-root/check_dhcp.c, plugins-root/check_icmp.c: use unknown exit - code for help/version in plugins-root as well - - * plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_cluster.c, - plugins/check_dbi.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c, - plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c, - plugins/check_ide_smart.c, plugins/check_ldap.c, plugins/check_load.c, - plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c, - plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c, - plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c: use - unknown exit code for help/version in plugins - - * plugins-scripts/check_breeze.pl, plugins-scripts/check_disk_smb.pl, - plugins-scripts/check_file_age.pl, plugins-scripts/check_flexlm.pl, - plugins-scripts/check_ifoperstatus.pl, - plugins-scripts/check_ifstatus.pl, plugins-scripts/check_ircd.pl, - plugins-scripts/check_mailq.pl, plugins-scripts/check_mssql.pl, - plugins-scripts/check_netdns.pl, plugins-scripts/check_ntp.pl, - plugins-scripts/check_rpc.pl, plugins-scripts/check_wave.pl, - plugins-scripts/t/check_rpc.t: change exit code to unknown on help and - version info - - * doc/developer-guidelines.sgml: use exit code 3 for version and help - - Plugins which use OK state for help or version information may run - unnoticed in that modes without doing any check. So its good - style to let version and help exit with Unknown state. - -2015-10-04 Jan Wagner - - * plugins-scripts/check_ntp.pl: check_ntp.pl: Using FindBin - - * .travis.yml: travis-ci: Add dependencies to run 'perl -wc' - - * plugins-scripts/Makefile.am: Testing scripts with 'perl -wc' - - * plugins/sslutils.c: sslutils: Remove superfluous parenthesis for sslv3 - function too - -2014-12-20 Sebastian Herbszt - - * plugins/sslutils.c: sslutils: remove superfluous parenthesis - - Remove superfluous parenthesis. - -2015-03-06 Oliver Skibbe - - * plugins/t/check_snmp.t: check_snmp: modified tests - - (Closes #1325) - - * plugins/check_snmp.c: check_snmp.c: switched DEFAULT_TIMEOUT to - DEFAULT_SOCKET_TIMEOUT (provided by utils.h), already used by help - description, see issue #1318 - -2015-05-03 Laurent Licour - - * plugins/check_http.c: plugins/check_http.c - fix regression introduced - in commit 388ea928 (Host header) - -2014-10-30 LAURENT LICOUR - - * plugins/check_http.c: plugins/check_http.c - fix Host header if - explicitly set with -k - -2015-10-02 Sven Nierlein - - * plugins/tests/check_http.t: fix tests for certificates expire date - with seconds - - * THANKS.in: update thanks file - - * .travis.yml, plugins/t/check_http.t: add faketime based tests for - check_http - - * plugins/sslutils.c: fix typo from #1336 - - if exactly one hour before the expire date, we would mixup - minutes and hours. - -2015-04-23 Matthias Hähnel - - * plugins/sslutils.c: Update sslutils.c - - Fixed Output if the expiration time is below one hour and code cleanup - -2015-04-20 Matthias Hähnel - - * plugins/sslutils.c: Update sslutils.c - - optimize output if certificate expires in less then 24h - thx to axel.schmalowsky@sixt.com for this patch - -2015-10-02 Elan Ruusamäe - - * plugins-scripts/check_rpc.pl, plugins-scripts/check_wave.pl: also - update check_rpc.pl and check_wave.pl - - * plugins-scripts/check_breeze.pl, plugins-scripts/check_disk_smb.pl, - plugins-scripts/check_file_age.pl, plugins-scripts/check_flexlm.pl, - plugins-scripts/check_ifoperstatus.pl, - plugins-scripts/check_ifstatus.pl, plugins-scripts/check_ircd.pl, - plugins-scripts/check_mailq.pl, plugins-scripts/check_mssql.pl, - plugins-scripts/check_netdns.pl: drop superfluous libexecdir - - utils.pm locate is already convered by FindBin - -2015-04-12 Sven Nierlein - - * .travis.yml: install snmpd on travis tests - - because its required for ./plugins/tests/check_snmp.t - - * .travis.yml: enable libtab on travis builds - - to enable some more tests - - * .travis.yml: add perl snmp to travis dependencies - - it is required for the check_snmp tests - -2015-10-02 Holger Weiss - - * NEWS: Mention check_ups performance data fix - -2015-03-27 Louis Sautier - - * plugins/check_ups.c: Fix incorrect performance data thresholds - - Closes #1330 - -2015-10-02 Jan Wagner - - * plugins/check_snmp.c: check_snmp: small improvement by anonymous - submission - - - response should not start with the delimiter - - OID response value taken into account - - Closes issue #1029 - Closes push request #1173 - -2015-10-02 Holger Weiss - - * plugins-root/check_dhcp.c: check_dhcp: Fix option parsing - - The call_getopt() function didn't always return the correct number of - processed arguments. However, since check_dhcp doesn't support - non-option arguments, the caller doesn't need this number anyway. - - Closes #1345. - -2015-05-05 Jan Wagner - - * plugins-root/check_dhcp.c: Fixes segfaults when running via monitoring - worker - (off-by-one) - - Grabed from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198318 - -2015-10-01 Sven Nierlein - - * plugins/t/NPTest.cache.travis: travis: fix http test host - -2015-08-27 Michael Melcher - - * plugins/check_http.c: check_http: Adding support for checking - SSL-Websites through Proxies - - Ported the fix from Frank4dd to the latest git version. See also http://nagios.frank4dd.com/howto/monitor-ssl-web - sites-through-proxy.htm - -2015-10-01 Sven Nierlein - - * plugins/t/NPTest.cache.travis: travis: fix http test host - -2015-07-25 Jérémie Courrèges-Anglas - - * plugins/sslutils.c: sslutils: Check if OpenSSL supports SSLv3. - -2015-08-13 Andrew Widdersheim - - * plugins/check_fping.c: Allow check_fping to autodetect ipv6 addresses - - Stole the logic in check_ping that allows it to autodetect whether an - address is ipv6 or not. Now the user does not have to specify -6 when - using check_fping with ipv6 addresses. - -2015-04-23 Sven Nierlein - - * plugins/t/check_ldap.t: check_ldap: fix number of skipable tests - -2015-04-22 Sven Nierlein - - * NEWS: mention check_ldap changes in news file - - * plugins/check_ldap.c: check_ldap: fix entries threshold check - - fix typo in threshold check. instead of setting the state always - to warning, use the result from the thresholds entry check. - - * .travis.yml, plugins/t/NPTest.cache.travis, plugins/t/check_ldap.t: - add check_ldap test - - install openldap on travis and grep base dn from slapcat. - -2015-04-19 Gerhard Lausser - - * plugins/check_ldap.c: add counting of entries to check_ldap - - * plugins/utils.c: add sperfdata function which can handle threshold - ranges - -2015-04-13 Andrew Widdersheim - - * plugins/check_tcp.c: Readability fix - -2015-04-12 Elan Ruusamäe - - * doc/RELEASING: Update RELEASING - - fix some typos. - -2015-04-12 Sven Nierlein - - * .travis.yml: install snmpd on travis tests - - because its required for ./plugins/tests/check_snmp.t - - * .travis.yml: enable libtab on travis builds - - to enable some more tests - - * .travis.yml: add perl snmp to travis dependencies - - it is required for the check_snmp tests - - * plugins/tests/check_snmp.t: fix snmp test for included threshold - - since 6623a1 check_snmp prints the thresholds along the performance data. - This adjust our test cases accordingly. - -2015-04-11 Sven Nierlein - - * perlmods/Monitoring-Plugin-0.37.tar.gz, - perlmods/Monitoring-Plugin-0.39.tar.gz: update perl module to 0.39 - -2015-01-29 Sven Nierlein - - * plugins-root/check_icmp.c: make use of MSG_CONFIRM optional - - since MSG_CONFIRM is a linux thing and only available on linux kernels >= 2.3.15, see send(2) - -2014-12-20 Sebastian Herbszt - - * plugins/utils.c: utils: remove unused variable - - Remove unused variable. - - * plugins/check_ntp_time.c: check_ntp_time: remove unused variables - - Remove unused variables. - - * plugins/check_ntp.c: check_ntp: remove unused variables - - Remove unused variables. - - * plugins/check_disk.c: check_disk: remove unused variables - - Remove unused variables. - -2014-12-15 Holger Weiss - - * tools/update-thanks: Add tools/update-thanks script - - The tools/update-thanks script can be used to update the THANKS.in file. - -2014-12-09 Sebastian Herbszt - - * plugins/negate.c: negate: remove unused variables - - Remove unused variables. - -2014-12-08 Sebastian Herbszt - - * plugins/check_dns.c: check_dns: remove dead code - - Remove code dead since commit 4efa917. - -2014-12-02 Holger Weiss - - * NEWS, THANKS.in, configure.ac, plugins-scripts/check_mailq.pl, - plugins-scripts/utils.pm.in: check_mailq: Add sudo support - - This addition is based on a patch contributed by Christopher Schultz. - - Closes #1099. - Closes #1171. - - * NEWS: Mention check_disk enhancement - - Closes #867. - Closes #1186. - - * configure.ac, plugins/Makefile.am: Cosmetic change: - s/THRLIBS/THREADLIBS/ - - Use a more intuitive variable name. - - * plugins-root/check_icmp.c: check_icmp: Cast size_t values for - printf(3) - - Convert size_t values to unsigned long for printf(3) in order to - maximize portability. - - * configure.ac: Don't let pthread check depend on OS - - Don't check the operating system environment to detect the correct - linker flags for using the POSIX thread library. - - * NEWS: Modify list of changes for 2.1.1 release - - Make the list of changes slightly more descriptive. - -2014-12-01 Jan Wagner - - * doc/RELEASING: Fixing and removing outdated information - - * NP-VERSION-GEN, configure.ac: Prepare release - - * THANKS.in: Add new authors - - * NEWS: Updating all the fixes - - * doc/RELEASING: We are now monitoring-plugins - -2014-11-30 Sebastian Herbszt - - * plugins/check_tcp.c: check_tcp: fix help description regarding escape - option - - The help description should print '\\' for backslash not just '\'. - -2014-12-01 Holger Weiss - - * plugins/check_ntp.c: check_ntp: Nul-terminate jitter data - - Make sure the jitter response is nul-terminated before parsing the data - using string functions. - -2014-11-30 Holger Weiss - - * plugins/check_ntp.c: Revert "plugins/check_ntp.c - Verify struct from - response" - - This reverts commit a04df3e1b67dc5eab3adc202cc89901f801cdeaa. The "fix" - was bogus in many ways and broke jitter checking. - - Conflicts: - plugins/check_ntp.c - -2014-11-27 Sebastian Herbszt - - * .gitignore: update .gitignore - - Add build-aux/test-driver to .gitignore. - -2014-11-30 Holger Weiss - - * plugins/check_disk.c: check_disk: Seperate declarations from code - - * plugins/check_disk.c: check_disk: Remove unused status variable - - We didn't actually use the exit status provided by pthread_join(3) for - anything. - -2014-11-28 Holger Weiss - - * plugins/check_disk.c: check_disk: Fix pthread start routine type - - The function pointer passed as third argument to pthread_create(3) must - be of type void *(*)(void *). - -2013-10-01 Gerhard Lausser - - * configure.ac, plugins/Makefile.am, plugins/check_disk.c: Don't let - check_disk hang on hanging file systems - -2014-11-28 Holger Weiss - - * NEWS: Mention HP-UX fixes for check_procs - - Closes #1288. - -2014-08-26 Yannick Charton - - * configure.ac: Added particular ps command for HP-UX (check_procs) - -2014-11-28 Holger Weiss - - * NEWS: Mention the check_real fix - - Closes #1290. - -2014-09-05 Andrew Berglund - - * plugins/check_real.c: Added missing CR in DESCRIBE request. - -2014-11-28 Holger Weiss - - * plugins-root/check_icmp.c: check_icmp: Fix a few type errors - - * plugins-root/check_icmp.c: Don't mix variable declarations and code - - We still support pre-C99 compilers. - -2014-02-03 Matthieu Kermagoret - - * plugins-root/check_icmp.c: Use kernel reception time on ICMP packets - to compute rtt. - - This commit uses the SO_TIMESTAMP feature of setsockopt to fetch - kernel reception time of ICMP packets. This avoids invalid - computations of rtt on machines with heavy load and/or heavy - network traffic. - -2014-11-28 Sven Nierlein - - * lib/utils_cmd.c: make constants from maxfd values (#1300) - - its good practice to use constants instead of (random) values. - -2014-11-19 nafets - - * lib/utils_cmd.c: avoid a segfault, if ulimit is set to unlimited - -2014-11-28 Jan Wagner - - * NEWS: Adding a warning for raising to CRITICAL for protocal/version - errors of check_ssh - -2014-06-30 Sven Nierlein - - * plugins/check_ssh.c: check_ssh: change warning to critical for - protocal/version errors - - It makes more sense to exit critical if a explicit version/protocol is requested. This - would also be more consistent with other plugins. Other string matching plugins like - check_snmp or check_http exit critical if the result does not match. - -2014-11-28 Holger Weiss - - * NEWS: Mention new "check_nt -l" parameters - - Closes #1253. - -2014-04-04 Andy Brist - - * plugins/check_nt.c: Added perfdata to check_nt. New -l options - - seconds|minutes|hours|days. - -2014-11-28 Holger Weiss - - * NEWS: Mention new check_snmp option - - Closes #1221. - -2013-12-26 Johannes Engel - - * plugins/check_snmp.c: Introduce support for SNMPv3 context in - check_snmp - - snmpget already supports using SNMPv3 contexts using the option "-n". - Thus all we need to do is introduce a new argument to check_snmp and - pass the argument on to snmpget using snmpget's option "-n". - Since "-n" is already in use for check_snmp for a different purpose, - we use "-N" instead. - -2014-11-28 Holger Weiss - - * NEWS: Mention check_snmp's perfdata thresholds - -2014-02-11 Andreas Seemueller - - * plugins/check_snmp.c: check_snmp: Add thresholds to performance data - -2014-11-27 Sebastian Herbszt - - * plugins/check_real.c: check_real: fix null termination - - Fix null termination introduced by commit b61f51a ("plugins/check_real.c - recv string null terminate"). - -2014-11-26 Sebastian Herbszt - - * plugins/check_ntp.c: check_ntp: fix null termination - - Fix null termination introduced by commit a04df3e ("plugins/check_ntp.c - Verify struct from response"). - - * plugins/check_apt.c: check_apt: fix memset - - Fix memset introduced by commit 9ce7369 ("plugins/check_apt.c - Print uninitialized ereg"). - -2014-11-17 nafets - - * plugins/check_by_ssh.c: added option to exit with an warning, if there - is output on STDERR - -2014-11-03 Holger Weiss - - * NEWS: Add warning regarding check_mrtgtraf change - - Closes #1296. - -2014-11-03 Adrian Murphy - - * plugins/check_mrtgtraf.c: Fix perfdata to comply with perfdata UOM - definition - -2014-11-02 Holger Weiss - - * LEGAL, Makefile.am: Remove LEGAL file - -2014-10-19 Jan Wagner - - * plugins/check_swap.c: Improving output when swap space has zero size - -2014-03-09 Davide Madrisan - - * plugins/check_swap.c: check_swap - fix comment - -2014-10-15 Holger Weiss - - * NEWS, NP-VERSION-GEN, configure.ac: Prepare for the 2.1 release - - * THANKS.in: Add new authors - - Update the THANKS.in file with the new Git commit authors. - - * FAQ: Remove outdated (RPM/DEB-related) questions - - * NEWS: Mention that we dropped the spec file - -2014-10-15 Jan Wagner - - * Makefile.am, configure.ac, monitoring-plugins.spec.in: Removing the - spec file, as it's broken - Even we have none feedback in PR #1283 - -2014-10-08 Holger Weiss - - * plugins-scripts/check_ifstatus.pl: check_ifstatus: Fix "-n" and "-u" - options - - Ignore interface if it's specified via "-n" OR "-u", not just when it's - specified via "-n" AND "-u". - -2014-10-06 Holger Weiss - - * lib/utils_base.c: Revert "Make use of xasprintf instead of asprintf" - - This reverts commit a143739ed286cf9ae003792dbb1ce26ce43f3312. - - Our current setup doesn't allow lib/*.c files to call functions defined - in plugins/utils.[ch]. - -2014-09-23 Jonas Genannt - - * NEWS, plugins-scripts/check_file_age.pl, - plugins-scripts/t/check_file_age.t: check_file_age: Provide performance - data - -2014-10-06 Jan Wagner - - * NEWS: Adding missing informations to NEWS - -2014-09-29 Jan Wagner - - * THANKS.in: Adding Simon to Thanks file - -2014-09-01 Simon Meggle - - * plugins-scripts/check_mailq.pl: check_mailq: fixed mailer names - - (Closes #1289) - -2014-09-16 Holger Weiss - - * NEWS, plugins/check_tcp.c: Fix check_jabber to work with Openfire - servers - - The plugin expected: - - - - But Openfire sends: - - - -2014-09-10 Holger Weiss - - * NEWS: Mention new check_ifstatus option - -2013-05-13 Nick Peelman - - * plugins-scripts/check_ifstatus.pl: Add check_ifstatus option to ignore - interfaces by name - - Ignoring by index is not always an option, as the index can change on - chassis switches as blade configurations change. - -2014-07-30 Jan Wagner - - * .travis.yml: travis-ci: create MySQL database 'test' - -2014-07-21 Jan Wagner - - * .travis.yml: travis-ci: Installing libhttp-daemon-ssl-perl to make - plugins/tests/check_http.t possible to run - - * .travis.yml: travis-ci: Using libfreeradius-client-dev as build-dep - -2014-08-20 Jan Wagner - - * plugins-scripts/check_log.sh, plugins-scripts/check_oracle.sh, - plugins-scripts/check_sensors.sh: Setting PATH at first - - * plugins-scripts/check_log.sh: check_log.sh: droping path from basename - while evaluating PROGNAME (Closes Debian Bug #758662) - -2014-08-06 Sven Nierlein - - * plugins/check_by_ssh.c: check_by_ssh: added --hostname support - - just like the guidelines and the help already suggests. - -2014-07-31 Sven Nierlein - - * plugins/tests/check_snmp.t: tests: skip extented snmp tests if snmpd - has no perl support - - solaris snmpd has no perl support by default, so this test will fail. - - * plugins/t/negate.t: tests: negate test fails when not run from plugins - folder - - * plugins/t/negate.t: tests: get current directory the perl way - - instead of hoping to have it in the environment. This at - least broke tests on solaris. - - * plugins/check_dns.c: check_dns: unified check output - - this also allows us to make tests against "critical" in the output. - - * plugins-scripts/t/check_disk_smb.t: tests: check_disk_smb may exit - with critical for unresponsive hosts too - - Unknown (ex. debian 7) - %> ./check_disk_smb -H 1.1.1.1 -s np_foobar -vvv - /usr/bin/smbclient //1.1.1.1/np_foobar -U guest% -c du - No Answer from Client - - Critical (ex. debian 8) - %> ./check_disk_smb -H 1.1.1.1 -s np_foobar -vvv - /usr/bin/smbclient //1.1.1.1/np_foobar -U guest% -c du - Connection to 1.1.1.1 failed - CRITICAL - -2014-07-31 Sven Nierlein - - * plugins/check_ntp_peer.c: check_ntp_peer: do not use uninitialized - results for max state - - s/t/jresult are not initialized if there is no corresponding threshold - supplied. So we shouldn't use them for calculating our result. - -2014-07-31 Holger Weiss - - * NEWS: Mention --with-qmail-qstat-command option - -2013-10-21 awiddersheim - - * configure.ac: Fix PATH_TO_QMAIL_QSTAT in configure - - When configuring PATH_TO_QMAIL_QSTAT the PATH_TO_MAILQ would get applied - instead after tests had passed. Also made --with-qmail-qstat-command a - configuration option. - -2013-09-30 Jan Wagner - - * THANKS.in: adding to THANKS - -2014-07-30 Jan Wagner - - * plugins/check_dns.c: check_dns: Use strchr instead of index - - * THANKS.in: Adding Alexander Wittig to THANKS.in - --- - Closes #1218 - Closes #1281 - -2013-12-16 Alexander Wittig - - * plugins/check_dig.c: check_dig: takes into account the -4 and -6 - switch - - Fix automatic DNS server name detection to honor -4 and -6 switches - (default to 127.0.0.1 or ::1 respectively, i.e. if -6 is given ::1 - is used instead of 127.0.0.1) - - * plugins/check_dig.c: check_dig: Fix to work with dig and drill tool - - FreeBSD starting with version 10 is shipped with ldns instead of bind as - resolver. Consequently the dig tool in base is replaced by drill. While dig can - still be installed as a third party application, it would be nice to make do - with the tools available in the system already. - This patch rearranges the command line used to invoke dig slightly so that it - can be used with both dig and drill (tested with dig 9.8.3-P1 and 9.9.4 as well - as drill 1.6.16). It would be really neat if the configure script could be - changed to automatically pick up drill when dig is not available (or the other - way around), but my autotools-foo is not good enough for that. - This part of the patch is an extended version of the locally maintained patch - currently deployed in the FreeBSD ports tree by Dmitry Sivachenko. - -2014-07-30 Sven Nierlein - - * tools/generate-change-log: workaround for broken Text::Wrap - - workaround for broken Text::Wrap: - "This shouldn't happen at /usr/share/perl/5.18/Text/Wrap.pm line 84." - changing huge to overflow make generating changelogs work again at - the price of not having changelog strictly cut of at 80 columns - anymore. Words longer than 80 characters will now printed in one - line. This mainly affects old sf.net urls. - - * tools/generate-change-log: no need for the signed off messages in our - changelog - -2014-07-30 Jan Wagner - - * lib/utils_base.c: Make use of xasprintf instead of asprintf - --- - Closes #1278 - -2014-01-22 Ricardo Maraschini - - * lib/utils_base.c: if asprintf fails, string is undefined - - if asprintf fails, string content becomes invalid. we need - to check if it ran OK by checking the returned value. - - in case of fail, asprintf returns -1, otherwise the number - of writen bytes is returned. - - also, on ubuntu 13.10 i've receiving a lot of warnings: - - "warning: ignoring return value of ‘asprintf’" - - this patches fixes some of them - -2013-09-29 Jan Wagner - - * plugins/check_dns.c: check_dns: returns incorrect state when - specifying server - - This patch verifies if the response is returned by the dns server we - are trying to check - --- - Closes #981 - Closes #982 - Closes #1164 - -2014-07-30 Jan Wagner - - * .travis.yml: travis-ci: create MySQL database 'test' - -2014-07-30 Sven Nierlein - - * plugins/t/check_dns.t: check_dns: added test for nonresponsive dns - server (#982) - -2014-07-29 Jan Wagner - - * THANKS.in: Adding Jason Benguerel - -2013-10-01 Jan Wagner - - * plugins/check_disk.c: check_disk: show troubled partition in verbose - mode - - I'm submitting a small patch to check_disk that will show which partitions are - actually causing the error state. This helps the human operator to quickly - identify the exact issue. I made it so a single -v flag is required so it - doesn't harm legacy code that may be parsing the original style of output. - - Thanks to Jason Benguerel. - --- - Closes #984 - Closes #1182 - -2014-02-05 abrist - - * plugins/check_ntp_time.c: check_ntp_time.c - Cleaned up usage and - added a note - - Closes #907 - Closes #1184 - -2014-07-21 Jan Wagner - - * THANKS.in: Adding Patrick McAndrew to THANKS.in - -2013-10-01 Jan Wagner - - * plugins/check_ntp_time.c: check_ntp_time: adding offset option - - Not sure if this is of use or not - we have a strange requirement to run - certain servers 5 minutes fast. I've added a switch to the check_ntp_time - to allow for this offset. - - Thanks to Patrick McAndrew. - -2014-05-19 abrist - - * plugins/netutils.c: netutils.c - A few more changes - - Changed bool to short. - - Removed first instance of is_socket to avoid - redeclaration error. - - Changed 'socket' to 'file socket' for verbosity. - -2014-05-07 Davide Madrisan - - * plugins/netutils.c: This patch will add the IP and port, or socket - name, to the error message and - thus simplify the problem debugging: no need to check for this information in - the Nagios configuration. - This function is only used by 'check_tcp.c'. - - Without the patch: - - $ ./plugins/check_tcp -H 127.0.0.1 -p 21 - Connection refused - $ ./plugins/check_tcp -H /var/spool/nagios/cmd/nagios.cmd - Permission denied - - With the patch: - - $ ./plugins/check_tcp -H 127.0.0.1 -p 21 - connect to address 127.0.0.1 and port 21: Connection refused - $ ./plugins/check_tcp -H /var/spool/nagios/cmd/nagios.cmd - connect to socket /var/spool/nagios/cmd/nagios.cmd: Permission denied - - Thanks to Davide Madrisan. - --- - Closes #1277 - -2013-10-01 Jan Wagner - - * THANKS.in, plugins/check_mysql.c: check_mysql: ignore authentication - failure - - This patch allows checking if MySQL server is running without providing valid - username and password. Similar to check_ssh plugin it returns MySQL server - version string and protocol number. - - Example: - check_mysql -n -H aaa.bbb.ccc.ddd - MySQL OK - Version: 5.0.51a-24+lenny5 (protocol 10) - - This is useful for monitoring servers where one does not have administrator - privileges or does not want to grant any privileges for the monitoring station. - - To enable this functionality new option --ignore-auth (-n) is added to - check_mysql plugin. - - Thanks to Julius Kriukas - - Closes #1020 - Closes #1178 - -2014-07-21 Jan Wagner - - * .travis.yml: travis-ci: Installing libhttp-daemon-ssl-perl to make - plugins/tests/check_http.t possible to run - -2014-07-21 Holger Weiss - - * test.pl.in: Use "C" locale when running test suite - - Some of our tests check locale-dependent plugin output, so let's make - sure "make test" is always using the "C" locale. - - * plugins/tests/check_http.t: Adjust date strings - - Adjust the expected date strings to the now-localized output produced by - plugins/sslutils.c. - - Closes #1275. - -2014-07-21 Jan Wagner - - * .travis.yml: travis-ci: Using libfreeradius-client-dev as build-dep - -2014-07-21 Holger Weiss - - * plugins/t/check_dns.t: Fix Perl warning - - Perl said: "Unrecognized escape \d passed through at ./t/check_dns.t - line 57." - -2013-10-01 Jan Wagner - - * THANKS.in, plugins/sslutils.c: sslutils: expire time in local timezone - format - - sshutils prints the expiry time of certificates in US format - this patch uses the strftime %c, I don't know how portable that is - - Thanks to Neil Prockter. - - Closes #1188 - Closes #1161 - Closes #977 - Closes #976 - Closes #975 - Closes #840 - Closes #382 - -2013-09-30 Jan Wagner - - * THANKS.in, plugins-scripts/check_ifstatus.pl: check_ifstatus: perfdata - bug - - The perfdata output violates the current Nagios Plugin Development Guidelines - (http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN202 : - "space separated list of label/value pairs"). - - Thus the Addon PNP did not read the perdata correctly. - - The patch replaces the commas with spaces in the perfdata output. - - Many thanks to Patric Wust. - --- - Closes #1169 and #721. - -2014-07-20 Jan Wagner - - * plugins/t/NPTest.cache.travis: travis-ci: Adding ports for check_hpjd - -2014-01-27 abrist - - * plugins/t/check_hpjd.t: added tests for check_hpjd port options - --- - Closes #1160 and #973 - -2014-01-24 abrist - - * NEWS, plugins/check_hpjd.c: Added check_hpjd port option to news and - clarified the port usage error. - - * plugins/check_hpjd.c: check_hpjd - Added a switch for port - specification. Defaults to 161. - -2014-03-03 abrist - - * plugins/t/check_ntp.t: check_ntp.t - fixed tests for new status output - closes #1236 and #1239 - -2014-02-14 abrist - - * plugins/check_ntp_peer.c: check_ntp_peer - Added specific state output - for each metric. It now should be easy to see which check caused the - alert. - -2013-10-01 Jan Wagner - - * THANKS.in, plugins-scripts/check_oracle.sh: check_oracle: --tns bad - string matching - - check_oracle in the 1.4.15 release doesn't correctly parse the output gotten - from at least Oracle 11 (with german locales). I guess it's probably more. - Also it completely needlessly uses sed where basic bash string parsing actually - does more than suffice (and does not run into possible problems with locales - like sed ;)). - -- - Just turning attached patch of github issue #1015 into a push request. - (Closes #1015 and #1191) - -2014-07-11 Holger Weiss - - * NEWS: Fix typo - - * NEWS, NP-VERSION-GEN, configure.ac: Prepare for the 2.0 release - - * NEWS: Wrap overly long line - -2014-07-10 Holger Weiss - - * THANKS.in: Update THANKS.in file with latest author - -2014-07-10 Mikael Falkvidd - - * plugins/t/check_procs.t: check_procs: Add delay after forking in test - - Forking raises a race condition, where the parent might run the - test before the child has had time to fork. If that happens, - an error similar to this is produced: - Failed test 'Output correct' - at ./t/check_procs.t line 32. - 'PROCS OK: 0 processes with args 'sleep 7' | processes=0;;;0;' - doesn't match '/^PROCS OK: 1 process?/' - - Sleeping a bit should avoid the problem. It might be enough to - sleep less than a second, but perl's built-in sleep function only - supports integer seconds. - - In our build environment, the build failed 3 of 4 times before - this patch. After the patch it failed 0 of 7 times. - -2014-07-07 Holger Weiss - - * NEWS: Add a warning regarding check_snmp - - Tell users that check_snmp might now return CRITICAL in cases where it - used to return OK, and how to deal with that. - - * NEWS: Update version number - - We're going to release version 2.0, not 1.6. - - * plugins/netutils.h: Adjust UNIX_PATH_MAX for BSD - - On at least FreeBSD, NetBSD, OpenBSD, DragonFly, and OS X, this is - hard-coded at 104 bytes. - - Closes #1267. - -2014-07-06 Holger Weiss - - * plugins-scripts/Makefile.am, plugins-scripts/check_breeze.pl, - plugins-scripts/check_disk_smb.pl, plugins-scripts/check_file_age.pl, - plugins-scripts/check_flexlm.pl, plugins-scripts/check_ifoperstatus.pl, - plugins-scripts/check_ifstatus.pl, plugins-scripts/check_ircd.pl, - plugins-scripts/check_mailq.pl, plugins-scripts/check_mssql.pl, - plugins-scripts/check_netdns.pl, plugins-scripts/check_rpc.pl, - plugins-scripts/check_wave.pl: Don't rely on FindBin module to locate - utils.pm - - As the FindBin module doesn't work with ePN, set the path to utils.pm - explicitly at build time. Keep using FindBin additionally, so that the - plugins can also be executed from the build directory. - - Closes #1271. - -2014-07-06 Jan Wagner - - * lib/utils_base.c, lib/utils_base.h, plugins-root/check_dhcp.c, - plugins-root/check_icmp.c: check_icmp/check_dhcp: disable check, if we - are root - - As it is possible to use capabilities(7) on linux or solaris - privileges for example, it is not necessary in all cases to - have those binaries making use of setuid. - -2014-07-06 Holger Weiss - - * NEWS: Add missing entries - - * THANKS.in: Add new authors - - Update the THANKS.in file with the new Git commit authors. - -2014-03-03 abrist - - * plugins/t/check_jabber.t: check_jabber.t - fixed tests for new status - output including hostname - -2014-06-28 Sven Nierlein - - * plugins/t/check_dns.t: tests: added check_dns performance data test - -2014-02-26 abrist - - * plugins/check_dns.c: check_dns.c Added a bit more logic to thresholds - - Added two if elses to cover when only one threshold is set. - -2014-02-26 Jean-Claude Computing - - * plugins/check_dns.c: check_dns: add warning and critical thresholds to - perfdata - -2014-02-20 abrist - - * plugins/check_tcp.c: Cleaned up status output of check_tcp changes - -2014-02-20 Davide Madrisan - - * plugins/check_tcp.c: check_tcp: also display the server addr when - host_specified is set. This will help the admins when multiple checks - are configured - -2014-05-19 abrist - - * plugins/check_nt.c: check_nt.c - Changed 'Mb' to 'MB' in MEMUSE. - -2014-06-23 Spenser Reinhardt - - * lib/utils_cmd.c: lib/utils_cmd.c - Free file descriptor - - Coverity 66502 - File descriptor fd in cmd_file_read is never closed, and thus file is left open after usage throughout runtime. - SR - -2014-06-22 Spenser Reinhardt - - * plugins/negate.c: plugins/negate.c - Function should not return. - - Coverity 66479 - validate_arguments has no need to return anything, as it dies on error, yet was set to return an int. Set to void to resolve warning. - - * plugins/negate.c: plugins/negate.c - Reorder if statement, aiob - - Coverity 66480 - Potential array index out of bounds, since result was not verified to be positive prior to using as an index for state[]. Simply reording the if statement should resolve the issue. - SR - - * plugins-root/check_dhcp.c: plugins-root/check_dhcp.c - array out of - bounds - - Coverity 66488 - offer_packet->options has a max size of 312. It was being used in a loop verifying less than 311, but increasing by 2 per loop, causing a possible array index out of bounds. Changed to checking less than max length - 1. - SR - - * plugins/check_http.c: plugins/check_http.c - leakage fix - - Coverity 66514 - Possible leakage and overflow with addr in redirect functionality. Not confirmed as null terminated, and externally gathered. Restrict string comparisons and duplications by size. - SR - - * plugins/check_ntp.c: plugins/check_ntp.c - Verify struct from response - - Coverity 66524 - req.data is not neccessarily null terminated but still feed to printf statements. This both does that, and verifies the struct more so than before. - SR - -2014-06-05 Spenser Reinhardt - - * plugins/check_real.c: plugins/check_real.c - recv string null - terminate - - Recv into buffer is not properly null terminated prior to strstr and possible other string functions expecting a null termination. Simply take bytes received and use as an index to append \0 after. We are creating buffer[] with size of MAX_INPUT_BUFFER and recv with MAX_INPUT_BUFFER-1 so this should never overflow. - - * plugins/check_apt.c: plugins/check_apt.c - Print uninitialized ereg - - Coverity 66531 - ereg.buffer can be printed without being initialized if do_include and do_exclude are null and critical is an invalid regex. While minor this may leak memory and cause undefined behavior. - -2014-06-05 Eric J. Mislivec - - * plugins/check_tcp.c, plugins/negate.c: Include common.h before any - system headers. - - This should fix some problems building on AIX. - -2014-06-24 Sven Nierlein - - * .travis.yml, plugins/t/NPTest.cache.travis, plugins/t/check_ntp.t, - plugins/t/check_snmp.t, plugins/t/check_udp.t: tests: always build and - test on travis - - also make test is now working on travis-ci - -2014-06-23 Jan Wagner - - * plugins/check_ide_smart.c, po/de.po, po/fr.po, - po/monitoring-plugins.pot: check_ide_smart: Fixing spelling bug - - * plugins/check_mrtg.c, po/de.po, po/fr.po, po/monitoring-plugins.pot: - check_mrtg: Fixing spelling bug - - * plugins/check_dbi.c, plugins/check_ups.c: check_ups/check_dbi: Fixing - spelling bug - -2014-06-23 Holger Weiss - - * NEWS: Add missing entries for the upcoming release - -2014-06-22 Holger Weiss - - * THANKS.in: Add new authors - - Add the new Git commit authors to the THANKS.in file. - - * NEWS: Add missing tab characters - - * plugins/check_radius.c: check_radius.c: Add newline to die() calls - - Our die() function doesn't append a newline character to the message. - - * configure.ac: Change RADIUS library preferences - - Prefer the FreeRADIUS Client library over radiusclient-ng, and prefer - that one over the original radiusclient library. - - * NEWS, REQUIREMENTS, configure.ac, plugins/check_radius.c: - check_radius: Support FreeRADIUS Client library - - Allow for using the FreeRADIUS Client library instead of radiusclient or - radiusclient-ng. The latter two projects are dead. - - Closes #1231. - - * REQUIREMENTS: Update radiusclient-ng URL - - The project was moved to SourceForge.net. - -2014-06-21 Holger Weiss - - * NEWS, lib/tests/test_utils.c, lib/utils_base.c: Add UID to state - retention file path - - Add the UID of the invoking user to the state retention file path. This - helps solving permission issues when different users run the same - plugin. - -2014-06-20 Holger Weiss - - * NEWS: s/MP_STATE_DIRECTORY/MP_STATE_PATH/ - - NAGIOS_PLUGIN_STATE_DIRECTORY was renamed to MP_STATE_PATH, not to - MP_STATE_DIRECTORY. - -2014-06-18 Holger Weiss - - * lib/parse_ini.c: Print proper read error message - - Print a useful error message if opening the configuration file fails. - - * lib/parse_ini.c: Drop privileges for reading file - - Read the configuration file with privileges temporarily dropped if the - code is used by a setuid plugin. - - * lib/parse_ini.c: Add newline to die() calls - - Our die() function doesn't append a newline character to the message. - - * lib/parse_ini.c: Cosmetic change - - Replace an "if" with the ternary operator. - - * gl/Makefile.am, gl/idpriv-droptemp.c, gl/idpriv.h, - gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/idpriv.m4: Add Gnulib - module "idpriv-droptemp" - - * plugins-scripts/check_file_age.pl, plugins-scripts/check_mssql.pl: Use - FindBin consistently across Perl plugins - - Use Perl's FindBin module to locate the path to utils.pm in - check_file_age.pl and check_mssql.pl, just as we do in other Perl - plugins. - - * plugins/runcmd.c: Remove superfluous newline - - The puts(3) function already appends a newline character to the string. - - * lib/parse_ini.c: Search for INI file in subdirs - - Add two path names to the list of default INI file locations, as some - users/distributions prefer to put configuration files into - subdirectories. - - * lib/parse_ini.c: Add comment on NAGIOS_CONFIG_PATH - - We might want to spit out a warning when NAGIOS_CONFIG_PATH is used. - - While at it, move the function that handles this environment variable to - the bottom. - - * lib/parse_ini.c: Cosmetic changes to comments - - * lib/parse_ini.c: Fix Clang warnings - - * lib/parse_ini.c, lib/parse_ini.h: lib/parse_ini.[ch]: Change code - formatting - - Change the indentation and formatting of the code in lib/parse_ini.c. - This breaks patches against that file and makes it harder to track its - history, but it (hopefully) improves readability a lot. - - * lib/parse_ini.c: Don't cast malloc(3) result - - There's no need to cast malloc(3)'s return value. - - * lib/parse_ini.c: Remove outdated comment and code - - The lib/parse_ini.c:np_get_defaults() function now dies if no - configuration file is found. - - * lib/parse_ini.c: Read $MP_CONFIG_FILE - - Read $MP_CONFIG_FILE if that variable is set in the environment. - - * lib/parse_ini.c: Read "monitoring-plugins.ini" - - Read "monitoring-plugins.ini" if that file exists, but fall back to - reading "plugins.ini" or "nagios-plugins.ini" for backward - compatibility. - - * lib/parse_ini.c, lib/parse_ini.h: lib/parse_ini.[ch]: Simplify code - - Rewrite the code that looks up the INI configuration file path (used by - the Extra-Opts feature) in order to improve readability. The behaviour - should not have changed. - -2014-06-13 Sven Nierlein - - * plugins/tests/check_snmp.t: tests: freebsds snmpd does not use quotes - - when returning syscontact. So make them optional since we want to test - check_snmp and not the snmpd. - - * plugins/tests/check_procs.t: tests: check_proc tests fail if uid -2 - does not map to nobody - - so make sure our tests only run if -2 maps to nobody - - * NPTest.pm, plugins/t/check_fping.t: tests: fping checks require being - root or setuid root - - on the fping binary. Check this before running the test. - - * plugins/tests/check_http.t: require at least HTTP::Daemon 6.01 - - since the test uses send_header from HTTP::Daemon::ClientConn which has been introduced in - HTTP::Daemon 6.01 - -2014-06-12 Sven Nierlein - - * NPTest.pm, plugins/tests/check_http.t: tests: testCmd has own timeout - which overwrites local one - - so add configurable/optional timeout to testCmd. - - * plugins/tests/check_procs.t: tests: parts of the check_procs test only - work when uid -2 exists - - skip those tests if the uid does not exist - -2014-06-12 Holger Weiss - - * configure.ac: Remove unused code - - We no longer set LIBGNUTLS_CONFIG, as GnuTLS no longer ships a - "libgnutls-config" tool. - - * plugins/sslutils.c: Fix compilation with GnuTLS - - GnuTLS doesn't provide a SSL_CTX_check_private_key() function. - - Closes #1254. - -2014-05-17 gcoxmoz - - * plugins/netutils.c: Patch against issue 1062 - - * plugins/netutils.c: Update netutils.c - - Return an encoded state rather than an explicit state if a connection failed. - - * plugins/check_tcp.c: Update check_tcp.c - - Return the state asked for, if connection failed. - -2014-04-21 Gunnar Beutner - - * plugins/check_disk.c: Make check_disk work on Windows. - - * configure.ac, plugins/Makefile.am, plugins/check_users.c: Make - check_users work on Windows. - - * configure.ac, plugins/check_ping.c: Make check_ping work on Windows. - - * configure.ac: Add missing file extensions for some of the plugins. - -2014-03-07 Anton Lofgren - - * plugins/check_snmp.c, plugins/t/check_snmp.t: check_snmp: Handle - SNMPv3 noAuthNoPriv properly - - The SNMPv3 noAuthNoPriv security level, somewhat unintuitively, requires - a security name to be passed along together with the request. Check_snmp - previously did not do this, causing snmpget to throw an error: - - "External command error: No log handling enabled - turning on stderr - logging - snmpget: No securityName specified" - - This patch fixes the issue by always providing the security name when - noAuthNoPriv is specified. - - See also: - https:://bugs.op5.com/view.php?id=8385. - -2014-04-03 Sam Kottler - - * plugins/check_apt.c: Remove the suggestion to run check_apt with - --verbose since it doesn't do anything - -2014-04-04 Holger Weiss - - * AUTHORS: Add Sam Kottler to the list of AUTHORS - -2014-04-04 Jan Wagner - - * THANKS.in, plugins/check_nt.c: check_nt: add UPTIME to perfdata - [sf#3434647] - -2013-10-05 awiddersheim - - * plugins/check_mysql.c: Fix check_mysql.c client options from file - - If you don't specify a group or a file to read data from the plugin tries to read from several files that don't exist and no groups. - -2014-03-20 Sam Kottler - - * plugins-scripts/check_mssql.pl: Update the last remaining instance of - the old FSF address - -2014-03-13 Holger Weiss - - * plugins/check_pgsql.c: check_pgsql: Add missing newline to --help - output - -2014-03-08 Davide Madrisan - - * lib/Makefile.am, lib/tests/Makefile.am, plugins/Makefile.am: build - - avoid deprecated INCLUDES - -2014-02-28 Holger Weiss - - * plugins-scripts/check_breeze.pl, plugins-scripts/check_ircd.pl, - plugins-scripts/check_wave.pl: Disable Perl's "taint" checks - - Perl's "taint" checks don't like `use lib "$FindBin::Bin"'. - - Cf. http://www.perlmonks.org/?node_id=585299 - -2014-02-28 Jan Wagner - - * .travis.yml: travis-ci: remove mawk build-deps - -2014-02-28 Holger Weiss - - * configure.ac: Remove unused AC_PATH_PROG() calls - - * NEWS, configure.ac, plugins-scripts/Makefile.am, - plugins-scripts/check_breeze.pl, plugins-scripts/check_disk_smb.pl, - plugins-scripts/check_file_age.pl, plugins-scripts/check_flexlm.pl, - plugins-scripts/check_ifoperstatus.pl, - plugins-scripts/check_ifstatus.pl, plugins-scripts/check_ircd.pl, - plugins-scripts/check_log.sh, plugins-scripts/check_mailq.pl, - plugins-scripts/check_mssql.pl, plugins-scripts/check_netdns.pl, - plugins-scripts/check_ntp.pl, plugins-scripts/check_oracle.sh, - plugins-scripts/check_rpc.pl, plugins-scripts/check_sensors.sh, - plugins-scripts/check_wave.pl, plugins-scripts/subst.in: Replace - "plugins-scripts/subst.in" foo - - Remove the buggy and complex awk(1) magic in "plugins-scripts/subst.in" - in favor of simple sed(1) substitutions. - - The plugins in the "plugins-scripts" directory now always use the PATH - specified via "./configure --trusted-path", or the default PATH - hard-coded in "configure.ac". - - Fixes #1242. - -2014-02-27 Jan Wagner - - * .travis.yml: travis-ci: Remove gawk to build against mawk - -2014-02-26 Evgeni Golov - - * plugins-scripts/subst.in: subst.in: remove the led() function - - It was only used to replace the 'use lib utils.pm' with the proper - libexec dir, which is now solved by using Perl's FinBin. - - Closes #1241 - - * plugins-scripts/check_breeze.pl, plugins-scripts/check_disk_smb.pl, - plugins-scripts/check_flexlm.pl, plugins-scripts/check_ifoperstatus.pl, - plugins-scripts/check_ifstatus.pl, plugins-scripts/check_ircd.pl, - plugins-scripts/check_mailq.pl, plugins-scripts/check_netdns.pl, - plugins-scripts/check_rpc.pl, plugins-scripts/check_wave.pl: utils.pm: - use FindBin instead of awk to find the path to - - 'use lib utils.pm' is not valid Perl syntax: - Bareword "utils" not allowed while "strict subs" in use at plugins-scripts/check_ircd.pl line 52. - Bareword "pm" not allowed while "strict subs" in use at plugins-scripts/check_ircd.pl line 52. - - This makes it impossible to use the plugins directly from the git tree, - e.g. while hacking on them. - - Using FindBin::Bin as the library path allows that, while preserving - the original behaviour of adding the libexec path when the plugin is - properly installed. - -2014-02-27 Jan Wagner - - * NEWS, THANKS.in: NEWS: Adding check_mailq auto detection - -2014-02-27 Evgeni Golov - - * plugins-scripts/check_mailq.pl: check_mailq: add $mailq to check - output, so it is easily visible what was autodetected - - Closes: #1242 - - * plugins-scripts/check_mailq.pl: check_mailq: document autodetection in - the usage output - - * plugins-scripts/check_mailq.pl: check_mailq: try to autodetect which - mailq implementation we are using - - This is done by looking at some common directories and files each - MTA installs on the system. If no known file is found, the old default - sendmail is used. Of course this still can be overridden by -M. - -2014-02-21 Holger Weiss - - * configure.ac: Support --disable-maintainer-mode - - This - - | allows you to choose whether the so called "rebuild rules" should be - | enabled or disabled. With AM_MAINTAINER_MODE([enable]), they are - | enabled by default, otherwise they are disabled by default. In the - | latter case, if you have AM_MAINTAINER_MODE in configure.ac, and run - | `./configure && make', then make will *never* attempt to rebuild - | configure, Makefile.ins, Lex or Yacc outputs, etc. I.e., this - | disables build rules for files that are usually distributed and that - | users should normally not have to update. - | - | The user can override the default setting by passing either - | `--enable-maintainer-mode' or `--disable-maintainer-mode' to - | configure. - | - | People use AM_MAINTAINER_MODE either because they do not want their - | users (or themselves) annoyed by timestamps lossage (see CVS), or - | because they simply can't stand the rebuild rules and prefer running - | maintainer tools explicitly. - - [ https://www.gnu.org/software/automake/manual/automake.html ] - - * configure.ac: Rename configure.in to configure.ac - - The old name has been deprecated years ago. The Autoconf documentation - says: - - | Previous versions of Autoconf promoted the name configure.in, which is - | somewhat ambiguous (the tool needed to process this file is not - | described by its extension), and introduces a slight confusion with - | config.h.in and so on (for which `.in' means "to be processed by - | configure"). Using configure.ac is now preferred. - - [ https://www.gnu.org/software/autoconf/manual/autoconf.html ] - -2014-02-20 Davide Madrisan - - * plugins/check_swap.c: check_swap: Fix the plugin name that appears in - the comment - -2014-02-20 Holger Weiss - - * .travis.yml: travis-ci: Don't use Clang - - Currently, there doesn't seem to be a way to configure Travis CI to omit - the Clang build on the coverity/* branches. - - See: https://github.com/travis-ci/travis-ci/issues/1975 - - * .travis.yml: travis-ci: Adjust "branch_pattern" - - Modify the "branch_pattern" for the Coverity add-on so that it also - matches "coverity/master" and "coverity/maint". - -2014-02-18 Sven Nierlein - - * plugins/tests/check_procs.t: check_procs test fails if there is no - user with uid 501 - - thats because check_procs verifys there is a user for a - given uid filter. So even we use sample data for this - test, we still need a real user. - -2014-02-17 Jan Wagner - - * plugins/check_ssh.c: check_ssh: Reverting a387120 - - This seems to result into more problems in the wild then before 'fixing' it - - Closes Debian #739254 - Reopen Debian #734811 - -2014-02-16 Jan Wagner - - * .travis.yml: travis-ci: remove heading dash accordingly docs - -2014-02-16 Holger Weiss - - * .travis.yml: travis-ci: Cosmetic changes - - Use two spaces for indentation. - - * .travis.yml: travis-ci: Enable email notifications - - Have Travis CI send build failure and recovery notifications to the - team@ list. - -2014-02-16 Jan Wagner - - * .travis.yml: travis-ci: Add configuration for Coverity Scan - - Run Coverity Scan builds on Travis CI, but only when pushing into the - "coverity" branch. - - * .travis.yml: travis-ci: Make use of before_script target - - * .travis.yml: travis-ci: Update package list in before_install - [skip ci] - - * .travis.yml: travis-ci: Move all into install target - - just keeped 'make' in script target - - * .travis.yml: travis-ci: Add clang and gcc as compiler - -2014-02-15 Jan Wagner - - * .travis.yml: travis-ci: Enable IRC notification - -2014-02-14 Jan Wagner - - * .travis.yml: Add travis config - -2014-02-07 Sam Kottler - - * plugins/Makefile.am: Remove unnecessary whitespace in Makefile.am - -2014-01-31 Thomas Guyot-Sionnest - - * plugins/tests/check_procs.t: Add perfdata in check_proc output tests - - * plugins/tests/check_snmp.t: Fix snmpd tests - - * NPTest.pm, plugins/tests/check_procs.t, test.pl.in: Enable tests in - tests/ subdirs - -2013-11-15 Stephane Lapie - - * lib/utils_base.h, plugins/check_snmp.c: Handle negative values - properly with check_snmp - - check_snmp becomes capable of evaluating negative values properly, - but it might be returning CRITICALs where it used to return OK and was ignored, - if a negative value turns out to actually be a valid value. - If negative values are valid, this can be worked around, - by adding "~:" to the warning/critical threshold : 100 -> ~:100 - -2014-01-31 Thomas Guyot-Sionnest - - * plugins/tests/check_snmp.t, plugins/tests/check_snmp_agent.pl: Add - tests for negative thresholds in check_snmp - - Next commit will work on fixing these! - - * lib/tests/test_utils.c: Add tests for negative thresholds in - test_utils - -2014-01-30 Holger Weiss - - * plugins/check_dig.c: check_dig: Declare variable at the top - - C89 doesn't allow variable declarations to be intermingled with code. - -2014-01-30 Jan Wagner - - * plugins/check_dig.c: check_dig: stick with integer devision - - This change saves us from having to link check_dig against "libm" - - * plugins/check_dig.c: check_dig: timeout_interval is a global variable - which is already set to 10 seconds - - * THANKS.in, plugins/check_dig.c: check_dig: patch to make dig honor -t - option - - When a timeout value is specified with the -t option, dig will sometimes - timeout before the timer is actually reached. - - The problem occurs because the check_dig plugin does not pass the specified - timeout value to dig, leaving dig to timeout with it's default value which - seems to be around 10-15seconds. - - To reproduce: - time ./check_dig -H 127.0.0.2 -l www.google.com -t 30 - - It will not run for 30secs, which is the expected behaviour. - - The following will work, because the timeout is less than the default dig - timeout, so the plugin cancels the dig command: - time ./check_dig -H 127.0.0.2 -l www.google.com -t 2 - - This fix passes the timeout value to dig, and sets the number of retries which tends to vary from system to system by default. - - Closes #1168 - -2014-01-29 Thomas Guyot-Sionnest - - * lib/tests/test_utils.c: Add tests for mp_translate_state() - -2013-10-01 Jan Wagner - - * THANKS.in, plugins-scripts/check_mailq.pl: check_mailq: adding - nullmailer support - - Adding nullmailer support to check_mailq submitted by Luca Corti - - Closes: #740 - Closes: #1189 - -2014-01-29 Jan Wagner - - * plugins-scripts/check_mailq.pl: Just fixing small typo in comment - -2014-01-29 Thomas Guyot-Sionnest - - * plugins/check_swap.c: Update check_swap usage - - * .gitignore: AUpdate .gitignore for new gnulib module - - * NEWS, plugins/check_swap.c: check_swap: add supports for a - configurable state when there is no swap - - Check_swap used to allow no swap when thresholds were only specified in - percent. This is no longer the case and the state now must be specified - explicitly. The default is to always return CRITICAL when the swap is - absent regardless of thresholds. - - * lib/utils_base.c, lib/utils_base.h, plugins/negate.c: Move negate' - translate_state() to utils_base.h mp_translate_state() - - Also use strcasecmp imported from gnulib for simplicity - - * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, - gl/m4/strcase.m4, gl/m4/strings_h.m4, gl/strcasecmp.c, gl/strings.in.h, - gl/strncasecmp.c: Add strcase gnulib module - - * plugins/t/negate.t: Typo - - * plugins/check_swap.c: Fix check_swap returning OK on & thresholds and - no swap - - Return 0% free instead of 100% free when total swap is 0 - -2013-09-30 Jan Wagner - - * plugins/check_disk.c: check_disk: precise the help output - - Clarifying in the help output that we need either a device or mount point - listed by the mount(8) command. - - (Closes: #1118) - (Closes: #1170) - -2014-01-28 Thomas Guyot-Sionnest - - * plugins/t/check_mysql.t: Clarify check_mysql test prompts - - Also default to "-u test -ptest" which are default MySQL accounts only - missing the prescribed privileges. - - The database is no longer specified as it is not used. - If wanted is should be its own parameter/tests. - -2014-01-27 Thomas Guyot-Sionnest - - * NEWS, THANKS.in, plugins/check_dig.c: check_dig: fix wrong IPv6 - arguments order - - * lib/tests/test_utils.c, lib/utils_base.c, plugins/tests/check_snmp.t: - Rename MP_STATE_DIRECTORY to MP_STATE_PATH - - * NEWS, lib/utils_base.c: And release notes for previous change - (MP_STATE_DIRECTORY) - - The change has also been updated in - https://www.monitoring-plugins.org/doc/state-retention.html - -2014-01-26 Thomas Guyot-Sionnest - - * NPTest.pm: Fix tests with an empty NPTest.cache file - - The NPTest.cache cannot be loaded when empty, and this prevents - getting the data and populating the file. This patch skips the file when - empty as if it didn't exist. - -2014-01-25 Thomas Guyot-Sionnest - - * lib/tests/test_utils.c, lib/utils_base.c, lib/utils_base.h: Ignore - MP_STATE_DIRECTORY in suid plugins - - If a plugin still has suid privileges at the time np_enable_state() is - called, the MP_STATE_DIRECTORY environment will be ignored. - - There is no need for a NEWS entry as no suid plugins use np_enable_state - yet. - - * lib/parse_ini.c: Clean up parse_ini error messages, add missing - newlines - - * lib/tests/test_utils.c, lib/utils_base.c, plugins/tests/check_snmp.t: - Rename ENV variable, keep backward compatibility - - Rename NAGIOS_PLUGIN_STATE_DIRECTORY to MP_STATE_DIRECTORY - -2013-10-01 Jan Wagner - - * plugins-scripts/check_file_age.pl, plugins-scripts/t/check_file_age.t: - check_file_age: support for --ignore-missing - - Patch to provide for a -i | --ignore-missing option. This allows files that - don't exist to be monitored for without causing an error. The use case is: - - * one process periodically pushes files to an "input" queue for a second - process - * the second process, when running cleanly will "consume" (process and remove) - these files - - So the conditions to meet are: - 1. If the file doesn't exist, that's fine (OK) - 2. If the file exists, but is less than X seconds, that's fine (OK) - 3. If the file exists, but greater than X seconds, no good (CRITICAL) - - Since now check_file_age doesn't permit this behavior, as a non-existent file - is considered CRITICAL. - - Test case was contributed by our lovely Holger. - - Closes #1181, Closes #989, Closes #862, Closes #1187, Closes #845 - Closes Debian Bug #496307 - -2014-01-24 Jan Wagner - - * THANKS.in, plugins/check_ping.c: check_ping: Fixing "time of day goes - back" - by Geoff Oakham - - Patch of check_ping that allows it to gracefully handle when ping outputs - to stderr "Warning: time of day goes back (-XXXXus), taking countermeasures." - - Closes: #809 and #1195 - - * plugins/check_ntp.c, plugins/check_ntp_time.c: Fixing bug in average - calculation (Submitted by Lars) - - The more important change: A fix for a bug which caused the check_ntp_time - and check_ntp_time check to always take the first response from ntp and not - the avarage since "j" is not increased anywhere. "i" should be used there - instead. - - Partly Closes #956 and Closes #1166 - Closes: #1089 - - * plugins/check_ntp.c, plugins/check_ntp_time.c: Making AVG_NUM - configurable by compiler define (Submitted by Lars) - - A minor change which makes the AVG_NUM configurable by compiler define. - Partly Closed #956 and Closes #1166 - -2014-01-24 Thomas Guyot-Sionnest - - * lib/parse_ini.c: Use access() instead of stat() in parse_ini.c - - * lib/tests/test_base64.t, lib/tests/test_cmd.t, lib/tests/test_disk.t, - lib/tests/test_ini1.t, lib/tests/test_ini3.t, lib/tests/test_opts1.t, - lib/tests/test_opts2.t, lib/tests/test_opts3.t, lib/tests/test_tcp.t, - lib/tests/test_utils.t: Update comments - - 1. libtab is now bundled, so suggest to enable it rather than install it - 2. "parse-ini" feature has been called "extra-opts" - -2014-01-23 Thomas Guyot-Sionnest - - * plugins-scripts/Makefile.am, plugins-scripts/check_ntp.pl: Remove - obsolete check_ntp.pl - -2011-10-25 Tilmann Bubeck - - * plugins/check_ide_smart.c: fix smart attribute comparison - - Each S.M.A.R.T. attribute is compared against a threshold. If it is LESSTHAN - that threshold an error is reported. This patch fixes the problem, that - attribute values EQUAL to the threshold are reported as error, which is wrong. - Only LESSTHAN the threshold is an error. - - For more information see: http://www.hdsentinel.com/smart/index.php - - My SSD has some attributes which value and threshold are "0". Without the patch - this is reported as errornous. - - ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE - ... - 172 Unknown_Attribute 0x0032 000 000 000 Old_age Always - 0 - 174 Unknown_Attribute 0x0030 000 000 000 Old_age Offline - 13 - 177 Wear_Leveling_Count 0x0000 000 000 000 Old_age Offline - 0 - ... - - See also: - - * http://sourceforge.net/p/nagiosplug/patches/365/ - * https://bugzilla.redhat.com/913085 - -2014-01-23 Thomas Guyot-Sionnest - - * NEWS, configure.in: Enable extra-opts by default - - * plugins/check_ide_smart.c: Fix misleading option text - - As soon as a device is specified without using -d, anything else on the - command line is ignored. - - * NEWS, plugins/check_ide_smart.c: Disable SMART test commands in - check_ide_smart - - check_ide_smart could disable offline auto tests but could not re-enable - them. For this reason all SMART command modes have been disabled - - The disabled commands are -0/--auto-off, -1/--auto-on and - -i/--immediate - - * plugins/utils.h: Remove accidental tabs inserted in macro - - * NEWS, plugins/check_ide_smart.c: Make check_ide_smart default to - nagios output - - check_ide_smart was originally a smard control utility later converted - to a monitoring plugin. the -n option (Nagios check) should therefore be - the default. - - This patch deprecates the -n and -q switches, and make the other - switches return nagios-compatible output (they are most likely used in - eventhandlers, but returning nagios-compatible output makes it clear and - easy to handle the return status) - -2014-01-22 Ricardo Maraschini - - * plugins/utils.h: avoiding warnings on empty printf statements - - while compiling i keep receiving an warning statement as follow: - - warning: zero-length gnu_printf format string - - using an unorthodox method to remove them - -2014-01-22 Lars Vogdt - - * plugins-scripts/check_file_age.pl, - plugins-scripts/check_ifoperstatus.pl, - plugins-scripts/check_ifstatus.pl, plugins-scripts/check_mailq.pl: fix - outdated Free Software Foundation address - -2014-01-21 Holger Weiss - - * README: Minor fixes regarding new project name - - Talk about "monitoring systems", not just about "Nagios". Also, the - default installation prefix has changed to /usr/local. - - (While at it, wrap lines consistently at 76 characters.) - - * configure.in, lib/utils_base.h, lib/utils_cmd.h, - pkg/solaris/pkginfo.in, plugins-root/check_icmp.c, - plugins-scripts/utils.pm.in, plugins/utils.h, po/de.po, po/fr.po, - po/monitoring-plugins.pot, tools/tango: Capitalize "Monitoring Plugins" - - "Monitoring Plugins" is a name. - - * configure.in, plugins/tests/var/ps_axwo.debian: New default - installation prefix: /usr/local - - Install into /usr/local instead of /usr/local/nagios by default, in - order to comply with the Filesystem Hierarchy Standard (FHS) and - presumably the expectations of most users. - -2014-01-20 Spenser Reinhardt - - * plugins/check_apt.c, plugins/check_disk.c, plugins/check_procs.c, - plugins/negate.c: plugins/*.c: Non-network timeout changes - - Changes to non-network checks for clarity on timeout value. Adapted from pull request #1209 tracker from user awiddersheim. (Closes: #1209) - Files: check_apt.c, check_disk.c, check_procs.c, negate.c - - * plugins/utils.h: Addition of plugin timeout msg. - - Addition of timeout message for non-network plugins(UT_PLUG_TIMEOUT), and alteration of UT_TIMEOUT to UT_CONN_TIMEOUT for networked checks. Alteration of pull request #1209 tracker by user awiddersheim. - - * plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_dbi.c, - plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_game.c, plugins/check_http.c, plugins/check_ldap.c, - plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_tcp.c, plugins/check_time.c, - plugins/check_ups.c, plugins/negate.c: plugins/*.c: Alterations for - timeout messages. - - .c file changes for misleading timeout messages in help functions. Solution to pull request #1209 tracker by awiddersheim. - - Files: plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_dbi.c, plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, plugins/check_game.c, plugins/check_http.c, plugins/check_ldap.c, plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c, plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c, plugins/check_tcp.c, plugins/check_time.c, plugins/check_ups.c, plugins/negate.c - -2014-01-21 Jan Wagner - - * plugins/check_mysql_query.c: Revert renaming value - - As suggested by sreinhardt in 045d38a6 over there in nagios-plugins - -2013-10-14 awiddersheim - - * plugins/check_mysql_query.c: Add performance data to - check_mysql_query.c (Closes: #1202) - -2014-01-20 Thomas Guyot-Sionnest - - * NPTest.pm: Fix NPTest.pm not asking for unconfigured variables - - It appeats STDERR isn't a tty anymore during tests, but since we type - from tty to STDIN it should be bound to our tty (and works for me). - -2014-01-20 Sven Nierlein - - * perlmods/Monitoring-Plugin-0.37.tar.gz, - perlmods/Nagios-Plugin-0.36.tar.gz: updated perldod with a renamed pkg - -2014-01-20 Holger Weiss - - * plugins-root/check_dhcp.c, plugins-root/check_icmp.c, - plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_dbi.c, - plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c, - plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ide_smart.c, - plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c, - plugins/check_mrtgtraf.c, plugins/check_mysql.c, - plugins/check_mysql_query.c, plugins/check_nt.c, plugins/check_ntp.c, - plugins/check_ntp_peer.c, plugins/check_ntp_time.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c, - plugins/negate.c, plugins/urlize.c: Capitalize "Monitoring" when it's - the first word - - * lib/extra_opts.c, lib/parse_ini.c, plugins/check_radius.c, - plugins/t/check_http.t, plugins/urlize.c, tools/distclean: Minor fixes - to be amended into "rename" commit - -2014-01-19 Thomas Guyot-Sionnest - - * po/fr.po: Minor mailinglist corrections for french - - * po/Makevars, po/de.po, po/fr.po, po/monitoring-plugins.pot: Reprocess - L10n files - -2014-01-18 Monitoring Plugins Development Team - - * .gitignore, ACKNOWLEDGEMENTS, AUTHORS, CODING, FAQ, Makefile.am, NEWS, - NPTest.pm, README, REQUIREMENTS, SUPPORT, configure.in, doc/LEAVERS, - doc/NEW_STARTERS, doc/RELEASING, doc/developer-guidelines.sgml, - lib/Makefile.am, lib/extra_opts.c, lib/extra_opts.h, lib/parse_ini.c, - lib/parse_ini.h, lib/tests/Makefile.am, lib/tests/test_utils.c, - lib/utils_base.c, lib/utils_base.h, lib/utils_cmd.c, lib/utils_cmd.h, - lib/utils_disk.c, lib/utils_tcp.c, m4/np_mysqlclient.m4, - monitoring-plugins.spec.in, perlmods/install_order, - pkg/solaris/pkginfo.in, plugins-root/Makefile.am, - plugins-root/check_dhcp.c, plugins-root/check_icmp.c, - plugins-root/pst3.c, plugins-scripts/check_disk_smb.pl, - plugins-scripts/check_file_age.pl, plugins-scripts/check_flexlm.pl, - plugins-scripts/check_ifoperstatus.pl, - plugins-scripts/check_ifstatus.pl, plugins-scripts/check_ircd.pl, - plugins-scripts/check_log.sh, plugins-scripts/check_mssql.pl, - plugins-scripts/check_ntp.pl, plugins-scripts/check_oracle.sh, - plugins-scripts/check_rpc.pl, plugins-scripts/utils.pm.in, - plugins/Makefile.am, plugins/check_apt.c, plugins/check_by_ssh.c, - plugins/check_cluster.c, plugins/check_dbi.c, plugins/check_dig.c, - plugins/check_disk.c, plugins/check_dns.c, plugins/check_dummy.c, - plugins/check_fping.c, plugins/check_game.c, plugins/check_hpjd.c, - plugins/check_http.c, plugins/check_ide_smart.c, plugins/check_ldap.c, - plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c, - plugins/check_mysql.c, plugins/check_mysql_query.c, - plugins/check_nagios.c, plugins/check_nt.c, plugins/check_ntp.c, - plugins/check_ntp_peer.c, plugins/check_ntp_time.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c, - plugins/common.h, plugins/negate.c, plugins/netutils.c, - plugins/netutils.h, plugins/popen.c, plugins/runcmd.c, plugins/runcmd.h, - plugins/sslutils.c, plugins/t/check_disk.t, plugins/t/check_dns.t, - plugins/t/check_http.t, plugins/tests/check_http.t, - plugins/tests/var/ps_axwo.debian, plugins/urlize.c, plugins/utils.c, - plugins/utils.h, po/Makevars, po/de.po, po/fr.po, - po/monitoring-plugins.pot, tools/distclean, tools/generate-change-log, - tools/git-notify, tools/git-post-receive-hook, tools/tango, - tools/tinderbox_build: Project rename initial commit. - - This is an initial take at renaming the project to Monitoring Plugins. - It's not expected to be fully complete, and it is expected to break - things (The perl module for instance). More testing will be required - before this goes mainline. - -2014-01-13 Holger Weiss - - * NEWS, plugins-scripts/check_log.sh, plugins-scripts/utils.sh.in: - utils.sh: Don't define $ECHO - - In utils.sh, $ECHO was set to printf(1) or echo(1), depending on whether - printf(1) is available in /usr/bin. This resulted in various bugs, as - printf(1) cannot be used in the same way as echo(1). - - Thanks to Trevor Hemsley for reporting one of those bugs: If $ECHO was - set to printf(1), check_log stumbled when reporting a log line with a - "%" character. - -2014-01-10 Jan Wagner - - * plugins/check_ssh.c: check_ssh: Get rid of sshd: Read from socket - failed: Connection reset by peer - - This fix was grabbed from FreeBSD downstream and provided by Dmitry Sivachenko. - Fixes Debian Bug #734811 - -2014-01-10 Holger Weiss - - * configure.in: Call AC_CONFIG_HEADERS - - AM_CONFIG_HEADER is deprecated. - -2013-12-27 Sven Nierlein - - * plugins/t/check_http.t, plugins/t/check_tcp.t: fixed tests when there - is no direct internet connection - - - check http had wrong number of skipped tests - - check tcp did not use the 'no internet' flag at all - -2013-12-20 Holger Weiss - - * NEWS: Mention fix for check_http's -S option - - Closes #1220. - -2013-12-20 Joseph Gooch - - * plugins/check_http.c: Fix for SSL Versioning when multiple options are - used. - - If you specify -S1 -C 30... The -C option will reset the ssl_version to 0. This is not a good thing. - - Instead we set the default to 0 and retain the version when later args are passed. - -2013-12-16 Damian Myerscough - - * nagios-plugins.spec.in: Fix #1217 spec file fails to build due to - duplicate files and unused files - -2013-12-05 Holger Weiss - - * plugins/check_http.c: check_http: Don't let "-N" expect an argument - - Fix the problem that check_http's "-N" option expects an argument - although it shouldn't. The corresponding long option ("--no-body") - wasn't affected. - - This error was introduced in ee3c4014d511e105489b081390636cacd4c53e3f. - Thanks to Kerry Hughes for reporting it on the devel@ list. - -2013-11-20 Sven Nierlein - - * plugins/t/check_procs.t: make testing check_proc not rely on bash - - also grandparents make this test fail but is not a problem in real live. - NPTest->testCmd uses "sh -c" already, so there is no need to do that twice. - -2013-11-20 Holger Weiss - - * NEWS: Add WARNING regarding the check_procs change - - Closes #1205. - -2013-10-18 Anton Lofgren - - * plugins/check_procs.c, plugins/t/check_procs.t: check_procs: ignore - plugin parent process - - This fixes an issue that appears when running check_procs over NRPE, - where the default shell is configured to (for example) dash, as is the - case on Debian. - - dash (and tcsh, and mksh, and probably others), when invoked with -c forks an additional process - to execute the argument string. Contrast this with bash, which does not - do this, provided that the argument string simply can be exec()'d as-is. - - To demonstrate: - $ bash -c pstree - init─┬ .. - ... - ├─sshd─-─sshd───pstree - - versus - $ dash -c pstree - init─┬ .. - ... - ├─sshd─-─sshd───dash───pstree - - The consequence of this fork is that the following invocation: - /opt/plugins/check_procs -a init - - will result in this output: - - PROCS OK: 2 processes with args 'init' | processes=2;;;0; - - because the check_procs, in addition to finding the actual init process, - finds its parent shell as well. - - This example is a bit contrived, but I think it illustrates the - point. - - This wouldn't really be a problem, and normally isn't, if it weren't - for the fact that NRPE uses a call to popen() which does exactly the - above (executes '/bin/sh -c ...'), causing inconsistent behaviour - between distributions and much confusion for end users. - - The argument may be made that the dash process spawned by NRPE is just a - process like any other, and should therefore be included in the process - count just like any other. However, this is not very intuitive, because - of the previously mentioned inconsistencies. - - The argument might also well be made that we're _never_ interested in the - immediate ancestor of the plugin, and while it is unknown how many - installations have already made the necessary modifications to their - setups to make up for the fact that the plugin behaves the way it does, - it is not deemed worthwhile to entertain such workarounds. - - Thus, this patch ignores the parent process. - - See also these bug reports: - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626913 - http://sourceforge.net/p/nagiosplug/bugs/512/ - https://github.com/nagios-plugins/nagios-plugins/issues/999 - https://bugs.op5.com/view.php?id=4398 - -2013-11-05 Holger Weiss - - * README: Change GitHub URL - - Link to our main project home page on GitHub instead of referencing only - the "nagios-plugins.git" repository. (And put the URL on its own line.) - - * README: Clarify license notice - - Note that we permit redistribution and modification under the terms of - future GPL versions, and state the exclusion of warranty. This is in - accordance with the license notices at the top of our source files. - -2013-10-28 Holger Weiss - - * FAQ, README, SUPPORT, configure.in, nagios-plugins.spec.in, - pkg/solaris/pkginfo.in, plugins-root/check_dhcp.c, - plugins-root/check_icmp.c, plugins-scripts/check_ifoperstatus.pl, - plugins-scripts/check_mssql.pl, plugins/check_apt.c, - plugins/check_by_ssh.c, plugins/check_cluster.c, plugins/check_dbi.c, - plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c, - plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ide_smart.c, - plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c, - plugins/check_mrtgtraf.c, plugins/check_mysql.c, - plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c, - plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c, - plugins/negate.c, plugins/urlize.c, plugins/utils.h, po/Makevars, - po/de.po, po/fr.po, po/nagios-plugins.pot: Update URLs and mailing list - addresses - - Now that we moved our infrastructure away from SourceForge, update the - URLs and mailing list addresses accordingly. - - * doc/developer-guidelines.sgml: developer-guidelines.sgml: Fix URL - - Fix the Test::Simple tutorial URL. - - * doc/developer-guidelines.sgml: developer-guidelines.sgml: Remove - Tinderbox link - - We don't run a Tinderbox instance anymore. (Noted by "zathras" on IRC.) - -2013-10-22 awiddersheim - - * configure.in, plugins-scripts/check_breeze.pl, - plugins-scripts/check_disk_smb.pl, plugins-scripts/check_file_age.pl, - plugins-scripts/check_flexlm.pl, plugins-scripts/check_ifoperstatus.pl, - plugins-scripts/check_ifstatus.pl, plugins-scripts/check_ircd.pl, - plugins-scripts/check_log.sh, plugins-scripts/check_mailq.pl, - plugins-scripts/check_mssql.pl, plugins-scripts/check_netdns.pl, - plugins-scripts/check_ntp.pl, plugins-scripts/check_oracle.sh, - plugins-scripts/check_rpc.pl, plugins-scripts/check_sensors.sh, - plugins-scripts/check_wave.pl, plugins-scripts/subst.in: Fix trusted - path - - When configuring the plugins you have the option to specify a trusted path with --with-trusted-path. This option seems to have been deprecated at some point for unknown reasons and had typically had no affect. This commit makes this option work again for those who have a desire to use it. There should be no affect on those who have not chosen to specify a trusted path. - -2013-10-22 Jan Wagner - - * plugins-scripts/check_oracle.sh: Just using the posix conform extended - regular expression grep - - * plugins-scripts/check_oracle.sh: check_oracle: --db +ASM bad string - matching - check_oracle doesn't correctly check for pmon +ASM instance from at least Oracle 11 as the pmon proces was renamed from ora_pmon_.* to asm_pmon_.*. - -- - Just turning attached patch of github issue #1207 into a push request. - (Closes #1207) - -2013-10-08 Holger Weiss - - * plugins/utils.h: Update web site URLs - - The Nagios Plugin Development Guidelines and the Extra-Opts - documentation were moved to our new project server. - -2013-10-05 awiddersheim - - * plugins/check_mysql_query.c: Add additional usage data for new options - in check_mysql_query.c - - * plugins/check_mysql_query.c: Add ability to read from options file to - check_mysql_query.c - - This is the same code that was added to check_mysql.c in 5ed7194. - -2013-10-03 Holger Weiss - - * NEWS: Mention "contrib" removal - - Add a note regarding the removal of the "contrib" directory to the NEWS - file. This note is missing from the NEWS file shipped with the 1.5 - release, though. - -2013-10-02 Holger Weiß - - * NEWS, NP-VERSION-GEN, configure.in: Prepare for the 1.5 release - -2013-10-02 Holger Weiss - - * FAQ: Update CVS references - - We moved from CVS to Git. - -2013-10-02 Jan Wagner - - * doc/LEAVERS, doc/NEW_STARTERS, tools/README: tools: Update CVS - references - - We moved our stuff from CVS/SourceForge to Git/GitHub. - - * doc/LEAVERS, doc/NEW_STARTERS: doc: Updated CVS references - - We moved our stuff from CVS/SourceForge to Git/GitHub. - -2013-10-02 Holger Weiss - - * README: Update URLs - - We moved the Nagios Plugins site from SourceForge to our project server. - - * SUPPORT: Update CVS/SourceForge references - - We moved our stuff from CVS/SourceForge to Git/GitHub. - -2013-10-01 Jan Wagner - - * plugins/check_ssh.c: check_ssh: check protocol - - It would be useful to be able to detect the protocols supported by the remote - ssh server to locate any using the insecure ssh v1 protocol. This patch - attempts to match against the protocol string in the ssh response. - - Example: - - check_ssh -H my.host.com -P 2.0 - -- - Just turning attached patch of github issue #780 into a push request. - (Closes #780) - -2013-09-30 Holger Weiss - - * THANKS.in: Update THANKS file - - Add all new Git commit authors to the THANKS.in file. - - * AUTHORS: Tiny cosmetic change - - * AUTHORS: Add Jan Wagner to the list of AUTHORS - - * AUTHORS: Add Eric Stanley to the list of AUTHORS - -2013-09-29 Holger Weiss - - * plugins/t/check_dig.t, plugins/t/check_http.t: Change default host - names for some tests - - Testing "nagiosplugins.org" will currently not work. - -2013-09-28 Holger Weiss - - * .gitignore, ChangeLog, Makefile.am, tools/generate-change-log: Add - tools/generate-change-log - - Add the tools/generate-change-log script for auto-generating the - ChangeLog file from the Git history when running "make dist". - -2013-09-27 Holger Weiss - - * tools/mail_error, tools/np_build_from_sf, tools/sfsnapshot, - tools/sfsnapshot-upload, tools/sfsnapshotgit, tools/sfupload, - tools/sfwebcron, tools/sync_website, tools/update_man_pages: tools: - Remove Drupal/SourceForge scripts - - We moved our web site away from Drupal and the snapshots/guidelines away - from SourceForge. The new infrastructure scripts will be maintained in - a separate repository together with the Markdown source of the new web - site. - - * tools/git2svn.pl: Remove tools/git2svn.pl - - We no longer mirror out Git repositories into Subversion. - -2013-09-26 awiddersheim - - * plugins/check_http.c: Die on SSL initialization errors - - Fixes issue where if an SSL initialization error occurs on a redirect - using -f follow the plugin still returns an OK state. - - Closes #1159. - -2013-09-25 Holger Weiss - - * doc/developer-guidelines.sgml: developer-guidelines.sgml: Normalize - spelling - - - Write "plugin" instead of "plug-in". - - Write "development guidelines" instead of "developer guidelines" - - Capitalize "Nagios Plugin Development Guidelines". - -2013-09-22 Holger Weiss - - * README: Minor cosmetic change - -2013-09-20 Holger Weiss - - * README: Apply another few cosmetic changes - - * README.md: Add symlink: README.md -> README - - Add a symlink so that GitHub renders the README file as Markdown. - - * README: Use code blocks for commands - - * BUGS, Makefile.am, README: Remove the BUGS file - - The BUGS file wasn't maintained properly anymore. And doing so makes no - sense. That's what the bug tracker is for. - - * README: Convert to Markdown and apply cleanups - - Use the Markdown format for the README file and apply various minor - cosmetic changes. - - * README: Remove outdated information - -2013-09-19 Holger Weiss - - * plugins/check_pgsql.c: check_pgsql: Don't exit UNKNOWN instead of OK - - Since commit 912df3ef9b188c82893dace1e9b56c42a558fdba, check_pgsql - exited UNKNOWN instead of OK if the new --query option was *not* - specified. This bug is fixed now. - -2013-09-18 Sven Nierlein - - * NPTest.pm: tests: only write cache file if it changed - - Tests sometimes fila when running multiple parallel tests using the - same cache file because it is written everytime a test parameter - is read. Since there is no locking, this might fail from time to time. - -2013-09-17 Sven Nierlein - - * plugins/t/check_disk.t: check_disk: die with a reasonable error - message if one mount point hits average value - - * plugins-root/check_dhcp.c: check_dhcp: fix mac address and interface - number detection on solaris - - newer (or x86) solaris implementations have interface names like e1000g0 - which includes numbers. So we reverse the interface number detection to - get the last number, instead of the first number. - - * plugins-root/t/check_dhcp.t: check_dhcp: fix tests interface detection - - * plugins/t/check_ssh.t: check_ssh: added test case - - * plugins/t/check_by_ssh.t: check_by_ssh: tests expand key and config - path - - some systems do not expand the path automatically. - - * plugins/t/check_udp.t: check_udp: skip tests which rely on udp listen - - solaris netcat does not listen in udp mode due to - http://sourceforge.net/p/netcat/bugs/27/ - -2013-09-17 Sven Nierlein - - * plugins-scripts/t/check_disk_smb.t: check_disk_smb: fixed number of - tests to skip - -2013-09-16 Sven Nierlein - - * plugins/check_disk.c: check_disk: get_fs_usage hasn't been run if - using groups - - the reason why it still worked sometimes was fsu_blocks beeing uninitialized - which resulted in a true test sometimes. - - * plugins-scripts/check_disk_smb.pl: check_disk_smb: verify path to - smbclient - - * plugins/t/check_procs.t: check_procs: fix test with sleeping processes - - at least on freebsd, there are a processes with state 'S', they always - use two character status. - - * plugins/t/check_http.t: check_http: tests use supplied value if - possible - - * plugins-root/t/check_dhcp.t: check_dhcp: fix tests for machines with - default interace != eth0 - -2013-09-16 Sven Nierlein - - * NPTest.pm: tests: don't skip utils test - - * plugins-root/t/check_dhcp.t: check_dhcp test: skip subtests if no - variable is set - -2013-09-15 Sven Nierlein - - * plugins-root/t/check_dhcp.t: check_dhcp: add test file - - * plugins-root/t/check_icmp.t: check_icmp: tests do not require sudo if - run by root - - * plugins-root/Makefile.am: plugins-root: include t folder in release - tarball - -2013-09-15 Sven Nierlein - - * plugins/check_tcp.c: check_tcp: use receive timeout for checks that - expect response - - if check_imap expects a string that never occurs, it currently waits forever - because thats how the imap protocoll works. Use a receive timeout in that case - so we can exit early with a proper error message. - -2013-09-14 Sven Nierlein - - * plugins/t/check_ping.t: check_ping: increase test timeout - - freebsds ping takes a few seconds till it returns, so a 1 second timeout does - not work for the test. - - * plugins/check_load.c: check_load: add alternative uptime syntax - - check_load parses load from the uptime command if no proc filesystem is available. Seems - like there are at least 2 different uptime outputs. - - linux: - 20:44:34 up 25 days, 2:07, 13 users, load average: 0.13, 0.17, 0.22 - - freebsd 8: - 8:44PM up 4:29, 1 user, load averages: 0.00, 0.00, 0.00 - -2013-09-14 Sven Nierlein - - * plugins/t/check_udp.t: check_udp: try nc.traditional too - - nc.traditional is available on (at least) ubuntu systems and uses traditional nc syntax - -2013-09-14 Sven Nierlein - - * NPTest.pm, plugins/t/check_dig.t, plugins/t/check_tcp.t: tests: move - ipv6 detection into NPTest module - -2013-09-13 Sven Nierlein - - * plugins/t/check_udp.t: unified nc syntax - - older netcats do not understand -p, they expect host and port as additional argument. - This is backwards compatibel to newer clients. Also support netcat instead of nc. - - * plugins/check_fping.c: fping: some fping versions set loss to 0% by - mistake - - fping v2.4b2 returns - 10.99.0.1 : xmt/rcv/%loss = 0/0/0% - for a failed host, so we assume the host is down if xmt is zero - - * NPTest.pm: NPTest: ensure all systems use same amount of whitespace - -2013-09-12 Sven Nierlein - - * plugins/check_snmp.c: check_snmp: add timeout handler befor running - snmpget - - * plugins/t/check_tcp.t: check_tcp: only test ipv6 if ping6 works - - * NPTest.pm: tests: sort cached settings before save - - * NPTest.pm: tests: make sure tests don't hang - -2013-09-12 Holger Weiss - - * plugins/check_tcp.c: check_tcp: Fix checks without --expect string - - Commit e8044713d41f5ef1d9ce814df4a079d8f92306b0 broke check_tcp checks - without --expect string, this commit fixes that regression. - - * lib/tests/test_tcp.c, lib/utils_tcp.c: Minor cosmetic changes - - * lib/tests/test_tcp.c, lib/utils_tcp.c, lib/utils_tcp.h, - plugins/check_tcp.c: check_tcp: Properly deal will partial recv(3)s - - The np_expect_match() function now returns one of three possible states - instead of just TRUE or FALSE: - - - NP_MATCH_SUCCESS - - NP_MATCH_FAILURE - - NP_MATCH_RETRY - - The NP_MATCH_RETRY state indicates that matching might succeed if - np_expect_match() is called with a longer input string. This allows - check_tcp to decide whether it makes sense to wait for additional data - from the server. - - * lib/tests/test_tcp.c, lib/utils_tcp.c, lib/utils_tcp.h, - plugins/check_tcp.c: Improve interface of np_expect_match() function - - Replace the three boolean parameters of lib/utils_tcp.c's - np_expect_match() function with a single "flags" parameter. - -2013-09-10 Holger Weiss - - * plugins/sslutils.c: Don't mark SSL_METHOD variable as "const" - - The SSL_CTX_new(3) function expects a non-"const" SSL_METHOD value. - - * plugins/netutils.c, plugins/netutils.h, plugins/sslutils.c, - plugins/utils.c, plugins/utils.h: Move global variables from .h to .c - files - - Simplify things by moving the definition of global variables into .c - files, where they belong. - - * lib/utils_base.c, plugins/check_ide_smart.c, plugins/check_tcp.c, - plugins/negate.c, plugins/runcmd.h: Fix GCC's - -Wimplicit-function-declaration warnings - - Fix the issues found by GCC when the -Wimplicit-function-declaration - flag is specified. - - * lib/tests/test_disk.c, plugins/check_http.c, plugins/check_procs.c: - Fix GCC's -Wuninitialized warnings - - Fix the issues found by GCC when the -Wuninitialized flag is specified. - -2013-09-10 juliopedreira - - * plugins/check_tcp.c: check_tcp: Don't close connection too early - - Closing the connection because the bytes received are less than the - buffer size assumes that all the bytes will be received in one go. This - is not always true! - -2013-09-10 Holger Weiss - - * NEWS, plugins/check_http.c: - s/--proxy_authorization/--proxy-authorization/ - - The check_http option "--proxy_authorization" is now called - "--proxy-authorization" instead. It was always documented this way, and - we don't usually use underscores in option names. - -2013-09-05 Holger Weiss - - * plugins/check_snmp.c: check_snmp: Initialize size_t value to 0, not - NULL - - * build-aux/ltmain.sh, gl/m4/libtool.m4, gl/m4/ltoptions.m4, - gl/m4/ltversion.m4, gl/m4/lt~obsolete.m4: Update bundled libtool files - - Import the current libtool version 2.4.2. - -2013-09-04 Holger Weiss - - * plugins-root/check_icmp.c: check_icmp: Minor whitespace/indentation - fixes - - * plugins-root/check_icmp.c: check_icmp: Support "--help" and - "--version" - - Let check_icmp provide "--help" and "--version" flags (in addition to - "-h" and "-V"), just as the other plugins do. - -2013-09-02 Holger Weiss - - * Makefile.am, contrib-reporting/process_perfdata.pl, - contrib/README.TXT, contrib/aix/check_failed, contrib/aix/check_io, - contrib/aix/check_kerberos, contrib/aix/check_queue, - contrib/aix/pg_stat, contrib/check_adptraid.sh, contrib/check_apache.pl, - contrib/check_apc_ups.pl, contrib/check_appletalk.pl, - contrib/check_arping.pl, contrib/check_asterisk.pl, - contrib/check_axis.sh, contrib/check_backup.pl, - contrib/check_bgpstate.pl, contrib/check_breeze.pl, - contrib/check_cluster.c, contrib/check_cluster2.README, - contrib/check_cluster2.c, contrib/check_compaq_insight.pl, - contrib/check_cpqarray.c, contrib/check_digitemp.pl, - contrib/check_dlswcircuit.pl, contrib/check_dns_random.pl, - contrib/check_email_loop.pl, contrib/check_fan_cpq_present, - contrib/check_fan_fsc_present, contrib/check_flexlm.pl, - contrib/check_frontpage, contrib/check_hltherm.c, - contrib/check_hprsc.pl, contrib/check_hw.sh, - contrib/check_ica_master_browser.pl, - contrib/check_ica_metaframe_pub_apps.pl, - contrib/check_ica_program_neigbourhood.pl, - contrib/check_inodes-freebsd.pl, contrib/check_inodes.pl, - contrib/check_ipxping.c, contrib/check_javaproc.pl, - contrib/check_joy.sh, contrib/check_linux_raid.pl, - contrib/check_lmmon.pl, contrib/check_log2.pl, contrib/check_lotus.pl, - contrib/check_maxchannels.pl, contrib/check_maxwanstate.pl, - contrib/check_mem.pl, contrib/check_ms_spooler.pl, - contrib/check_mssql.sh, contrib/check_nagios.pl, - contrib/check_nagios_db.pl, contrib/check_nagios_db_pg.pl, - contrib/check_netapp.pl, contrib/check_nmap.py, - contrib/check_ora_table_space.pl, contrib/check_oracle_instance.pl, - contrib/check_oracle_tbs, contrib/check_pcpmetric.py, - contrib/check_pfstate, contrib/check_qmailq.pl, contrib/check_rbl.c, - contrib/check_remote_nagios_status.pl, contrib/check_rrd_data.pl, - contrib/check_sap.sh, contrib/check_smart.pl, contrib/check_smb.sh, - contrib/check_snmp_disk_monitor.pl, contrib/check_snmp_printer.pl, - contrib/check_snmp_process_monitor.pl, contrib/check_snmp_procs.pl, - contrib/check_sockets.pl, contrib/check_temp_cpq, - contrib/check_temp_fsc, contrib/check_timeout.c, - contrib/check_traceroute-pure_perl.pl, contrib/check_traceroute.pl, - contrib/check_uptime.c, contrib/check_vcs.pl, contrib/check_wave.pl, - contrib/check_wins.pl, contrib/checkciscotemp.pl, contrib/mrtgext.pl, - contrib/nagios_sendim.pl, contrib/packet_utils.pm, contrib/rblcheck-dns, - contrib/rblcheck-web, contrib/restrict.pl, contrib/sched_downtime.pl, - contrib/tarballs/bowen-langley_plugins.tar.gz, - contrib/tarballs/check_bgp-1.0.tar.gz, - contrib/tarballs/check_radius.tar.gz, - contrib/tarballs/check_traffic-0.91b.tar.gz, - contrib/tarballs/fetchlog-0.94.tar.gz, contrib/urlize.pl, - contrib/utils.py: Remove "contrib" plugins - - These days, sites such as "Nagios Exchange" are a much better place for - publishing plugins not maintained by the Plugins Development Team. - - * command.cfg.in, configure.in: Remove the outdated "command.cfg" file - -2013-08-27 Holger Weiss - - * doc/developer-guidelines.sgml: developer-guidelines.sgml: Update - copyright year - - We touched the Development Guidelines this year. - - * NEWS: Mention that check_snmp now supports >8 OIDs - - Closes #37. - - * plugins/common.h: Partially revert "check_snmp: Close potential for - using uninitialized memory" - - This reverts the changes to plugins/common.h applied by commit - a20611d4357c3c3ebe0a62776a1642e7904c1410. - - - Clang defines __GNUC__. - - The new name of the __attribute__ parameter was misleading. - - * plugins/check_snmp.c: check_snmp: Fix --help segfault - -2013-08-26 Holger Weiss - - * NEWS: Mention new "check_disk -f" option - - Closes #22. - -2013-08-23 Ton Voon - - * tools/build_perl_modules: Use own variable instead of ENV - - * perlmods/Makefile.am, perlmods/install_order, - tools/build_perl_modules: Updated with last working copy of - build_perl_modules used by Opsview - -2013-08-23 Sven Nierlein - - * perlmods/install_order, tools/build_perl_modules: perlmods: fixed - install_order - - on older systems Module::Build is not available by default, therefore we have - to change the order of installation. - -2013-08-22 Holger Weiss - - * doc/developer-guidelines.sgml: developer-guidelines.sgml: Multiline - output - - Document the multiline output format properly. - - Thanks to Jochen Bern for providing this patch. - -2013-08-21 Holger Weiss - - * doc/developer-guidelines.sgml: developer-guidelines.sgml: Allow - special value "U" - - Allow a literal "U" to be specified in place of an actual value within - the performance data string. An "U" corresponds to RRDtool's "UNKNOWN" - value; i.e., it's meant to indicate that data acquisition failed for - some reason. PNP4Nagios already supports this extension. - -2013-08-21 Sven Nierlein - - * doc/developer-guidelines.sgml: removed duplicate entry - - * plugins/t/check_tcp.t: fixed check_tcp test - - A check with thresholds 9000,1 must exit with warning if the certificate expires in less - than 9000 but more than one day. - - * test.pl.in: no need to set verbose mode, thats what "make test-debug" - is for - - * plugins/t/check_snmp.t: check_snmp: added threshold tests - -2013-08-21 Holger Weiss - - * plugins/check_snmp.c: check_snmp: Fix support for inverse thresholds - - Commit bd782990566eec91b8312cfc2765a7e2bd9e67da reintroduced support for - inverse threshold ranges such as "2:1", but it broke standard thresholds - such as "1:2" (by converting this range into "1") or "1:" (by converting - this range into "@:2"). This commit fixes those two bugs, plus an - off-by-one error while computing the number of bytes to allocate when - handling inverse thresholds (two additional bytes were allocated where - three were required to hold '@' and ':' and '\0'). While at it, we also - check whether malloc(3) succeeded. - -2013-08-21 Ton Voon - - * perlmods/Class-Accessor-0.31.tar.gz, - perlmods/Class-Accessor-0.34.tar.gz, perlmods/Config-Tiny-2.10.tar.gz, - perlmods/Config-Tiny-2.14.tar.gz, perlmods/Math-Calc-Units-1.06.tar.gz, - perlmods/Math-Calc-Units-1.07.tar.gz, - perlmods/Module-Build-0.4007.tar.gz, - perlmods/Module-Implementation-0.07.tar.gz, - perlmods/Module-Metadata-1.000014.tar.gz, - perlmods/Module-Runtime-0.013.tar.gz, perlmods/Perl-OSType-1.003.tar.gz, - perlmods/Test-Simple-0.70.tar.gz, perlmods/Test-Simple-0.98.tar.gz, - perlmods/Try-Tiny-0.18.tar.gz, perlmods/install_order, - perlmods/parent-0.226.tar.gz, perlmods/version-0.9903.tar.gz, - tools/build_perl_modules: Updated perl modules - -2013-08-19 Holger Weiss - - * perlmods/Params-Validate-0.88.tar.gz, - perlmods/Params-Validate-1.08.tar.gz, tools/build_perl_modules: Update - the bundled Params::Validate module - - Building the old version fails with recent Perl releases: - - | Validate.xs: In function `get_type': - | Validate.xs:208:5: error: duplicate case value - | Validate.xs:205:5: error: previously used here - -2013-08-20 Holger Weiss - - * plugins/sslutils.c: Set SSL_MODE_AUTO_RETRY flag - - We use OpenSSL (or GnuTLS) with blocking semantics, and we don't want - SSL_read(3) or SSL_write(3) calls to return SSL_ERROR_WANT_READ or - SSL_ERROR_WANT_WRITE (see #3614716). - - * contrib/check_http-with-client-certificate.c: Ditch - contrib/check_http-with-client-certificate.c - - The standard check_http plugin now supports client certificate - authentication. - - * .gitignore: Add new Gnulib files to .gitignore - - * configure.in: Check for who(1) only if utmpx(5) isn't available - - The who(1) command is only called by check_users if the system doesn't - provide an utmpx(5) interface. - - * configure.in, plugins/Makefile.am, plugins/check_users.c: check_users: - Use utmpx(5) only if available - - For systems that don't provide an utmpx(5) interface, restore the code - that was replaced in commit 3e622f3a47bc7d31f22513a79892c3c52febd2d3. - -2013-08-20 Sven Nierlein - - * lib/utils_base.c, plugins/common.h: added missing header to fix build - on freebsd - - * po/Makefile.in.in: changed obsolete automake macro - -2013-08-20 Holger Weiss - - * plugins/check_ide_smart.c: check_ide_smart: "__linux__" instead of - "linux" - - C compilers in standards compliance mode will not define "linux", as it - doesn't begin with an underscore. - - * NEWS, THANKS.in, configure.in, plugins/check_ide_smart.c: - check_ide_smart: Add support for NetBSD - - Thanks to Emmanuel Dreyfus for providing the patch. - -2013-08-19 Holger Weiss - - * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Replace - Gnulib's "getopt" module with "getopt-gnu" - - The "getopt" module is marked as deprecated, these days we're supposed - to choose either "getopt-posix" or "getopt-gnu". - - * build-aux/config.rpath, build-aux/snippet/_Noreturn.h, - build-aux/snippet/arg-nonnull.h, build-aux/snippet/c++defs.h, - build-aux/snippet/warn-on-use.h, gl/Makefile.am, gl/alignof.h, - gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c, - gl/base64.c, gl/base64.h, gl/basename-lgpl.c, gl/basename.c, gl/btowc.c, - gl/c-strtod.c, gl/c-strtod.h, gl/cloexec.c, gl/cloexec.h, - gl/close-hook.c, gl/close-hook.h, gl/config.charset, gl/dirname-lgpl.c, - gl/dirname.c, gl/dirname.h, gl/dosname.h, gl/dup-safer.c, gl/dup2.c, - gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, - gl/fcntl--.h, gl/fcntl-safer.h, gl/fcntl.c, gl/fcntl.in.h, gl/fd-hook.c, - gl/fd-hook.h, gl/fd-safer.c, gl/float+.h, gl/float.c, gl/float.in.h, - gl/floor.c, gl/floorf.c, gl/fsusage.c, gl/fsusage.h, gl/full-read.c, - gl/full-read.h, gl/full-write.c, gl/full-write.h, gl/gai_strerror.c, - gl/getaddrinfo.c, gl/getdtablesize.c, gl/gethostname.c, gl/getloadavg.c, - gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, - gl/gettext.h, gl/glthread/lock.c, gl/glthread/lock.h, - gl/glthread/threadlib.c, gl/inet_ntop.c, gl/intprops.h, gl/itold.c, - gl/langinfo.in.h, gl/localcharset.c, gl/localcharset.h, gl/locale.in.h, - gl/localeconv.c, gl/m4/00gnulib.m4, gl/m4/alloca.m4, - gl/m4/arpa_inet_h.m4, gl/m4/asm-underscore.m4, gl/m4/base64.m4, - gl/m4/btowc.m4, gl/m4/c-strtod.m4, gl/m4/codeset.m4, - gl/m4/configmake.m4, gl/m4/dirname.m4, gl/m4/dos.m4, - gl/m4/double-slash-root.m4, gl/m4/dup2.m4, gl/m4/eealloc.m4, - gl/m4/environ.m4, gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/exponentd.m4, - gl/m4/extensions.m4, gl/m4/extern-inline.m4, gl/m4/fcntl-o.m4, - gl/m4/fcntl-safer.m4, gl/m4/fcntl.m4, gl/m4/fcntl_h.m4, - gl/m4/float_h.m4, gl/m4/floorf.m4, gl/m4/fstypename.m4, - gl/m4/fsusage.m4, gl/m4/getaddrinfo.m4, gl/m4/getdtablesize.m4, - gl/m4/gethostname.m4, gl/m4/getloadavg.m4, gl/m4/getopt.m4, - gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/glibc21.m4, - gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, - gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, - gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inline.m4, - gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intldir.m4, gl/m4/intlmacosx.m4, - gl/m4/intmax.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, - gl/m4/inttypes_h.m4, gl/m4/langinfo_h.m4, gl/m4/largefile.m4, - gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, - gl/m4/lib-prefix.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, - gl/m4/locale-ja.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, - gl/m4/localeconv.m4, gl/m4/lock.m4, gl/m4/longlong.m4, - gl/m4/ls-mntd-fs.m4, gl/m4/malloc.m4, gl/m4/malloca.m4, gl/m4/math_h.m4, - gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/mbtowc.m4, - gl/m4/memchr.m4, gl/m4/mktime.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, - gl/m4/mountlist.m4, gl/m4/msvc-inval.m4, gl/m4/msvc-nothrow.m4, - gl/m4/multiarch.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4, - gl/m4/nl_langinfo.m4, gl/m4/nls.m4, gl/m4/nocrash.m4, gl/m4/off_t.m4, - gl/m4/onceonly.m4, gl/m4/open.m4, gl/m4/po.m4, gl/m4/printf-posix.m4, - gl/m4/printf.m4, gl/m4/progtest.m4, gl/m4/read.m4, gl/m4/regex.m4, - gl/m4/safe-read.m4, gl/m4/safe-write.m4, gl/m4/servent.m4, - gl/m4/setenv.m4, gl/m4/sha1.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, - gl/m4/socketlib.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, - gl/m4/sockpfaf.m4, gl/m4/ssize_t.m4, gl/m4/stat.m4, gl/m4/stdalign.m4, - gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, - gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, - gl/m4/string_h.m4, gl/m4/strndup.m4, gl/m4/strnlen.m4, gl/m4/strsep.m4, - gl/m4/strstr.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, - gl/m4/sys_types_h.m4, gl/m4/sys_uio_h.m4, gl/m4/threadlib.m4, - gl/m4/time_h.m4, gl/m4/time_r.m4, gl/m4/timegm.m4, gl/m4/uintmax_t.m4, - gl/m4/unistd-safer.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, - gl/m4/vasprintf.m4, gl/m4/visibility.m4, gl/m4/vsnprintf.m4, - gl/m4/warn-on-use.m4, gl/m4/wchar_h.m4, gl/m4/wchar_t.m4, - gl/m4/wcrtomb.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/write.m4, - gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/xstrndup.m4, gl/malloc.c, - gl/malloca.c, gl/malloca.h, gl/math.c, gl/math.in.h, gl/mbrtowc.c, - gl/mbsinit.c, gl/mbtowc-impl.h, gl/mbtowc.c, gl/memchr.c, gl/mktime.c, - gl/mountlist.c, gl/mountlist.h, gl/msvc-inval.c, gl/msvc-inval.h, - gl/msvc-nothrow.c, gl/msvc-nothrow.h, gl/netdb.in.h, gl/netinet_in.in.h, - gl/nl_langinfo.c, gl/open-safer.c, gl/open.c, gl/pipe-safer.c, - gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, - gl/printf-parse.h, gl/read.c, gl/ref-add.sin, gl/ref-del.sin, - gl/regcomp.c, gl/regex.c, gl/regex.h, gl/regex_internal.c, - gl/regex_internal.h, gl/regexec.c, gl/safe-read.c, gl/safe-read.h, - gl/safe-write.c, gl/safe-write.h, gl/setenv.c, gl/sha1.c, gl/sha1.h, - gl/size_max.h, gl/snprintf.c, gl/sockets.c, gl/sockets.h, gl/stat.c, - gl/stdalign.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, - gl/stdio-write.c, gl/stdio.in.h, gl/stdlib.in.h, gl/str-two-way.h, - gl/strdup.c, gl/streq.h, gl/strerror-override.c, gl/strerror-override.h, - gl/strerror.c, gl/string.in.h, gl/stripslash.c, gl/strndup.c, - gl/strnlen.c, gl/strsep.c, gl/strstr.c, gl/sys_socket.c, - gl/sys_socket.in.h, gl/sys_stat.in.h, gl/sys_types.in.h, - gl/sys_uio.in.h, gl/time.in.h, gl/time_r.c, gl/timegm.c, gl/unistd--.h, - gl/unistd-safer.h, gl/unistd.c, gl/unistd.in.h, gl/unsetenv.c, - gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/verify.h, - gl/vsnprintf.c, gl/w32sock.h, gl/wchar.in.h, gl/wcrtomb.c, - gl/wctype-h.c, gl/wctype.in.h, gl/write.c, gl/xalloc-die.c, - gl/xalloc-oversized.h, gl/xalloc.h, gl/xmalloc.c, gl/xsize.c, - gl/xsize.h, gl/xstrndup.c, gl/xstrndup.h: Sync with the latest Gnulib - code (6f2d632) - - * configure.in, plugins/common.h: Clean up check for - _SC_NPROCESSORS_ONLN - - Closes #62. - -2013-08-19 Booker C. Bense - - * configure.in, plugins/common.h: Bug fix for ncpus if hyperthreading - turned off in linux - -2013-08-18 Holger Weiss - - * plugins/check_http.c: check_http: Document the new -E option - - Mention the -E/--extended-perfdata flag in the --help output. - - * plugins/check_http.c, plugins/netutils.h, plugins/sslutils.c: - Abbreviate function name - - Make a very long function name at least a little bit shorter. - - * NEWS: Mention the new "check_http -J/-K" options - - Closes #48. - - * NEWS: Mention the new "check_mysql -f/-g" options - - Closes #32. - - * plugins/check_mysql.c: check_mysql: Don't accept new positional - arguments - - Do not also accept the new -f/--file and -g/--group options as - positional arguments (especially not prior to "db_pass" and "db", as - that would break backward compatibility). - - * plugins/check_mysql.c: check_mysql: Use xasprintf instead of asprintf - - * plugins/check_mysql.c: check_mysql: Fix copy'n'pasted comments - -2013-08-18 Steve Weinreich - - * plugins/check_fping.c: check_fping error handling enhanced, generates - UNKNOWN on - fping parameter error (i.e. wrong interface, missing perms ..) - -2013-08-18 Holger Weiss - - * NEWS, plugins/check_snmp.c: NEWS: Mention the new "check_snmp - --offset" option - - ... and apply two small cosmetic changes to check_snmp.c. - - Closes #59. - -2013-08-05 Simon Kainz - - * plugins/check_snmp.c: added --offset option to allow adjustment of - sensor data - -2013-08-18 Holger Weiss - - * plugins/check_http.c: check_http: Use xasprintf instead of asprintf - - * plugins/check_http.c: check_http: s/--header_string/--header-string/ - - The name of the new option is "--header-string". - - * plugins/check_snmp.c: check_snmp: Allocate space for the new -Le - option - - Closes #41. - -2013-03-14 Mark Keisler - - * plugins/check_snmp.c: Add -Le option to snmpcmd to avoid error message - of 'No Log Handling Enabled...' - -2013-08-18 Holger Weiss - - * NEWS: Mention the check_mysql changes - - Closes #14. - -2012-11-20 Tim Laszlo - - * plugins/check_mysql.c: check_mysql: Connections should have been - defined as a counter - - * plugins/check_mysql.c: Counter increments were incorrect; remove the - leading space from perfdata - -2012-08-06 Tim Laszlo - - * plugins/check_mysql.c: check_mysql: add perfromance metrics for all - checks - -2012-08-03 Tim Laszlo - - * plugins/check_mysql.c: check_mysql: when checking slave thread add - performance data for seconds behind master - -2013-08-18 Holger Weiss - - * NEWS: Mention the new "check_http -d" option - - Closes #7. - - * plugins/tests/check_http.t: Fix the "check_http -d" tests - -2012-06-06 linkslice - - * plugins/check_http.c, plugins/tests/check_http.t: added ability to - check regex against http headers. booyah! - -2013-08-18 Holger Weiss - - * NEWS: Mention the new check_procs behavior - - Closes #60. - -2013-08-18 Sebastian Schmidt - - * plugins/check_procs.c: check_procs: clarify debug message - - * plugins/check_procs.c: check_procs: Assume we have stat() - - stat() is in gnulib anyway, so we can safely depend on it. - - * configure.in, plugins/check_procs.c: check_procs: Get rid of - HAVE_PROC_PID_EXE - - Don't check for /proc/pid/exe at compile time, it could be gone in a - build chroot or the like. Checking at runtime (once) is sufficient. - -2012-12-09 Sebastian Schmidt - - * plugins/check_procs.c: check_procs: Ignore ENOENT when checking for - myself - - Previously, when a process exited between the call to /bin/ps and - stat("/proc/his/exe") was exiting it was not considered as possible - instance of check_procs. This commit makes check_procs ignore all - processes where /proc/pid/exe does not exist. - -2012-11-07 Sebastian Schmidt - - * plugins/check_procs.c: check_procs: fix typo - - Fix a typo in previous commit where st_ was missing in the mock - struct_stat_t, causing check_procs.c to not compile without sys/stat.h. - - * configure.in, plugins/check_procs.c: check_procs: filter out self by - /proc/pid/exe - - Make check_procs filter out itself in the process list by comparing the - file pointed to by /proc/pid/exe. On platforms where this is not - available or when check_procs is passed the -T flag, the old behaviour - (check whether PID equals getpid()) is retained. - - This fixes some false alarms when e.g. Nagios has, for whatever reasons, - some backlog of checks to run and check_procs with -a is called more - than once in a short time, matching its sister process. - -2013-08-18 Holger Weiss - - * gl/Makefile.am, gl/fsusage.c, gl/m4/fcntl-o.m4, gl/m4/fsusage.m4, - gl/m4/gnulib-comp.m4, gl/m4/lib-link.m4, gl/m4/malloc.m4, - gl/m4/stdlib_h.m4, gl/stdlib.in.h, gl/str-two-way.h, gl/string.in.h: - Sync with the latest Gnulib code (6f2d632) - - * NEWS: Mention check_mysql's SSL support - - Closes #51. - - * plugins/check_mysql.c: check_mysql: Cosmetic changes to SSL support - - Use (slightly) more intuitive option names etc. - -2013-05-22 Juan Carlos Fernandez - - * plugins/check_mysql.c: Added ssl support to check_myslq - -2013-08-18 Holger Weiss - - * NEWS: Mention the new check_procs -k option - - Closes #53. - -2013-05-29 Richard Leitner - - * plugins/check_procs.c: Fixed SF.net bug #3552839, check_procs: added - -k option to ignore kernel threads - - This commit fixes sourceforge.net bug #3552839. - It adds a -k|--no-kthreads option to ignore kernel thread processes. - Please note: currently this feature only works for GNU/Linux systems (due to the fact I have no other systems to test/develop on) - Sorry for that, but I'm sure this can be accomplished by somebody else ;-) - -2013-08-18 Holger Weiss - - * contrib/check_linux_raid.pl: Fix whitespace errors - - Use tabs instead of spaces for indentation. - -2013-06-11 Erwan Ben Souiden - - * contrib/check_linux_raid.pl: update check_linux_raid to take in - consideration resync status and rise up a warning alert - -2013-08-18 Holger Weiss - - * NEWS: Mention the new check_fping features - - * configure.in, plugins/check_fping.c: check_fping: Use fping6(8) only - if available - - Let check_fping use IPv6 only if - - - the operating system supports IPv6, - - the user didn't specify --without-ipv6, and - - the "configure" script found the fping6(8) binary. - -2013-08-17 Holger Weiss - - * plugins/check_fping.c: check_fping: Remove unused printf(3) arguments - -2012-12-20 Steve Weinreich - - * plugins/check_fping.c: Added -S und -I parameter to match fping -S and - -I parameters. - - -S allows to specify the source ip for ICMP pakets - -I allows to specify a interface to bind to - -2013-08-17 Holger Weiss - - * plugins/check_pgsql.c: check_pgsql: Add missing printf(3) argument - - * NEWS: Mention the new check_pgsql features - - Closes #16. - - * plugins/check_pgsql.c: check_pgsql: Remove -4/-6 flags from help - output - - The -4/-6 options are currently not supported. - - * plugins/t/check_procs.t: Expect performance data - - The check_procs plugin now emits performance data, fix the test(s) - accordingly. - - * plugins/t/check_apt.t: Expect performance data - - The check_apt plugin now emits performance data, fix the test(s) - accordingly. - -2013-01-26 Dominique Broeglin - - * lib/tests/test_utils.c: Adding tests for range @1:1 - -2013-08-15 Sven Nierlein - - * NEWS, THANKS.in, plugins/check_http.c, plugins/t/check_http.t: cleanup - after check_http patch (fixes #50) - - - cleanup whitespace - - added test cases - - print time_ssl only if ssl is in use - - updated news and thanks file - -2013-05-19 Sebastian Nohn - - * plugins/check_http.c: log more perfdata in check_http - -2013-08-15 Sven Nierlein - - * NEWS, THANKS.in: updated news and thanks file - - * plugins/t/check_http.t: corrected http test - - multiple headers have to be set by multiple -k switches. Seperating them - by semicolons is not longer supported as semicolons are valid characters in - http headers. - -2013-08-12 Rafael - - * plugins-scripts/check_disk_smb.pl: Changed the smbclient command used - to fetch the free space available on the samba shares. Using du instead - of ls, since it's much faster, specially with shares that have a lot of - files. - -2013-07-11 Jan Wagner - - * THANKS.in, plugins/check_smtp.c: Fixed SF.net bug 2555775, threshold - can be double for check_smtp - - Thanks to Roman Fiedler for reporting the issue and providing a fix - -2013-07-08 Jan Wagner - - * THANKS.in, plugins/check_nt.c: check_nt: Fixes NULL pointer - dereference - - Thanks to Vaclav Ovsik for reporting the issue and providing a fix - -2013-06-30 Holger Weiss - - * .gitignore: Add libnpcommon.a file to .gitignore - - * plugins/check_ntp_peer.c: check_ntp_peer: Verify type of response - packets - - The check_ntp_peer plugin now ignores response packets with an - unexpected "Operation Code" and/or "Sequence" number (cf. RFC 1305, - Appendix B). This fixes an issue where the check_ntp_peer requests got - duplicated on their way to the server (due to some network switch bug), - and the server therefore sent multiple responses per request. - - Thanks to Marc Haber for reporting the issue. - -2013-06-25 Holger Weiss - - * NEWS: Mention that check_apt spits out perfdata - -2013-06-25 Jan Wagner - - * plugins/check_apt.c: Fixed SF.net bug 1614553, Debian bug #708343, - Adding performace data - -2013-05-30 Richard Leitner - - * plugins/check_apt.c: check_apt now correctly exits when apt-get return - != 0 - - This commit fixes an issue with check_apt where check_apt doesn't exit - with the appropriate return code when apt-get returned a non-zero value. - -2013-05-29 Richard Leitner - - * plugins/check_http.c: Fixed SF.net bug #3571331, check_http converts - semicolon to newline in -k - - This commit fixes sourceforge.net bug id 3571331. - The semicolon was defined as input delimiter for multiple values in the -k arguments. - Due to the fact the semicolon is a valid character for HTTP header fields this input delimiter function was removed. - It is still possible to pass multiple header fields via multiple -k (like described in helptext). - -2013-05-19 Gabriele Tozzi - - * plugins-scripts/check_sensors.sh: Made verbose output of check_sensors - compilant - -2013-05-17 Lionel Cons - - * plugins/check_http.c, plugins/netutils.h, plugins/sslutils.c: added - support for client authentication via SSL - -2013-05-12 Holger Weiss - - * NEWS, THANKS.in: NEWS, THANKS: Mention the latest changes - -2012-08-17 Diego Elio Pettenò - - * configure.in: configure: add --without-ldap, --without-radius and - --without-dbi options. - - When building for distributions such as Gentoo Linux, or FreeBSD - ports, it's convenient to be able to disable building certain - functionalities even if the dependencies are present, to avoid what - are called "automagic dependendencies". - - Adding these parameters solve the issue. - - * plugins/Makefile.am: build: fix building with parallel make. - - By using a more automake-style handling of dependencies and a single - convenience library, it's tremendously easy to build in parallel. - - Note that since the linking happens with the static archives, the - unused objects are discarded and provide no overhead whatsoever. - - * plugins/check_dig.c, plugins/check_dns.c, plugins/runcmd.c, - plugins/runcmd.h: plugins: rename runcmd's signal handler. - - The previous name would collide with popen's. Even if the two are - never used together, it's still a good idea not to have the same - symbol in multiple object files. - -2013-03-25 Holger Weiss - - * NEWS, THANKS.in: NEWS, THANKS: Mention Richard Leitner's changes - -2013-03-22 Richard Leitner - - * plugins/check_disk.c: Fixed SF.net bug 3560976, added - --include-type/-N option - -2013-03-17 Richard Leitner - - * plugins/check_nagios.c: Fixed SF.net bug 3602586, added timeout option - for check_nagios - - * plugins/check_apt.c: Fixed SF.net bug 3539317, typo in --help of - check_apt - -2013-03-25 Holger Weiss - - * NEWS, THANKS.in: NEWS, THANKS: Mention check_oracle --connect flag - -2013-01-15 Brian De Wolf - - * plugins-scripts/check_oracle.sh: Add option to perform real login in - check_oracle - - The Oracle plugin has no option for testing for a successful login. The - closest option to this is --login, which uses a fixed set of credentials and - expects to receive the logon failure error code. - - This patch adds an option called --connect. This option takes a full SID and - returns success if it doesn't detect any error codes. With this, we can check - that a database is allowing logins from valid credentials (and avoid filling up - DB logs with failed authentications). - -2013-02-27 Joerg Linge - - * plugins/check_procs.c: Update plugins/check_procs.c - - added missing longopt --user - -2013-02-27 Fabio Rueda - - * contrib/check_nmap.py: working on ubuntu precise12.04 - - * contrib/check_nmap.py: ported use whrandom to random - -2013-02-10 Sven Nierlein - - * plugins/check_tcp.c, plugins/t/check_tcp.t: check_tcp: don't ignore - trailing options - - "./check_tcp -6 -p 80 host" leads to an error: - TCP CRITICAL - Invalid hostname, address or socket: 127.0.0.1 - because 127.0.0.1 is the fallback host, the tailing hostname - was ignored. - -2013-01-29 Robin Sonefors - - * plugins/check_snmp.c, plugins/common.h: check_snmp: Close potential - for using uninitialized memory - - This was reported by clang, and in order for it to understand attributes - properly, I had to modify the macro that checks for non-gcc compilers. - - * plugins/check_snmp.c: check_snmp: Dynamically grow all data structures - - Before this patch, there was a constant, MAX_OIDS, that determined the - amount of slots most (but not all - see labels) array data structures - would have. It was set to 8. - - Some users would like to use more than that, but rather than bumping the - constant, let's use the same type of logic we already use for labels - - grow the space 8 slots at a time. This will allow us to potentially - support an infinite amount of oids - or at least as many as the - packetsize on the SNMP server allows, which is usually significantly - smaller than infinity, yet often larger than 8. - -2013-01-24 Daniël van Eeden - - * REQUIREMENTS, plugins/check_mysql.c: Apply my patch from: - http://sourceforge.net/tracker/index.php?func=detail&aid=3269273&group_id=29880&atid=397597 - -2013-01-23 Sven Nierlein - - * NEWS, THANKS.in: added latest commits to NEWS file - - * plugins/t/check_dig.t: updated check dig tests - - nagios.com seems to have changed their ip address. Also added tests - about -4/-6 option. - -2012-12-28 Ville Mattila - - * plugins/check_dig.c: check_dig: query transport selection support - - Add command line options -4 and -6 (--use-ipv4 and - --use-ipv6) to check_dig. - - Effectively this adds no new functionality, just a - shortcut for: - check_dig -A "-4" - check_dig -A "-6" - - Needed for using check_dig with the check_v46 wrapper - (see e.g. - https://gitorious.org/nagios-monitoring-tools/nagios-monitoring-tools/blobs/master/check_v46) - which requires -4/-6 command line option support. - -2013-01-23 Sven Nierlein - - * ChangeLog, THANKS.in: updated changelog and thanks file for previous - patch - -2013-01-23 Robin Sonefors - - * plugins/check_snmp.c: check_snmp: Don't thrash memory when using - multiple label/unit argument - - The memory allocation mixed up number of bytes with number of pointers, - meaning as soon as we'd reach (on 64 bit systems) the second argument, - we'd start writing it outside of our allocated memory. - - Normally, this isn't too visible, but as soon as you (again, on my 64 - bit system) reach argument number 8, you get a segfault. It is easily - reproducible with: - check_snmp -o '' -l '' -o '' -l '' -o '' -l '' -o '' -l '' \ - -o '' -l '' -o '' -l '' -o '' -l '' -o '' -l '' - - This patch allocates the proper amount of memory, to fix the issue. - -2012-12-28 Jonathan Milby - - * plugins/check_mysql.c: Updated check_mysql.c to take client options - file and group parameters - -2012-12-28 Ville Mattila - - * configure.in, plugins/check_fping.c: check_fping: IPv6 support - - Add command line options -4 and -6 (--use-ipv4 and - --use-ipv6) to check_fping. IPv4 is used by default, - maintaining backwards compatibility with older - check_fping versions. IPv6 support requires the - fping6 program. - - The implementation is really just an imitation of - check_ping IPv6 support: Plugin command line option - -4/-6 designates whether to run fping/fping6. - - Please note that especially the changes to - configure.in might be all wrong - I don't know - what's the proper autoconf way, patching - configure.in just seemed to work for me. - -2012-12-03 palli - - * doc/developer-guidelines.sgml: Table 4 example 5 updated - - Description did not specify that it condition is critical if "stuff" - is less than zero. - - * doc/developer-guidelines.sgml: Description for table4 example7 - - My original patch was based on the online version which was apparently out of date. - - In the meantime someone changed the description of example7 instead of the example. I think this is better because - otherwise example 6 and 7 are basically the same. - -2012-10-24 Pall Sigurdsson - - * doc/developer-guidelines.sgml: Bugfix, fixed a broken command-line - example - - The last example in the table contradicted the previous example. Surely - it's purpose was to showcase the @ behaviour to invert threshold, but the - @ sign was missing. - - I also clarified the description to the second last example so it is in same - style as the others. - -2012-11-28 Sven Nierlein - - * plugins/check_ntp.c, plugins/check_ntp_time.c: check_ntp(_time): don't - die on connect errors - - connect errors may happen if clients check agains dual - stacked ipv4/6 ntp servers. - - * plugins/check_ldap.c, plugins/check_ntp.c, plugins/check_ntp_peer.c, - plugins/check_ntp_time.c, plugins/check_pgsql.c, plugins/check_ssh.c: - unified ipv4/6 usage and help text - -2012-11-14 Holger Weiss - - * NEWS: Mention the check_procs performance data - - * plugins/check_procs.c: check_procs: Remove superfluous newline - character - -2011-04-08 Sebastian Harl - - * plugins/check_procs.c: check_procs: Added performance data to plugin - output. - - * plugins/check_procs.c: check_procs: Use the range/threshold support - functions from libnagiosplug. - - This adds support for @ and makes stuff a bit simpler by removing code - duplications. - - Note: Previously, the compatibility code for 'check_procs ' - accepted something like 'check_procs -w 10:-1 -c 10:-1 20 50' as well - (treating it as if '-w 10:20 -c 10:50' was specified). This is no longer the - case ... additional arguments are only used as warn/crit thresholds in case - -w/-c is not specified at all. - -2012-11-07 Thomas Guyot-Sionnest - - * .gitignore, doc/makefile, tools/sfwebcron: Fix sfwebcron probe file - - The initial file was created in the user's home and later tested in the - doc directory. Instead, just rsync if the file is missing. - - Also add some temporary files to gitignore/make clean - -2012-11-04 dermoth - - * NEWS: Update NEWS for bd78299 - check_snmp reverse ranges fix - -2012-11-03 dermoth - - * tools/sfwebcron, tools/snapshot: Update tools - - - fix sfwebcron (tool updating sf developer guidelines) - - remove obsolete snapshot script - - * tools/np_build_from_sf, tools/update_man_pages: Add scripts that - update man pages in drupal - -2012-11-02 Andreas Ericsson - - * plugins/check_snmp.c: plugins/check_snmp: Show snmp error when we fail - to parse its output - - Dying without a hint of what went wrong is just plain annoying. With - this patch we at least get a hint. - - While at it, we fix the string offset so the output we're interested - in doesn't keep the equal sign that snmpget prints. - - * lib/utils_base.c: Stop dumping core on bad args to check_snmp - - Since the state patch introduction, we've been freeing uninitialized - memory in lib/utils_base.c::np_cleanup(), which caused coredumps - with check_snmp when illegal threshold ranges (for example) were - passed, or when we called 'die' without having read any state. - - This patch fixes it by replacing the malloc() calls in there (all of - them, since using malloc() is almost always an error) with calloc(). - - malloc() either doesn't initialize the memory at all, or taints it - with a special marker so it can tell us when we're free()'ing memory - that hasn't been initialized. calloc() explicitly initializes the - allocated memory to nul bytes, which is a zero-cost operation when - we get the memory from the kernel (which alread does that) and almost - always desirable everywhere else. - - * plugins/check_snmp.c: Make check_snmp backwards compatible in how it - parses thresholds - - Once upon a time, check_snmp used to accept inverse ranges in the - format of '2:1' to mean "alert if value is inside this range". - - Since commit 7cb3ae09334796f3b54e4e6438e38c2cc679b360, ranges such - as those have instead triggered the error "Range format incorrect" - and resulted in an UNKNOWN warning state. This patch attempts to - fix the situation so that the old-style ranges continues to mean - exactly what the once did and people with lots of snmp checks can - avoid a bazillion false positives from their environments. - -2012-10-12 chl - - * plugins/check_disk.c: check_disk: option to ignore reserved space - - This commit add a runtime option to ignore the root-reserved space - when calculating perfdata. - - Before / after: - ./check_disk -w 2% -c 1% /home - ./check_disk -w 2% -c 1% -f /home - DISK CRITICAL - free space: /home 272 MB (1% inode=83%);| /home=17551MB;18401;18589;0;18777 - DISK CRITICAL - free space: /home 272 MB (1% inode=83%);| /home=17551MB;17466;17644;0;17823 - - Well, it doesn't really give me more space :) but the perfdata are a - little bit more coherent. - - Note that there are still a rounding issue on the percent calculation - (cf calculate_percent() comments, taken from coreutils 'df' command). - 272/17823 -> 1.526% - - Since the warning/critical/min/max data are usually not saved in RRD DB, - you can activate the option without seeing landslides in the graphs. - -2012-10-09 Holger Weiss - - * NEWS: Mention the OPENSSL_config(3) support - -2012-10-05 Marc Huffnagle - - * plugins-scripts/utils.sh.in: Added additional documentation to the - check_range function - -2012-10-09 Holger Weiss - - * plugins/common.h: Allow for configuring OpenSSL - - Let OpenSSL load its configuration file. See the OPENSSL_config(3) man - page for details. - - (Suggested by Max Kosmach in Debian bug report #689960, forwarded by Jan - Wagner.) - -2012-10-03 Alex Bradley - - * plugins/check_apt.c, plugins/t/check_apt.t, - plugins/t/check_apt_input/debian1, plugins/t/check_apt_input/debian2, - plugins/t/check_apt_input/debian3, plugins/t/check_apt_input/ubuntu1, - plugins/t/check_apt_input/ubuntu2: Tests for check_apt - - Add a hidden "--input-file" option to check_apt (modelled on - check_procs) so that it can take files with sample apt output as input. - - Add tests for my SECURITY_RE fix (debian3) and for the include, exclude - and critical options. - - * plugins/check_apt.c: Fix SourceForge bug 1904965 - check_apt: - SECURITY_RE is not correct - - For the default security upgrade detection regular expression, match - "Debian-Security" in package description when it's anywhere after the - first parenthesis (not just the second space-delimited word). For - example: - - ... (4.0.1-5.4 Debian:6.0.6/stable, Debian-Security:6.0/stable ... - -2012-10-02 Alex Bradley - - * plugins/check_apt.c: Don't prepend "^Inst" or append a space to the - "include", "exclude", or - "critical" regular expressions. Instead, check for lines beginning - with "Inst" using strncmp and apply the regular expressions only when - such lines are found. - - Fixes Debian bug #522812, along the lines suggested by the bug - submitter, Justin T Pryzby. - -2012-09-25 Gianluca Varisco - - * plugins/check_disk.c: Update plugins/check_disk.c - - CRITCAL -> CRITICAL typo - -2012-09-21 Alex Bradley - - * contrib/check_linux_raid.pl: This patch fixes the regular expression - for the array recovery - completion percentage to detect the percentage when there is more than - one space between between "recovery =" and the percentage. (When - the percentage is less than 10%, /proc/mdstat shows it left-padded - with an extra space: "recovery = 7.6%".) - -2012-08-10 Holger Weiss - - * plugins/check_http.c: check_http: Update description of -C option - - Mention that the -C option now accepts two comma-separated values. - - * plugins/check_http.c: check_http: Add missing newline to --help output - -2012-07-26 William Leibzon - - * plugins/check_http.c, plugins/check_smtp.c, plugins/check_tcp.c: - fixing bug in certificate experiation patch checking for bad warning - threshold data - -2012-08-10 Holger Weiss - - * plugins/tests/check_http.t: tests/check_http.t: Fix whitespace issues - - In tests/check_http.t, tabs are used for indentation. - - While at it, apply another few cosmetic changes. - - * plugins/tests/check_http.t: tests/check_http.t: Update the number of - SSL tests - - * plugins/tests/check_http.t: tests/check_http.t: Fix test case - - Fix the test case which is meant to make sure that - - check_http -C , [...] - - returns a CRITICAL state if is large enough. - -2012-08-06 Holger Weiss - - * NEWS: Mention fixed compilation without SSL - - * plugins/check_ntp_peer.c: check_ntp_peer: Fix --help output for -m and - -n - - Fix the threshold specifications in the example for checking the number - of truechimers. - - Reported by Marc Haber on the "nagios-users" mailing list (Message-ID: - <20120722142840.GA6931@torres.zugschlus.de>). - - * plugins/check_ntp_peer.c: check_ntp_peer: Fix --help output for -W and - -C - - Mention that the check_ntp_peer plugin checks the stratum of the - synchronization peer, not the stratum of the monitored server itself. - - Thanks to Marc Haber for bringing this up on the "nagios-users" mailing - list (Message-ID: <20120722142840.GA6931@torres.zugschlus.de>). - -2012-07-18 Holger Weiss - - * plugins/check_http.c: check_http: Fix whitespace issues - - In check_http.c, tabs aren't used for indentation. - - * plugins/check_http.c: check_http: Fix compilation without SSL support - - The "ssl_version" variable was undeclared when the plugins were compiled - --without-openssl and --without-gnutls. - - Bug reported by Michael LaCorte on the "nagiosplug-help" mailing list - (Message-ID: ). - -2011-04-08 Sebastian Harl - - * plugins/check_pgsql.c: check_pgsql: Determine connection time in - µs-resolution. - - … thus, treat "elapsed time" and the thresholds as floating point values. - - * plugins/check_pgsql.c: check_pgsql: Leave 'min' value in query - perfdata empty. - - There is no reasonable default value for that. - -2011-04-07 Sebastian Harl - - * plugins/check_pgsql.c: check_pgsql: Updated copyright. - - * plugins/check_pgsql.c: check_pgsql: Added support for the -o command - line option. - - This option may be used to specify further connection parameters to be passed - to PQconnectdb(). For example, this may be used to specify a service name in - pg_service.conf to be used for additional connection parameters: -o - 'service=' or to specify the SSL mode: -o 'sslmode=require'. - - See the chapter "libpq - C Library" in the PostgreSQL manual for details. - - * plugins/check_pgsql.c: check_pgsql: Removed -4/-6 flags from help - output. - - These options are not currently supported. - - * plugins/check_pgsql.c: check_pgsql: Allow UNIX socket directories as - hostname as well. - - PostgreSQL accepts the directory name of its UNIX socket as hostname as well, - e.g. /var/run/postgresql/. - - * plugins/check_pgsql.c: check_pgsql: Use PQconnectdb() rather than - PQsetdbLogin(). - - This is more flexible and the recommended way to connect to a PostgreSQL - database. - - Also, the verbose output now includes detailed information about the - connection. - -2011-04-06 Sebastian Harl - - * plugins/check_pgsql.c: check_pgsql: Fixed query perfdata output for - empty warn/crit ranges. - - Previously, "(null)" was printed (when using GNU's libc). This has been - changed to print the empty string instead. - - * plugins/check_pgsql.c: check_pgsql: Added support for executing - queries. - - The query result (the double value of the first column in the first row, to be - precise) will be checked against threshold ranges specified using the -C and - -W options. - - Note that this also allows to query PostgreSQL internal values using the - information available from the database daemon's "statistics collector" -- see - the chapter "Monitoring Database Activity" in the PostgreSQL manual for - details. - -2012-07-04 Holger Weiss - - * NEWS: Mention the new check_dbi plugin - -2012-07-04 Eric Stanley - - * plugins/check_smtp.c: Re-added missing variable declarations to - check_smtp.c - - A recent update removed the declarations for a couple variables in - check_smtp.c that are still being used, which caused a failure - in the compilation of check_smtp.c. This commit restores those variable - declarations so the check_smtp.c will again compile. - -2012-06-29 Holger Weiss - - * plugins/check_smtp.c: check_smtp: Remove a comment regarding MAIL FROM - - Earlier versions of check_smtp generated an (invalid) "MAIL FROM" - command without arguments by default. These days, a "MAIL FROM" command - is only sent if the --from option is specified. - - This commit removes a comment which explains the old behaviour, and it - updates a variable name accordingly. - - * plugins/check_smtp.c: check_smtp: Fix help and usage output regarding - -R - - * NEWS, THANKS.in: NEWS, THANKS: Mention Anders Kaseorg's changes - -2012-06-29 Anders Kaseorg - - * plugins/check_smtp.c: check_smtp: Fix strcat overflows - - * contrib/check_http-with-client-certificate.c, plugins/check_by_ssh.c, - plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_fping.c, plugins/check_game.c, plugins/check_hpjd.c, - plugins/check_http.c, plugins/check_ldap.c, plugins/check_load.c, - plugins/check_mrtgtraf.c, plugins/check_mysql.c, - plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c, - plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c, - plugins/negate.c, plugins/urlize.c, plugins/utils.c, plugins/utils.h: - Die when asprintf fails - - Fixes many instances of - warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] - - * plugins/check_smtp.c: check_smtp: Strip angle brackets from -f - argument, if provided - - Apparently some people used -f '' to work around - the bug I just fixed in the MAIL FROM: command generation. Although - the resulting command wasn't RFC-compliant, it was working with some - MTAs, so let's continue to support this syntax now that we generate - RFC-compliant commands. - -2012-06-28 Anders Kaseorg - - * plugins/check_smtp.c: check_smtp: Change MAIL FROM: command to comply - with the SMTP standard - - Every version of the SMTP standard (from RFC 821 to the current RFC - 5321) requires the address following MAIL FROM: to follow the colon - immediately (with no space) and to be surrounded by angle brackets. - -2012-06-28 Holger Weiss - - * package.def: Remove the package.def file - - The package.def file is not included in release tarballs, and I'm not - aware of anyone (still) using it. - -2012-06-27 Holger Weiss - - * BUGS: Remove #990948 from the BUGS file - - Issue #990948 has been fixed by commit - 0892c4ac28c4c2e3b6275187f845813b4cd6d320. - - * BUGS, ChangeLog, NEWS, NP-VERSION-GEN, configure.in, package.def: - Prepare for the 1.4.16 release - - * plugins/check_tcp.c: check_tcp: Print performance data even with -D - - When using the 1.4.15 release of the Nagios Plugins, a command such as - - check_tcp -H pop.example.com -p 995 -D 14 - - usually produced two lines of output, e.g.: - - OK - Certificate will expire on 12/13/2014 23:59. - TCP OK - 0.009 second response time on port 995|time=0.008849s;;;0.000000;10.000000 - - The second line was removed by 4d06603060fc1233861b164870f0d3a2e0d8d2eb. - However, as the old two-line output is a valid (though in this case - unintended) way to spit out performance data, removing the second line - might break current setups. Therefore, we revert to the old behaviour, - at least for the moment. - - The issue was reported by Jochen Bern on the "nagiosplug-devel" mailing - list (Message-ID: <4FEAE812.8030309@LINworks.de>). - - * BUGS: Update the BUGS file - - Remove the bug reports that were closed, and add two new items. - -2012-06-27 Sven Nierlein - - * plugins/check_snmp.c, plugins/tests/check_snmp.t: check_snmp: use - single quotes for perf data labels - -2012-06-26 Sven Nierlein - - * NEWS, THANKS.in, plugins/check_snmp.c, plugins/tests/check_snmp.t: Fix - performance data label containing spaces in check_snmp (Jochen Bern) - - Add --perf-oids option for check_snmp to retain optional 1.4.14 compatibility - -2012-06-26 Holger Weiss - - * THANKS.in: Remove team members from the THANKS file - - The (current and past) team members are listed in the AUTHORS file. - - * AUTHORS, THANKS.in: Add Sven Nierlein to the list of AUTHORS - -2012-06-25 William Leibzon - - * plugins/tests/check_http.t: added test case for certificate checs with - both warning and critical values - -2012-06-25 Sven Nierlein - - * plugins/sslutils.c, plugins/t/check_http.t, plugins/t/check_tcp.t: - check_http: added test for warning thresholds - - fixed typo in sslutils - - * NEWS, THANKS.in: updated changelog - -2012-05-21 William Leibzon - - * plugins/check_http.c, plugins/check_smtp.c, plugins/check_tcp.c, - plugins/netutils.h, plugins/sslutils.c: applied patch that adds both - critical and warning thresholds to certificate expiration checks of - check_tcp, check_http, check_smtp - -2012-06-25 Holger Weiss - - * plugins/check_ping.c: check_ping: Add missing newline to die() calls - - Our die() function expects the caller to append the trailing newline - character. - - * NEWS: Improve the wording a bit - -2012-06-24 Holger Weiss - - * THANKS.in, plugins/check_ping.c: check_ping: Ignore ping(1)'s exit - status - - Don't return a WARNING state if the number of lost packets is greater - than zero but below the specified warning threshold. This happened - because the check_ping plugin used the exit status of the ping(1) - utility. (#3535140 - Tobias Brox) - -2012-06-23 Holger Weiss - - * NEWS, THANKS.in, plugins-scripts/check_disk_smb.pl: check_disk_smb: - Add performance data - - (Debian #654259 - Charles-Henri Larose) - -2012-06-22 Holger Weiss - - * plugins/t/check_by_ssh.t: Fix check_by_ssh test for non-Bash login - shells - - In the C shell and in the Z shell, the "?" character must be quoted or - backslash-escaped in order to use it verbatim. Therefore, a command - such as - - check_by_ssh -H test.example.com -l joe echo huh? - - might fail, depending on joe's login shell on test.example.com. - - Just to make sure, this commit removes most punctuation characters from - our test strings. - -2012-06-14 Holger Weiss - - * THANKS.in, plugins-root/check_dhcp.c: check_dhcp: Don't misinterpret - the "siaddr" field - - RFC 2131 (2.) says: "DHCP clarifies the interpretation of the 'siaddr' - field as the address of the server to use in the next step of the - client's bootstrap process." So, we shouldn't interpret this field as - the DHCP server's own address. (#3503921 - Jason Ellison) - -2012-06-13 Holger Weiss - - * NEWS, plugins-root/check_dhcp.c: check_dhcp: Fix handling of "pad" - options - - Don't let "pad" options[*] terminate the parsing of DHCP options. This - bug was triggered by using check_dhcp against Windows 2003 DHCP servers - (see #3503921). - - [*] Cf. RFC 2132, 3.1. - -2012-06-11 Holger Weiss - - * NEWS, THANKS.in, plugins/check_ping.c: Improve parsing of ping6(1) - output - - The ping6(1) implementation provided by Debian's iputils-ping package - may produce output such as the following: - - | 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2009ms - - There's a corresponding pattern in check_ping.c:458: - - | "%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss" - - Without this fix, the pattern in check_ping.c:456 matched first (as - sscanf(3) interprets "+3" as a match for "%d"): - - | "%*d packets transmitted, %*d received, %d%% loss, time" - - (#1894850 - Debian bug report #514588 - Matej Vela) - - * plugins/sslutils.c: Fix whitespace and capitalization issues - - Fix indentation and whitespace issues, and correct some capitalization - errors in error messages. The behaviour is unchanged. - - * plugins/sslutils.c: Don't use SSLv2 when compiling against GnuTLS - - GnuTLS doesn't support SSL version 2. - -2012-06-08 Sebastian Harl - - * plugins/t/check_dbi.t: t/check_dbi.t: Don't use 'INSERT … VALUES - (a,b), (c,d)' with SQLite3. - - Older versions of SQLite3 don't seem to support that. - -2012-06-08 Sebastian Harl - - * plugins/t/check_dbi.t: Added a few test cases for the check_dbi - plugin. - - All tests use sqlite3. A temporary database is created for the purpose of the - tests. - -2012-06-07 Holger Weiss - - * plugins/check_users.c: check_users: Whitespace fixes, etc. - - * NEWS, THANKS.in: Update NEWS and THANKS w.r.t. check_users change - -2012-04-17 M. Remy - - * plugins/Makefile.am, plugins/check_users.c: check_users: improve - performance - - This patch use the utxent function family to collect the user data. It improve the check speed. - Need a system conforming to POSIX.1-2001. - -2012-06-06 Sebastian Harl - - * plugins/check_dbi.c: check_dbi: Hint the user about cause when dbi - init fails. - -2011-04-18 Sebastian Harl - - * plugins/check_dbi.c: check_dbi: Added simple regex example to help - output. - - * plugins/check_dbi.c: check_dbi: Added SERVER_VERSION metric. - - This metric compares the database engine server version with the specified - ranges. The version string [[[[A.]B.]C.]D.]E[.] is returned as E + D*100 + - C*10000 + B*1000000 + A*100000000 (see libdbi's dbi_conn_get_engine_version() - documentation). - - * plugins/check_dbi.c: check_dbi: Added -r and -R options. - - These options may be used to specify an extended POSIX regular expression that - is applied to the query result. When using -R, a case-insensitive match is - done. - - The options may not be mixed with -w/-c/-e. - -2011-04-15 Sebastian Harl - - * plugins/check_dbi.c: check_dbi: Added -e option. - - This option may be used to specify a string that is expected as the query - return value. The string is compared to the query result using strcmp(). - - The option may not be mixed with -w/-c. - - * plugins/check_dbi.c: check_dbi: Added some examples to the help - output. - - * plugins/check_dbi.c: check_dbi: Added QUERY_TIME metric. - - This metric checks the execution time of the specified query. In case the - query does not return any (parsable) data, this is not treated as an error - when using this metric. - - * plugins/check_dbi.c: check_dbi: Replaced -W/-C with -m. - - The -m option may be used to specify a metric to check the thresholds against. - This is more flexible than --conntime-warning/--conntime-critical (-W/-C) as - it may be extended to support further metrics without introducing tons of - arguments. Also, it does not make much sense to check the conntime and query - result at the same time. - - Currently, the metrics CONN_TIME and QUERY_RESULT are available. - - A query is no longer required unless QUERY_RESULT (the default) is used. - -2011-04-08 Sebastian Harl - - * plugins/check_dbi.c: check_dbi: Fixed/improved perfdata output. - - - do not use zero as 'min' value for the query result perfdata - - - added all semicolons - -2011-04-07 Sebastian Harl - - * plugins/check_dbi.c: check_dbi: Check and report the time used by the - query. - - * plugins/check_dbi.c: check_dbi: Added threshold ranges for the - connection time. - - The -W and -C options are used for that. The plugin return value is determined - by the worst check result. - - * plugins/check_dbi.c: check_dbi: Include extra opts in help output. - - * .gitignore, REQUIREMENTS, configure.in, plugins/Makefile.am, - plugins/check_dbi.c: Initial version of the 'check_dbi' plugin. - - This plugin connects to an SQL database using libdbi, thus supporting all - database backends supported by libdbi. It will then issue the specified SQL - query and check the result (the numeric value of the first column of the first - row to be precise) against the specified warning/critical ranges. - - The performance data includes the connection time (µs-resolution as provided - by gettimeofday()) and the query result. - -2012-06-06 Sebastian Harl - - * plugins/sslutils.c: sslutils: Check if OpenSSL supports SSLv2. - - Recent versions/builds seem to disable that feature. - -2012-05-29 Holger Weiss - - * NEWS, THANKS.in, plugins-scripts/utils.sh.in: Mention the check_range - function in NEWS, etc. - -2012-04-18 Alex Griffin - - * plugins-scripts/utils.sh.in: Added check_range shell function to - utils.sh.in - -2012-05-29 Holger Weiss - - * plugins/check_http.c: check_http: Fix -C/--certificate option handling - - The support for specifying the desired SSL protocol version via an - optional -S/--ssl argument broke the -C/--certificate option. This is - fixed now. - -2012-05-28 Holger Weiss - - * plugins/check_http.c: check_http: Don't ignore SSL initialization - errors - - SSL initialization errors are now handled properly by check_http - (#3095106 - Eric Schoeller). - - * NEWS, THANKS.in, plugins/check_http.c, plugins/sslutils.c: Add support - for specifying SSL protocol version - - The check_http -S/--ssl option now takes an optional argument which - specifies the desired SSL/TLS protocol version (#3285367 - Jason Lunn). - -2012-05-07 Holger Weiss - - * NEWS, plugins/sslutils.c: Disable stateless SSL session resumption - - Some versions of OpenSSL fail to negotiate the SSL connection with at - least some versions of Tomcat if stateless SSL session resumption - support (see RFC4507) is enabled: - - | CRITICAL - Cannot make SSL connection - | 140099330348712:error:140943F2:SSL routines:SSL3_READ_BYTES:sslv3 alert unexpected message:s3_pkt.c:1195:SSL alert number 10 - - The problem is reproducible with OpenSSL 1.0.0h, but not with OpenSSL - 0.9.8o-4squeeze12 (as shipped with Debian 6.0.4). We work around it by - disabling the RFC4507 functionality when using OpenSSL versions which - support it. - - Thanks to Dag Bakke for reporting the issue and for giving me access to - a server I could use to reproduce the problem. - -2012-04-17 Holger Weiss - - * .gitignore: Add nagios-plugins.spec file to .gitignore - - The nagios-plugins.spec file is created from nagios-plugins.spec.in and - should be ignored by Git. - -2012-04-17 Jan Wagner - - * NEWS, plugins/check_ping.c: Fix check_ping where output of ping6 when - unreachable (Debian #662638) - -2012-04-09 Holger Weiss - - * NEWS: Mention check_by_ssh -F option in NEWS file - -2012-04-09 Sven Nierlein - - * plugins/check_by_ssh.c, plugins/t/check_by_ssh.t: check_by_ssh: added - -F config file to specify alternative ssh config - -2012-04-06 Eric Stanley - - * Makefile.am, configure.in, nagios-plugins.spec.in, - po/nagios-plugins.pot: Updated to support compiling and building RPM on - AIX. - -2012-02-24 Holger Weiss - - * plugins/check_http.c: Clarify that check_http won't verify - certificates - - Add a note to the --help output which clarifies that check_http doesn't - perform certificate verification (beyond what the "-C" option does). - - (Suggested by Michael Renner in Debian bug report #644627, forwarded by - Jan Wagner.) - - * plugins/check_snmp.c: Cosmetic change - - Replace all occurrences of "strstr(s, "c") == s" with "s[0] == 'c'". - - * plugins/check_snmp.c: Accept multiple labels specified with "-l" - - Fix the code which accepts a comma-separated list of labels specified - via the "-l" option. - - (Spotted by Oskar Liljeblad in Debian bug report #647020, forwarded by - Jan Wagner.) - -2012-02-10 Eric Stanley - - * configure.in, plugins/common.h: Enable compiling on AIX 6.1 - -2012-01-20 Eric Stanley - - * Makefile.am, pkg/solaris/solpkg: Added pst3 to Solaris package. - -2011-12-25 Holger Weiss - - * NEWS, perlmods/Nagios-Plugin-0.34.tar.gz, - perlmods/Nagios-Plugin-0.36.tar.gz: Updated Nagios::Plugin library - -2011-12-16 Eric Stanley - - * Makefile.am, pkg/solaris/pkginfo.in, pkg/solaris/solpkg: Commit files - which were inadvertently omitted from the previous commit. - - * pkg/solaris/preinstall: Updated Solaris package creation to newer - standards - - The Solaris package creation has been updated to newer standards to match those - of the NRPE package. The following changes have been made: - - the plugins now install under /opt/nagios - - the name of package is now NGOSplugin - - the files installed are now owned by the nagios user - - the package includes a pre-installation script that creates a nagios user - and a nagios group if one did not previously exist - - * m4/np_mysqlclient.m4: Fixed issue for compiling mysql plugin on - Solaris - - On Solaris, in the case where the mysql libraries were compiled using a - non-gcc compiler, but the plugins are being compiled with gcc, the configure - process would incorrectly determine the MYSQLCFLAGS. This has been corrected - in the m4/np_mysqlclient.m4 file. - -2011-09-07 Holger Weiss - - * plugins-scripts/check_sensors.sh: check_sensors: Use symbolic exit - codes - - Specify the exit codes by using the constants from utils.sh. - - * plugins-scripts/check_sensors.sh: check_sensors: Minor whitespace - fixes - - * NEWS, plugins-scripts/check_sensors.sh: check_sensors: Detect FAULT - status - - Return an UNKNOWN status if a faulty sensor is detected. This can be - suppressed with the new "--ignore-fault" option. - - (Fixes Debian bug #615133, patch suggested by Jan Wagner.) - -2011-09-06 Thomas Guyot-Sionnest - - * plugins/check_radius.c: Make GCC happy - - It won't trust us about msg containing no format string, and fail miserably - when compiled with -Werror=format-security. Reported by spy6 on IRC. - -2011-08-13 Matthias Eble - - * plugins/check_ldap.c: Fix: check_ldap now correctly handles the long - option --hostname for -H - - The undocumented --host has been changed to --hostname which is actually - mentioned in --help. Thanks to lgarrett (#3191388) - -2011-07-15 Ton Voon - - * NEWS, plugins/check_smtp.c, plugins/check_tcp.c: Fix check_smtp and - check_tcp where duplicate messages were displayed for certificate errors - (Opsview team) - - * NEWS, plugins/check_smtp.c: New option to check_smtp to ignore - failures when sending QUIT (#3358348 - Duncan Ferguson) - -2011-04-28 Sebastian Harl - - * NEWS, THANKS.in, plugins-root/check_icmp.c: check_host: Allocate a - large-enough buffer for the host table. - - When specifying a host-name on the command line, each of its IPs is added to - the host table (and each one is pinged). So, the buffer has to be large enough - to hold all of the respective host objects. (argc - 1) only fits hosts with a - single IP. - - Thanks to Max Kosmach for reporting this in Debian bug #623702. - -2011-03-26 Thomas Guyot-Sionnest - - * NEWS, THANKS.in, plugins/check_ssh.c: Add perfdata to check_ssh - (#3244097 - Marco Beck) - -2011-02-08 Holger Weiss - - * plugins/check_smtp.c: check_smtp: Abort on missing/unexpected greeting - - Abort immediately if we don't receive a server greeting or if the - greeting doesn't contain the "--expect"ed string (by default: "220") - instead of blindly sending the EHLO/HELO line. - - Spotted by Daniel Piddock, see Debian bug report #611914. - -2011-02-04 Thomas Guyot-Sionnest - - * NEWS, THANKS.in, plugins/sslutils.c, plugins/t/check_http.t, - plugins/tests/check_http.t: check_http: check for and print the - certificate cn - - This patch adds a check for the certificate cn (hostname) to normal - certificate checks. It returns CRITICAL if th cn is missing, otherwise it - prints it in the normal output. - - Patch by Stéphane Urbanovski - -2011-01-21 Ton Voon - - * NEWS, plugins/check_procs.c, plugins/tests/check_procs.t: Fix for - regex input of '|', being output causing problems with Nagios' parsing - of - performance data. Now replaced with ',' - -2011-01-05 Thomas Guyot-Sionnest - - * plugins/t/check_snmp.t, plugins/tests/check_snmp.t, - plugins/tests/check_snmp_agent.pl: Test updates... - - 1. Timetick test could fail with uptime > 115 days. Thresholds are - double type, so it's safe to put a large number even for 32bit systems. - 2. Add a test based on an invalid bug report, worthy anyway. - -2011-01-01 Thomas Guyot-Sionnest - - * tools/sfsnapshot-upload: Update the README text - - * NEWS, plugins/check_http.c: Make check_http use standard threshold - functions - - This enables floating point and ranges, and make the code more standard. - -2010-12-23 Thomas Guyot-Sionnest - - * NEWS, plugins/check_ldap.c: Fix check_ldap overriding the port when - --ssl was specified after -p - -2010-11-30 Thomas Guyot-Sionnest - - * plugins/tests/check_http.t, plugins/tests/check_snmp.t: Fix minor test - issues - - My Test::More wouldn't print the total number of tests anymore, moving - the plan at the top appears to fix it. - - At the same time I made check-http.t eval the special modules so it can - skip the tests instead of failing. - - * NEWS, plugins/check_snmp.c, plugins/tests/check_snmp.t: Revert - "check_snmp now considers strings returned by SNMP that contain just" - - This reverts commit 896962a1ad1b7d7c75d42c565b06cc799feb0a7c. - - Conflicts: - - NEWS - plugins/tests/check_snmp.t - - Notes: - Reverting because I rebased a patch that was doing the same thing, plus - fixing more related regressions, and both didn't work together. - I kept the tests intact except for one that wouldn't pass on 1.4.14 - either - - * plugins/tests/check_snmp.t: State-based tests enhancements - - - Use /var/tmp for state if no state dir environment variable is set, - this avoid the need for a writable localstatedir during tests. - - Use "rm -f", mostly to avoid printing out garbage of the directory - doesn't exists - - * NEWS, plugins/check_snmp.c, plugins/t/check_snmp.t: check_snmp: Remove - that is_numeric madness - - Original patch to make Timeticks works as in check_snmp v1.4.14, it turns - out is_numeric isn't so useful and treating all types as numeric works - best for backwards-compatibility. This is how it used to work in 1.4.14. - - As a special case, I also make calculate_rate look up for numeric values - as it would otherwise return the last value instead. - -2010-11-28 Matthias Eble - - * plugins-scripts/t/check_disk_smb.t: add test cases for check_disk_smb - - * NEWS, plugins-scripts/check_disk_smb.pl: check_disk_smb now handles - NT_STATUS_ACCESS_DENIED properly (Debian #601696) - - * NEWS, plugins-scripts/check_disk_smb.pl: Make check_disk_smb accept - spaces in share names (#990948, #1370031, Debian #601699) - -2010-11-15 Matthias Eble - - * NEWS, lib/utils_disk.c, lib/utils_disk.h, plugins/check_disk.c: Fix - check_disk free space calculation if blocksizes differ within a disk - group (Bekar - #2973603) - - Various values (dused_pct, dfree_pct, inodes_free, inodes_total, ...) are now carried in - the parameter_list structure. Assignments have been moved to a subroutine preventing - code redundancies. - Group metrics are now calculated based on units rather than blocks. This fixes freespace calculation - when blocksizes differ within a group. - -2010-11-15 nagios - - * NEWS, plugins/check_snmp.c, plugins/tests/check_snmp.t, - plugins/tests/check_snmp_agent.pl: check_snmp now considers strings - returned by SNMP that contain just - numbers (according to strtod) to be a numeric value for threshold and - performance data - -2010-10-16 Thomas Guyot-Sionnest - - * NEWS: Update NEWS for last commit - -2010-10-13 Thomas Guyot-Sionnest - - * THANKS.in, plugins/check_nt.c: check_nt: make UPTIME accept - warning/critical levels - - Patch originally by Ryan Kelly - -2010-10-11 Thomas Guyot-Sionnest - - * tools/sfsnapshotgit: sfsnapshotgit: Better handling of remote refs - - This commit allow to track branches from unusually-named remote refs and - makes possible using external remotes (other than origin) for snapshots. - -2010-10-05 Thomas Guyot-Sionnest - - * contrib/check_linux_raid.pl: Patch for check_linux_raid with on - linear/raid0 arrays - - Fixes bug #3049988, Debian bug #579049 - -2010-08-31 Ton Voon - - * plugins/check_http.c: Fix typos in -f help text - -2010-07-27 Holger Weiss - - * COPYING: Update the COPYING file to the GPLv3 - - We switched to the GPLv3 early in 2008, but we forgot to update the - COPYING file accordingly. - -2010-07-27 Ton Voon - - * BUGS, ChangeLog, NEWS, NP-VERSION-GEN, configure.in, package.def: - 1.4.15 prep - -2010-07-14 Ton Voon - - * tools/sfsnapshot-upload: Added text re: MD5SUM updates in nightlies, - but tarballs not - -2010-07-09 Thomas Guyot-Sionnest - - * plugins/check_snmp.c, po/de.po, po/fr.po, po/nagios-plugins.pot: Fix - --help output when MAX_OIDS is altered. - -2010-07-07 Ton Voon - - * NEWS, plugins/check_disk.c: Fix examples in check_disk, where it - implied was possible to suffix unit values to warn/crit parameters - - * NEWS, THANKS.in, plugins-scripts/check_ifstatus.pl: Allow - check_ifstatus to accept version=2c - -2010-07-02 Thomas Guyot-Sionnest - - * NEWS, lib/utils_cmd.c: Fix cmd_run overwriting the environment - - Some commands need the environment to function properly. One such - example is check_ssh and check_by_ssh when a SOCKS proxy is required. - - This patch use setenv and extern char **environ to alter and pass the - new environment to the child process Those modules have been added to - Gnulib for portability. - - * gl/Makefile.am, gl/m4/gnulib-cache.m4: Import the environ module from - gnulib (86ba51) - -2010-07-02 Holger Weiss - - * tools/git-notify: git-notify: Be careful with "--no-merge" - - The "-X" option (which asks git-notify to not report merge commits) was - implemented by setting the "--no-merge" option on each invocation of - git-rev-list(1). However, we do not only use git-rev-list(1) to get the - list of new commits, but also to check whether the old branch head (or - tag) is a parent of the new branch head (or tag). For this latter - check, the "--no-merge" option should not be set; otherwise, git-notify - would be fooled to believe that the branch has been rewritten if the old - head was a merge commit. - -2010-06-30 tonvoon - - * plugins/check_snmp.c, plugins/tests/check_snmp.t: Corrected - rate_multiplier calculation - - * plugins/check_snmp.c, plugins/tests/check_snmp.t: Removed suffix of - "-rate" and let user decide label via --label - - * plugins/check_snmp.c, plugins/tests/check_snmp.t: Tests for - --rate-multiplier option - -2010-06-30 Ton Voon - - * plugins/check_snmp.c: Fixed rate-multiplier option - -2010-06-25 tonvoon - - * lib/tests/Makefile.am: Add test file directory - -2010-06-24 Ton Voon - - * lib/tests/test_utils.c, lib/utils_base.c: Cleanup some warnings - displayed from IRIX tinderbox server - - * gl/Makefile.am, gl/m4/eealloc.m4, gl/m4/environ.m4, - gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/malloca.m4, - gl/m4/setenv.m4, gl/malloca.c, gl/malloca.h, gl/malloca.valgrind, - gl/setenv.c, gl/unsetenv.c: Added unsetenv and setenv from gnulib - - * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, - gl/m4/strsep.m4, gl/strsep.c: Added strsep to gnulib, for check_snmp.c - -2010-06-23 tonvoon - - * NEWS, plugins/check_snmp.c, plugins/tests/check_snmp.t, - plugins/tests/check_snmp_agent.pl, po/de.po, po/fr.po, - po/nagios-plugins.pot: Added option to invert search results - - * NEWS, plugins/check_http.c, plugins/tests/check_http.t: Display - missing search string and URL when failed (Duncan Ferguson #2999924) - -2010-06-17 Ton Voon - - * NEWS, build-aux/c++defs.h, build-aux/warn-on-use.h, gl/Makefile.am, - gl/alloca.c, gl/config.charset, gl/error.c, gl/getopt.c, - gl/getopt_int.h, gl/localcharset.c, gl/m4/asm-underscore.m4, - gl/m4/getopt.m4, gl/m4/gettext.m4, gl/m4/gnulib-cache.m4, - gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, - gl/m4/intl.m4, gl/m4/lib-link.m4, gl/m4/netdb_h.m4, gl/m4/onceonly.m4, - gl/m4/po.m4, gl/m4/printf.m4, gl/m4/sha1.m4, gl/m4/sockpfaf.m4, - gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/string_h.m4, gl/m4/strnlen.m4, - gl/m4/time_h.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, - gl/m4/visibility.m4, gl/netdb.in.h, gl/regex_internal.c, - gl/regex_internal.h, gl/sha1.c, gl/sha1.h, gl/stdbool.in.h, - gl/stdio-write.c, gl/stdio.in.h, gl/strerror.c, gl/string.in.h, - gl/sys_stat.in.h, gl/time.in.h, gl/unistd.in.h, gl/vasnprintf.c, - gl/verify.h, gl/wchar.in.h, lib/Makefile.am, lib/tests/Makefile.am, - lib/tests/test_utils.c, lib/tests/var/.gitignore, lib/tests/var/baddate, - lib/tests/var/missingdataline, lib/tests/var/oldformat, - lib/tests/var/statefile, lib/utils_base.c, lib/utils_base.h, - plugins/Makefile.am, plugins/check_snmp.c, plugins/tests/check_snmp.t, - plugins/tests/check_snmp_agent.pl: Added state retention APIs. - Implemented for check_snmp with --rate option. - - See http://nagiosplugin.org/c-api-private for more details on the API. - - Also updated check_snmp -l option to change the perfdata label. - -2010-06-18 Thomas Guyot-Sionnest - - * NEWS: NEWS entry for last commit - -2009-08-05 Thomas Guyot-Sionnest - - * configure.in: Attempt at detecting 64bit compilation flags between - gcc, old, and new versions of sun cc - - Gcc accepts -m64, just as newer version of Suncc. - Older Suncc required -xarch=v9 (SPARC) or -xarch=amd64 (x86-64) to generate 64bit code. - -2010-05-08 Thomas Guyot-Sionnest - - * plugins/check_smtp.c: Add missing --fqdn help (Jan Wagner) - -2010-04-28 Thomas Guyot-Sionnest - - * plugins/utils.h, po/de.po, po/fr.po, po/nagios-plugins.pot: Update - extra-opts help text based on ML agreement - - * .gitignore, tools/distclean: use git-clean when possible - - git-clean is much faster and more reliable... - - Also add confdefs.h in gitignore, although this file is normally removed - at the end of the configure script. - - * build-aux/ltmain.sh, gl/m4/libtool.m4, gl/m4/ltoptions.m4, - gl/m4/ltsugar.m4, gl/m4/ltversion.m4, gl/m4/lt~obsolete.m4: Update - libtool - - Nagios-plugins wouldn't compile on Ubuntu 10.04 (Lucid) with the old libtool - -2010-04-22 Thomas Guyot-Sionnest - - * plugins-root/check_dhcp.c, plugins-root/check_icmp.c, - plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_cluster.c, - plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c, - plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ide_smart.c, - plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c, - plugins/check_mysql.c, plugins/check_mysql_query.c, - plugins/check_nagios.c, plugins/check_nt.c, plugins/check_ntp.c, - plugins/check_ntp_peer.c, plugins/check_ntp_time.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c, - plugins/negate.c, plugins/urlize.c: Add newline after "Usage:" in --help - - * plugins/check_cluster.c: Split long line in check_cluster --help - -2010-04-21 Thomas Guyot-Sionnest - - * po/de.po, po/fr.po, po/nagios-plugins.pot: Update French translations - with extra-opts change - - * plugins-root/check_dhcp.c, plugins-root/check_icmp.c, - plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_cluster.c, - plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_fping.c, plugins/check_game.c, plugins/check_hpjd.c, - plugins/check_http.c, plugins/check_ide_smart.c, plugins/check_ldap.c, - plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c, - plugins/check_mysql.c, plugins/check_mysql_query.c, - plugins/check_nagios.c, plugins/check_nt.c, plugins/check_ntp.c, - plugins/check_ntp_peer.c, plugins/check_ntp_time.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c, - plugins/utils.h: Standardize the extra-opts notes - - * NEWS, plugins/tests/check_snmp.t: Fix tests and update NEWS file - -2010-04-15 Thomas Guyot-Sionnest - - * plugins/check_snmp.c: Replace the lousy multiline parser with a robust - one. - - This one counts double quotes and backslashes so it should handle any - level of escaping. - -2009-09-17 Thomas Guyot-Sionnest - - * plugins/check_snmp.c, plugins/tests/check_snmp_agent.pl: Attempt at - fixing check_snmp multiline output: - - This patch tries to detect and output nicely multi-line strings. This - method is broken by design; only a count of double-quotes and escapes - could work in every situation. - -2010-04-15 tonvoon - - * NEWS, perlmods/Nagios-Plugin-0.27.tar.gz, - perlmods/Nagios-Plugin-0.34.tar.gz: Updated Nagios::Plugin library - -2010-04-14 Holger Weiss - - * tools/git-notify: git-notify: Fix the ordering of commits - - If notifications for multiple commits are created, sort them - chronologically instead of in reverse chronological order. - -2010-04-14 Thomas Guyot-Sionnest - - * NEWS, plugins-root/check_dhcp.c, plugins-root/check_icmp.c, - plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_cluster.c, - plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c, - plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ide_smart.c, - plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c, - plugins/check_mrtgtraf.c, plugins/check_mysql.c, - plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c, - plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c, - plugins/negate.c, plugins/urlize.c, plugins/utils.h, po/POTFILES.in, - po/de.po, po/fr.po, po/nagios-plugins.pot: Fix translations when - extra-opts aren't enabled - - Bug #2832884 reported problem with translations outputting pot file - headers. This is caused by "" matching the header of the translation - files. - - This patch moves gettext macros inside utils macros and update some - french translations. - - * plugins/check_ntp.c, plugins/negate.c, po/de.po, po/fr.po, - po/nagios-plugins.pot: Update french translation (fix all fuzzy's) - - * NEWS, THANKS.in, plugins/check_radius.c: Fix check_radius returning OK - on unexpected results - - REJECT_RC is defined on some radiusclient versions and differenciates - between auth errors and bad responses. This patch will affect only the - behaviour of those clients exporting REJECT_RC. - - In addition, unexpected return codes are now handled properly and - return UNKNOWN. - - * NEWS: Typo - -2010-04-08 Thomas Guyot-Sionnest - - * NEWS, plugins-root/Makefile.am, plugins-root/pst3.c: pst3.c must not - use nagiosplug/gnulib includes - -2010-04-07 Thomas Guyot-Sionnest - - * .gitignore, build-aux/arg-nonnull.h, build-aux/c++defs.h, - build-aux/config.rpath, build-aux/mkinstalldirs, - build-aux/warn-on-use.h, gl/Makefile.am, gl/alignof.h, gl/alloca.c, - gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c, - gl/base64.c, gl/base64.h, gl/basename-lgpl.c, gl/basename.c, gl/btowc.c, - gl/c-strtod.c, gl/c-strtod.h, gl/cloexec.c, gl/cloexec.h, - gl/close-hook.c, gl/close-hook.h, gl/config.charset, gl/creat-safer.c, - gl/dirname-lgpl.c, gl/dirname.c, gl/dirname.h, gl/dup-safer.c, - gl/dup2.c, gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, - gl/exitfail.h, gl/fcntl--.h, gl/fcntl-safer.h, gl/fcntl.c, - gl/fcntl.in.h, gl/fd-safer.c, gl/float+.h, gl/float.in.h, gl/floor.c, - gl/floorf.c, gl/fsusage.c, gl/fsusage.h, gl/full-read.c, gl/full-read.h, - gl/full-write.c, gl/full-write.h, gl/gai_strerror.c, gl/getaddrinfo.c, - gl/getdtablesize.c, gl/gethostname.c, gl/getloadavg.c, gl/getopt.c, - gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, gl/gettext.h, - gl/inet_ntop.c, gl/intprops.h, gl/langinfo.in.h, gl/localcharset.c, - gl/localcharset.h, gl/locale.in.h, gl/m4/00gnulib.m4, gl/m4/alloca.m4, - gl/m4/arpa_inet_h.m4, gl/m4/base64.m4, gl/m4/btowc.m4, - gl/m4/c-strtod.m4, gl/m4/cloexec.m4, gl/m4/codeset.m4, gl/m4/dirname.m4, - gl/m4/dos.m4, gl/m4/double-slash-root.m4, gl/m4/dup2.m4, - gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/exitfail.m4, - gl/m4/extensions.m4, gl/m4/fcntl-o.m4, gl/m4/fcntl-safer.m4, - gl/m4/fcntl.m4, gl/m4/fcntl_h.m4, gl/m4/float_h.m4, gl/m4/floorf.m4, - gl/m4/fstypename.m4, gl/m4/fsusage.m4, gl/m4/getaddrinfo.m4, - gl/m4/getdtablesize.m4, gl/m4/gethostname.m4, gl/m4/getloadavg.m4, - gl/m4/getopt.m4, gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/glibc21.m4, - gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, - gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, - gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inline.m4, - gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intldir.m4, gl/m4/intlmacosx.m4, - gl/m4/intmax.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, - gl/m4/inttypes_h.m4, gl/m4/langinfo_h.m4, gl/m4/lcmessage.m4, - gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, - gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, - gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/lock.m4, gl/m4/longlong.m4, - gl/m4/ls-mntd-fs.m4, gl/m4/malloc.m4, gl/m4/math_h.m4, gl/m4/mbrtowc.m4, - gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/memchr.m4, gl/m4/mktime.m4, - gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, gl/m4/mountlist.m4, - gl/m4/multiarch.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4, - gl/m4/nl_langinfo.m4, gl/m4/nls.m4, gl/m4/onceonly.m4, gl/m4/open.m4, - gl/m4/po.m4, gl/m4/printf-posix.m4, gl/m4/printf.m4, gl/m4/progtest.m4, - gl/m4/regex.m4, gl/m4/safe-read.m4, gl/m4/safe-write.m4, - gl/m4/servent.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, - gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/ssize_t.m4, - gl/m4/stat.m4, gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, - gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, - gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/strndup.m4, - gl/m4/strnlen.m4, gl/m4/strstr.m4, gl/m4/sys_socket_h.m4, - gl/m4/sys_stat_h.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, - gl/m4/time_r.m4, gl/m4/timegm.m4, gl/m4/uintmax_t.m4, - gl/m4/unistd-safer.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, - gl/m4/vasprintf.m4, gl/m4/visibility.m4, gl/m4/vsnprintf.m4, - gl/m4/warn-on-use.m4, gl/m4/wchar_h.m4, gl/m4/wchar_t.m4, - gl/m4/wcrtomb.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/write.m4, - gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/xstrndup.m4, gl/malloc.c, - gl/math.in.h, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c, - gl/memchr.valgrind, gl/mktime-internal.h, gl/mktime.c, gl/mountlist.c, - gl/mountlist.h, gl/netdb.in.h, gl/netinet_in.in.h, gl/nl_langinfo.c, - gl/open-safer.c, gl/open.c, gl/pipe-safer.c, gl/printf-args.c, - gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/ref-add.sin, - gl/ref-del.sin, gl/regcomp.c, gl/regex.c, gl/regex.h, - gl/regex_internal.c, gl/regex_internal.h, gl/regexec.c, gl/safe-read.c, - gl/safe-read.h, gl/safe-write.c, gl/safe-write.h, gl/size_max.h, - gl/snprintf.c, gl/sockets.c, gl/sockets.h, gl/stat.c, gl/stdbool.in.h, - gl/stddef.in.h, gl/stdint.in.h, gl/stdio-write.c, gl/stdio.in.h, - gl/stdlib.in.h, gl/str-two-way.h, gl/strdup.c, gl/streq.h, - gl/strerror.c, gl/string.in.h, gl/stripslash.c, gl/strndup.c, - gl/strnlen.c, gl/strstr.c, gl/sys_socket.in.h, gl/sys_stat.in.h, - gl/time.in.h, gl/time_r.c, gl/timegm.c, gl/unistd--.h, - gl/unistd-safer.h, gl/unistd.in.h, gl/vasnprintf.c, gl/vasnprintf.h, - gl/vasprintf.c, gl/verify.h, gl/vsnprintf.c, gl/w32sock.h, - gl/wchar.in.h, gl/wcrtomb.c, gl/wctype.in.h, gl/write.c, - gl/xalloc-die.c, gl/xalloc.h, gl/xmalloc.c, gl/xsize.h, gl/xstrndup.c, - gl/xstrndup.h, tools/setup: Sync with the latest Gnulib code (177f525) - -2010-04-13 Holger Weiss - - * plugins/check_ntp_peer.c: Fix typo - -2010-04-12 Holger Weiss - - * contrib/check_linux_raid.pl: Fix Debian bug #574612: Return WARNING on - rebuild - - Let check_linux_raid return a WARNING instead of an OK state during - volume recovery. - - See: http://bugs.debian.org/574612 - - (Fixed by Christoph Martin, forwarded by Jan Wagner.) - - * contrib/check_linux_raid.pl: Fix Debian bug #534604: Checking md10 and - above - - | check_linux_raid malfunctions if system has software RAID devices with - | two or more digits. For example, for system having /dev/md10, - | /dev/md11 etc, the plugin returns 'UNKNOWN' in automatic mode (if RAID - | devices are manually specified it works). Also, if system has both - | one-digit, and two-digit RAID devices, the two-digit devices are - | silently ignored in checks, which is even more problematic. - - [ http://bugs.debian.org/534604 ] - - (Fixed by Matija Nalis, forwarded by Jan Wagner.) - - * NEWS, plugins-scripts/check_ircd.pl: Fix Debian bug #545940: Failure - when run via ePN - - If Perl's "shift" function is called outside of a subroutine and without - any argument, it usually shifts @ARGV. However, if a plugin is executed - via ePN, such a call will shift @_ instead, so we must explicitly - specify @ARGV for this to work as expected. - - This fixes Debian bug #545940, see: http://bugs.debian.org/545940 - - Commit de7191e3424e02ba278a39b86e8b1906a25d0362 fixed the same issue for - check_disk_smb. - - (Reported by Hendrik Jaeger, forwarded by Jan Wagner.) - -2010-04-11 Holger Weiss - - * NEWS, plugins/check_radius.c: Fix Debian bug #482947: No - --nas-ip-address option - - | check_radius doesn't seem to provide any way to modify the - | NAS-IP-Address attribute that it uses in the packets it sends, but it - | does so for NAS-Identifier. - | - | Instead, it hardcodes the IP address that it gets from the - | rc_own_ipaddress() library call, and that in turn translates into - | calling gethostbyname() on the result of uname(). This call can easily - | fail, and its result can easily be unsuitable - for example when the - | Nagios instance uses its own virtual host, and you don't want the - | original system hostname leaked to the RADIUS servers you monitor with - | this. - | - | Furthermore, this behaviour is inconsistent with RFC 2865, which - | defines the two attributes as analogous and never suggests hardcoding - | the value of either of them in client software. - - Therefore, this commit adds the "-N, --nas-ip-address" option which - allows for specifying the value of the NAS-IP-Address attribute. - - | I've also noticed that the original code for NAS-IP-Address hardcoding - | is broken in its error handling - it does "return (ERROR_PC)", which - | is meaningless in the context of check_radius.c. That actually seems - | to be copy&waste from radiusclient-0.3.2/src/radexample.c. :) I fixed - | that. - | - | While debugging, I also took the opportunity to decouple the - | nas-identifier rc_avpair_add() instance from the initial three, - | because this is just bad practice to lump a fourth optional attribute - | into the same block with the required attributes, the error handling - | for which is throwing the same daft message "Out of Memory?"... - - [ http://bugs.debian.org/482947 ] - - (Contributed by Josip Rodin, forwarded by Jan Wagner.) - - * NEWS, plugins/check_ldap.c: Fix Debian bug #479984: Allow empty LDAP - base - - The check_ldap plugin did not allow for specifying an empty LDAP base. - - See: http://bugs.debian.org/479984 - - (Fixed by Stephane Chazelas, forwarded by Jan Wagner.) - - * plugins/check_http.c: Fix Debian bug #460097: check_http -M broken - - See: http://bugs.debian.org/460097 - - One instance of this bug has already been fixed in commit - 888358122004b9571c8fbdfa52ceee1ba5e5f4f2. - - (Fixed by Hilko Bengen, forwarded by Jan Wagner.) - - * plugins-scripts/check_disk_smb.pl: Fix Debian bug #478942: Fragile - argument passing - - Fix some problems regarding the way check_disk_smb passes command line - arguments to smbclient(1). - - | It runs: - | - | $res = qx/$smbclient "\/\/$host\/$share" $pass -W $workgroup \ - | -U $user $smbclientoptions -I $address -c ls/; - | - | [...] - | - | The documentation says that if the password is not passed, it - | defaults to "". That is not true above, as $pass expands to - | nothing which leaves no argument at all (instead of an empty - | argument) so is different from providing with an empty password - | or with the -N option. - | - | Also, if the password starts with "-", you're in trouble, that's - | why -U $user%$pass may be prefered. - | - | Also, the doc says that if $user is not provided, then it - | defaults to "guest" but the problem is that if it is provided - | but empty, it is changed to "guest" as well, which prevents us - | from querying hosts that don't do user authentication. - - [ http://bugs.debian.org/478942 ] - - (Fixed by Stephane Chazelas, forwarded by Jan Wagner.) - - * NEWS, THANKS.in, plugins-scripts/check_disk_smb.pl: Fix Debian bug - #478906: Failure when run via ePN - - | When perl plugin scripts are run with the embedded perl interpreter in - | nagios3, the "shift" perl command doesn't shift @ARGV, but @_ (which - | happens to contain the same thing as @ARGV at the time the script was - | started). - | - | [...] - | - | A fix is to replace all the instances of "shift" with "shift @ARGV". - - [ http://bugs.debian.org/478906 ] - - (Fixed by Stephane Chazelas, forwarded by Jan Wagner.) - - * THANKS.in, plugins/check_ldap.c: Fix Debian bug #463322: Use - deprecated libldap API - - | Our automated build log filter[1] detected a problem that is likely to - | cause your package to segfault on architectures where the size of a - | pointer is greater than the size of an integer, such as ia64 and - | amd64. - | - | This is often due to a missing function prototype definition. For - | more information, see [2]. - | - | Function `ldap_init' implicitly converted to pointer at - | check_ldap.c:124 - | - | [1] http://people.debian.org/~dannf/check-implicit-pointer-functions - | [2] http://wiki.debian.org/ImplicitPointerConversions - | - | The libldap API has been updated and many functions used by the ldap - | plugin are now deprecated. This package should either update to the - | new API or define LDAP_DEPRECATED to continue using the deprecated - | interfaces. - | - | This patch implements the lazy solution. - - [ http://bugs.debian.org/463322 ] - - (Contributed by Dann Frazier, forwarded by Jan Wagner.) - - * NEWS, THANKS.in, plugins-scripts/check_disk_smb.pl: Fix Debian bug - #425129: SMB guest mode won't work - - | The check_disk_smb plugin purports to support guest users, but it - | doesn't work out, because it doesn't specify the -N command line - | option to smbclient when no password is specified, making smbclient - | stop and ask. - - [ http://bugs.debian.org/425129 ] - - (Fixed by Josip Rodin, forwarded by Jan Wagner.) - - * plugins/check_game.c: Fix Debian bug #307905: Incorrect usage output - - The usage output of check_game was wrong, see: - - http://bugs.debian.org/307905 - - (Fixed by Sean Finney, forwarded by Jan Wagner.) - - * NEWS, plugins-scripts/check_disk_smb.pl: check_disk_smb: Allow for - specifying an IP address - - Add the "-a, --address option" which allows for specifying the IP - address of the server to connect to. If this option is used, the IP - address will be handed over to smbclient(1)'s "-I" option. (Contributed - by Sean Finney, forwarded by Jan Wagner.) - -2010-04-06 Thomas Guyot-Sionnest - - * NEWS: check_http: Add warning about SNI not enabled by default anymore - -2010-04-05 Thomas Guyot-Sionnest - - * NEWS, plugins/check_http.c: Fix regression in check_http ssl checks on - some servers - - The fix is making SNI an option. - -2010-03-31 Thomas Guyot-Sionnest - - * plugins/check_snmp.c: check_snmp: Update last patch to copy value - verbatim - - Rework last patch, copying the converted portion of the string rather - than re-converting it. This is safer for backwards-compatibility as the - value is never modified. - -2010-03-30 Thomas Guyot-Sionnest - - * NEWS, plugins/check_snmp.c: check_snmp: Fix regression introduced in - #1867716 - - Bug #1867716 fixed what it meant to fix: broken perfdata strings. - Unfortunately some users relied on half-broken perfdata string where at - least the first token was OK. This patch do a two-way conversion - (string to double then back to string) instead and use the conversion - result for the performance data. - - A possible caveat is that the string may change where it normally - shouldn't but the result should be somewhat similar. - -2010-03-27 Thomas Guyot-Sionnest - - * NEWS, THANKS.in, plugins/check_ide_smart.c: Fix compilation with GCC - 2.96 (Konstantin Khomoutov - #2977105) - -2010-03-18 Holger Weiss - - * NEWS, plugins/check_ntp_peer.c, plugins/t/check_ntp.t: Let - check_ntp_peer check the number of truechimers - - Add support for checking the number of usable time sources (i.e., the - number of peers which are classified as so-called "truechimers" by NTP's - intersection algorithm). The new "-m" and "-n" options allow for - specifying the according WARNING and CRITICAL thresholds (and thereby - activating the truechimers check), respectively. - -2010-03-16 Thomas Guyot-Sionnest - - * NEWS: Typo in NEWS - -2010-03-15 Ton Voon - - * doc/developer-guidelines.sgml: Corrected example - -2010-02-26 Ton Voon - - * NEWS, THANKS.in, plugins/check_http.c: Fix memory leak in check_http - for large pages (Jimmy Bergman - #2957455) - -2009-12-07 Holger Weiss - - * tools/git-notify, tools/git-post-receive-hook: git-notify: Pipe - e-mails directly to sendmail(8) - - Use sendmail(8) instead of mail(1) in order to be able to set the - "Content-Type" header field on systems where the available mail(1) - command doesn't allow for setting it. This makes the "-H" flag (cf. - commit 71350c5a) unnecessary. - -2009-12-06 Holger Weiss - - * tools/git-notify, tools/git-post-receive-hook: Enable CIA's commit - notifications - - We now use CIA's service to send commit notifications to IRC. They are - currently sent to the #Nagios-Devel channel on Freenode. See: - - http://cia.vc/stats/project/nagiosplug/ - http://cia.vc/account/bots/15699/ - -2009-12-04 Thomas Guyot-Sionnest - - * NEWS, configure.in: Detect arguments passed via --with-ping[6]-command - (#2908236) - - * configure.in: Whitespace fixes - -2009-12-02 Thomas Guyot-Sionnest - - * plugins/check_http.c: Fix short help using "warn" for the -f option - instead of "warning" (onredirect). - -2009-11-19 Ton Voon - - * tools/sfsnapshot-upload: Updated link to sfsnapshotgit - -2009-11-18 Thomas Guyot-Sionnest - - * doc/developer-guidelines.sgml: Update developer guideline regarding - CVS Commits - (mostly for testing my snapshot script, though it had to be updated anyway) - -2009-11-11 Thomas Guyot-Sionnest - - * tools/sfsnapshotgit: Fix fetching of remote branches - -2009-11-11 dermoth - - * tools/sfsnapshot-upload, tools/sfsnapshotgit: Many fixes to snapshot - scripts - - sfsnapshotgit: - - Use fetch/reset instead to pull to avoid merges on forced updates - - sfsnapshot-upload: - - Fix link deletion walking the entire home dir - - Allow CLEAN_TIME=0 (no retention) - - Re-add per-branch links when CLEAN_TIME > 0 - - Add many comments - -2009-11-07 Holger Weiss - - * tools/git-post-receive-hook, tools/git-update-mirror: Git commit - notifications via post-receive hook - - Now that we moved our Git repositories to SourceForge, we don't need to - maintain local clones for generating commit notifications anymore, as - SourceForge provides shell access to the repositories. Instead, we now - run git-notify as a post-receive hook on the SourceForge server. - Actually, we use a wrapper which executes git-notify with the desired - options and which makes it easy to add other post-receive hooks in the - future. - - * tools/git-notify: git-notify: Support SourceForge repositories - - The Gitweb URLs for repositories hosted by SourceForge are slightly - different than other Gitweb URLs. The correct URL cannot be specified - via "-u" if we append "/$repos_name.git/?" to that URL as we usually do. - If the new "-S" flag is specified or "notify.sourceforge" is set, we'll - append "/$repos_name;" instead, which makes the "-u" option usable for - SourceForge repositories. - - * tools/git-notify: git-notify: Optionally call mail(1) without "-a" - - Not all mail(1) implementations support specifying additional header - fields via "-a": with some, this flag is used for attaching files, - others don't provide an "-a" flag at all (this is true for the /bin/mail - utility currently installed on the SourceForge servers, for example). - We now provide the "-H" flag and the "notify.legacyMail" configuration - key for these cases. - - * tools/git-notify: git-notify: Polish up the "tag notifications" - - Use better labels for the tag ref and the SHA1 name of the tag object. - - * tools/git-notify: git-notify: Distinguish between tag types - - Distinguish between annotated tags and lightweight tags. In the former - case, send an annotated "tag notification", in the latter case, send a - "ref change notification" (as we did in both cases before). - - * tools/git-notify: git-notify: Fix "global" notifications - - If the number of commits included with a single push exceeds the maximum - specified via "-n", a single notification will be generated instead of - individual e-mails. For listing the commits within such a notification, - git-rev-list(1)'s "--pretty" option is used. This yields output which - the git_rev_list() subroutine didn't accept. That's now fixed. - - * tools/git-notify: git-notify: Optionally [tag] the subject - - If the new "-T" option is specified or "notify.emitRepository" is set, - the subject of e-mail notifications will be prefixed with [], where - is the name of the updated repository. - - * tools/git-notify: git-notify: Optionally omit the author name - - If the new "-A" option is specified (or "notify.omitAuthor" is set), the - author name will be omitted from the subject of e-mail notifications. - - * tools/git-notify: git-notify: Make abbreviating Gitweb URLs optional - - The SHA1 object name part of Gitweb URLs is now only shortened if the - user requested this by specifying the new "-z" option (or by setting - "notify.shortURLs"). - - While at it, also shorten the additional URL which references a diff in - e-mail notifications which don't include that diff inline because its - size exceeds the maximum number of bytes specified via "-s". - - Note that while the abbreviated SHA1 object names will be unique at push - time, this cannot be guaranteed for the future, so the shortened URLs - might break some day. - - * tools/git-notify: git-notify: Make showing the committer optional - - Only the author's name and address will now be mentioned in a commit - notification by default. However, if the "-C" option is specified (or - "notify.showCommitter" is set), the committer's name and address will - also be included in the notification if the committer is not the author - of the commit (as we previously did by default). - - * tools/git-notify: git-notify: Make using a state file optional - - Making use of a state file in order to prevent duplicate notifications - is now optional. The user must explicitly specify a file path via the - "-t" option or by setting the git-config(1) variable "notify.statefile" - to activate this functionality. - - * tools/git-notify: git-notify: Don't abort if mail(1) exits non-zero - - As nothing in git-notify depends on the success of the mail(1) call, - don't abort if it fails, just spit out a warning. - - * tools/git-notify: git-notify: Drop the $sent_notices variable - - Now that we don't ignore empty commits anymore, there's no need to keep - track of the number of commits actually notified about, as that will - always be equal to the number of commits returned by get_new_commits(). - - * tools/git-notify: Revert "git-notify: Ignore `empty' commits" - - This reverts commit db63fbfa036f5cd757aedf4547fef9e195a8c285, as it is - no longer needed and we'd like to keep the diff against the git-notify - version maintained by the Wine people as small as possible. The purpose - of db63fbfa was to suppress notifications on empty merge commits, which - can now be requested directly by specifying git-notify's "-X" option. - (Our change was implemented before the "-X" option was available, even - though the Git history suggests otherwise.) - - Conflicts: - - tools/git-notify - - * tools/git-notify: Revert "git-notify: Remove unused [...] code" - - This reverts commit 5445b9769f254781e482062bacc6603a5cd63059. Alexandre - Julliard pointed out that the code in question was used if git-notify - was explicitly called with the SHA1 name of an annotated tag object. At - the moment, the code in question actually _is_ unused due to later - modifications, but it wasn't at the time 5445b976 was committed, and - we'll add further changes so that the code will be used again in the - future. - - Conflicts: - - tools/git-notify - -2009-11-06 Holger Weiss - - * tools/git-notify: git-notify: Minor cosmetic changes - - Fix the description of the "-U" option. - -2009-10-25 Thomas Guyot-Sionnest - - * tools/sfsnapshot-upload: Allow rsyncing to local paths - - * tools/sfsnapshot-upload: Add snapshots upload scripts - -2009-10-26 Holger Weiss - - * tools/git-notify: git-notify: Make the state file group writable - - For shared repositories, the state file used by git-notify should - usually be group writable, so we now set the umask to 0002 by default. - This can be adjusted by setting the "notify.umask" configuration key or - by using the "-U" option on the command line. - - * tools/git-notify: git-notify: Remove an empty subroutine - - The gitweb_url() subroutine was an unused and empty hangover. - -2009-10-25 Holger Weiss - - * tools/git-update-mirror: git-update-mirror: Remove a useless sed(1) - call - - The sed(1) command in question was a hangover which had no effect - anymore. - -2009-10-24 Holger Weiss - - * tools/git-notify: git-notify: Check the exit status of pipes - - Properly check the exit status of all processes we execute and abort on - error. - - * tools/git-notify: git-notify: Handle non-UTF-8 commits - - Make sure that commit messages which use an encoding other than US-ASCII - or UTF-8 are handled correctly. Also, assume that the diff contents use - the same encoding as the commit message. This assumption may well be - wrong, but that's the best we can do. - - * tools/git-notify: git-notify: Don't generate duplicate notifications - - Never notify on a given commit more than once, even if it's referenced - via multiple branch heads. We make sure this won't happen simply by - maintaining a list of commits we notified about. The file path used for - saving this list can be specified using the new "-t" option. (The - contrib/hooks/post-receive-email script distributed with Git tries hard - to avoid such a list, but it doesn't get the necessary magic right.) - - * tools/git-notify: git-nofity: Try to shorten Gitweb URLs - - Instead of using the full SHA1 values of commit object names within - Gitweb URLs, try to abbreviate them to a shorter unique name. - - * tools/git-notify: git-notify: Move the Gitweb URL to the bottom - - In commit notifications, specify the Gitweb URL (if any) at the bottom - of the ASCII "table" which summarizes the commit. That looks better. - - * tools/git-notify: git-notify: Truncate summary after 50 characters - - If the first line of a commit message is longer than 50 characters, - truncate it before adding the resulting string to the subject line of a - notification. This makes sure the subject line won't get too long - (unless the commit author name is unusually long, which we don't check). - The Git User's Manual recommends keeping the first line of a commit - message shorter than that, anyway: - - | Though not required, it's a good idea to begin the commit message with - | a single short (less than 50 character) line summarizing the change, - | followed by a blank line and then a more thorough description. Tools - | that turn commits into email, for example, use the first line on the - | Subject line and the rest of the commit in the body. - - [ http://www.kernel.org/pub/software/scm/git/docs/user-manual.html ] - - * tools/git-notify: git-notify: Send notifications on ref changes, too - - Do not only generate notifications on commits, but also if a branch head - or lightweight tag was created, removed, or modified. Notifications on - branch head updates are omitted if one or more commit notification have - been generated and the branch head now references a descendant of the - originally referenced commit (which should be the usual case). - - * tools/git-notify: git-notify: Call git-rev-list(1) via a subroutine - - Add a subroutine which abstracts away executing git-rev-list(1) and - checking the result in order to avoid code duplication. - - * tools/git-notify: git-notify: Mention the committer where applicable - - If the committer is not the author of the commit, mention the committer - in addition to the author. - - * tools/git-notify: git-notify: New subroutine for column alignment - - Most notifications include an ASCII "table" with two columns. The - formatting of these columns is now handled by the new format_table() - subroutine, so that the alignment can easily be changed in the future. - - * tools/git-notify: git-notify: Ignore "empty" commits - - Omit notifications regarding commits which don't change the tree - whatsoever. - - * tools/git-notify: git-notify: Remove unused tag notification code - - The code which handles notifications regarding tags was unused, as only - objects listed by git-rev-list(1) are considered, and git-rev-list(1) - never spits out the sha1 of a tag object. - - * tools/git-notify: git-notify: Save author without trailing space - - Adjust the regular expression which catches the commit author name so - that it doesn't include the space character which follows that name. - - * tools/git-notify, tools/git-update-mirror: Import git-update-mirror - and git-notify - - Import the (self-written) git-update-mirror script, which updates clones - of Git repositories and then calls git-notify (in just the same way as a - post-receive hook would be called by Git). The git-notify script is - imported from git://source.winehq.org/git/tools.git (commit: 03d66f34) - and generates notifications on repository changes. We'll use these - scripts for generating our commit e-mails. - -2009-10-22 Thomas Guyot-Sionnest - - * NEWS, plugins/check_snmp.c, plugins/t/check_snmp.t: Fix usage of - repeated -o options in check_snmp - -2009-10-15 Thomas Guyot-Sionnest - - * plugins-root/check_icmp.c: Set proper network byte order for icmp_id - and icmp_seq in icmp packets - -2009-10-14 Thomas Guyot-Sionnest - - * NEWS, plugins-root/check_icmp.c: Increment per-host sequence in - check_icmp - -2009-09-26 Thomas Guyot-Sionnest - - * tools/sfsnapshotgit: Change default for SFSNAP_DEST - - * tools/sfsnapshotgit: Correcting name and email address - - * tools/sfsnapshotgit: Enhancements to tools/sfsnapshotgit - -2009-09-25 Thomas Guyot-Sionnest - - * configure.in: Using $srcdir is the proper way to go - -2009-09-25 nagiosplugins - - * tools/sfsnapshotgit: Add sfsnapshotgit - - * configure.in, plugins-root/Makefile.am, plugins-scripts/Makefile.am, - plugins/Makefile.am: Allow custom versions with the release file... - -2009-09-24 Ton Voon - - * NEWS, doc/developer-guidelines.sgml: Updated documentation re: no - equals sign and single quote - - * NEWS: Updated NEWS file with docs changes - -2009-09-23 Thomas Guyot-Sionnest - - * NEWS: Test, again - - * NEWS: Test - -2009-09-21 Thomas Guyot-Sionnest - - * NEWS, THANKS.in: Oops - wrong author/bug in last commit! - - * NEWS, THANKS.in, plugins/check_http.c: Add proxy-authorization option - to check_http (Peter Doherty - #2863772, Bryan Irvine - #2863925) - -2009-09-19 Thomas Guyot-Sionnest - - * NEWS, plugins-scripts/check_ircd.pl: Fix check_ircd binding to wrong - interface (#668778) - - * doc/RELEASING: Update RELEASING document with proper tag creation and - push commands - -2009-09-16 Ton Voon - - * BUGS, ChangeLog, NEWS, NP-VERSION-GEN, configure.in, package.def: Prep - for 1.4.14 release - -2009-09-14 Ton Voon - - * plugins-root/pst3.c: Ensure dirhandle is closed (Duncan Ferguson) - -2009-09-11 Ton Voon - - * plugins/t/check_snmp.t: Fix skip number - -2009-09-05 Thomas Guyot-Sionnest - - * plugins/tests/check_snmp.t: Add a test that succeeds on check_snmp - v1.4.13. Newer versions skip additional - lines so this new test fails on the current head. - - Note: check_snmp v1.4.13 with multi-line strings return somewhat v3 output; - it's not exactly what the specs say but it doesn't appears to break them - either. The fix could eventually supports both v2 and v3 output formats. - -2009-08-05 Thomas Guyot-Sionnest - - * plugins/check_snmp.c: Fix segfault in check_snmp (definitive fix is - still in the works - see bug #2832451) - -2009-07-31 Thomas Guyot-Sionnest - - * plugins/check_snmp.c: Fix check_snmp passing single-quotes as -m - argument when it should be empty - - * plugins/check_snmp.c, plugins/t/check_snmp.t: check_snmp: Add some - verbose output and tests - - * plugins/tests/check_snmp.t, plugins/tests/check_snmp_agent.pl, - plugins/tests/conf/snmpd.conf: Add tests using custom snmp agent - - Only multi-line string test for now (regression test), counter rollover - tests planed with my snmp_counters_new branch. - - NB: 64bit counters are broken in NetSNMP::agent from NetSNMP version 5.4.1 - and lower, but might come in handy one day - - * plugins/t/check_snmp.t: Fix check_snmp Timetick test with <1 day - uptime - -2009-07-23 Thomas Guyot-Sionnest - - * doc/RELEASING: Add accidentally removed line plus a note about the web - copy - - * doc/RELEASING: Merge changes from web - -2009-07-17 Ton Voon - - * doc/developer-guidelines.sgml: Updated links for exchange.nagios.org - -2009-07-14 Ton Voon - - * NEWS, THANKS.in, plugins-root/pst3.c: pst3 compile with Sun Studio - Compiler - -2009-06-22 Ton Voon - - * plugins/check_cluster.c: Added example for check_cluster to alert if - more than X non-OK states - -2009-06-16 Matthias Eble - - * NPTest.pm: Switch back to "use Test" and plain prints instead of - diag() - - * NPTest.pm: Tinderbox output testing commit - -2009-06-15 Matthias Eble - - * NPTest.pm, test.pl.in: Make output of "make test" more verbose - - This is intended to make error fixing based on tinderbox output - easier. - -2009-06-14 Matthias Eble - - * plugins-root/check_icmp.c: Fixed error in rtt/rta calculation in case - of system clock problems - - Time differences are now set to 0 in case of backward timejumps so there are no wrap-around problems any more. - The RTA calculation hopefully gets a more accurate value in these cases also. - -2009-06-13 Matthias Eble - - * plugins-scripts/t/check_ifoperstatus.t, - plugins-scripts/t/check_ifstatus.t, plugins/t/check_snmp.t: Fixed - testcases for check_snmp, check_ifstatus and check_ifoperstatus when no - snmp community is specified - - The checks for invalid/unavailable hosts need a complete command line. - They failed on hosts where no community was specified. Now, an invalid community is used so - the tests can run on hosts w/o snmp host/community in NPTest.cache. Execution will fail anyway. - - * plugins-scripts/t/check_ifoperstatus.t, - plugins-scripts/t/check_ifstatus.t: Further test parameters and skip - blocks for check_ifoperstatus.t. getTestparam changes for - check_ifstatus.t and ifoperstatus.t - - Added snmp_interface and snmp_ifxtable test parameters to check_ifoperstatus.t. - Also getTestParameter calls for both plugins were converted to use three arguments - instead of undocumented >3 arg behaviour which led to redundant data in NPTest.cache. - -2009-06-11 Matthias Eble - - * NEWS, plugins-scripts/check_ifoperstatus.pl: renamed - check_ifoperstatus' newly introdced -x to -P so it fits check_ifstatus - - check_ifstatus already used -x so both plugins can use same short option, now. - to specify privacy protocol. - - * NEWS, plugins-scripts/check_ifstatus.pl, - plugins-scripts/t/check_ifstatus.t: Fixed SNMPv3 behaviour of - check_ifstatus. Added -P to define privprotocol (#2343438 - Robin - Schroeder) - - check_ifstatus didn't function correctly with SNMPv3. This is fixed now. - Created argument-hash for SNMP session creation. This removes redundant code. - Session creation was moved out of process_arguments() and now takes place - after setting the timeout handler. - - Additionally the -P argument was added to specify the privprotocol. - - * plugins-scripts/t/check_ifoperstatus.t: Added testcases for - check_ifoperstatus - - Added testcases for check_ifoperstatus. No SNMPv3 testing - included for now. - - * plugins-scripts/check_ifoperstatus.pl: minor fixes to - check_ifoperstatus - - Minor output fixes for check_ifoperstatus. - Fixed typo so that -n now implies -I as documented. - -2009-06-10 Thomas Guyot-Sionnest - - * lib/extra_opts.h, lib/tests/test_opts1.c, lib/tests/test_opts2.c: Use - a more "natural" way of writing argument lists in extra-opts tests. - -2009-06-11 Matthias Eble - - * NEWS, plugins-scripts/check_ifoperstatus.pl: check_ifoperstatus is now - more user friendly in case of missing arguments - - Added proper usage messages in case of missing arguments. - Removed accidently committed Data::Dumper call. - Minor whitespace fixes. - - * plugins-scripts/check_ifoperstatus.pl: Whitespace and indent fixes for - check_ifoperstatus - - * NEWS, plugins-scripts/check_ifoperstatus.pl: Fixed SNMPv3 behaviour of - check_ifoperstatus. Added -x to define privprotocol (#2343438 - Robin - Schroeder) - - check_ifoperstatus didn't function correctly with SNMPv3. This is fixed now. - Created argument-hash for SNMP session creation. This removes redundant code. - Session creation was moved out of process_arguments() and now takes place - after setting the timeout handler. - - Additionally the -x argument was added to specify the privprotocol. - -2009-06-02 Holger Weiss - - * THANKS.in, lib/utils_base.c: Fix the memory allocation for the - thresholds data - - Allocate the appropriate amount of memory for storing the thresholds - data. Before, we allocated the amount of memory required for storing a - _pointer_ to the thresholds data. This crashed (at least) check_mysql - when using its "-S" option on FreeBSD/amd64 (as reported and analyzed by - Nikita Kalabukhov - 2797757). - - * plugins-root/check_icmp.c: Don't use the plain char type for data - buffers - - Buffers which are used for holding arbitrary data should be referenced - using pointers to void and accessed using pointers to unsigned char. - -2009-06-01 Matthias Eble - - * plugins/check_pgsql.c: Whitespace indent fixes for check_pgsql - - * plugins-root/check_icmp.c: Fixed check_icmp compiler warnings by - including float.h - - Self defined DBL_MAX caused compiler warnings. Now float.h - which defines DBL_MAX is included. - - * plugins-root/check_icmp.c: Fixed --help output for warn and critical - thresholds (sf.net #2796624, debian #530553) - - check_icmp wrongly calculated the current thresholds in --help output. - - * plugins/check_pgsql.c: Added verbose output to check_pgsql (#2799281 - - Jun Kuriyama) - - check_pgsql displayed the -v flag in help output, but didn't - accept the verbosity argument. Added -v and basic verbose output. - - * NEWS, plugins/check_fping.c: check_fping now supports passing target - timeout and interval to fping (#2347686 - Martin Foster) - - Added support for passing timeout and interval length to check_fping. - To protect compatibility, both options use fping's defaults if they - are not specified on the command line. - -2009-05-27 Thomas Guyot-Sionnest - - * NEWS, lib/utils_base.h, plugins/check_snmp.c, plugins/t/check_snmp.t: - check_snmp: Make use of standard threshold functions - - This patch makes use of standard threshold functions. This allows using - doubles as thresholds. - - Since SNMP supports only integers, double precision numbers are only - printed when parsed from a STRING type. - - In addition, support for printing properly Timeticks type has been added, - and the code has been thoroughly cleaned. - - * plugins/check_snmp.c: Fix whitespaces in check_snmp - -2009-05-26 Thomas Guyot-Sionnest - - * NEWS, THANKS.in, plugins/Makefile.am, plugins/check_by_ssh.c: Fix - check_by_ssh interpretation of quotes in -C parameter (#1985246, - #2268675) - -2009-05-22 Matthias Eble - - * NEWS, plugins/check_mrtgtraf.c: Fixed wrong perfdata label for output - traffic in check_mrtgtraf - - check_mrtgtraf used the label "in" for both input and output traffic. - This fixed, now. - - * plugins/check_smtp.c: Removed -n option in check_smtp's help and usage - output (#2782784) - - Check_smtp's help showed the -n/--nocommand options to not send an - SMTP command. This usage is covered by check_tcp and is thus not needed - in check_smtp. - -2009-05-20 Thomas Guyot-Sionnest - - * plugins/sslutils.c: Whitespace changes only - - * NEWS, THANKS.in, plugins/check_http.c, plugins/netutils.h, - plugins/sslutils.c: check_http: Add SSL/TLS hostname extension support - (SNI) - (#1939022 - Joe Presbrey) - - * NEWS, THANKS.in, plugins-scripts/subst.in: Fix awk subst.in/subst - script path error (#2722832 - Martin Foster) - - * NEWS, THANKS.in, plugins/check_mysql.c, plugins/check_mysql_query.c: - Fix check_mysql* not using password set in my.cnf (#2531905 - Ben Timby) - -2009-05-20 Holger Weiss - - * gl/Makefile.am, gl/alignof.h, gl/arpa_inet.in.h, gl/c-strtod.c, - gl/c-strtod.h, gl/config.charset, gl/dup-safer.c, gl/fd-safer.c, - gl/fsusage.c, gl/gai_strerror.c, gl/getloadavg.c, gl/getopt1.c, - gl/gettext.h, gl/localcharset.c, gl/m4/00gnulib.m4, gl/m4/btowc.m4, - gl/m4/c-strtod.m4, gl/m4/errno_h.m4, gl/m4/extensions.m4, - gl/m4/fcntl_h.m4, gl/m4/floorf.m4, gl/m4/gnulib-common.m4, - gl/m4/gnulib-comp.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4, - gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/locale-fr.m4, - gl/m4/locale-ja.m4, gl/m4/locale-zh.m4, gl/m4/mbrtowc.m4, - gl/m4/mktime.m4, gl/m4/multiarch.m4, gl/m4/printf.m4, gl/m4/regex.m4, - gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, - gl/m4/sys_socket_h.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, - gl/m4/wchar.m4, gl/m4/wcrtomb.m4, gl/math.in.h, gl/mbrtowc.c, - gl/mountlist.c, gl/regex_internal.h, gl/stdint.in.h, gl/stdio.in.h, - gl/stdlib.in.h, gl/strdup.c, gl/strerror.c, gl/sys_socket.in.h, - gl/unistd.in.h, gl/vasnprintf.c, gl/wchar.in.h, gl/xmalloc.c: Sync with - the latest Gnulib code (cb75dc5) - -2009-05-19 Chris Pepper - - * plugins/check_ups.c, plugins/urlize.c: Fix a few minor typos - -2009-05-19 Holger Weiss - - * doc/developer-guidelines.sgml: Talk about Git instead of CVS - - Update the Developer Guidelines to reflect the fact that our development - is done using Git instead of CVS these days (as noted by Chris Pepper on - the "nagiosplug-devel" list). - - While at it, apply another few minor cleanups. - - * doc/developer-guidelines.sgml: Remove comments regarding former - requirements - - Don't explain why Libtool and Gettext are no longer needed. Libtool - actually is a requirement, as (at least) the M4 macros provided by - Libtool are needed for our Autotools setup. And the fact that Gettext - is no longer needed probably isn't that interesting for new developers. - -2009-05-07 Ton Voon - - * NEWS, THANKS.in, plugins/check_disk.c: Fixed typo in check_disk - -2009-05-01 Matthias Eble - - * NEWS, plugins/check_nt.c, plugins/tests/check_nt.t: Fixed crash from - check_nt when -H unspecified or given multiple times (sf.net #2731755, - debian #521097) - -2009-03-24 Thomas Guyot-Sionnest - - * NEWS, plugins/check_nt.c: check_nt: allow returning UNKNOWN on - timeouts (-u) - - * plugins/netutils.c, plugins/netutils.h: Make socket alarm handler - customisable (like c459ca07) - - * NEWS, THANKS.in, plugins/check_mysql.c: check_mysql: Fix segfault with - old slaves (#2696823 - Oskar Ahner) - - * plugins/check_nt.c: Whitespace and intend cleanup - -2009-03-21 Thomas Guyot-Sionnest - - * plugins/check_http.c: Update check_http short help with new stycky and - stickyport options. - - * plugins/check_http.c: check_http: die when an invalid --onredirect - option is specified - - * NEWS, plugins/check_http.c, plugins/tests/check_http.t: check_http: - add --onredirect=stickyport - also follow the same port - -2009-03-20 Thomas Guyot-Sionnest - - * .gitignore, gl/Makefile.am, gl/m4/gnulib-cache.m4, - gl/m4/gnulib-comp.m4, gl/m4/mktime.m4, gl/m4/time_h.m4, gl/m4/time_r.m4, - gl/m4/timegm.m4, gl/mktime.c, gl/time.in.h, gl/time_r.c, gl/timegm.c: - Add the timegm Gnulib module - - * NEWS, plugins/negate.c, plugins/t/negate.t: negate: make timeouts - configurable - - * plugins/utils.c, plugins/utils.h: Make alarm handler customisable - - * NEWS, plugins/negate.c: negate: Fix not printing the real timeout in - ALRM handler when timeout is left to default - - * plugins/tests/check_http.t: tests/check_http.t: Add various - timeout-related tests - -2009-03-19 Thomas Guyot-Sionnest thomas@aei.ca - - * NEWS, plugins/check_http.c: Fixed check_http not timing-out on - redirects - -2009-03-18 Thomas Guyot-Sionnest - - * plugins/sslutils.c, plugins/tests/check_http.t: Revert "Add timezone - support and fix checks around cert expiration" (keep the expiration fix) - - This reverts commit d41a33a434558189300113c28b26e2d3d681d390. - - * plugins/t/check_snmp.t: Add suggested multi-oid test (John A. Barbuto) - - * plugins/check_snmp.c: check_snmp: Fix potential buffer overflow - - enforce MAX_OIDS limit (John A. Barbuto) - - * tools/tinderbox_build: Fix logging of STDERR in tinderbox tests phase - -2009-03-17 Thomas Guyot-Sionnest - - * plugins/sslutils.c, plugins/tests/check_http.t: Add timezone support - and fix checks around cert expiration - -2009-03-17 Thomas Guyot-Sionnest - - * plugins/t/check_procs.t: Check for existence of pre-instaleld pst3 for - Solaris tests in t/check_procs.t - -2009-03-17 Thomas Guyot-Sionnest - - * NEWS, plugins/check_http.c: Fix check_http sending HTTP/1.0 with v1.1 - headers (#2638765) - -2009-03-16 Thomas Guyot-Sionnest - - * plugins/t/check_snmp.t: Fix check_snmp test on solaris - -2009-03-16 Thomas Guyot-Sionnest - - * plugins/tests/check_http.t: Update extended check_http tests for - 0d78171... - Also add some tests, and make debug mode loop infinitely. - - * plugins/check_http.c: check_http fixes: - - Fix broken printf on 500 errors - - Add bytes to normal output (accidentally removed in 0d78171) - - * plugins/check_snmp.c, plugins/t/check_snmp.t: check_snmp fixes: - - Fix broken compilation caused by typo in command ending - - Remove extra whitespaces at EOL - - Fix invalid host test on Ubuntu Hardy (and possibly others) - -2009-03-14 Ton Voon - - * plugins/check_snmp.c: Ignore stderr messages unless return code is - non-zero or there is no output - - * NEWS, THANKS.in, plugins/Makefile.am, plugins/check_snmp.c, - plugins/t/check_snmp.t: Fixed passing of quotes in OID for check_snmp - (#1985230 - Jan Wagner, patch by John Barbuto) - -2009-03-06 Ton Voon - - * plugins/tests/certs/expired-cert.pem, - plugins/tests/certs/expired-key.pem, plugins/tests/check_http.t: Create - expired cert for testing purposes. Updated tests to check - expired and unexpired certificates - -2009-03-05 Ton Voon - - * plugins/tests/certs/server-cert.pem, - plugins/tests/certs/server-key.pem, plugins/tests/check_http.t: Added - inline tests for HTTPS using HTTP::Daemon::SSL - -2009-02-24 Thomas Guyot-Sionnest - - * NEWS, THANKS.in, plugins/check_snmp.c: check_snmp long help missing - retries entry (#2608223) - - Fix for check_snmp long help, reported by Richard Edward Horner - -2009-02-20 Ton Voon - - * po/fr.po: Updated string ids, due to typo fixes - - * plugins-scripts/check_mailq.pl, plugins/check_dns.c, - plugins/check_http.c, plugins/check_ldap.c, plugins/check_mysql.c, - plugins/check_procs.c, plugins/check_radius.c, plugins/check_snmp.c, - plugins/check_tcp.c, plugins/check_ups.c: Typo fixes (Jan Wagner - SF - 1878971) - -2009-02-19 Ton Voon - - * NEWS, THANKS.in, plugins/check_nt.c, plugins/tests/check_nt.t: Fixed - coredump from check_nt when drive not found (Olli Hauer - SF 2179754) - -2009-02-06 Thomas Guyot-Sionnest - - * doc/RELEASING: Devel doc: NP-VERSION-GEN needs to be updated as well - - * NEWS: Small correction in NEWS entry - - * doc/LEAVERS, doc/NEW_STARTERS, doc/RELEASING: Update the devel notes - for Git - - * doc/LEAVERS, doc/NEW_STARTERS, doc/RELEASING: Revert "Moving project - administration documents to nagiosplugins.org site" - - This reverts commit f4a52594818e7c3634a397ac1f86ef87a68bd121. - -2009-02-05 Thomas Guyot-Sionnest - - * NEWS, plugins/check_http.c: check_http --onredirect=sticky follows - using the same IP address (sf.net #2550208). - -2009-02-03 Thomas Guyot-Sionnest - - * NEWS: Add NEWS entry for last commit - - * plugins/check_http.c: Fix aberrant behaviours in check_http: - - check_http used to ignore many parameters with check combinations - sometimes - even time thresholds(!!) - - With this commit as long as a response is received *all* checks are performed - on it. - - This fixes #1460312 plus a number of other issues I discovered over time. - -2009-01-26 Thomas Guyot-Sionnest - - * lib/tests/test_utils.c, lib/utils_base.c, lib/utils_base.h, - plugins/check_ntp_peer.c: Make extract_value more generic: - - Add a separator argument passed using defines. - -2009-01-24 Thomas Guyot-Sionnest - - * lib/tests/test_ini1.c, lib/tests/test_opts1.c: Remove the commented - out blocks - - The die tests are implemented in the test_*3.t files - - * lib/tests/test_ini1.t, lib/tests/test_ini3.t: Fix paths in test_ini - tests - -2009-01-23 Thomas Guyot-Sionnest - - * .gitignore, configure.in, lib/tests/Makefile.am, - lib/tests/test_ini1.c, lib/tests/test_ini1.t, lib/tests/test_ini3.c, - lib/tests/test_ini3.t, lib/tests/test_opts3.t: Add die tests for - parse_ini - -2009-01-22 Thomas Guyot-Sionnest - - * lib/parse_ini.c, lib/tests/test_opts3.t: Return UNKNOWN if none of the - default files can be found. - - It makes no sense to return unknown if an implicit section is not found, but - go on if the file is missing - -2009-01-21 Thomas Guyot-Sionnest - - * .gitignore, configure.in, lib/tests/Makefile.am, - lib/tests/test_opts1.c, lib/tests/test_opts2.c, lib/tests/test_opts3.c, - lib/tests/test_opts3.t: Add die tests for extra-opts - -2009-01-19 Thomas Guyot-Sionnest - - * lib/tests/test_utils.c, lib/utils_base.c, lib/utils_base.h, - plugins/check_ntp_peer.c: Move check_ntp's extract_value to - utils_base.c. - - This function can also be used to parse performance data strings which - could be useful in the future. - -2009-01-21 Thomas Guyot-Sionnest - - * .gitignore, lib/tests/test_opts1, lib/tests/test_opts2: Accidentally - included built executables - also updated .gitignore - -2009-01-20 Thomas Guyot-Sionnest - - * configure.in, lib/tests/Makefile.am, lib/tests/test_opts.t, - lib/tests/test_opts1, lib/tests/test_opts1.c, lib/tests/test_opts1.t, - lib/tests/test_opts2, lib/tests/test_opts2.c, lib/tests/test_opts2.t: - Some platform are missing setenv - - Instead of adding the gnulib module for solving tests only I split the test - in two, setting environment from Perl for the later. - - * lib/tests/Makefile.am: Fix (or try at least) for IRIX compile to tap - tests - - Gnulib says: "$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise" - Everywhere else we use LTLIBINTL so I assume the tests should use it as well. - - * plugins/t/check_users.t: Trick for check_users test without users - logged-in - -2009-01-19 Thomas Guyot-Sionnest - - * tools/tinderbox_build: Build extra-opts in tinderbox so they can be - tested - -2009-01-18 Thomas Guyot-Sionnest - - * lib/tests/Makefile.am: Re-apply "Cleanup; fix the way libraries are - linked; Make-It-Simple(tm)" - - This reverts commit 7449b16b1781c645751e2c05b93893e93630fb2a. - - * gl/wchar.in.h: Trying out new patch for IRIX 6.5 from Bruno Haible - - See: http://article.gmane.org/gmane.comp.lib.gnulib.bugs/16341 - - * gl/wchar.in.h: Revert "Trying out a patch for IRIX 11" - - This reverts commit d190c5d25865a7414eea4fe6409a94842fba220e. - -2009-01-16 Thomas Guyot-Sionnest - - * gl/wchar.in.h: Trying out a patch for IRIX 11 - - See: http://lists.gnu.org/archive/html/bug-gnulib/2009-01/msg00098.html - -2009-01-15 Thomas Guyot-Sionnest - - * configure.in: Removing AC_FUNC_ALLOCA from configure.in (added in the - gnulib sync commit) - - I added AC_FUNC_ALLOCA because of a mistake on my part (which has been fixed - before the final commit). Removing it now. - - * lib/tests/test_disk.c: Typo - - * .gitignore, build-aux/config.rpath, configure.in, gl/Makefile.am, - gl/alloca.in.h, gl/arpa_inet.in.h, gl/base64.c, gl/base64.h, gl/btowc.c, - gl/config.charset, gl/errno.in.h, gl/fcntl.in.h, gl/float.in.h, - gl/gai_strerror.c, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/gethostname.c, - gl/getloadavg.c, gl/getopt.c, gl/inet_ntop.c, gl/localcharset.c, - gl/m4/absolute-header.m4, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, - gl/m4/btowc.m4, gl/m4/c-strtod.m4, gl/m4/codeset.m4, - gl/m4/double-slash-root.m4, gl/m4/eoverflow.m4, gl/m4/errno_h.m4, - gl/m4/extensions.m4, gl/m4/fcntl_h.m4, gl/m4/fsusage.m4, - gl/m4/getaddrinfo.m4, gl/m4/gethostname.m4, gl/m4/getloadavg.m4, - gl/m4/getopt.m4, gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/glibc21.m4, - gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, - gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, - gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inline.m4, - gl/m4/intdiv0.m4, gl/m4/intldir.m4, gl/m4/intlmacosx.m4, - gl/m4/intmax.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, - gl/m4/inttypes_h.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, - gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/localcharset.m4, - gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-zh.m4, - gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/ls-mntd-fs.m4, gl/m4/malloc.m4, - gl/m4/math_h.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, - gl/m4/mountlist.m4, gl/m4/multiarch.m4, gl/m4/netdb_h.m4, - gl/m4/netinet_in_h.m4, gl/m4/nls.m4, gl/m4/onceonly.m4, gl/m4/open.m4, - gl/m4/po.m4, gl/m4/printf-posix.m4, gl/m4/printf.m4, gl/m4/progtest.m4, - gl/m4/regex.m4, gl/m4/servent.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, - gl/m4/sockpfaf.m4, gl/m4/stdbool.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, - gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, - gl/m4/string_h.m4, gl/m4/strndup.m4, gl/m4/strnlen.m4, - gl/m4/sys_socket_h.m4, gl/m4/threadlib.m4, gl/m4/uintmax_t.m4, - gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/m4/visibility.m4, - gl/m4/vsnprintf.m4, gl/m4/wchar.m4, gl/m4/wchar_t.m4, gl/m4/wcrtomb.m4, - gl/m4/wctype.m4, gl/m4/wint_t.m4, gl/m4/write.m4, gl/m4/xsize.m4, - gl/math.in.h, gl/mbrtowc.c, gl/mbsinit.c, gl/netdb.in.h, - gl/netinet_in.in.h, gl/open-safer.c, gl/open.c, gl/regcomp.c, - gl/regex_internal.c, gl/regex_internal.h, gl/regexec.c, gl/snprintf.c, - gl/stdbool.in.h, gl/stdint.in.h, gl/stdio-write.c, gl/stdio.in.h, - gl/stdlib.in.h, gl/strdup.c, gl/streq.h, gl/strerror.c, gl/string.in.h, - gl/sys_socket.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/vasprintf.c, - gl/verify.h, gl/vsnprintf.c, gl/wchar.in.h, gl/wcrtomb.c, - gl/wctype.in.h, gl/write.c, gl/xalloc.h, gl/xmalloc.c, gl/xsize.h, - plugins/Makefile.am, plugins/netutils.h: Sync with gnulib - - * tap/tap.h: Clean up last commit - remove the __STDC_VERSION__ check in - tap.h - - HP-UX refuses to compile tap with the check for __STDC_VERSION__ >= 199901L - even though it can. - -2009-01-14 Thomas Guyot-Sionnest - - * tap/tap.h: Trying to see if HP-UX will compile without the - __STDC_VERSION__ check in tap.h - -2009-01-13 Thomas Guyot-Sionnest - - * lib/Makefile.am: Make /lib before /lib/tests to satisfy dependencies - (building tests fails on IRIX) - -2009-01-09 Thomas Guyot-Sionnest - - * lib/tests/test_utils.c: Fix test from last commit - - * lib/tests/test_utils.c: basename check in test_utils.c was accidentaly - added again. - - In 538b97c I reverted a serie of libtap patch by Ton Voon; it included - the removal of the useless basename check. - - Relevant portion of the changelog from which it was removed (f31cd40): - - Removed basename test as we should use base_name from GNUlib which is - tested separately - - * lib/Makefile.am, lib/tests/Makefile.am: Revert "Cleanup; fix the way - libraries are linked; Make-It-Simple(tm)" - - Trying to see if this has any relation to the tinderbox failure. I doubt it - and will revert back as soon as it's tested. - - This reverts commit a97e5fbda21a05574b0e3c5a5118402ebfbbd13c. - -2009-01-08 Thomas Guyot-Sionnest - - * lib/tests/test_utils.c: Try to make IRIX happy (this fixes a similar - warning in Solaris) - -2009-01-07 Thomas Guyot-Sionnest - - * lib/Makefile.am, lib/tests/Makefile.am: Cleanup; fix the way libraries - are linked; Make-It-Simple(tm) - - lib/Makefile.am | 2 +- - lib/tests/Makefile.am | 37 ++++--------------------------------- - 2 files changed, 5 insertions(+), 34 deletions(-) - -2009-01-06 Thomas Guyot-Sionnest - - * tools/git2svn.pl: git2svn: Use --add-author-from with "git set-tree" - - * tools/tinderbox_build: tinderbox_build: Add --enable-libtap configure - option - - * tools/tinderbox_build: tinderbox_build: Clarify comment - -2008-12-23 Ton Voon - - * plugins/check_snmp.c: Allow privproto to be passed through check_snmp - to snmpget. Defaults to DES - for compatibility - -2008-12-03 Thomas Guyot-Sionnest - - * NEWS, THANKS.in, plugins/check_mrtg.c: check_mrtg: fix plugin - returning UNKNOWN instead of OK (bug #2378068) - -2008-12-02 Ton Voon - - * tools/sfsnapshot: Updated to latest due to SF policy changes - -2008-11-28 Thomas Guyot-Sionnest - - * .gitignore, Makefile.am, NEWS, configure.in, lib/tests/Makefile.am, - tap/Makefile.am, tap/README, tap/tap.3, tap/tap.c, tap/tap.h, - tap/tests/Makefile.am, tap/tests/README, tap/tests/diag/Makefile.am, - tap/tests/diag/test.c, tap/tests/diag/test.pl, tap/tests/diag/test.t, - tap/tests/fail/Makefile.am, tap/tests/fail/test.c, - tap/tests/fail/test.pl, tap/tests/fail/test.t, tap/tests/ok/Makefile.am, - tap/tests/ok/ok-hash/Makefile.am, tap/tests/ok/ok-hash/test.c, - tap/tests/ok/ok-hash/test.pl, tap/tests/ok/ok-hash/test.t, - tap/tests/ok/ok-numeric/Makefile.am, tap/tests/ok/ok-numeric/test.c, - tap/tests/ok/ok-numeric/test.pl, tap/tests/ok/ok-numeric/test.t, - tap/tests/ok/ok/Makefile.am, tap/tests/ok/ok/test.c, - tap/tests/ok/ok/test.pl, tap/tests/ok/ok/test.t, - tap/tests/pass/Makefile.am, tap/tests/pass/test.c, - tap/tests/pass/test.pl, tap/tests/pass/test.t, - tap/tests/plan/Makefile.am, tap/tests/plan/no-tests/Makefile.am, - tap/tests/plan/no-tests/test.c, tap/tests/plan/no-tests/test.pl, - tap/tests/plan/no-tests/test.t, tap/tests/plan/no_plan/Makefile.am, - tap/tests/plan/no_plan/test.c, tap/tests/plan/no_plan/test.pl, - tap/tests/plan/no_plan/test.t, - tap/tests/plan/not-enough-tests/Makefile.am, - tap/tests/plan/not-enough-tests/test.c, - tap/tests/plan/not-enough-tests/test.pl, - tap/tests/plan/not-enough-tests/test.t, tap/tests/plan/sane/Makefile.am, - tap/tests/plan/sane/test.c, tap/tests/plan/sane/test.pl, - tap/tests/plan/sane/test.t, tap/tests/plan/skip_all/Makefile.am, - tap/tests/plan/skip_all/test.c, tap/tests/plan/skip_all/test.pl, - tap/tests/plan/skip_all/test.t, - tap/tests/plan/too-many-plans/Makefile.am, - tap/tests/plan/too-many-plans/test.c, - tap/tests/plan/too-many-plans/test.pl, - tap/tests/plan/too-many-plans/test.t, - tap/tests/plan/too-many-tests/Makefile.am, - tap/tests/plan/too-many-tests/test.c, - tap/tests/plan/too-many-tests/test.pl, - tap/tests/plan/too-many-tests/test.t, tap/tests/skip/Makefile.am, - tap/tests/skip/test.c, tap/tests/skip/test.pl, tap/tests/skip/test.t, - tap/tests/todo/Makefile.am, tap/tests/todo/test.c, - tap/tests/todo/test.pl, tap/tests/todo/test.t: Add Libtap as a bundled - library (does not change any behaviour without --enable-libtap) - - Detects system library as pre-1.4.13 and does not install the built-in library anymore - - Tested on: - - Linux x86_64, with and without local libtap (System libtap installed) - - Linux x86, with and without local libtap (System libtap NOT installed) - - Solaris SPARC, with and without local libtap, with and without system libtap installed - - * Makefile.am, configure.in, external/README, - external/tap-1.01-nagios-plugins.tar.gz, lib/tests/Makefile.am, - lib/tests/test_all.t, lib/tests/test_base64.t, lib/tests/test_cmd.t, - lib/tests/test_disk.t, lib/tests/test_ini.t, lib/tests/test_opts.t, - lib/tests/test_tcp.t, lib/tests/test_utils.c, lib/tests/test_utils.t, - tools/setup: Revert inclusion of libtap into nagiosplugins - (except for the NEWS file) - - This reverts the following commits (latest first): f3e0909, 9f16b54, be8df51, f31cd40, 5270c7d, a25083f, f1bfe40, c503d85 and 6c476db - -2008-11-27 Thomas Guyot-Sionnest - - * tools/tinderbox_build: tinderbox: Don't alter SunOS path if we're - building off a repository tree - - SunOS make will work only out of snapshots and releases. - -2008-11-26 Thomas Guyot-Sionnest - - * plugins-root/Makefile.am, plugins-scripts/Makefile.am, - plugins/Makefile.am: Fixing build breakages (I totally forgot this rule - was there...) - - * NP-VERSION-GEN: Fix it for good now - - * NP-VERSION-GEN: Minor fix in NP-VERSION-GEN - - * Makefile.am, NP-VERSION-GEN, configure.in, plugins-root/Makefile.am, - plugins-scripts/Makefile.am, plugins/Makefile.am: Disable dynamic - versionning for releases, and allow generating version out of - subversion. - - This should be a definitive fix for systems with non-compilant make programs as the version will be taken from $(PACKAGE_VERSION) instead. - - At the same time I added code for generating svn-based version strings. - -2008-11-25 Thomas Guyot-Sionnest - - * plugins-root/Makefile.am, plugins-scripts/Makefile.am, - plugins/Makefile.am: Workaround to support more make programs - - Avoid the use of "-include". Since "include" is interpreted by Automake, we have to use a special macro instead. - - * plugins-scripts/Makefile.am: Exporting ENV vars from Makefile is - supported only with GNU Make. Use the shell instead. - -2008-11-24 Thomas Guyot-Sionnest - - * tools/distclean: No need to bailout on distclean failures - - * tools/tinderbox_build: Revert "tinderbox: Comment out additional PATH - conponent added for SunOS builds" - - This reverts commit 088452683cf881c6ed717cc559ca2eee3faa95ca. - -2008-11-23 Thomas Guyot-Sionnest - - * tools/tinderbox_build: tinderbox: Comment out additional PATH - conponent added for SunOS builds - - * plugins-root/Makefile.am, plugins-scripts/Makefile.am, - plugins/Makefile.am: Avoid the use of .PHONY (target s created twice and - I have no idea if it's right). - -2008-11-23 Thomas Guyot-Sionnest - - * .gitignore: Update .gitignore to include missing file/extention - - * .gitignore: Add .gitignore (Imported from svn:ignore) - -2008-11-23 Thomas Guyot-Sionnest - - * BRANCHES, Makefile.am, NP-VERSION-GEN, NPTest.pm, acinclude.m4, - autogen.sh, command.cfg.in, configure.in, contrib/check_adptraid.sh, - contrib/check_apc_ups.pl, contrib/check_appletalk.pl, - contrib/check_arping.pl, contrib/check_email_loop.pl, - contrib/check_fan_cpq_present, contrib/check_fan_fsc_present, - contrib/check_frontpage, contrib/check_http-with-client-certificate.c, - contrib/check_hw.sh, contrib/check_ica_master_browser.pl, - contrib/check_ica_metaframe_pub_apps.pl, - contrib/check_ica_program_neigbourhood.pl, - contrib/check_inodes-freebsd.pl, contrib/check_javaproc.pl, - contrib/check_joy.sh, contrib/check_log2.pl, contrib/check_lotus.pl, - contrib/check_mem.pl, contrib/check_ms_spooler.pl, - contrib/check_ora_table_space.pl, contrib/check_oracle_instance.pl, - contrib/check_oracle_tbs, contrib/check_pfstate, contrib/check_rbl.c, - contrib/check_smb.sh, contrib/check_snmp_disk_monitor.pl, - contrib/check_snmp_printer.pl, contrib/check_snmp_process_monitor.pl, - contrib/check_snmp_procs.pl, contrib/check_temp_cpq, - contrib/check_temp_fsc, contrib/check_traceroute.pl, - contrib/check_uptime.c, contrib/check_vcs.pl, contrib/check_wins.pl, - contrib/packet_utils.pm, contrib/utils.py, doc/BRANCHING, - doc/developer-guidelines.sgml, lib/extra_opts.c, lib/parse_ini.c, - lib/tests/test_base64.c, lib/tests/test_cmd.c, lib/tests/test_disk.c, - lib/tests/test_ini.c, lib/tests/test_opts.c, lib/tests/test_tcp.c, - lib/tests/test_utils.c, lib/utils_base.c, lib/utils_cmd.c, - lib/utils_disk.c, lib/utils_tcp.c, plugins-root/Makefile.am, - plugins-root/check_dhcp.c, plugins-root/check_icmp.c, - plugins-root/t/check_icmp.t, plugins-scripts/Makefile.am, - plugins-scripts/check_breeze.pl, plugins-scripts/check_disk_smb.pl, - plugins-scripts/check_file_age.pl, plugins-scripts/check_flexlm.pl, - plugins-scripts/check_ifoperstatus.pl, - plugins-scripts/check_ifstatus.pl, plugins-scripts/check_ircd.pl, - plugins-scripts/check_log.sh, plugins-scripts/check_mailq.pl, - plugins-scripts/check_mssql.pl, plugins-scripts/check_netdns.pl, - plugins-scripts/check_ntp.pl, plugins-scripts/check_oracle.sh, - plugins-scripts/check_rpc.pl, plugins-scripts/check_sensors.sh, - plugins-scripts/check_wave.pl, plugins-scripts/subst.in, - plugins-scripts/t/check_file_age.t, plugins-scripts/t/check_rpc.t, - plugins-scripts/t/utils.t, plugins-scripts/utils.pm.in, - plugins/Makefile.am, plugins/check_apt.c, plugins/check_by_ssh.c, - plugins/check_cluster.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c, - plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c, - plugins/check_ide_smart.c, plugins/check_ldap.c, plugins/check_load.c, - plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c, - plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c, - plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c, - plugins/common.h, plugins/negate.c, plugins/netutils.c, - plugins/netutils.h, plugins/popen.c, plugins/popen.h, plugins/runcmd.c, - plugins/runcmd.h, plugins/sslutils.c, plugins/t/check_by_ssh.t, - plugins/t/check_cluster.t, plugins/t/check_dig.t, - plugins/t/check_disk.t, plugins/t/check_dns.t, plugins/t/check_dummy.t, - plugins/t/check_fping.t, plugins/t/check_ftp.t, plugins/t/check_hpjd.t, - plugins/t/check_http.t, plugins/t/check_imap.t, - plugins/t/check_jabber.t, plugins/t/check_load.t, - plugins/t/check_mysql.t, plugins/t/check_mysql_query.t, - plugins/t/check_nagios.t, plugins/t/check_ntp.t, plugins/t/check_ping.t, - plugins/t/check_pop.t, plugins/t/check_procs.t, plugins/t/check_smtp.t, - plugins/t/check_snmp.t, plugins/t/check_swap.t, plugins/t/check_tcp.t, - plugins/t/check_time.t, plugins/t/check_udp.t, plugins/t/check_users.t, - plugins/t/negate.t, plugins/urlize.c, plugins/utils.c, plugins/utils.h, - test.pl.in, tools/README, tools/git2svn.pl, tools/mini_epn.c, - tools/setup, tools/tinderbox_build: Removing CVS/SVN tags and replacing - with git-based versioning - For contrib/, full tags have been imported from subversion - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c - -2008-11-20 Thomas Guyot-Sionnest - - * plugins/check_disk.c: Add comment to recent check_disk patch - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2088 f882894a-f735-0410-b71e-b25c423dba1c - -2008-11-19 Thomas Guyot-Sionnest - - * lib/parse_ini.c, lib/utils_base.c, lib/utils_disk.c, - plugins-root/check_dhcp.c, plugins-root/check_icmp.c, - plugins-root/pst3.c, plugins/check_apt.c, plugins/check_cluster.c, - plugins/check_disk.c, plugins/check_dns.c, plugins/check_dummy.c, - plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c, - plugins/check_ldap.c, plugins/check_mrtg.c, plugins/check_mysql.c, - plugins/check_nagios.c, plugins/check_ntp.c, plugins/check_ntp_peer.c, - plugins/check_ntp_time.c, plugins/check_nwstat.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_radius.c, plugins/check_smtp.c, - plugins/check_snmp.c, plugins/check_ssh.c, plugins/check_swap.c, - plugins/check_tcp.c, plugins/check_time.c, plugins/check_ups.c, - plugins/netutils.c, plugins/popen.c, plugins/urlize.c: Bulk EOL cleanup - - $ git diff --ignore-space-change|diffstat - 0 files changed - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2087 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/check_ntp.c, plugins/check_ntp_peer.c: Fixed buffer - overflow in check_ntp/check_ntp_peer (#1999319, Ubuntu #291265) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2086 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, THANKS.in, lib/utils_disk.c, plugins/check_disk.c: check_disk: - rerpopulate the mount list after doing a stat() on paths specified with - -p for better automount support. - - NB: There's a memory leak here - properly freeing the mount list would invlove - much more work - there's many other places where leaks can happen so it - should be a project on its own. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2085 f882894a-f735-0410-b71e-b25c423dba1c - -2008-11-14 Ton Voon - - * tools/sfupload: Helper script to upload tarballs to SF and create - md5sum - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2081 f882894a-f735-0410-b71e-b25c423dba1c - -2008-11-11 Ton Voon - - * doc/developer-guidelines.sgml: Updated tinderbox link - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2080 f882894a-f735-0410-b71e-b25c423dba1c - -2008-11-08 Thomas Guyot-Sionnest - - * NEWS, plugins/check_nt.c: Add missing long options for check_nt (for - use with extra-opts) - - Extra-opts (ini files) requires long-options for setting up arguments. Added - the missing ones for check_nt so that it can be properly used with extra-opts. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2079 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_ide_smart.c, plugins/check_mrtg.c, - plugins/check_mrtgtraf.c, plugins/check_mysql_query.c, - plugins/check_nt.c: Fix long options parsing in check_disk, check_dns, - check_mrtg and check_mrtgtraf (check_tcp was done in an earlier commit) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2078 f882894a-f735-0410-b71e-b25c423dba1c - -2008-11-08 Ton Voon - - * THANKS.in: Added Jan for check_http method patch - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2077 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, THANKS.in, plugins/check_http.c, plugins/tests/check_http.t: - Fixed bug where extra headers and redirect caused segfault (Dieter Van - de Walle - 2089159) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2076 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/check_http.c, plugins/tests/check_http.t: check_http now - has options to specify the HTTP method (Jan - 2155152) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2075 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/setup: Fix for tar on Solaris - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2074 f882894a-f735-0410-b71e-b25c423dba1c - -2008-11-07 Thomas Guyot-Sionnest - - * NEWS, THANKS.in, plugins-root/check_icmp.c: check_icmp now reports min - and max round trip time perfdata (Steve Rader) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2073 f882894a-f735-0410-b71e-b25c423dba1c - -2008-11-05 Thomas Guyot-Sionnest - - * NEWS, plugins/check_tcp.c: Fix check_tcp longoptions handling - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2072 f882894a-f735-0410-b71e-b25c423dba1c - -2008-11-05 Ton Voon - - * lib/tests/Makefile.am: Need to add in the libgnu.la for Solaris and - other platforms - where missing functions have been replaced by GNUlib - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2071 f882894a-f735-0410-b71e-b25c423dba1c - -2008-11-05 Thomas Guyot-Sionnest - - * NEWS: Missing NEWS item - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2070 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/extra_opts.c, lib/tests/test_opts.c: Fix calculation of extra-opts - parameters. - - By reading the current list instead of the additional one when counting parameters, extra-opts calculation was allocating insuficient space for the final array if later sections contained more arguments than the sum of all previously parsed sections. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2069 f882894a-f735-0410-b71e-b25c423dba1c - -2008-11-05 Ton Voon - - * Makefile.am, NEWS, configure.in: Fixed libtap dependency issue. - Warning: will install tap into lib directories - if ./configure --enable-libtap is used, but as development tool, will be okay - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2068 f882894a-f735-0410-b71e-b25c423dba1c - -2008-11-05 Thomas Guyot-Sionnest - - * plugins/t/check_http.t: Fix check_http test (altinity.com redirects - now). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2067 f882894a-f735-0410-b71e-b25c423dba1c - -2008-11-04 Thomas Guyot-Sionnest - - * lib/tests/test_ini.c, lib/tests/test_opts.c: Fixed the test (not the - bug yet) and added similar one to test_ini (that one works) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2066 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/tests/test_opts.c: Corrected test_opts plan - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2065 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/tests/plugins.ini, lib/tests/test_opts.c: Adding extra-opts check - that crash on my prod servers (*** glibc detected *** malloc(): memory - corruption: 0x0804e248 ***) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2064 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, lib/parse_ini.c, lib/tests/plugin.ini: Make extra-opts (C - plugins) behave more like N::P: - - N::P allows both '#' and ';' for comments. Extra-opts used to allow only '#', it now allows both (';' is the standard for ini files) - Extra-opts does not allow trailing comments anymore (like N::P) - - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2063 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, THANKS.in, plugins/check_ups.c: check_ups now sends a LOGOUT - string (debian bug #387001) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2062 f882894a-f735-0410-b71e-b25c423dba1c - -2008-10-22 Matthias Eble - - * BUGS, NEWS, plugins-scripts/check_ifoperstatus.pl: check_ifoperstatus - -n flag now works as expected (sf.net #1569488) - check_ifoperstatus now supports ifType based lookup for ifIndex - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2061 f882894a-f735-0410-b71e-b25c423dba1c - -2008-10-21 Ton Voon - - * NEWS, tools/tinderbox_build: Updated tinderbox server - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2060 f882894a-f735-0410-b71e-b25c423dba1c - -2008-10-05 Thomas Guyot-Sionnest - - * NEWS, plugins/check_users.c: check-users thresholds was >= rather than - > as documented. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2059 f882894a-f735-0410-b71e-b25c423dba1c - -2008-09-25 Ton Voon - - * BUGS, ChangeLog, NEWS, configure.in, package.def: Preparation for - 1.4.13 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2057 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/tests/check_http.t: Fix small test failure - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2056 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/LEAVERS, doc/NEW_STARTERS, doc/RELEASING: Moving project - administration documents to nagiosplugins.org site - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2055 f882894a-f735-0410-b71e-b25c423dba1c - -2008-09-02 Thomas Guyot-Sionnest - - * plugins/check_ntp_peer.c: Typo - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2054 f882894a-f735-0410-b71e-b25c423dba1c - -2008-09-02 Holger Weiss - - * THANKS.in, plugins/check_http.c: Some HTTP server - applications/configurations cause trouble if the port is - explicitly specified in our "Host:" header line. Therefore, we now specify the - port only if we're using a non-default port (Erik Wasser - 2082501). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2053 f882894a-f735-0410-b71e-b25c423dba1c - -2008-09-02 Thomas Guyot-Sionnest - - * NEWS, plugins/check_ntp_peer.c: Fix possible segfault in - check_ntp_peer with deliberately invalid packets - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2052 f882894a-f735-0410-b71e-b25c423dba1c - -2008-09-01 Thomas Guyot-Sionnest - - * NEWS, plugins/check_ntp_peer.c, plugins/check_ntp_time.c: - check_ntp_peer/check_ntp_time used to show port in --help but ignored - the argument - now implemented. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2051 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, THANKS.in, plugins/check_http.c: Revert "Re-structure the HTTP - 1.1 headers to prevent 301s on servers with virtual hosts" - - This reverts commit 2030 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2050 f882894a-f735-0410-b71e-b25c423dba1c - -2008-09-01 Holger Weiss - - * plugins/check_http.c: Under some circumstances, the 'url' path of a - redirection target missed - a leading slash. While this was fixed later on, the incomplete 'url' - was used for redirection loop detection and error messages. This is now - fixed by adding the missing slash immediately. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2049 f882894a-f735-0410-b71e-b25c423dba1c - -2008-08-25 Ton Voon - - * plugins/tests/check_http.t: Fix HTTP::Daemon::VERSION to get a fixed - header size for tests - (Sven Nierlein) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2048 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/tests/check_http.t: Updated with more tests re: multiple - status codes (Sven Nierlein) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2047 f882894a-f735-0410-b71e-b25c423dba1c - -2008-08-25 Holger Weiss - - * NEWS, THANKS.in, plugins/check_http.c, plugins/tests/check_http.t: The - "-e" option now accepts a comma-delimited list of expected status - lines (Sven Nierlein - 1894496). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2046 f882894a-f735-0410-b71e-b25c423dba1c - -2008-08-22 Ton Voon - - * plugins/tests/check_http.t, plugins/tests/var/root: Added HTTP tests - for status codes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2045 f882894a-f735-0410-b71e-b25c423dba1c - -2008-08-21 Ton Voon - - * configure.in: Only include extra-opts tests if libtap is enabled - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2044 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS: Note re: --enable-libtap - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2043 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/tests/Makefile.am, lib/tests/test_all.t, lib/tests/test_base64.t, - lib/tests/test_cmd.t, lib/tests/test_disk.t, lib/tests/test_ini.t, - lib/tests/test_opts.t, lib/tests/test_tcp.t, lib/tests/test_utils.c, - lib/tests/test_utils.t: Correctly link to included libtap. Simplify - invoking test scripts. - Removed basename test as we should use base_name from GNUlib which is - tested separately - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2042 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/tinderbox_build: Fix regexp of version number of snapshot - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2041 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am: Remove .svn files in distribution - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2040 f882894a-f735-0410-b71e-b25c423dba1c - - * external/tap-1.01-nagios-plugins.tar.gz, tools/setup: Renamed altered - tap file to nagios-plugins - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2039 f882894a-f735-0410-b71e-b25c423dba1c - -2008-08-21 Thomas Guyot-Sionnest - - * plugins/check_ntp_peer.c: Nothing - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2038 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp_peer.c: Misplaced comment - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2037 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp_peer.c: Complete rewrite of the extract_value - function - - The original one was flawed (easy to trigger segfaults) and did not allow some whitespaces as permitted by rfc1305. This one has been troughfully tested with tap (the testing code might get included later) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2036 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/parse_ini.c, lib/parse_ini.h, lib/tests/test_opts.c: Typos in - comments - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2035 f882894a-f735-0410-b71e-b25c423dba1c - -2008-08-16 Thomas Guyot-Sionnest - - * plugins/check_mysql.c, plugins/check_mysql_query.c: Fix assignment - written as a comparison in validate_arguments() when db_pass is NULL - (Patch from http://blog.barfoo.org/projects/rpms-for-sles10) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2034 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_fping.c: Fix check_fping --help output (Patch from - http://blog.barfoo.org/projects/rpms-for-sles10) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2033 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_by_ssh.t: Typo - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2032 f882894a-f735-0410-b71e-b25c423dba1c - -2008-08-08 Ton Voon - - * plugins-root/pst3.c: Close on fd - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2031 f882894a-f735-0410-b71e-b25c423dba1c - -2008-08-08 Thomas Guyot-Sionnest - - * NEWS, THANKS.in, plugins/check_http.c: Re-structure the HTTP 1.1 - headers to prevent 301s on servers with virtual hosts - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2030 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_icmp.c: Typo in --help output - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2029 f882894a-f735-0410-b71e-b25c423dba1c - -2008-08-05 Thomas Guyot-Sionnest - - * tools/devmode: Set -D_FORTIFY_SOURCE=2, and added a comment with link - to explaination of this flag. - - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2028 f882894a-f735-0410-b71e-b25c423dba1c - -2008-07-28 Matthias Eble - - * plugins-root/check_icmp.c: -b option now specifies ICMP data bytes - instead of packet size - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2027 f882894a-f735-0410-b71e-b25c423dba1c - -2008-07-17 Matthias Eble - - * NEWS, plugins-root/check_icmp.c: Add support for packet size - modification (-b) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2026 f882894a-f735-0410-b71e-b25c423dba1c - -2008-07-10 Thomas Guyot-Sionnest - - * plugins/check_disk.c: Verbose should not have to exceed 3 as per - developement guidelines - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2025 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/devmode: Add -D_FORTIFY_SOURCE - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2024 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ups.c: Typo in check_ups - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2023 f882894a-f735-0410-b71e-b25c423dba1c - -2008-07-09 Matthias Eble - - * plugins/t/check_snmp.t: rewrote check_snmp.t to use Test::More - added perfdata checking for string values - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2022 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/check_snmp.c: check_snmp now only prints perfdata for - non numeric values (Joerg Linge #1867716) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2021 f882894a-f735-0410-b71e-b25c423dba1c - -2008-07-08 Ton Voon - - * Makefile.am, tools/tinderbox_build: Removed libtap configuration for - the moment, as tinderbox builds - are breaking - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2020 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, lib/utils_cmd.c, lib/utils_cmd.h, plugins/Makefile.am, - plugins/check_procs.c: check_procs captures stderr and adds to plugin - output. This is - from a merge of branch nagiosplug/branches/new_threshold_syntax 1979:1982 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2019 f882894a-f735-0410-b71e-b25c423dba1c - -2008-07-06 Holger Weiss - - * plugins-root/check_dhcp.c: Don't try to set the "SO_BROADCAST" socket - option for unicast requests. - (Also, removed the unused "DHCP_UNICAST_FLAG" macro.) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2018 f882894a-f735-0410-b71e-b25c423dba1c - -2008-07-02 Ton Voon - - * lib/tests/Makefile.am: Use tap.h from the libtap directory - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2017 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/Makefile.am, plugins-root/pst3.c: Change pst3 again, this - time to remove use of kvm which is not - available in Solaris 10 non-global zones. Uses /proc, which is not - available in older versions of Solaris. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2016 f882894a-f735-0410-b71e-b25c423dba1c - -2008-06-30 Ton Voon - - * tools/setup: Fixed bug in tools/setup if docbook was run - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2015 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am: Have to list tap_dir manually to get into make dist - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2014 f882894a-f735-0410-b71e-b25c423dba1c - -2008-06-26 Ton Voon - - * Makefile.am, configure.in, external/README, - external/tap-1.01-altinity.tar.gz, lib/tests/Makefile.am, tools/setup, - tools/tinderbox_build: Adding libtap into distribution to help run C - based tests - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2013 f882894a-f735-0410-b71e-b25c423dba1c - -2008-06-17 Ton Voon - - * plugins-root/pst3.c: Fixed possible coredump. Removed one level of - subroutines (Duncan Ferguson) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2012 f882894a-f735-0410-b71e-b25c423dba1c - -2008-06-09 Matthias Eble - - * NEWS, plugins/check_dig.c, plugins/t/check_dig.t: Added testcases for - check_dig - check_dig's -l option is mandatory now (#1986306) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2011 f882894a-f735-0410-b71e-b25c423dba1c - -2008-06-02 Ton Voon - - * NEWS, plugins-root/pst3.c: Optimised pst3 for systems with large - number of processes (Duncan Ferguson) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2010 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, perlmods/Nagios-Plugin-0.22.tar.gz, - perlmods/Nagios-Plugin-0.27.tar.gz: Updated Nagios::Plugin perl modules - to 0.27 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2009 f882894a-f735-0410-b71e-b25c423dba1c - -2008-05-30 Thomas Guyot-Sionnest - - * NEWS, THANKS.in, plugins/check_http.c: Fix Debian bug #460097: - check_http --max-age broken (Hilko Bengen) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2008 f882894a-f735-0410-b71e-b25c423dba1c - -2008-05-29 Thomas Guyot-Sionnest - - * BUGS: typo - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2007 f882894a-f735-0410-b71e-b25c423dba1c - -2008-05-27 Ton Voon - - * doc/RELEASING: Changed SF file release to use sftp instead of ftp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2006 f882894a-f735-0410-b71e-b25c423dba1c - - * BUGS, ChangeLog, NEWS, configure.in, package.def: Preparation for - 1.4.12 release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2004 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, configure.in: Not picking up solaris systems correctly for - check_dhcp. Only - affected SunStudio compiles of check_dhcp (1890260 - Rob Windsor) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2003 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c: Addition to help to state that -f will always - return OK if ssh command - is executed (Alain Dewit - 1852198) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2002 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/pst3.c: Add additional PID column heading - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2001 f882894a-f735-0410-b71e-b25c423dba1c - -2008-05-26 Thomas Guyot-Sionnest - - * NEWS: correct typo in NEWS - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2000 f882894a-f735-0410-b71e-b25c423dba1c - -2008-05-23 Thomas Guyot-Sionnest - - * REQUIREMENTS: Add a note about radiusclient - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1999 f882894a-f735-0410-b71e-b25c423dba1c - -2008-05-22 Thomas Guyot-Sionnest - - * NEWS, configure.in: Fix linking against OpenSSL where libdl is - required - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1998 f882894a-f735-0410-b71e-b25c423dba1c - -2008-05-21 Thomas Guyot-Sionnest - - * NEWS, plugins/check_by_ssh.c, plugins/t/check_by_ssh.t: Fixed passive - option in check_by_ssh - Also: - - On non-skipped stderr, check_by_ssh now returns UNKNOWN or worse (result from command) instead of always UNKNOWN. - - Fixed passive tests and make is always run the specified number of tests (using fail if there's nothing to test). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1997 f882894a-f735-0410-b71e-b25c423dba1c - -2008-05-20 Thomas Guyot-Sionnest - - * plugins/t/check_by_ssh.t: Oops - forgot to remove the SKIP block - (which didn't seem to work fine) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1996 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_by_ssh.t: Add check_by_ssh tests (passive checks are - broken - should be fixed before next release!) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1995 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/check_radius.c: Clobber password in check_radius process - list aguments - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1994 f882894a-f735-0410-b71e-b25c423dba1c - -2008-05-13 Thomas Guyot-Sionnest - - * plugins/check_dns.c: Typo - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1992 f882894a-f735-0410-b71e-b25c423dba1c - -2008-05-07 Thomas Guyot-Sionnest - - * plugins-root/check_dhcp.c, plugins-root/check_icmp.c, - plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_cluster.c, - plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_fping.c, plugins/check_game.c, plugins/check_hpjd.c, - plugins/check_http.c, plugins/check_ide_smart.c, plugins/check_ldap.c, - plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c, - plugins/check_mysql.c, plugins/check_mysql_query.c, - plugins/check_nagios.c, plugins/check_nt.c, plugins/check_ntp.c, - plugins/check_ntp_peer.c, plugins/check_ntp_time.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c, - plugins/utils.h: Added support for --extra-opts in all C plugins - (disabled by default, see configure --help) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1991 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, THANKS.in, plugins/check_ping.c: Added performance data to - check_ping (Christian Schneemann) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1990 f882894a-f735-0410-b71e-b25c423dba1c - -2008-05-02 Thomas Guyot-Sionnest - - * NEWS, plugins/negate.c: negate now has the ability to replace the - status text as well (-s, --substitute) - Also changed: - - default timeout to 11 instead of 9 (since it's recommended to have a higher timeout, and many plugins default to 10 seconds) - - If there's no STDOUT lines returned, still returns the returned result if it's NON-ok instead of forcing it to UNKNOWN - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1989 f882894a-f735-0410-b71e-b25c423dba1c - -2008-04-30 Thomas Guyot-Sionnest - - * NEWS, plugins/check_mysql.c, plugins/check_mysql_query.c, - plugins/t/check_mysql.t: Add socket support to check_mysql* - Also clears the password from check_mysql command-line options - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1988 f882894a-f735-0410-b71e-b25c423dba1c - -2008-04-29 Holger Weiss - - * configure.in: Support "--without-pgsql" (reported by Alex Songe via - IRC). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1987 f882894a-f735-0410-b71e-b25c423dba1c - -2008-04-29 Thomas Guyot-Sionnest - - * plugins/check_ntp.c, plugins/check_ntp_peer.c, - plugins/check_ntp_time.c: Use UT_THRESHOLDS_NOTES in all plugins - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1986 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_dhcp.c, plugins-root/check_icmp.c: --help output - cleanup (plus removal of spaces on blank lines) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1985 f882894a-f735-0410-b71e-b25c423dba1c - -2008-04-27 Thomas Guyot-Sionnest - - * plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_cluster.c, - plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c, - plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ide_smart.c, - plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c, - plugins/check_mrtgtraf.c, plugins/check_mysql.c, - plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c, - plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_nwstat.c, - plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c, - plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c, - plugins/check_snmp.c, plugins/check_swap.c, plugins/check_ups.c, - plugins/utils.h: --help output cleanup (plus removal of spaces on blank - lines) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1984 f882894a-f735-0410-b71e-b25c423dba1c - -2008-04-23 Thomas Guyot-Sionnest - - * plugins/check_radius.c: Correct typo and make the --help notes a bit - simpler. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1983 f882894a-f735-0410-b71e-b25c423dba1c - -2008-04-17 Thomas Guyot-Sionnest - - * plugins/check_dns.c: Correct the help text - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1979 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/check_dns.c: Allow to repeat -a to set multiple possible - addresses - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1978 f882894a-f735-0410-b71e-b25c423dba1c - -2008-04-05 Thomas Guyot-Sionnest - - * NEWS, plugins/check_ntp.c, plugins/check_ntp_peer.c: check_ntp and - check_ntp_peer now show proper jitter/stratum thresholds longopts in - --help - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1977 f882894a-f735-0410-b71e-b25c423dba1c - -2008-04-04 Thomas Guyot-Sionnest - - * lib/extra_opts.c, lib/parse_ini.c, lib/tests/test_ini.c, - lib/tests/test_opts.c: make parse_ini die like in N::P if section isn't - found - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1976 f882894a-f735-0410-b71e-b25c423dba1c - -2008-04-02 Thomas Guyot-Sionnest - - * lib/Makefile.config-opts, lib/tests/Makefile.config-opts: Delete - obsolete files - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1974 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, lib/Makefile.am, lib/parse_ini.c, lib/tests/Makefile.am, - lib/tests/test_ini.t, lib/tests/test_opts.t, po/de.po, po/fr.po, - po/nagios-plugins.pot: - Add --enable-extra-opts configure option for - compiling extra-opts support - - Auto-update po/pot files - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1973 f882894a-f735-0410-b71e-b25c423dba1c - -2008-04-01 Thomas Guyot-Sionnest - - * lib/parse_ini.c: fix the obvious... - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1972 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/extra_opts.c, lib/extra_opts.h: np_extra_opts now retain pointers - from argv so that plugins can still overwrite sensitive options - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1971 f882894a-f735-0410-b71e-b25c423dba1c - -2008-03-31 Thomas Guyot-Sionnest - - * commit d043862c154070b2c58172289899dd14776e2d03, Author: Thomas - Guyot-Sionnest , Date: 2008-03-31: update - svn:ignore property (last gnulib update added many auto-generated files) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1970 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/extra_opts.c, lib/extra_opts.h, lib/parse_ini.c, lib/parse_ini.h, - lib/tests/test_ini.c, lib/tests/test_opts.c: Fix for last commit - I - accidentaly broke my local Makefile and tests weren't being re-compiled. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1968 f882894a-f735-0410-b71e-b25c423dba1c - -2008-03-30 Thomas Guyot-Sionnest - - * lib/extra_opts.c, lib/extra_opts.h, lib/tests/test_opts.c: - Remove - the last argument of np_extra_opts - - Code cleanups and comments - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1967 f882894a-f735-0410-b71e-b25c423dba1c - -2008-03-29 Thomas Guyot-Sionnest - - * commit af71e9fc0ef268b322c4f4677773273c07926a7a, Author: Thomas - Guyot-Sionnest , Date: 2008-03-26: Update - svn:ignore property - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1966 f882894a-f735-0410-b71e-b25c423dba1c - -2008-03-24 Thomas Guyot-Sionnest - - * lib/extra_opts.c, lib/extra_opts.h, lib/tests/config-opts.ini, - lib/tests/test_opts.c, lib/tests/test_opts.t: Add extra-opts argument - parsing with tests - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1961 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/parse_ini.c, lib/parse_ini.h: Replace broken usage of - NAGIOS_CONFIG_PATH with a stub function (that will try to find a config - file in the future...) - Allow NULL locator (default file/section) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1960 f882894a-f735-0410-b71e-b25c423dba1c - -2008-03-20 Thomas Guyot-Sionnest - - * plugins/check_dig.c: - Fix bug #1920671 - - Make --help output looks nice - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1959 f882894a-f735-0410-b71e-b25c423dba1c - -2008-03-18 Ton Voon - - * plugins/tests/check_procs.t: Include test for check_procs, using input - file - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1955 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_procs.c, plugins/tests/var/ps-axwo.darwin, - plugins/tests/var/ps_axwo.debian: Updated check_procs with a hidden - --input-file option. - Include some sample outputs for testing - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1954 f882894a-f735-0410-b71e-b25c423dba1c - -2008-03-17 Ton Voon - - * plugins/t/check_nagios.t: Don't run check_nagios tests on Solaris, - because of pst3 requirement - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1953 f882894a-f735-0410-b71e-b25c423dba1c - -2008-03-16 Thomas Guyot-Sionnest - - * lib/tests/config-dos.ini, lib/tests/plugin.ini, lib/tests/test_ini.c: - Add tests: - - DOS-newline ini file - - section defined twice - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1951 f882894a-f735-0410-b71e-b25c423dba1c - -2008-03-15 Thomas Guyot-Sionnest - - * lib/parse_ini.c: parse_ini now reads the default section if the - request one can't be found. - All tests should return ok now. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1950 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/parse_ini.c: Oops - this line shouldn't have been here (doesn't - even work anyways) ;) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1949 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/parse_ini.c, lib/tests/plugin.ini, lib/tests/test_ini.c: - Make - equal-less parameters illegal - - parameters without argument after '=' are now assumed to be argument-less - - Add a testcase for space in stanza and various argument-less parameters - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1948 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/parse_ini.c: Fix handling of leading and trailing spaces in stanza - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1947 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/parse_ini.c, lib/tests/test_ini.c: Fix segfault in test_ini.c and - uncomment the affected tests - Fix bug in stanza parsing where full section could be skipped - Fix single-argument options - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1946 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/parse_ini.c, lib/parse_ini.h, lib/tests/test_ini.c, - lib/tests/test_ini.t: This commit consist of two changes: - 1. Make np_get_defaults return a linked list instead of a string. It will then be easy to convert the linked list back to an argument array. - 2. Fix tests 3-4 of test_ini.c. - - A test_ini.t was added too. parse_ini and test_ini aren't included yet in the build makefiles. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1945 f882894a-f735-0410-b71e-b25c423dba1c - -2008-03-15 Matthias Eble - - * plugins/check_http.c: Add port to Host Header to prevent problems with - non default ports (Christophe Dupre #1881898) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1944 f882894a-f735-0410-b71e-b25c423dba1c - -2008-03-14 Matthias Eble - - * NEWS, plugins/check_dig.c: Added -A/--dig-arguments to check_dig - (#1889453/#1874041) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1943 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: Enhanced check_smtp to actually print invalid - response text (#1911239) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1942 f882894a-f735-0410-b71e-b25c423dba1c - -2008-03-14 Ton Voon - - * NEWS, plugins-root/Makefile.am, plugins/Makefile.am: Fixed 64 bit pst3 - when tries to link to gettext. Gettext linked - dynamically, if necessary - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1941 f882894a-f735-0410-b71e-b25c423dba1c - -2008-03-14 Thomas Guyot-Sionnest - - * gl/charset.alias, gl/configmake.h, gl/math.h, gl/ref-add.sed, - gl/ref-del.sed, gl/stdio.h, gl/stdlib.h, gl/string.h, gl/unistd.h: These - files are generated automatically during the make process, and removed - by make clean. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1940 f882894a-f735-0410-b71e-b25c423dba1c - -2008-03-11 Ton Voon - - * configure.in, gl/m4/mbstate_t.m4: Possible fix for HP-UX compile - problems of regex_internal.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1939 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, lib/utils_base.c, plugins-root/Makefile.am, - plugins/check_http.c, plugins/check_smtp.c, plugins/common.h: Fixed link - -m64 problems on pst3 for solaris. Fixed _FILE_OFFSET_BITS - redefinition warnings. Fixed helper ar error in ./configure - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1938 f882894a-f735-0410-b71e-b25c423dba1c - -2008-02-28 Ton Voon - - * NEWS, configure.in, plugins-root/Makefile.am, plugins-root/pst3.c, - plugins/check_procs.c, plugins/t/check_procs.t: Reverted check_procs for - solaris back to using pst3 due to truncation - for argument fields using other methods - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1937 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/build_perl_modules: Fix where PERL5LIB is blank - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1936 f882894a-f735-0410-b71e-b25c423dba1c - -2008-02-18 Ton Voon - - * NEWS: Added CVE MITRE tracking number - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1935 f882894a-f735-0410-b71e-b25c423dba1c - -2008-02-13 Matthias Eble - - * NEWS, plugins/check_pgsql.c: check_pgsql now builds with postgres lib - v8.3 (Jan Wagner #1878972) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1934 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: Fix --local argument handling (Jan Wagner - #1878971) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1933 f882894a-f735-0410-b71e-b25c423dba1c - -2008-02-13 Thomas Guyot-Sionnest - - * plugins/check_disk.c: Fix broken intending (The whole file use spaces - only except my last patch and 1-3 other places). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1932 f882894a-f735-0410-b71e-b25c423dba1c - - * commit fe2e5f4aecab99a1c361994e4b678d6709d65f6c, Author: Thomas - Guyot-Sionnest , Date: 2008-02-13: Add - two files to svn:ignore - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1931 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS: News, nothing else. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1929 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/common.h: This floorf workaround is Nnot needed anymore since - floorf is part of Gnulib - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1928 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/tests/test_base64.c: Reverting patch to test 8-bit data: Still - broken on Solaris (7-bit works as before) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1927 f882894a-f735-0410-b71e-b25c423dba1c - -2008-02-12 Thomas Guyot-Sionnest - - * gl/Makefile.am, gl/base64.c, gl/base64.h, gl/charset.alias, - gl/configmake.h, gl/floor.c, gl/floorf.c, gl/m4/base64.m4, - gl/m4/floorf.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, - gl/m4/math_h.m4, gl/math.h, gl/math.in.h, gl/ref-add.sed, - gl/ref-del.sed, gl/stdio.h, gl/stdlib.h, gl/string.h, gl/unistd.h, - lib/Makefile.am, lib/base64.c, lib/base64.h, lib/tests/Makefile.am, - lib/tests/test_base64.c, plugins/check_http.c, plugins/check_smtp.c: - Import Gnulib floorf and base64 and removed our old base64 library. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1926 f882894a-f735-0410-b71e-b25c423dba1c - - * build-aux/config.rpath, build-aux/link-warning.h, gl/Makefile.am, - gl/alloca.c, gl/alloca.in.h, gl/asnprintf.c, gl/asprintf.c, - gl/basename.c, gl/c-strtod.c, gl/cloexec.c, gl/config.charset, - gl/creat-safer.c, gl/dirname.c, gl/dirname.h, gl/dup-safer.c, - gl/error.c, gl/error.h, gl/exit.h, gl/exitfail.c, gl/exitfail.h, - gl/fcntl--.h, gl/fcntl-safer.h, gl/fd-safer.c, gl/float+.h, - gl/float.in.h, gl/fsusage.c, gl/fsusage.h, gl/full-read.c, - gl/full-read.h, gl/full-write.c, gl/full-write.h, gl/gai_strerror.c, - gl/getaddrinfo.c, gl/getaddrinfo.h, gl/gethostname.c, gl/getloadavg.c, - gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, - gl/gettext.h, gl/inet_ntop.c, gl/inet_ntop.h, gl/intprops.h, - gl/localcharset.c, gl/localcharset.h, gl/m4/absolute-header.m4, - gl/m4/alloca.m4, gl/m4/extensions.m4, gl/m4/float_h.m4, - gl/m4/fsusage.m4, gl/m4/getaddrinfo.m4, gl/m4/getloadavg.m4, - gl/m4/gettext.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, - gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/include_next.m4, - gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intlmacosx.m4, gl/m4/intmax_t.m4, - gl/m4/lib-link.m4, gl/m4/localcharset.m4, gl/m4/lock.m4, - gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/malloc.m4, - gl/m4/mbchar.m4, gl/m4/mbiter.m4, gl/m4/mbrtowc.m4, gl/m4/memchr.m4, - gl/m4/minmax.m4, gl/m4/netinet_in_h.m4, gl/m4/po.m4, - gl/m4/printf-posix.m4, gl/m4/regex.m4, gl/m4/snprintf.m4, - gl/m4/socklen.m4, gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, - gl/m4/strcase.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, - gl/m4/strndup.m4, gl/m4/strnlen.m4, gl/m4/sys_socket_h.m4, - gl/m4/uintmax_t.m4, gl/m4/ulonglong.m4, gl/m4/unistd_h.m4, - gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/vsnprintf.m4, - gl/m4/wchar.m4, gl/m4/wctype.m4, gl/m4/wcwidth.m4, gl/m4/wint_t.m4, - gl/malloc.c, gl/mbchar.c, gl/mbchar.h, gl/mbuiter.h, gl/memchr.c, - gl/minmax.h, gl/mountlist.c, gl/mountlist.h, gl/netinet_in.in.h, - gl/open-safer.c, gl/pipe-safer.c, gl/printf-args.c, gl/printf-args.h, - gl/printf-parse.c, gl/printf-parse.h, gl/ref-add.sin, gl/ref-del.sin, - gl/regcomp.c, gl/regex.c, gl/regex.h, gl/regex_internal.c, - gl/regex_internal.h, gl/regexec.c, gl/safe-read.c, gl/safe-read.h, - gl/safe-write.c, gl/safe-write.h, gl/size_max.h, gl/snprintf.c, - gl/snprintf.h, gl/stdbool.in.h, gl/stdint.in.h, gl/stdio.in.h, - gl/stdlib.in.h, gl/strcase.h, gl/strcasecmp.c, gl/strdup.c, gl/strdup.h, - gl/strerror.c, gl/string.in.h, gl/stripslash.c, gl/strncasecmp.c, - gl/strndup.c, gl/strndup.h, gl/strnlen.c, gl/strnlen.h, gl/strnlen1.c, - gl/sys_socket.in.h, gl/unistd--.h, gl/unistd-safer.h, gl/unistd.in.h, - gl/unistd_.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, - gl/vasprintf.h, gl/vsnprintf.c, gl/vsnprintf.h, gl/wchar.in.h, - gl/wctype.in.h, gl/wcwidth.h, gl/xalloc-die.c, gl/xalloc.h, - gl/xmalloc.c, gl/xsize.h, gl/xstrndup.c, gl/xstrndup.h, - plugins/common.h, po/Makevars: Sync to latest Gnulib - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1925 f882894a-f735-0410-b71e-b25c423dba1c - -2008-02-11 Ton Voon - - * REQUIREMENTS: Hints re: SSL features - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1924 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Added link to FAQ for redhat spopen problem - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1923 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-31 Thomas Guyot-Sionnest - - * plugins-root/check_dhcp.c, plugins-root/check_icmp.c, - plugins-root/pst3.c: Bump plugins-root/ to GPLv3 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1920 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/common.h, plugins/netutils.h, plugins/popen.h, - plugins/runcmd.h: Bump plugins/ to GPLv3 (header files) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1919 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/negate.c, plugins/netutils.c, plugins/popen.c, - plugins/runcmd.c, plugins/sslutils.c, plugins/urlize.c, plugins/utils.c: - Bump plugins/ to GPLv3 (non-plugind files) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1918 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c, - plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c, - plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c, - plugins/check_swap.c, plugins/check_tcp.c, plugins/check_time.c, - plugins/check_ups.c, plugins/check_users.c: Bump plugin/ to GPLv3 - (check_overcr to check_users) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1917 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-30 Thomas Guyot-Sionnest - - * plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_cluster.c, - plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c, - plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ide_smart.c, - plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c, - plugins/check_mrtgtraf.c, plugins/check_mysql.c, - plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c, - plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c, - plugins/check_nwstat.c: Bump plugins/ to GPLv3 (check_apt to - check_nwstat) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1916 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/utils_disk.c, lib/utils_tcp.c: details... - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1915 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/tests/test_base64.c, lib/tests/test_cmd.c, lib/tests/test_disk.c, - lib/tests/test_ini.c, lib/tests/test_tcp.c, lib/tests/test_utils.c: Bump - lib/tests to GPLv3 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1914 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/parse_ini.c, lib/utils_base.c, lib/utils_cmd.c, lib/utils_disk.c, - lib/utils_tcp.c: Bump /lib to GPLv3 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1913 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/parse_ini.c: new standardized GPLv3 header (will be applied to all - C files) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1912 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-29 Thomas Guyot-Sionnest - - * NEWS, plugins/check_ntp_peer.c: check_ntp_peer now checks for the - LI_ALARM flag - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1911 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS: typo - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1910 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/check_ntp.c, plugins/check_ntp_time.c: Fix bugs and - flaws in best offset server selection of check_ntp_time and (deprecated) - check_ntp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1909 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-26 Thomas Guyot-Sionnest - - * NEWS, THANKS.in, plugins/check_ntp_peer.c, plugins/check_ntp_time.c: - Fix help text of check_ntp_* (Bug #1880095) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1908 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-15 Thomas Guyot-Sionnest - - * NEWS, plugins/check_disk.c: Fix check_disk disk usage calculation when - using --group=NAME (related to bug #1348746) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1907 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, configure.in: Add AC_SYS_LARGEFILE to configure.in (check_disk - should now work with large file systems (2TB+) on all archs that - supports it) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1906 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-10 Thomas Guyot-Sionnest - - * lib/tests/test_cmd.c: Add a return-code check (also test cmd_run - without out/err buffers) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1905 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-09 Thomas Guyot-Sionnest - - * tools/tinderbox_build: make test-debug generate lots of false errors - in tinderbox. Turning off until we find a solution (so al least we can - watch the tinderbox for breakages again) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1904 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-08 Matthias Eble - - * plugins/check_dns.c: Fixed reverse lookup damaged by previous commit - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1903 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-08 Ton Voon - - * plugins/t/check_dns.t: Changed default test values for check_dns - (using nagios.com) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1902 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_ftp.t, plugins/t/check_imap.t, - plugins/t/check_jabber.t, plugins/t/check_pop.t, plugins/t/check_tcp.t: - Reverted commits 1898 and 1899 due to reversion of 1879 - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1901 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/check_tcp.c: Reverted commit 1879 where an invalid - hostname returns UNKNOWN - back to CRITICAL - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1900 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-08 Thomas Guyot-Sionnest - - * plugins/t/check_imap.t, plugins/t/check_jabber.t, - plugins/t/check_pop.t: more r1879 fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1899 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_ftp.t, plugins/t/check_tcp.t: Fix test breakages for - commit r1879: check_tcp now returns UNKNOWN with an invalid hostname on - command line - - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1898 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-08 Holger Weiss - - * plugins-root/check_icmp.c: Hide some debug output which was printed - even without "-v" (under - certain circumstances). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1897 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_icmp.c: Fix the handling of ICMP packets which are - not echo replies (such as - destination unreachable messages) or which are not directed at us. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1896 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_icmp.c: Get rid of a cast which increases the - required alignment. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1895 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_icmp.c: Mark some constant strings "const". - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1894 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-07 Holger Weiss - - * plugins/netutils.c: Support "[IPv6]" address syntax. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1893 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: My assumption that "-H example.com:80" didn't - work (see my previous - commit) was wrong, it worked if used together with "-I". So, here's - support for "-H [IPv6]:port", "-H [IPv6]", "-H IPv6", "-H IPv4:port", - "-H IPv4", and "-H host:port". - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1892 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-06 Holger Weiss - - * plugins/check_http.c: Remove support for specifying the port number - using "-H example.com:80". - Since this didn't work anyway (because ":80" wasn't stripped from the - "host_name" after extracting the "server_port"), nobody can be using - this syntax, and it prevents "-H" from accepting IPv6 addresses - (neufeind - 1865082). IMO, fixing it to recognize both ":80" and IPv6 - addresses isn't worth it, as the ":80" syntax doesn't seem very useful - for Nagios plugins (given the way how they are usually called in Nagios - command definitions). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1891 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-06 Thomas Guyot-Sionnest - - * lib/tests/test_base64.c: Fix base64 test (known string wasn't - null-terminated) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1890 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/tests/test_cmd.c: Fix tinderbox breakage - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1889 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-06 Matthias Eble - - * plugins/check_ldap.c: If unspecified set LDAP_OPT_SUCCESS to - LDAP_SUCCESS (Sergei Haramundanis - #1498923) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1888 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-05 Thomas Guyot-Sionnest - - * NEWS, plugins/check_ntp.c, plugins/check_ntp_time.c: Fix Bug #1862300: - check_ntp_time segfault in 1.4.11 (Also apply to check_ntp) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1887 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-05 Matthias Eble - - * NEWS, THANKS.in, plugins/check_dns.c: check_dns now sorts addresses - for -a support with multiple address replies (Matthias Urlichs #1724052) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1886 f882894a-f735-0410-b71e-b25c423dba1c - -2008-01-04 Matthias Eble - - * plugins/check_procs.c: Cleaned check_procs usage output (Ferenc Wagner - #1862218) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1885 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-21 Holger Weiss - - * plugins-root/check_icmp.c: Fix INADDR_NONE value (for systems which - don't define it). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1884 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_icmp.c: Include (if available) to - get SIOCGIFADDR defined on - Solaris. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1883 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, THANKS.in, plugins-root/check_icmp.c: New "-s" option to specify - the source IP address (thanks to Harald Jenny - for providing the patch and to Patrick Cervicek for looking into it!) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1882 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-21 Thomas Guyot-Sionnest - - * plugins/check_ldap.c: Remove c formating from translated strings - (makes translation easier) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1881 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-19 Holger Weiss - - * plugins/check_ldap.c: Fix the "--help" output. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1880 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-19 Ton Voon - - * NEWS, plugins/check_tcp.c: check_tcp now returns UNKNOWN with an - invalid hostname on command line - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1879 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-17 Ton Voon - - * NEWS, THANKS.in, plugins/check_nt.c: Add check_nt -v INSTANCES - (Alessandro Ren) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1877 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-13 Ton Voon - - * plugins/check_nwstat.c: Fixed help output (Christian Mies) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1876 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS: NEWS edited for consistent grammar - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1875 f882894a-f735-0410-b71e-b25c423dba1c - - * BUGS, ChangeLog, NEWS, configure.in, package.def: Preparation for - 1.4.11 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1873 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, THANKS.in, plugins-root/Makefile.am: Fixed VPATH problem in - plugins-root (Tom Payerle - 1789000) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1872 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, perlmods/Nagios-Plugin-0.21.tar.gz, - perlmods/Nagios-Plugin-0.22.tar.gz: Update to latest Nagios::Plugin - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1871 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-12 Thomas Guyot-Sionnest - - * commit 151531173bd50d66548effa50ef7393a8c680513, Author: Ton Voon - , Date: 2007-12-12: Add build - files/binaries to the svn:ignore propt - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1867 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-11 Thomas Guyot-Sionnest - - * plugins/t/check_ntp.t: D'oh! single escape will be handled by Perl.... - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1865 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp_peer.c, plugins/t/check_ntp.t: - Fix check_ntp_peer - returning misleading information when an ICMP message came back - - Try to fix some servers apparently exanding the ~ in threshold ranges in t/check_ntp.t - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1864 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-11 Ton Voon - - * lib/tests/test_cmd.c: Fixed test so works on MacOSX (use /bin/sh - instead of /bin/grep). - Added extra test for missing command - should drop into STATE_UNKNOWN - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1863 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/tests/Makefile.am: Add verbose flag so each test result is seen, - rather than grouped by test - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1862 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-11 Thomas Guyot-Sionnest - - * plugins-root/check_icmp.c, plugins/check_cluster.c, - plugins/check_http.c, plugins/check_mrtgtraf.c, plugins/check_ntp.c, - plugins/check_ntp_peer.c, plugins/check_ntp_time.c: Adding missing - function calls needed for i18n (only for plugins already in POTFILES.in) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1861 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-10 Thomas Guyot-Sionnest - - * po/fr.po: Some corrections - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1860 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_cluster.c, plugins/check_mysql.c, - plugins/check_radius.c, plugins/check_snmp.c, plugins/check_swap.c, - plugins/negate.c, po/de.po, po/fr.po, po/nagios-plugins.pot: Plenty of - french translations (and a few fixes BTW) - - No more fuzzy french translations - - Only (!) 355 strings to translate - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1859 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp.c, plugins/check_ntp_peer.c, - plugins/check_ntp_time.c: OOPS! Last commit should have included these - files. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1858 f882894a-f735-0410-b71e-b25c423dba1c - - * po/de.po, po/fr.po, po/nagios-plugins.pot: D'autres translations - - Err, I mean more translations :) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1857 f882894a-f735-0410-b71e-b25c423dba1c - - * po/fr.po: More translations - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1856 f882894a-f735-0410-b71e-b25c423dba1c - - * po/de.po, po/fr.po, po/nagios-plugins.pot: re-update the po files - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1855 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp_peer.c, po/fr.po: Some translations - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1854 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-10 Matthias Eble - - * po/de.po, po/fr.po, po/nagios-plugins.pot: Localization updates for - recent changes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1853 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: Fix output when response time is critical. - Thanks to Nobuhiro Ban (patch #1817228) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1852 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/check_load.c, plugins/t/check_load.t: Fixed check_load - argument handling when passing non triplet thresholds. Thanks to - Jonathan Kamens (bug #1831890) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1851 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-09 Thomas Guyot-Sionnest - - * po/POTFILES.in, po/de.po, po/fr.po, po/nagios-plugins.pot: Gettin' - ready for some translation frenzy :) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1850 f882894a-f735-0410-b71e-b25c423dba1c - - * po/de.po, po/fr.po, po/nagios-plugins.pot: update po files and fix a - few French translations - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1849 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-08 Thomas Guyot-Sionnest - - * NEWS, plugins/check_disk.c: Fix check_disk reporting OK if disk usage - grows over 100% (bug #1348746). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1848 f882894a-f735-0410-b71e-b25c423dba1c - -2007-12-04 Thomas Guyot-Sionnest - - * plugins/check_ntp_time.c: Interesting... For some reason it did not - take this (patch barfed on it and I thought I had fixed it already)... - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1847 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/Makefile.am, plugins/check_ntp_peer.c, - plugins/check_ntp_time.c, plugins/t/check_ntp.t: Merge changes from - branches/dermoth_ntp_rework (check_ntp_peer/check_ntp_time) - - NEWS | 13 - plugins/Makefile.am | 8 - plugins/check_ntp_peer.c | 628 ++++++++++++++++------------------------------- - plugins/check_ntp_time.c | 323 ++---------------------- - plugins/t/check_ntp.t | 92 +++++- - - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1846 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp_peer.c, plugins/check_ntp_time.c: Add the new checks - as check_ntp copies to keep full plug-in history - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1843 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp.c: missing word in comment block. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1838 f882894a-f735-0410-b71e-b25c423dba1c - -2007-11-23 Thomas Guyot-Sionnest - - * NEWS, plugins/check_ntp.c: - Use max_state_alt in check_ntp to fix - some issues with the latest commits. - - Roll back the stratum check as there were issues with it and a better one is already implemented in check_ntp_peer (about to be included) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1830 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c, plugins/utils.h: Add a max_state_alt function that - put UNKNOWN and DEPENDENT ahead of OK. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1829 f882894a-f735-0410-b71e-b25c423dba1c - -2007-11-11 Thomas Guyot-Sionnest - - * NEWS, plugins/check_cluster.c, plugins/check_snmp.c: Fix broken usage2 - in check_snmp and check_cluster - Fix check_cluster blocking some special characters for thresholds ("-", "@", "~") - - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1827 f882894a-f735-0410-b71e-b25c423dba1c - -2007-11-10 Thomas Guyot-Sionnest - - * plugins/check_ntp.c: Fix newly added stratum check (has to be - decreased by one when using normal NTP packets versus control packets) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1822 f882894a-f735-0410-b71e-b25c423dba1c - -2007-11-09 Thomas Guyot-Sionnest - - * lib/tests/test_base64.c: Adding svn:keywords props - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1819 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, lib/tests/Makefile.am, lib/tests/test_base64.c, - lib/tests/test_base64.t, tools/distclean: Adding test for base64 lib - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1818 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/Makefile.am, lib/base64.c, lib/base64.h, plugins/check_http.c, - plugins/check_smtp.c: Moved base64 function to /lib. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1817 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/utils_tcp.h: Nothing to see here... - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1816 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in: Credits of check_snmp fix for bug #1815362 (CVE-2007-5623) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1815 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: Fix check_snmp buffer overflow (CVE-2007-5623) - - This patch comes from the Gentoo Portage tree but I couldn't find the author. I sent an email and will give credits when I get an answer. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1814 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ssh.c: Close the socket on all exits (not just the OK - one) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1813 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: Fix missing \n in --help output - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1812 f882894a-f735-0410-b71e-b25c423dba1c - -2007-10-25 Thomas Guyot-Sionnest - - * NEWS, plugins/check_ntp.c: check_ntp now return UNKNOWN instead of - WARNING if jitter is - unavailable. If no offset threshold is specified and - the offset is unavailable, will return UNKNOWN as well. - - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1811 f882894a-f735-0410-b71e-b25c423dba1c - -2007-10-25 Ton Voon - - * plugins-root/check_dhcp.c, plugins/check_ping.c, plugins/check_ups.c, - tools/sync_website: Automatically update website with --help output. - Cosmetic - fixes for some help output - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1810 f882894a-f735-0410-b71e-b25c423dba1c - -2007-10-24 Holger Weiss - - * THANKS.in, plugins/check_snmp.c: Hide the SNMP community string (and - v3 passwords) from error messages - (Bernhard Fischer on nagiosplug-devel@) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1809 f882894a-f735-0410-b71e-b25c423dba1c - -2007-10-15 Ton Voon - - * doc/RELEASING: Add reparagraph option to make ChangeLog output bit - prettier - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1808 f882894a-f735-0410-b71e-b25c423dba1c - -2007-10-14 Holger Weiss - - * plugins/check_http.c: Fix a possible segfault if using "-f follow" and - the server sends a - forged "LLLLocation" header prefixed with multiple "L"s (fabiodds - - 1813346) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1807 f882894a-f735-0410-b71e-b25c423dba1c - -2007-10-11 Thomas Guyot-Sionnest - - * NEWS, plugins/check_ntp.c: Add stratum thresholds support for - check_ntp (feature request #1703823) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1806 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp.c: Use provided threshold functions (no functionnal - change apart the check for overlaping thresholds) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1805 f882894a-f735-0410-b71e-b25c423dba1c - -2007-10-02 Holger Weiss - - * NEWS, plugins/check_http.c: Fix regression in 1.4.10 where following - redirects to relative URLs on - virtual hosts failed if both "-H" and "-I" were specified (noted by - Rodrigo A. G. Schichaschwili on nagiosplug-devel@) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1804 f882894a-f735-0410-b71e-b25c423dba1c - -2007-09-29 Ton Voon - - * doc/RELEASING: Updated notes on releasing, mainly for svn - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1803 f882894a-f735-0410-b71e-b25c423dba1c - - * BUGS, ChangeLog, NEWS, configure.in, package.def: Prep for 1.4.10 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1801 f882894a-f735-0410-b71e-b25c423dba1c - -2007-09-26 Holger Weiss - - * NEWS, plugins/check_radius.c: Drop the weird and undocumented - behaviour of using positional argument - parsing instead of getopt(3) if 8 command line arguments were given (as - suggested by Matthias) and check whether all required arguments have - been specified in order to spit out proper error messages and to avoid a - possible segfault (as suggested by Thomas). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1800 f882894a-f735-0410-b71e-b25c423dba1c - -2007-09-26 Thomas Guyot-Sionnest - - * NEWS, THANKS.in, plugins/check_ntp.c: Patch #1798774: check_ntp: honor - ntp flags - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1799 f882894a-f735-0410-b71e-b25c423dba1c - -2007-09-24 Ton Voon - - * perlmods/Nagios-Plugin-0.20.tar.gz, - perlmods/Nagios-Plugin-0.21.tar.gz: Update N::P with new version, - redirecting help, version and usage to - stdout - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1798 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: State that stderr should not have any - output - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1796 f882894a-f735-0410-b71e-b25c423dba1c - -2007-09-24 Holger Weiss - - * NEWS, configure.in, plugins/netutils.c: Let ./configure --without-ipv6 - suppress non-IPv4 DNS lookups (noted by - Mark Frost on nagios-users@) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1794 f882894a-f735-0410-b71e-b25c423dba1c - -2007-09-23 Matthias Eble - - * plugins/check_disk.c, plugins/negate.c: Removed some c99 style - comments - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1793 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/check_by_ssh.c: Added multiline output capability to - check_by_ssh. Thanks to Matthias Flacke (#1769653) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1792 f882894a-f735-0410-b71e-b25c423dba1c - - * BUGS: removed solved issues - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1791 f882894a-f735-0410-b71e-b25c423dba1c - - * REQUIREMENTS: Added radiusclient-ng support to requirement notes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1790 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/check_disk.c: Fixed bug: stat was called on remote fs - even if -l was given - Added -L option to call stat on remote fs but without threshold comparison - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1789 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, THANKS.in, configure.in, plugins/check_radius.c: Added - radiusclient-ng support for check_radius. Thanks to Sebastien Guay - (#1218438) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1788 f882894a-f735-0410-b71e-b25c423dba1c - -2007-09-22 Matthias Eble - - * lib/utils_disk.c, lib/utils_tcp.c, plugins/check_disk.c: substituted - bool/true/false with int/TRUE/FALSE (discussed on np-devel) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1787 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, lib/tests/test_disk.c, lib/utils_disk.c, lib/utils_disk.h, - plugins/check_disk.c, plugins/t/check_disk.t: Added -i/-I to ignore - pathes/partitions based on regular expressions - Added check_disk -A selecting all filesystems - -E option must now be passed before -p or -r/-R - Passing -E after -p or -r results in UNKNOWN state - Fixed bug when mixing case sensitive and insensitive regexes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1786 f882894a-f735-0410-b71e-b25c423dba1c - -2007-09-22 Thomas Guyot-Sionnest - - * NEWS, plugins/negate.c, plugins/t/negate.t: Rewrite the "map changes - to return codes" patch nearly from scratch. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1785 f882894a-f735-0410-b71e-b25c423dba1c - -2007-09-21 Ton Voon - - * NEWS, configure.in, lib/Makefile.am, lib/tests/Makefile.am, - lib/tests/test_cmd.c, lib/tests/test_cmd.t, lib/utils_cmd.c, - lib/utils_cmd.h, plugins/Makefile.am, plugins/negate.c, - plugins/t/negate.pl, plugins/t/negate.t: Stop double expansion of - parameters for negate - works like - time command now - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1784 f882894a-f735-0410-b71e-b25c423dba1c - -2007-09-21 Thomas Guyot-Sionnest - - * plugins/check_disk.c: My solaris box needs %llu to display 64bits - integers. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1783 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: - Added some variables at verbose==3 - - Removed support for verbose<0 (-q). -q was broken and tried to to the same as -e. - - -q in now an undocumented alias of -e (for backward-compatibility). - NB: Long help text for -d was already missing. - - Reordered the switches so that: -   a. less-important ones are in alphabetical order - b. short and long help orders match. - - Enclosed "-p | -x" inside braces instead of brackets as one or the other is required. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1782 f882894a-f735-0410-b71e-b25c423dba1c - -2007-09-17 Ton Voon - - * Makefile.am: Include directories and files required for perl modules - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1781 f882894a-f735-0410-b71e-b25c423dba1c - -2007-09-15 Holger Weiss - - * NEWS, plugins/check_smtp.c: Properly handle SMTP server responses - which are split into multiple - packets (noted by Chris Adams on nagiosplug-help@). TODO: The new - recvline()/recvlines() functions should buffer received data instead of - reading one byte at a time and they should be moved to netutils.c so - that other plugins can use them, too. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1780 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins-root/check_icmp.c: Correct all instances of misaligned - memory access. This fixes bus erros - on platforms which require alignment (such as SPARC and MIPS). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1779 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/devmode: Remove "-Wtraditional" from our development GCC flags. - We use ANSI C. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1778 f882894a-f735-0410-b71e-b25c423dba1c - -2007-09-13 Ton Voon - - * Makefile.am, configure.in, perlmods/Class-Accessor-0.31.tar.gz, - perlmods/Config-Tiny-2.10.tar.gz, perlmods/Makefile.am, - perlmods/Math-Calc-Units-1.06.tar.gz, - perlmods/Nagios-Plugin-0.20.tar.gz, - perlmods/Params-Validate-0.88.tar.gz, perlmods/Test-Simple-0.70.tar.gz, - perlmods/install_order, tools/build_perl_modules: Adding in optional - Nagios::Plugin perl module (and - dependencies) compilation and installation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1777 f882894a-f735-0410-b71e-b25c423dba1c - -2007-08-28 Thomas Guyot-Sionnest - - * contrib/check_apc_ups.pl, contrib/check_appletalk.pl, - contrib/check_linux_raid.pl, contrib/check_snmp_procs.pl: These plugins - assumed the "use lib util.pm;" would be substituted like standard Perl - plugins (in plugins-scripts) which isn't the case in contrib. I changed - the "use lib" line to use the default path. People using custom paths - will have to change it manually. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1771 f882894a-f735-0410-b71e-b25c423dba1c - -2007-08-09 Holger Weiss - - * plugins/check_disk.c: Don't use C++ style comments (noted by Johannes - Kingma on - nagiosplug-help@) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1770 f882894a-f735-0410-b71e-b25c423dba1c - -2007-07-31 Holger Weiss - - * plugins/check_smtp.c: Read the response to an SMTP QUIT command before - closing the socket - (noted by Dieter Hendricks on nagiosplug-help@) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1769 f882894a-f735-0410-b71e-b25c423dba1c - -2007-07-29 Holger Weiss - - * lib/utils_base.c: Don't use C++ style comments. - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1768 f882894a-f735-0410-b71e-b25c423dba1c - -2007-07-27 Holger Weiss - - * tools/tinderbox_build: If the TMPDIR environment variable is set, use - that instead of "/tmp" as - the installation directory. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1767 f882894a-f735-0410-b71e-b25c423dba1c - -2007-07-26 Holger Weiss - - * NEWS, plugins-root/check_dhcp.c: The "--serverip" and "--requestedip" - options now accept host names, too. - This doesn't quite fit the option names and so far I haven't changed the - "--help" output which currently only talks about IP addresses. However, - I don't see why resolving host names should not be supported. - - Also note that for the moment, I added a quick'n'dirty resolve_host() - function which should really go into netutils.c. I just wanted to think - about its interface a bit more before providing such a function globally. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1766 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins-root/check_dhcp.c: New "-m, --mac" option which allows - for specifying the MAC address to - use in the DHCP request. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1765 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_dhcp.c: Make sure strncpy(3)d buffers are - nul-terminated. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1764 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_dhcp.c: A few minor fixes/improvements which were - included with (but unrelated - to) the "--unicast" patch (Andreas Ericsson and Heiti Ernits - 1218235) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1763 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, THANKS.in, configure.in, plugins-root/check_dhcp.c: New "-u, - --unicast" option which gives check_dhcp the ability to mimic a - DHCP relay server in order to check remote subnets (Heiti Ernits and - Andreas Ericsson - 1218235) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1762 f882894a-f735-0410-b71e-b25c423dba1c - -2007-07-24 Ton Voon - - * .cvsignore, build-aux/.cvsignore, doc/.cvsignore, gl/.cvsignore, - intl/.cvsignore, lib/.cvsignore, lib/tests/.cvsignore, m4/.cvsignore, - pkg/solaris/.cvsignore, plugins-root/.cvsignore, - plugins-scripts/.cvsignore, plugins/.cvsignore, plugins/t/.cvsignore, - po/.cvsignore: Removing all .cvsignore files - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1761 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/sfsnapshot, tools/sfwebcron: Updated to use svn instead of cvs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1760 f882894a-f735-0410-b71e-b25c423dba1c - -2007-07-21 Holger Weiss - - * NEWS, plugins/check_http.c: Add "Connection: close" to the HTTP - request header, which tells HTTP/1.1 - servers to close the connection after completion of the response. This - should be compatible with HTTP/1.0, as HTTP/1.0 allows for custom header - fields which should be ignored if not recognized by the server. With - some server configurations, the server would keep the connection alive - without this header line (despite the plugin requesting HTTP/1.0), - resulting in the plugin running into either the server's or it's own - timeout (reported by Roman Schliessmeyer and Jesse Morgan via IRC). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1759 f882894a-f735-0410-b71e-b25c423dba1c - -2007-07-15 Matthias Eble - - * THANKS.in, plugins/check_procs.c: Make ps column count in zombie - detection less restrictive. Thanks to Andrew Elwell (#1280470) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1758 f882894a-f735-0410-b71e-b25c423dba1c - -2007-07-14 Matthias Eble - - * THANKS.in, plugins/check_smtp.c: Fixed segfault in argument - processing. Thanks to Christoph Schell (#1742066) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1757 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, plugins/check_ntp.c: check_ntp: Fixed typo in typo in - argument sanity check. Thanks to Aurelien Bompard (#1753506) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1756 f882894a-f735-0410-b71e-b25c423dba1c - -2007-07-10 Matthias Eble - - * NEWS, plugins/check_disk.c: Added examples for new features to - check_disk - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1755 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/check_disk.c, plugins/t/check_disk.t: Check_disk now - calls stat() for all filesystems to check. - Check_disk prints an strerror() message if the call of stat() fails. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1754 f882894a-f735-0410-b71e-b25c423dba1c - -2007-07-07 Matthias Eble - - * plugins/check_ldap.c: Added -v/--verbose argument to call - ldap_perror() for detailed messages on failure. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1753 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c: Changed output order of print_revision - print_revision now uses clean_revstring - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1752 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/utils.pm.in: Changed print_revision output order in - utils.pm - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1751 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_file_age.pl: substituted $ID$ through $Revision$ - in print_revision call - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1750 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_log.sh, plugins-scripts/check_oracle.sh, - plugins-scripts/utils.sh.in: Changed order in -V/--version output - Fixed -V output for check_log and check_oracle - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1749 f882894a-f735-0410-b71e-b25c423dba1c - -2007-07-06 Matthias Eble - - * doc/developer-guidelines.sgml: Added hint to avoid using the boolean - type in C as discussed on the devel list - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1748 f882894a-f735-0410-b71e-b25c423dba1c - -2007-06-20 Matthias Eble - - * plugins/check_ldap.c: Fixed default behaviour of check_ldaps - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1747 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/check_ldap.c: Clarified check_ldaps behaviour. New - arguments to explicitly select secure connect behaviour - (--starttls/--ssl). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1746 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_cluster.c: added -V/--version to check_cluster - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1745 f882894a-f735-0410-b71e-b25c423dba1c - -2007-06-18 Matthias Eble - - * REQUIREMENTS, configure.in, plugins/.cvsignore: Make Linux specific - plugin check_ide_smart build if appropriate headers are found - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1744 f882894a-f735-0410-b71e-b25c423dba1c - -2007-06-17 Holger Weiss - - * plugins/check_http.c: Minor fixes. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1743 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/check_http.c: Fix buffer overflow vulnerabilities when - parsing HTTP redirect - 'Location:' strings using sscanf(3) (Nobuhiro Ban - 1687867) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1742 f882894a-f735-0410-b71e-b25c423dba1c - -2007-06-15 Holger Weiss - - * plugins/check_http.c: When following redirects, the plugin supported - 'Location:' header fields - which spanned multiple lines. However, it was not checked whether extra - lines are preceeded with white space, which could lead to the following - header field name being interpreted as the value of the 'Location:' - field if the latter was empty for some reason. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1741 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: `host_name' is a NULL pointer if the "-I" flag - is used instead of "-H", - so use `server_address' instead. Fixes a possible segfault when - following redirects to relative URLs (reported by Ingo Lantschner). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1740 f882894a-f735-0410-b71e-b25c423dba1c - -2007-06-13 Matthias Eble - - * plugins/check_ide_smart.c: Fixed some syntax errors to make - check_ide_smart build - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1739 f882894a-f735-0410-b71e-b25c423dba1c - -2007-06-12 Holger Weiss - - * plugins/check_by_ssh.c: Add "-v" to help/usage output. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1738 f882894a-f735-0410-b71e-b25c423dba1c - -2007-06-12 Matthias Eble - - * plugins/popen.c: Removed debug line - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1737 f882894a-f735-0410-b71e-b25c423dba1c - -2007-06-11 Matthias Eble - - * THANKS.in, plugins/popen.c: Fixed problem with popen.c not parsing - --longopt='foo bar' correctly (Daniel Bimschas #1291987) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1736 f882894a-f735-0410-b71e-b25c423dba1c - -2007-06-04 Ton Voon - - * THANKS.in: Removed duplicate names - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1735 f882894a-f735-0410-b71e-b25c423dba1c - - * BUGS, ChangeLog, NEWS, configure.in, package.def: For 1.4.9 release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1733 f882894a-f735-0410-b71e-b25c423dba1c - -2007-06-03 Matthias Eble - - * lib/tests/test_tcp.c: Minor corrections to test_tcp.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1732 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/tests/Makefile.am: Makefile.am changes for test_tcp.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1731 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, lib/tests/.cvsignore, lib/tests/test_tcp.c, - lib/tests/test_tcp.t: Added test cases for utils_tcp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1730 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, lib/Makefile.am, lib/utils_tcp.c, lib/utils_tcp.h, - plugins/check_tcp.c: Moved check_tcp's expect string testing into - utils_tcp for testing purposes. - Added -A/--all flag to test for every expect string passed. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1729 f882894a-f735-0410-b71e-b25c423dba1c - -2007-06-01 Holger Weiss - - * BUGS, NEWS: Fix possible check_http segfaults when following HTTP - redirects. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1728 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: Fix an off-by-one error where a realloc(3) call - doesn't allocate space - for nul-termination (Aravind Gottipati - 1729692) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1727 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/sslutils.c: Call the SSL library initialization functions only - once (not for every - SSL connection). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1726 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/sslutils.c: Save an entire CPU cycle if c points to NULL - already. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1725 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/sslutils.c: Set the pointers to the SSL and SSL_CTX objects - back to NULL after - freeing them in np_net_ssl_cleanup(). This fixes a check_http segfault - if an SSL site redirects to a non-SSL one (reported by Aravind Gottipati - via IRC). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1724 f882894a-f735-0410-b71e-b25c423dba1c - -2007-05-29 Matthias Eble - - * plugins/check_tcp.c: Fix segfault when -e is specified multiple times. - Thanks to John Rouillard and Ralph Roessner (#1475899) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1723 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: No more warn/crit values in performance data if - -w and -c are not specified. - Thanks to Simon Bellwood (#1181554) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1722 f882894a-f735-0410-b71e-b25c423dba1c - -2007-05-29 Thomas Guyot-Sionnest - - * NEWS, plugins/check_snmp.c: check_snmp don't warn anymore if something - is printed on stderr - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1721 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: change a bunch of whitespaces (no code was - harmed) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1720 f882894a-f735-0410-b71e-b25c423dba1c - -2007-05-27 Matthias Eble - - * THANKS.in, plugins-scripts/check_oracle.sh: check_oracle does not need - a valid ORACLE_HOME if called with --db. Thanks to Jason Martin - (#1505551) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1719 f882894a-f735-0410-b71e-b25c423dba1c - -2007-05-27 M. Sean Finney - - * lib/utils_base.c, lib/utils_base.h, plugins-root/check_dhcp.c, - plugins-root/check_icmp.c: added functions to utils_base: - np_check_if_root() - returns nonzero if geteuid()==0 - np_warn_if_not_root() - uses the above to print an informative warning - added uses of these functions to check_dhcp and check_icmp. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1718 f882894a-f735-0410-b71e-b25c423dba1c - -2007-05-24 Ton Voon - - * plugins/t/negate.pl: Test for new functionality in negate (not - automatically run in make test) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1717 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dummy.c, plugins/t/check_dummy.t: Tests for check_dummy - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1716 f882894a-f735-0410-b71e-b25c423dba1c - -2007-05-23 Thomas Guyot-Sionnest - - * NEWS, plugins/check_http.c, po/de.po, po/fr.po, po/nagios-plugins.pot: - Update many strings in check_http to get more consistent output - Update translation files; fix all check_http changes in French and most changes in German. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1715 f882894a-f735-0410-b71e-b25c423dba1c - -2007-05-18 Thomas Guyot-Sionnest - - * plugins/t/check_tcp.t: Make check_tcp.t compatible with picky web - servers. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1714 f882894a-f735-0410-b71e-b25c423dba1c - -2007-05-13 Holger Weiss - - * plugins/check_http.c: Add missing options to the usage output. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1713 f882894a-f735-0410-b71e-b25c423dba1c - -2007-05-13 Matthias Eble - - * THANKS.in, plugins-root/check_dhcp.c: check_dhcp now adds mandatory - end option (Thanks to Enrico Scholz - #1675306) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1712 f882894a-f735-0410-b71e-b25c423dba1c - -2007-05-12 Matthias Eble - - * plugins/check_cluster.c: Fixed glibc error caused in utils_base.c due - to uninitialized thresholds struct (spotted on ubundu 6.06 LTS). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1711 f882894a-f735-0410-b71e-b25c423dba1c - -2007-05-12 Ton Voon - - * ABOUT-NLS, build-aux/mkinstalldirs, configure.in: Updating gettext - files from coreutils-6.9. mkinstalldirs needs to be in - build-aux for some systems without gettext natively. Also have at top level, - though gettext documentation says file not neceesary - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1710 f882894a-f735-0410-b71e-b25c423dba1c - -2007-05-09 Matthias Eble - - * plugins/check_ups.c: small typo in --help - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1709 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, plugins/check_ups.c: Fixed --help output (Ask Bjoern Hansen - - #1714823) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1708 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_disk.t: added testcase to verify that old positional - arguments only select one path - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1707 f882894a-f735-0410-b71e-b25c423dba1c - -2007-05-03 Matthias Eble - - * ChangeLog, THANKS.in, plugins/check_disk.c: fixed backward - incompatibility introduced in 1.4.8 where all partitions are selected, - if path is specified as last argument (without using -p). - Thanks to Emil Michles (Emilis) on #nagios - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1706 f882894a-f735-0410-b71e-b25c423dba1c - -2007-05-02 Thomas Guyot-Sionnest - - * tools/distclean: Making Solaris happy - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1705 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS: /* Nothing */ - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1704 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, THANKS.in, plugins/check_time.c: Fix check_time returning wrong - OK when time is before the epoch on some arch - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1703 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-28 Matthias Eble - - * plugins/t/check_cluster.t: added test cases for check_cluster - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1702 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-25 Ton Voon - - * tools/tinderbox_build: Test installs into temporary directories - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1701 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, configure.in, plugins/check_load.c, plugins/common.h, - plugins/t/check_load.t: check_load can optionally divide by number of - cpus - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1700 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-23 Holger Weiss - - * plugins/check_ping.c: #ifdef can only test a single macro, not an - expression. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1699 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-20 Holger Weiss - - * plugins-root/check_dhcp.c: Remove unused variables. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1698 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_cluster.c: Include "utils_base.h". - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1697 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/utils_base.h: Declare print_thresholds(). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1696 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_cluster.c: Predeclare functions and remove unused - variables. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1695 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, plugins-root/check_dhcp.c: Use the 'server identifier' - option instead of the 'siaddr' field as the - DHCP server address; see RFC 2131, 2. (Denis Knauf - 1667488) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1694 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-19 Thomas Guyot-Sionnest - - * NEWS, configure.in: Fix compilation of check_ldap, check_radius and - check_pgsql (*ding*) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1693 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-18 Holger Weiss - - * NEWS, plugins/check_by_ssh.c: Revert my previous change to "-S/--skip" - in favour of the two options - "-E/--skip-stderr" and "-S/--skip-stdout". Both of them support - omitting the number of lines to skip, in which case all output on the - respective file descriptor is skipped. "--skip" is kept as an alias for - "--skip-stdout" for backwards compatibility with recent releases. - - Also, print a message if no (non-skipped) stdout/stderr output is - available. This fixes a segfault if the remote command prints no - output. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1692 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-15 Thomas Guyot-Sionnest - - * plugins/check_cluster.c: Localization and help fixes (Thanks Benoit - M.) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1691 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_cluster.c: Cosmetic change - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1690 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_cluster2.README: More details about the changes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1689 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, plugins/Makefile.am, plugins/check_cluster.c: Add thresholds - support for check_cluster + lots of standardization. - Add forgotten items to NEWS. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1688 f882894a-f735-0410-b71e-b25c423dba1c - - * BUGS, plugins/check_snmp.c: Fix bug #1344584: Counter64 values not - handled correctly - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1687 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-14 Thomas Guyot-Sionnest - - * BUGS: Works for me - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1686 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-14 Holger Weiss - - * BUGS, plugins/check_by_ssh.c: Up to revision 1.35, the "-S" option - skipped the specified number of - lines written to stderr. With revision 1.36 and newer, "-S" skipped the - specified number of lines written to stdout. Now, "-S" skips the - specified number of lines written to stderr; and if the number specified - via "-S" minus the number of lines written to stderr is larger than 0, - the difference is used as the number of lines written to stdout to skip. - Also, the "--help" output was fixed. (Hector - 1675286) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1685 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-13 Thomas Guyot-Sionnest - - * plugins/.cvsignore: ... Some CVS magic too - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1684 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_cluster2.README, plugins/Makefile.am, - plugins/check_cluster.c: automake magic for check_cluster - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1683 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-11 Ton Voon - - * doc/RELEASING: Add news item to nagiosplugins.org - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1682 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS, BUGS, ChangeLog, NEWS, configure.in, package.def: 1.4.8 - release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1680 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-10 Thomas Guyot-Sionnest - - * po/POTFILES.in, po/de.po, po/fr.po, po/nagios-plugins.pot: Add some - check_ntp translations - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1679 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp.c: - Fix possibility of printing scientific numbers - in perfdata - - Use fperfdata function for perfdata formatting - - Make the printing part a bit more flexible (similar to check_disk) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1678 f882894a-f735-0410-b71e-b25c423dba1c - - * po/de.po, po/fr.po, po/nagios-plugins.pot: Hopefully this is correct. - Need to make more changes so I'm commiting these. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1677 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-04 Thomas Guyot-Sionnest - - * plugins/check_ntp.c: Fix for getting dispersion instead of jitter on - older servers (like xntpd on Solaris). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1676 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-03 Holger Weiss - - * plugins/check_ntp.c: Fix the synchronization source selection on - big-endian systems. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1675 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-03 Thomas Guyot-Sionnest - - * plugins/check_ntp.c: Temporary fix for jitter calculation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1674 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-02 Holger Weiss - - * plugins/check_ntp.c: Don't rely on the assumption that the size of a - READSTAT response is a - multiple of sizeof(ntp_assoc_status_pair). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1673 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-02 Ton Voon - - * lib/tests/Makefile.am: Add libgnu.a as regex functions required - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1672 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-02 Thomas Guyot-Sionnest - - * plugins/check_ntp.c: Fix byte order in verbose logging - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1671 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp.c: Seems like we don't get any jitter sometimes. - While this needs to be fixed we should at least handle it gracefully. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1670 f882894a-f735-0410-b71e-b25c423dba1c - -2007-04-01 Matthias Eble - - * plugins/t/check_http.t: check_http.t: - added internet_access variable - to skip tests where internet access is required. - - added host_tcp_http2 variable for a webserver serving the string 'nagios' in index - - no tests are skipped if the new vars are not defined (existing installations) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1669 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/utils_disk.c: utils_disk: fixed handling if check_disk -p is a - device (np_set_best_match()) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1668 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-31 Holger Weiss - - * NEWS: Various check_ntp fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1667 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp.c: Fix an out-of-bounds memcpy(3) and add a - realloc(3) error check in - jitter_request(). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1666 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp.c: Add a warning to the verbose output if - jitter_request() found no - synchronization source. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1665 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp.c: Avoid division by zero. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1664 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp.c: Remove the '-O' option, as it's ignored. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1663 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-30 Ton Voon - - * m4/np_mysqlclient.m4: Use AS_HELP_STRING instead of ACX_HELP_STRING - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1662 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, configure.in, m4/np_mysqlclient.m4: Fix AC_CHECK_LIB for - mysql_init - add dependent libraries. mysql detection - separated into external m4 file - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1661 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-30 Matthias Eble - - * lib/tests/test_disk.c, plugins/t/check_disk.t: Test Cases for - check_disk's -r, -R, -C and -g - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1660 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: check_disk: minor fix for -C if bestmatch != -p - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1659 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/utils_disk.c, lib/utils_disk.h, plugins/check_disk.c: check_disk: - added regex functionality -r and -R. see np-devel mail (2007-02-10) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1658 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/utils_disk.c, lib/utils_disk.h, plugins/check_disk.c: check_disk: - added grouping functionality. see np-devel mail (2007-02-10) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1657 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/utils_disk.c, lib/utils_disk.h, plugins/check_disk.c: check_disk - -C is more flexible now. See np-devel post (2007-02-10) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1656 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-29 Holger Weiss - - * THANKS.in, plugins/check_mysql.c: Fix argument processing (Felix Frank - - 1690697) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1655 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/Makefile.am: Set the "read" and "execute" bits only for - "user" and "group" in order - to not overwrite "--without-world-permissions" for the root plugins. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1654 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-29 Ton Voon - - * BUGS, ChangeLog, NEWS, configure.in, package.def: 1.4.7 release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1652 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp.c: Adding help text for jitter flags - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1651 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-27 Thomas Guyot-Sionnest - - * THANKS.in, plugins-root/check_icmp.c: Fix bug #1494629 - check_icmp - fails after some time on FreeBSD - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1650 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-25 Ton Voon - - * NEWS, configure.in: Reinstate --with-nagios-user/group and new - --without-group-permissions ./configure options - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1649 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-22 Holger Weiss - - * THANKS.in, plugins/common.h: Increase MAX_INPUT_BUFFER from 1k to 8k - in order to increase I/O - performance (Stefan Meier) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1646 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-16 Gavin Carr - - * plugins-scripts/check_ifoperstatus.pl: Fix bogus 'eq ( || )' - constructions in check_ifoperstatus.pl. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1642 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-12 Ton Voon - - * NEWS, plugins/check_ping.c, plugins/t/check_ping.t: check_ping's - timeout interval is only +1 if ping command has a timeout value. - Tests updated to check for 100% packet loss (always if ping has timeout), otherwise - will check for "timed out" string - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1639 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-11 Thomas Guyot-Sionnest - - * plugins-root/t/check_icmp.t: Add tests for new check_icmp switch -m - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1638 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-11 Ton Voon - - * plugins-root/t/check_icmp.t, plugins/t/check_ping.t: Converted - check_ping.t to new-style testcases. Added test case for check_icmp - - requires sudo access - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1637 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c: Fixed some help display. Removed -L from usage - as deprecated option - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1636 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-08 Thomas Guyot-Sionnest - - * NEWS, THANKS.in, plugins-root/check_icmp.c: New switch to check_icmp - to set the minimum required hosts for success. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1635 f882894a-f735-0410-b71e-b25c423dba1c - - * config_test/child_test.c: Ficing C++ style comments - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1634 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_icmp.c: Fixed C++ style comments, but I don't get - why those lines were originally commented out. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1633 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-06 Ton Voon - - * plugins/check_http.c: Fix option handling (Nobuhiro Ban - 1657280) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1632 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: Fixed compile errors in check_smtp.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1631 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, THANKS.in, plugins/check_smtp.c: Fixed broken HELO cmd (Enrico - Scholz - 1675279) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1630 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, configure.in, plugins/check_procs.c: Use /usr/ucb/ps on Solaris - in preference to pst3 (problems in 64bit mode) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1629 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_disk.t: Test failure if a filesystem which is a subset - of another fails the inode - check (Matthias Elbe - 1660953) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1628 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS, configure.in: Detect if check_mysql compile will work at - ./configure time, due to some - Redhat systems distributing mysql_config, but not the include files - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1627 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Clearer message when --with-nagios-user is used for - ./configure - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1626 f882894a-f735-0410-b71e-b25c423dba1c - - * FAQ, INSTALLING, NEWS, README, plugins-root/Makefile.am: Root plugins - installed with world executable permissions. Removed references - to --with-nagios-user and --with-nagios-group in README - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1625 f882894a-f735-0410-b71e-b25c423dba1c - -2007-03-02 Ethan Galstad - - * plugins/check_mrtgtraf.c: Fix for broken check_mrtgtraf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1624 f882894a-f735-0410-b71e-b25c423dba1c - -2007-02-24 Thomas Guyot-Sionnest - - * doc/makefile: Fix the makefile ('[[' is bash-specific, 'rm -f' don't - remove directories) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1623 f882894a-f735-0410-b71e-b25c423dba1c - -2007-02-14 Ton Voon - - * NEWS, contrib/check_sybase: check_sybase now maintained in - NagiosExchange - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1622 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: Fixed typo in help for -M - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1621 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c, plugins/t/check_tcp.t: Documentation fix re: - --escape flag. Fix of ./check_tcp test to webservers - to make it more standards compliant - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1620 f882894a-f735-0410-b71e-b25c423dba1c - -2007-02-09 Ton Voon - - * NEWS, THANKS.in, po/.cvsignore, po/Makefile.in.in: Fixed MKINSTALLDIRS - problem on some systems - Lars Stavholm - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1619 f882894a-f735-0410-b71e-b25c423dba1c - -2007-02-07 Ton Voon - - * lib/Makefile.config-opts, lib/parse_ini.c, - lib/tests/Makefile.config-opts, lib/tests/config-tiny.ini, - lib/tests/plugin.ini, lib/tests/test_ini.c: Added test files to test the - parse_ini.c routines. Requires libtap - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1614 f882894a-f735-0410-b71e-b25c423dba1c - -2007-02-07 Holger Weiss - - * plugins/check_swap.c: Include before in - order to fix compilation on - OpenBSD (nsturm - 1653934) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1613 f882894a-f735-0410-b71e-b25c423dba1c - -2007-02-06 Thomas Guyot-Sionnest - - * plugins/check_tcp.c: Correct vim typo in comment block :P - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1612 f882894a-f735-0410-b71e-b25c423dba1c - -2007-02-06 Benoit Mortier - - * plugins/check_disk.c, plugins/check_http.c, plugins/check_ide_smart.c, - plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_overcr.c, - plugins/check_smtp.c, plugins/check_tcp.c, po/de.po, po/fr.po, - po/nagios-plugins.pot: correcting some translation problems - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1611 f882894a-f735-0410-b71e-b25c423dba1c - -2007-02-06 M. Sean Finney - - * lib/parse_ini.c, lib/parse_ini.h: initial version of ini file parsing - routines in C - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1610 f882894a-f735-0410-b71e-b25c423dba1c - -2007-02-06 Benoit Mortier - - * po/Makevars: adding PACKAGE_BUGREPORT to fix Report-Msgid-Bugs-To: - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1609 f882894a-f735-0410-b71e-b25c423dba1c - -2007-02-05 Ton Voon - - * AUTHORS, doc/RELEASING: Update list of team members. More notes on new - releases - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1608 f882894a-f735-0410-b71e-b25c423dba1c - - * BUGS, ChangeLog, NEWS, configure.in, package.def: For 1.4.6 release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1606 f882894a-f735-0410-b71e-b25c423dba1c - -2007-02-02 Thomas Guyot-Sionnest - - * plugins/check_snmp.c: Fix parsing of multiple OIDs sets needmibs = - TRUE - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1605 f882894a-f735-0410-b71e-b25c423dba1c - -2007-02-01 Thomas Guyot-Sionnest - - * plugins/check_tcp.c, plugins/t/check_jabber.t: Fix progname being - partly set to upper case - Change formating of invalid hostname output - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1604 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS: Adding NEWS entry for check_jabber - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1603 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_log.sh: Fix bug #1593073 Check_Log problem with - log rotation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1602 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-31 Ton Voon - - * plugins/t/check_jabber.t: Converted to new style object and Test::More - testing. Skipped jabber server - tests if not defined - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1601 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-31 Thomas Guyot-Sionnest - - * plugins/t/check_jabber.t: Add check_jabber test. Will ask for a jabber - host (default should be OK) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1600 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: Fix Debian Bug #392610: check_jabber always - return warning - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1599 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-30 Thomas Guyot-Sionnest - - * plugins/check_tcp.c: Jail does not requires any arguments - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1598 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-30 Ton Voon - - * config.rpath: make dist failing without config.rpath in top level. - File copied - from build-aux/ - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1597 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-30 Thomas Guyot-Sionnest - - * plugins/check_tcp.c, plugins/t/check_tcp.t: Fix reporting bug using - expect, affecting (not fixing) Debian bug #392610: check_jabber always - return warning - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1596 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-30 Holger Weiss - - * configure.in: grep(1) "-q" isn't portable (e.g., it won't work on - Solaris 8), redirect - output to /dev/null instead. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1595 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-29 Thomas Guyot-Sionnest - - * plugins/check_disk.c, plugins/t/check_disk.t: Revert 1643463 (reversed - disk thresholds) keeping the thresholds checks. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1594 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-29 Holger Weiss - - * configure.in: Automake 1.10 says: "compiling `test_disk.c' with - per-target flags - requires `AM_PROG_CC_C_O' in `configure.in'". - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1593 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-29 Ton Voon - - * build-aux/config.rpath: Move config.rpath into build-aux for automake - 1.10 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1592 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-28 Holger Weiss - - * INSTALLING: Remove description of deprecated ./configure - --with-nagios-{user,group} - options. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1591 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_dhcp.c, plugins/check_apt.c, - plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_dns.c, - plugins/check_fping.c, plugins/check_game.c, plugins/check_hpjd.c, - plugins/check_http.c, plugins/check_ide_smart.c, plugins/check_ldap.c, - plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c, - plugins/check_mysql.c, plugins/check_mysql_query.c, - plugins/check_nagios.c, plugins/check_nt.c, plugins/check_ntp.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c, - plugins/negate.c, plugins/urlize.c, plugins/utils.c, plugins/utils.h: - Don't try to print `optarg' (which will be a NULL pointer) if an unknown - command line option was used, as this leads to a segfault on some - systems. The unknown option will be printed by getopt(3) anyway. So, - simply call print_usage() and exit UNKNOWN via the new usage5() instead. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1590 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-27 Thomas Guyot-Sionnest - - * plugins/check_disk.c, plugins/t/check_disk.t: Fix #1643463: - Miscalculating thresholds check_disk - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1589 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-27 Holger Weiss - - * lib/utils_base.c: Change the variable names `true' and `false' (which - are keywords in C99) - to `yes' and `no'. Fixes compilation when using SGI's MIPSpro c99(1). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1588 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/common.h: Include GNULib's "dirname.h" in order to pull in the - base_name() - prototype, fixes compilation of check_procs using SGI's MIPSpro C. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1587 f882894a-f735-0410-b71e-b25c423dba1c - - * ACKNOWLEDGEMENTS, NEWS: Fix typos. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1586 f882894a-f735-0410-b71e-b25c423dba1c - - * NEWS: Added "-o,--ssh-option=OPTION" which hands "-o OPTION" over to - ssh(1) and - "-q,--quiet" which tells ssh(1) to suppress warnings (Gerhard Lausser - 1472491) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1585 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_dhcp.c: Include which is a - prerequisite for on - NetBSD and OpenBSD (at least). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1584 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-25 Ton Voon - - * Makefile.am, README, configure.in, doc/RELEASING: Update references to - NEWS instead of CHANGES. Fix compile of libtap - test programs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1583 f882894a-f735-0410-b71e-b25c423dba1c - - * build-aux/.cvsignore, build-aux/ltmain.sh, config.guess, config.sub, - configure.in: Use build-aux directory. Removed unnecessary checks in - configure.in. - Keeping libtool to link to libtap - can't find a suitable replacement method - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1582 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-24 Ton Voon - - * ACKNOWLEDGEMENTS, NEWS, config.rpath, configure.in, - doc/developer-guidelines.sgml, gl/.cvsignore, plugins/Makefile.am, - plugins/check_procs.c, po/POTFILES.in: Various cleanups in the syncing - with gnulib - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1581 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am, NEWS, config.rpath, configure.in, - doc/developer-guidelines.sgml, gl/Makefile.am, gl/alloca.c, - gl/alloca_.h, gl/asnprintf.c, gl/asprintf.c, gl/basename.c, - gl/c-strtod.c, gl/c-strtod.h, gl/cloexec.c, gl/cloexec.h, - gl/creat-safer.c, gl/dirname.c, gl/dirname.h, gl/dup-safer.c, - gl/error.c, gl/error.h, gl/exit.h, gl/exitfail.c, gl/exitfail.h, - gl/fcntl--.h, gl/fcntl-safer.h, gl/fd-safer.c, gl/fsusage.c, - gl/fsusage.h, gl/full-read.c, gl/full-read.h, gl/full-write.c, - gl/full-write.h, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getaddrinfo.h, - gl/gethostname.c, gl/getloadavg.c, gl/getopt.c, gl/getopt1.c, - gl/getopt_.h, gl/getopt_int.h, gl/gettext.h, gl/inet_ntop.c, - gl/inet_ntop.h, gl/intprops.h, gl/m4/absolute-header.m4, - gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/c-strtod.m4, - gl/m4/cloexec.m4, gl/m4/codeset.m4, gl/m4/dirname.m4, gl/m4/dos.m4, - gl/m4/double-slash-root.m4, gl/m4/eoverflow.m4, gl/m4/error.m4, - gl/m4/exitfail.m4, gl/m4/extensions.m4, gl/m4/fcntl-safer.m4, - gl/m4/fstypename.m4, gl/m4/fsusage.m4, gl/m4/getaddrinfo.m4, - gl/m4/gethostname.m4, gl/m4/getloadavg.m4, gl/m4/getopt.m4, - gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/glibc21.m4, - gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, - gl/m4/gnulib-tool.m4, gl/m4/iconv.m4, gl/m4/inet_ntop.m4, - gl/m4/inline.m4, gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intldir.m4, - gl/m4/intmax.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, - gl/m4/inttypes_h.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, - gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/lock.m4, - gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/ls-mntd-fs.m4, - gl/m4/mbchar.m4, gl/m4/mbiter.m4, gl/m4/mbrtowc.m4, gl/m4/memchr.m4, - gl/m4/minmax.m4, gl/m4/mountlist.m4, gl/m4/netinet_in_h.m4, - gl/m4/nls.m4, gl/m4/onceonly_2_57.m4, gl/m4/po.m4, - gl/m4/printf-posix.m4, gl/m4/progtest.m4, gl/m4/regex.m4, - gl/m4/safe-read.m4, gl/m4/safe-write.m4, gl/m4/size_max.m4, - gl/m4/snprintf.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, - gl/m4/ssize_t.m4, gl/m4/stdbool.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, - gl/m4/strcase.m4, gl/m4/strdup.m4, gl/m4/strndup.m4, gl/m4/strnlen.m4, - gl/m4/sys_socket_h.m4, gl/m4/uintmax_t.m4, gl/m4/ulonglong.m4, - gl/m4/unistd-safer.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, - gl/m4/vasprintf.m4, gl/m4/visibility.m4, gl/m4/vsnprintf.m4, - gl/m4/wchar.m4, gl/m4/wchar_t.m4, gl/m4/wctype.m4, gl/m4/wcwidth.m4, - gl/m4/wint_t.m4, gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/xstrndup.m4, - gl/malloc.c, gl/mbchar.c, gl/mbchar.h, gl/mbuiter.h, gl/memchr.c, - gl/minmax.h, gl/mountlist.c, gl/mountlist.h, gl/open-safer.c, - gl/pipe-safer.c, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, - gl/printf-parse.h, gl/regcomp.c, gl/regex.c, gl/regex.h, - gl/regex_internal.c, gl/regex_internal.h, gl/regexec.c, gl/safe-read.c, - gl/safe-read.h, gl/safe-write.c, gl/safe-write.h, gl/size_max.h, - gl/snprintf.c, gl/snprintf.h, gl/socket_.h, gl/stdbool_.h, gl/stdint_.h, - gl/strcase.h, gl/strcasecmp.c, gl/strdup.c, gl/strdup.h, - gl/stripslash.c, gl/strncasecmp.c, gl/strndup.c, gl/strndup.h, - gl/strnlen.c, gl/strnlen.h, gl/strnlen1.c, gl/strnlen1.h, gl/unistd--.h, - gl/unistd-safer.h, gl/unistd_.h, gl/vasnprintf.c, gl/vasnprintf.h, - gl/vasprintf.c, gl/vasprintf.h, gl/vsnprintf.c, gl/vsnprintf.h, - gl/wchar_.h, gl/wctype_.h, gl/wcwidth.h, gl/xalloc-die.c, gl/xalloc.h, - gl/xmalloc.c, gl/xsize.h, gl/xstrndup.c, gl/xstrndup.h, lib/Makefile.am, - lib/basename.c, lib/c-strtold.c, lib/gettext.h, lib/realloc.c, - lib/snprintf.c, lib/strtod.c, lib/tests/Makefile.am, lib/unlocked-io.h, - lib/xalloc.h, lib/xmalloc.c, m4/Makefile.am.in, m4/afs.m4, - m4/basename.m4, m4/extensions.m4, m4/fstypename.m4, m4/inttypes.m4, - m4/longlong.m4, m4/np_coreutils.m4, m4/np_curl.m4, m4/restrict.m4, - m4/signed.m4, m4/ulonglong.m4, m4/unlocked-io.m4, - plugins-root/Makefile.am, plugins/Makefile.am, plugins/check_smtp.c, - plugins/common.h, plugins/getaddrinfo.c, plugins/getaddrinfo.h, - plugins/gethostbyname.c, plugins/gethostbyname.h, plugins/netutils.h, - tools/setup, tools/update_coreutils: Sync with gnulib - lots of - extraneous code removed in preference to GNU code - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1580 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-23 Holger Weiss - - * THANKS.in, plugins/check_ssh.c: Support `check_ssh --hostname=ADDRESS' - (but keep `--host=ADDRESS' for backward - compatibility) (Ville Mattila - 1642780) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1579 f882894a-f735-0410-b71e-b25c423dba1c - - * REQUIREMENTS: Location updates - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1578 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: Add missing `break' to the switch-case block that - handles the `-m' option - (Nobuhiro Ban - 1642682) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1577 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, plugins/check_radius.c: Initialize `data' to zero, fixes - potential segfault (Nobuhiro Ban - 1642658) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1576 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/mountlist.c: Add support for statvfs(2) which is needed in order - to compile the plugins on - NetBSD 3.0 and newer. The current coreutils release supports statvfs(2), so - this patch won't be needed anymore when updating the coreutils files. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1575 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-22 Holger Weiss - - * plugins/check_by_ssh.c: Added "-o,--ssh-option=OPTION" which hands "-o - OPTION" over to ssh(1) and - "-q,--quiet" which tells ssh(1) to suppress warnings (Gerhard Lausser - 1472491) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1574 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-20 Ton Voon - - * doc/developer-guidelines.sgml: Updated policy on contributed plugins - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1573 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/LEAVERS, doc/NEW_STARTERS, doc/RELEASING: Administrative notes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1572 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-20 M. Sean Finney - - * plugins/check_ntp.c: compilation fixes for check_ntp.c: - - check_ntp.c:290: warning: overflow in implicit constant conversion - fixed with an explicit cast to int8_t. - - check_ntp.c:544: warning: pointer of type ‘void *’ used in arithmetic - fixed by casting to ptrdiff_t before arithmetic and (void*) afterwards - - in TVtoNTP64, cast arithmetic result passed to R32 as uint64_t. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1571 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-20 Thomas Guyot-Sionnest - - * plugins/check_http.c, plugins/check_ldap.c: Fix bug #1632091: printf - format string typos. Add some more cosmetic changes. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1570 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_icmp.c: Fix bug #1632078: critical threshold % - incorrectly displayed by check_icmp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1569 f882894a-f735-0410-b71e-b25c423dba1c - - * CHANGES, THANKS.in, plugins/netutils.c: Fix bug #1632072 pointer error - in plugins/netutils.c. Add changelog entry for previous commit. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1568 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-17 Thomas Guyot-Sionnest - - * THANKS.in, plugins/check_procs.c: Fix bug #1630970 Fix for buffer - overflow of check_procs procprog string - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1566 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-08 Ton Voon - - * CHANGES, THANKS.in, plugins/t/check_disk.t: Added notes about - check_disk perf data fix. Added test to check perf data is - same when mount points reversed - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1565 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-07 Thomas Guyot-Sionnest - - * plugins/check_disk.c: Fix bug #1627970: check_disk performance output - for more then one partition - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1564 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-06 Thomas Guyot-Sionnest - - * plugins/check_ping.c: Fix bug #1629008: check_ping fails to handle - Packet filtered error - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1563 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c: Revert last patch: it works but not really for - the reason I though. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1562 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c: Fix the way check_ping calculate the maximum run - time - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1561 f882894a-f735-0410-b71e-b25c423dba1c - -2007-01-04 Thomas Guyot-Sionnest - - * plugins/check_real.c: Fix bug #1574863: check_real does not accept the - '-v' option - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1560 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c: Fix bug #1592605: check_ping times out - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1559 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/README, tools/distclean: Adding my distclean script - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1558 f882894a-f735-0410-b71e-b25c423dba1c - -2006-12-23 Thomas Guyot-Sionnest - - * plugins/t/check_snmp.t: Regexps in check_snmp tests fails where they - shouldn't. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1557 f882894a-f735-0410-b71e-b25c423dba1c - -2006-12-21 Thomas Guyot-Sionnest - - * NPTest.pm: - Fixing small error (wrong file name) in NPTest.pm - documentation. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1556 f882894a-f735-0410-b71e-b25c423dba1c - -2006-12-20 Ton Voon - - * CHANGES, THANKS.in, plugins/check_http.c, plugins/t/check_http.t: - Removed unused timestamp variable (Matthias Eble) - Fixed redirection test. Added extra tests for funny syntax when checking - certificates, updated help for more common syntax - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1555 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/utils_disk.c, lib/utils_disk.h, plugins/check_disk.c, - plugins/t/check_disk.t: Fixed inode thresholds, regressed from previous - release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1554 f882894a-f735-0410-b71e-b25c423dba1c - -2006-12-20 Benoit Mortier - - * po/de.po, po/fr.po, po/nagios-plugins.pot: updated the - nagios-pulgins.pot files now that localization is clean - first pass at updating the french locale - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1553 f882894a-f735-0410-b71e-b25c423dba1c - -2006-12-12 Ton Voon - - * plugins-scripts/t/utils.t: Enhanced test for single letters in fqdn - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1549 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/utils.pm.in: Allow single characters in fqdn (Dave - Alden) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1548 f882894a-f735-0410-b71e-b25c423dba1c - -2006-12-07 Ton Voon - - * CHANGES, THANKS.in, configure.in: Fixed HP/UX's swapinfo command for - check_procs (Dick van den Burg - 1573700) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1547 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, plugins/check_disk.c, plugins/check_swap.c, - plugins/common.h, plugins/netutils.h: Fix coredump on 64bit Solaris. - Also adds more error conditions and moves - swap specific includes out of common.h (Duncan Ferguson - 1588031) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1546 f882894a-f735-0410-b71e-b25c423dba1c - -2006-12-06 Ton Voon - - * plugins/Makefile.am: Move SSL libs to correct order per plugin - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1545 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: Only include -lssl for plugins that require it - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1544 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Flag common compile error because of no ar on Solaris - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1543 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am: Remove CVS files from distribution - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1542 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Add libtool requirement for development - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1541 f882894a-f735-0410-b71e-b25c423dba1c - -2006-11-09 Ton Voon - - * CHANGES, THANKS.in, plugins/check_ping.c, plugins/netutils.c: Reduced - DNS lookups in check_ping and netutils.c in IPv6 configurations - (Pawel Malachowski) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1535 f882894a-f735-0410-b71e-b25c423dba1c - -2006-11-03 Ton Voon - - * lib/Makefile.am, lib/alloca.c, lib/alloca_.h: Add alloca files, - required for *BSD - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1534 f882894a-f735-0410-b71e-b25c423dba1c - -2006-11-01 Ton Voon - - * ChangeLog, configure.in, package.def: For 1.4.5 release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1532 f882894a-f735-0410-b71e-b25c423dba1c - -2006-10-27 Ton Voon - - * plugins-scripts/t/utils.t, plugins-scripts/utils.pm.in: More edge - testcases. Allow anything if ends with a . as long as correct - characters - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1531 f882894a-f735-0410-b71e-b25c423dba1c - -2006-10-26 Ton Voon - - * NPTest.pm: New test variables default to "none", so no changes - required to tinderbox satelites - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1530 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, plugins-scripts/check_oracle.sh: Fixed error if - dba_free_space has no free segments (Florian Gleixner) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1529 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/Makefile.am, plugins-scripts/t/utils.t, - plugins-scripts/utils.pm.in: Fixed regression where hostnames with - hyphens were rejected (1581402 - Holger Weiss) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1528 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/tarballs/check_traffic-0.90b.tar.gz: Removing unnecessary - tarball - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1527 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, plugins/check_disk.c, plugins/check_http.c: Remove C style - comments (1583467 - Markus Baertschi) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1526 f882894a-f735-0410-b71e-b25c423dba1c - -2006-10-24 Benoit Mortier - - * plugins-root/check_icmp.c: more fixes and removal of certain sentences - not needed - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1525 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_icmp.c, plugins/check_nt.c: last localization fixes - for core plugins in c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1524 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nt.c: next round of localization fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1523 f882894a-f735-0410-b71e-b25c423dba1c - -2006-10-24 Ton Voon - - * plugins-root/Makefile.am, plugins-root/check_icmp.c: Fixed compile on - non-glibc platforms - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1522 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: Restored accidently regressed fix - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1521 f882894a-f735-0410-b71e-b25c423dba1c - -2006-10-23 Benoit Mortier - - * plugins/check_http.c: localization fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1520 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_icmp.c: first pass a making check icmp respecting - nagiosplugins rules - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1519 f882894a-f735-0410-b71e-b25c423dba1c - -2006-10-22 Benoit Mortier - - * plugins/check_nt.c: latest localization fixes for tonight ;-) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1518 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ldap.c: localization fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1517 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_icmp.c: putting default template for copyright and - explanations - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1516 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_icmp.c: revert mistake when commiting fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1515 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_icmp.c, plugins/check_apt.c, plugins/check_procs.c: - more localization fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1514 f882894a-f735-0410-b71e-b25c423dba1c - -2006-10-20 Ton Voon - - * plugins/check_snmp.c: Reverting back accidently regressed code - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1513 f882894a-f735-0410-b71e-b25c423dba1c - -2006-10-20 Benoit Mortier - - * plugins/check_mrtg.c: more localization fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1512 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/check_dhcp.c, plugins/check_apt.c: localization updates - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1511 f882894a-f735-0410-b71e-b25c423dba1c - -2006-10-19 Benoit Mortier - - * plugins/check_snmp.c: adding missing check_snmp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1510 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c, - plugins/negate.c, plugins/urlize.c: another round of localization - cleaning - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1509 f882894a-f735-0410-b71e-b25c423dba1c - -2006-10-19 Ton Voon - - * BUGS, ChangeLog, configure.in, package.def: For 1.4.4 release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1507 f882894a-f735-0410-b71e-b25c423dba1c - - * CHANGES: Added info re: 1.4.4 in prep for release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1506 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, plugins/check_snmp.c: Initialise strings for Fedora Core 5 - (Henning Schmiedehausen) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1505 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, plugins/check_snmp.c: Removed asprintf for perf data (Craig - Orsinger, Robby Giffin - 1310495) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1504 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, plugins/check_snmp.c: type variable not cleared in Sol 10 - (Kyle Tucker) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1503 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, plugins/check_http.c, plugins/t/check_http.t: Redirection - error if other headers beginning with L (Aravind Gottipati - 1562572) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1502 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, plugins-scripts/utils.pm.in: Allow hostnames beginning with - digits (O'Shaughnessy Evans - 1567390) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1501 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_smtp.t: Added tests for SMTP servers without TLS and - with TLS - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1500 f882894a-f735-0410-b71e-b25c423dba1c - -2006-10-19 Benoit Mortier - - * plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_dig.c, - plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c, - plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c, - plugins/check_ide_smart.c, plugins/check_ldap.c, plugins/check_load.c, - plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c, - plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c, - plugins/check_ntp.c, plugins/check_nwstat.c, plugins/check_overcr.c, - plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_procs.c: - first pass at cleaning localization for new release - first pass at making all the headre be the same licence, plugin, etc... - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1499 f882894a-f735-0410-b71e-b25c423dba1c - -2006-10-18 Ton Voon - - * plugins/check_disk.c, plugins/t/check_disk.t: Re-added perf data to - check_disk - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1498 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/tests/test_disk.c, lib/utils_disk.h: Fix tests for exact matches - when searching filesystems - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1497 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/utils_base.c, lib/utils_base.h: Cater for different errors when - setting thresholds - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1496 f882894a-f735-0410-b71e-b25c423dba1c - -2006-10-12 Ton Voon - - * plugins/check_smtp.c, plugins/t/check_smtp.t: Resend EHLO after TLS - negotiation as per RFC3207 (Holger Weiss - 1482832) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1493 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp.c: Removed extraneous comma in perf data output - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1492 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c, plugins/t/check_disk.t: Remove the "- free - space" if status is OK - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1491 f882894a-f735-0410-b71e-b25c423dba1c - - * NPTest.pm, THANKS.in, plugins/check_disk.c, plugins/t/check_disk.t: - Fixed output from -e in check_disk (Andreas Behal) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1490 f882894a-f735-0410-b71e-b25c423dba1c - -2006-10-02 Ton Voon - - * plugins/t/check_load.t: Fix test failure on poseidon - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1487 f882894a-f735-0410-b71e-b25c423dba1c - -2006-09-21 Ton Voon - - * THANKS.in, plugins/check_nwstat.c: Added perfdata for most variables - and new parameters: VMU, VMF, - VMP, NRMH, NRMP, NRMM, NRMS, NSS1 to NSS7 (Christian Mies) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1480 f882894a-f735-0410-b71e-b25c423dba1c - -2006-09-02 M. Sean Finney - - * lib/utils_base.h, plugins/utils.h: - explicitly include utils_base.h - from utils.h - - put utils.h inside of an #ifndef/#endif - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1474 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: - fix for warning/critical timeouts in - check_tcp.c, in which the plugin - would exit with a usage error if non-int timeouts were passed. - - change --warning-time/--critical-time to just --warning/--critical, - as it's what --help says. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1473 f882894a-f735-0410-b71e-b25c423dba1c - -2006-08-14 Ton Voon - - * THANKS.in, plugins/check_disk.c: Fixed inode percent free output (Mike - Emigh - 1531899) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1469 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_ntp.t: Fixed skip of no ntp test - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1468 f882894a-f735-0410-b71e-b25c423dba1c - -2006-08-11 Ton Voon - - * plugins/check_ntp.c, plugins/t/check_ntp.t: Catch no responses from - any server (1538341 - nmdias) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1467 f882894a-f735-0410-b71e-b25c423dba1c - -2006-08-03 Ton Voon - - * tools/tinderbox_build: Interpret the snapshot datestamp as GMT - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1465 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-31 Harper Mann - - * plugins/check_nt.c: Bug: 694259 fix. After consulting with the target - service authors, we - decided to keep the default port as 1248 and add a note about other services - sometimes using this port and suggesting to change the port. Closing bug. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1464 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-31 Ton Voon - - * doc/developer-guidelines.sgml: M4 requirement for developer platform - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1463 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-29 Ton Voon - - * plugins-root/check_dhcp.c, plugins/common.h: Fix two Solaris compile - problems - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1462 f882894a-f735-0410-b71e-b25c423dba1c - - * po/POTFILES.in: Remove reference to check_udp.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1461 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-28 Ton Voon - - * configure.in, plugins-scripts/Makefile.am, plugins/Makefile.am: - Cleanup references to old check_udp and INSTALL_OPTS. Error if - --with-nagios-user or --with-nagios-group specified for configure - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1460 f882894a-f735-0410-b71e-b25c423dba1c - - * CHANGES, plugins/Makefile.am, plugins/check_udp.c, - plugins/t/check_udp.t: check_udp.c deprecated and check_udp now linked - to check_tcp. check_udp2 removed - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1459 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-27 Ton Voon - - * doc/developer-guidelines.sgml: Example ranges (Nathan Vonnahme) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1458 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-19 Ton Voon - - * THANKS.in, configure.in: Stricter autoconf 2.60 rules (Lance Albertson - - 1522900) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1457 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/common.h: Fix to add uintmax_t, for check_disk.c compile - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1456 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/common.h: Fix for CHAR_MAX on Solaris 9 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1455 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-14 Ton Voon - - * lib/Makefile.am, lib/utils_base.c: Missing header files - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1454 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: Fix inode percents using coreutils' percentage - calculation technique - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1453 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-13 Ton Voon - - * CHANGES, lib/tests/test_utils.c, lib/utils_base.c, lib/utils_base.h, - lib/utils_disk.c, lib/utils_disk.h, plugins/check_disk.c, - plugins/t/check_disk.t: Major fixes to check_disk. Now should return - same data as df - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1452 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am, configure.in, lib/Makefile.am, lib/tests/.cvsignore, - lib/tests/Makefile.am, lib/tests/README, lib/tests/test_disk.c, - lib/tests/test_disk.t, lib/tests/test_utils.c, lib/tests/test_utils.t, - plugins/Makefile.am, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_mysql.c, plugins/check_mysql_query.c, plugins/utils.c, - plugins/utils.h, plugins/utils_disk.c, plugins/utils_disk.h: Move new - util_* functions to lib/ - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1451 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, lib/basename.c, lib/dirname.h, m4/basename.m4, - m4/dos.m4, m4/np_coreutils.m4, plugins/check_procs.c, plugins/utils.c, - plugins/utils.h: Using coreutils' base_name function because of - portability issues with - Tru64 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1450 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-12 Ton Voon - - * plugins/check_disk.c, plugins/t/check_disk.t, plugins/utils_disk.c, - plugins/utils_disk.h: Added -E option for exact match of filesystem. - Restructured main filesystem - loop. Added extra tests for possible duplicate filesystems. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1449 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c, plugins/tests/.cvsignore, - plugins/tests/test_disk.c, plugins/utils_disk.c, plugins/utils_disk.h: - Moving parameter_list into utils_disk.h. Given list of mount points, can - now work out best match or exact match. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1448 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am, plugins/check_disk.c, plugins/tests/Makefile.am, - plugins/tests/test_disk.c, plugins/tests/test_disk.t, - plugins/utils_disk.c, plugins/utils_disk.h: Moving check_disk functions - into utils_disk.c and testing them - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1447 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-11 Ton Voon - - * lib/creat-safer.c, lib/dup-safer.c, lib/fcntl--.h, lib/fcntl-safer.h, - lib/fd-safer.c, lib/open-safer.c, lib/pipe-safer.c, lib/unistd--.h, - lib/unistd-safer.h, m4/fcntl-safer.m4, m4/np_coreutils.m4, - m4/unistd-safer.m4: Extra files from coreutils required for getloadavg.c - to compile - on Tru64 (Ciro Iriarte - 1520331) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1446 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-10 Ton Voon - - * lib/Makefile.am: Didn't add intprops.h into distribution correctly - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1445 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-07 Harper Mann - - * plugins/urlize.c: Added check for two arguments. Was segfaulting if no - or one arg. Now returns - help. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1444 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-05 Ton Voon - - * plugins-scripts/check_mailq.pl: Fixed checking of return codes from - external mailq programs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1443 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/tinderbox_build: Add instructions for manually sending Tinderbox - build logs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1442 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/Makefile.am, lib/intprops.h: Missing intprops.h for Tru64 (Ciro - Iriarte - 1517379) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1441 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-04 Ton Voon - - * THANKS.in, m4/alloca.m4, m4/np_coreutils.m4: Added alloca.h check and - fixed locale.h, wchar.h (Ari Pollak - 1516578) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1440 f882894a-f735-0410-b71e-b25c423dba1c - -2006-07-03 Ton Voon - - * plugins/check_dig.c: Fixed -p getopt call (Allan Bennett - 1511650) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1439 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, lib/c-strtod.c, lib/c-strtod.h, lib/c-strtold.c, - m4/c-strtod.m4, m4/np_coreutils.m4, plugins/Makefile.am: Fixed compile - on Tru64 5.1b (Ciro Iriarte - 1515435) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1438 f882894a-f735-0410-b71e-b25c423dba1c - -2006-06-21 Benoit Mortier - - * plugins/check_snmp.c, plugins/check_ssh.c: cleaning help and usage - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1437 f882894a-f735-0410-b71e-b25c423dba1c - - * po/LINGUAS: fixing bug id #1509699 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1436 f882894a-f735-0410-b71e-b25c423dba1c - -2006-06-20 Benoit Mortier - - * plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c, - plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c: - cleaning help and usage + license - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1435 f882894a-f735-0410-b71e-b25c423dba1c - -2006-06-18 Benoit Mortier - - * plugins/check_disk.c, plugins/check_time.c, plugins/check_udp.c, - plugins/check_ups.c, plugins/check_users.c, plugins/gethostbyname.c, - plugins/gethostbyname.h, plugins/negate.c, plugins/netutils.c, - plugins/popen.c, plugins/runcmd.c, plugins/sslutils.c, plugins/urlize.c, - plugins/utils.c: updating help and usage and license - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1434 f882894a-f735-0410-b71e-b25c423dba1c - -2006-06-17 Benoit Mortier - - * plugins/check_hpjd.c, plugins/check_nt.c, plugins/check_ntp.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c: cleaning up help and usage - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1433 f882894a-f735-0410-b71e-b25c423dba1c - -2006-06-15 Benoit Mortier - - * plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c, - plugins/check_mysql.c, plugins/check_mysql_query.c, - plugins/check_nagios.c: cleaning help and usage - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1432 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ide_smart.c: cleaning help and usage - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1430 f882894a-f735-0410-b71e-b25c423dba1c - -2006-06-14 Benoit Mortier - - * plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c, - plugins/check_game.c: updating the help and usage for localization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1427 f882894a-f735-0410-b71e-b25c423dba1c - -2006-06-14 Ton Voon - - * INSTALLING, doc/developer-guidelines.sgml: Updated requirements for - development platform - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1426 f882894a-f735-0410-b71e-b25c423dba1c - -2006-06-14 Benoit Mortier - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c: - starting the BIG locale update ;-) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1425 f882894a-f735-0410-b71e-b25c423dba1c - -2006-06-07 M. Sean Finney - - * contrib/check_linux_raid.pl: some gratuitous whitespace changes, and a - fix to the "recovery =" detection - logic in check_linux_raid.pl - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1418 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/utils.pm.in: removed stale references to - PATH_TO_NTPFOO, as it's no longer used. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1417 f882894a-f735-0410-b71e-b25c423dba1c - -2006-06-07 Ton Voon - - * plugins-root/Makefile.am: Do not install setuid programs unless run as - root - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1416 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-root/Makefile.am, tools/setup: Fixed two build problems re: - libtool and pst3 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1415 f882894a-f735-0410-b71e-b25c423dba1c - -2006-06-06 M. Sean Finney - - * plugins/check_pgsql.c: modify the is_pg_dbname() function to allow - databases with '-' in their name. - reference: sf tracker #1500752 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1414 f882894a-f735-0410-b71e-b25c423dba1c - -2006-06-03 M. Sean Finney - - * configure.in: removed the -R for openssl, as it should be figured out - automatically by - libtool and also controlled via the --enable-rpath/--disable-rpath configure - options. furthermore keeping it in forces the rpath option on in spite of - what's passed on the configure line. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1413 f882894a-f735-0410-b71e-b25c423dba1c - -2006-06-01 M. Sean Finney - - * contrib/check_linux_raid.pl: gave some TLC to check_linux_raid - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1412 f882894a-f735-0410-b71e-b25c423dba1c - -2006-05-30 Ton Voon - - * configure.in: Default to search path for mysql_config - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1411 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in: For reporting check_radius compile problem - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1410 f882894a-f735-0410-b71e-b25c423dba1c - - * .cvsignore, config.guess, config.sub, doc/developer-guidelines.sgml, - ltmain.sh: Added libtool files, at version 1.5.22, into CVS - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1409 f882894a-f735-0410-b71e-b25c423dba1c - -2006-05-25 Ethan Galstad - - * plugins-root/check_dhcp.c: Applied patch for responses from - helpers/relays, cleaned up different coding styles for consistency - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1408 f882894a-f735-0410-b71e-b25c423dba1c - -2006-05-25 Ton Voon - - * lib/regex.o: Removed unnecessary file - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1407 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, lib/Makefile.am, plugins/common.h: Gettext fixes to sync - with coreutils - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1406 f882894a-f735-0410-b71e-b25c423dba1c - -2006-05-25 Ethan Galstad - - * plugins-root/check_dhcp.c: Fixed short interface name length, UNKNOWN - return code (patches from tracker) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1405 f882894a-f735-0410-b71e-b25c423dba1c - -2006-05-25 Ton Voon - - * plugins/check_http.c, plugins/t/check_http.t: Option to invert results - from a regexp pattern match - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1404 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, lib/.cvsignore, lib/regcomp.c, lib/regex.c, lib/regex.h, - lib/regex.o, lib/regex_internal.c, lib/regex_internal.h, lib/regexec.c, - lib/strcase.h, m4/.cvsignore, m4/np_coreutils.m4, m4/regex.m4, - m4/restrict.m4, plugins/check_apt.c, plugins/check_http.c, - plugins/check_smtp.c, plugins/check_snmp.c: Use coreutils' regexp - libraries, so regexp always available now - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1403 f882894a-f735-0410-b71e-b25c423dba1c - - * m4/ls-mntd-fs.m4: Sync with coreutils 5.96 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1402 f882894a-f735-0410-b71e-b25c423dba1c - -2006-05-24 Ton Voon - - * THANKS.in, configure.in: Fix for mysql 3.x (Jeremy Reed, Michael - Tiernan - 1491936) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1401 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Reminder of no inline variable - declarations - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1400 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: Variables need to be declared at top of code for - better portability - (Gerhard Lausser) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1399 f882894a-f735-0410-b71e-b25c423dba1c - -2006-05-19 Ton Voon - - * configure.in, doc/developer-guidelines.sgml: Requirement of automake - 1.8.3, as coreutils needs it - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1398 f882894a-f735-0410-b71e-b25c423dba1c - - * .cvsignore, config.rpath, mkinstalldirs, po/.cvsignore, - po/remove-potcdate.sin: Adding more required files from gettext - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1397 f882894a-f735-0410-b71e-b25c423dba1c - -2006-05-18 Ton Voon - - * tools/setup: Bug in Makefile.am creation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1396 f882894a-f735-0410-b71e-b25c423dba1c - - * .cvsignore, ABOUT-NLS, m4/Makefile.am, m4/Makefile.am.in, - po/.cvsignore, po/Makefile.in.in, tools/setup: Fixes from coreutils - sync: some files now required and removed generateable files - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1395 f882894a-f735-0410-b71e-b25c423dba1c - - * .cvsignore, Makefile.am, configure.in, doc/developer-guidelines.sgml, - lib/Makefile.am, lib/cloexec.c, lib/cloexec.h, lib/error.c, lib/error.h, - lib/exit.h, lib/exitfail.c, lib/exitfail.h, lib/fsusage.c, - lib/fsusage.h, lib/full-read.c, lib/full-read.h, lib/full-write.c, - lib/full-write.h, lib/getloadavg.c, lib/getopt.c, lib/getopt1.c, - lib/getopt_.h, lib/getopt_int.h, lib/gettext.h, lib/malloc.c, - lib/mountlist.c, lib/mountlist.h, lib/realloc.c, lib/safe-read.c, - lib/safe-read.h, lib/safe-write.c, lib/safe-write.h, lib/stdbool_.h, - lib/strtod.c, lib/unlocked-io.h, lib/xalloc-die.c, lib/xalloc.h, - lib/xmalloc.c, m4/.cvsignore, m4/Makefile.am, m4/afs.m4, m4/codeset.m4, - m4/error.m4, m4/exitfail.m4, m4/extensions.m4, m4/fstypename.m4, - m4/fsusage.m4, m4/getopt.m4, m4/gettext.m4, m4/glibc21.m4, m4/iconv.m4, - m4/intdiv0.m4, m4/inttypes-pri.m4, m4/inttypes.m4, m4/inttypes_h.m4, - m4/isc-posix.m4, m4/lcmessage.m4, m4/lib-ld.m4, m4/lib-link.m4, - m4/lib-prefix.m4, m4/longdouble.m4, m4/longlong.m4, m4/ls-mntd-fs.m4, - m4/malloc.m4, m4/mountlist.m4, m4/nls.m4, m4/np_coreutils.m4, - m4/onceonly_2_57.m4, m4/po.m4, m4/progtest.m4, m4/realloc.m4, - m4/signed.m4, m4/stdbool.m4, m4/stdint_h.m4, m4/uintmax_t.m4, - m4/ulonglong.m4, m4/unlocked-io.m4, m4/wchar_t.m4, m4/wint_t.m4, - m4/xalloc.m4, plugins-root/.cvsignore, plugins-root/check_dhcp.c, - plugins/.cvsignore, plugins/check_disk.c, plugins/common.h, - plugins/tests/.cvsignore, po/.cvsignore, tools/setup: Synchronise with - coreutils 2.95. Gettext now synced with coreutils, - so no longer development platform requirement - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1394 f882894a-f735-0410-b71e-b25c423dba1c - -2006-05-17 Ton Voon - - * configure.in: Fix for loading SSL libraries at runtime - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1393 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins-root/Makefile.am: Fix compile problems on - Solaris for pst3 and ssl libs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1392 f882894a-f735-0410-b71e-b25c423dba1c - -2006-05-15 Ton Voon - - * CHANGES, contrib/check_disk_snmp.pl: check_disk_snmp.pl removed. - Notice added to CHANGES - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1391 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/sfsnapshot: Changed snapshot generator due to cvs changes on SF - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1390 f882894a-f735-0410-b71e-b25c423dba1c - -2006-05-03 Ton Voon - - * doc/LEAVERS: Leavers process documented - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1389 f882894a-f735-0410-b71e-b25c423dba1c - -2006-05-02 Ton Voon - - * plugins/check_disk.c: Inode thresholds not always being initialised - (James Fidell - 1476457) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1388 f882894a-f735-0410-b71e-b25c423dba1c - - * CHANGES: New check_ntp and check_apt plugins by Sean - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1387 f882894a-f735-0410-b71e-b25c423dba1c - -2006-05-01 M. Sean Finney - - * configure.in, plugins-scripts/Makefile.am, plugins/Makefile.am, - plugins/check_ntp.c, plugins/common.h, plugins/runcmd.c: - check_ntp: - - now roughly feature-complete. - - various bugfixes, esp. offset calculation. - - enhanced the asynchronous offset polling to set requests that - haven't recieved a response in >= 1 second to stale and retransmit them, - which results in much better performance on unreliable networks. - - we only spend timeout/2 seconds polling offsets, and if we don't get - everything by that point we work with what we have and set status to - warning/critical depending on how much data we have. - - set the same defaults as the perl script. - - commit changes to configure.in to support automatic building of check_apt - (if apt-get is installed and regex libraries available) and check_ntp - (unconditionally), now defaulting to check_ntp.c instead of the perl script. - if this is an issue we can back out the commit of course. an eye - should be kept on check_ntp building and running correctly in different - environments, esp. 64-bit and big-endian platforms, and those with more - "esoteric" API's (do any of the platforms not have poll()?). - - similar changes to Makefile.am's. - - common.h: add statement to include sys/poll.h - - runcmd.c: exit STATE_UNKNOWN if execve() fails. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1386 f882894a-f735-0410-b71e-b25c423dba1c - -2006-04-28 Ton Voon - - * configure.in: Remove stupid error where pst3 was always compiled - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1385 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins-root/Makefile.am: Added pst3 into distribution - (Jason Kau - 1476451) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1384 f882894a-f735-0410-b71e-b25c423dba1c - -2006-04-27 Ton Voon - - * configure.in, plugins/check_procs.c, plugins/tests/test_utils.c, - plugins/utils.c, plugins/utils.h: Internal version of basename if one - not found in system - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1383 f882894a-f735-0410-b71e-b25c423dba1c - -2006-04-19 Ton Voon - - * plugins/t/check_nagios.t: Fix check_nagios tests on MacOSX 10.4 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1382 f882894a-f735-0410-b71e-b25c423dba1c - -2006-04-19 Subhendu Ghosh - - * ChangeLog: ChangeLog update - release pending - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1380 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, package.def: version update - release pending - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1379 f882894a-f735-0410-b71e-b25c423dba1c - -2006-04-17 Benoit Mortier - - * po/fr.po: Final commit of fr.po - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1378 f882894a-f735-0410-b71e-b25c423dba1c - - * po/fr.po: another big chunk of fr.po - - Still 20 to go ;) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1377 f882894a-f735-0410-b71e-b25c423dba1c - -2006-04-16 Benoit Mortier - - * po/fr.po: big revision of po file for 1.4.3 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1376 f882894a-f735-0410-b71e-b25c423dba1c - -2006-04-15 Benoit Mortier - - * po/fr.po: second part of fr.po updating - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1375 f882894a-f735-0410-b71e-b25c423dba1c - -2006-04-14 Benoit Mortier - - * po/de.po, po/fr.po, po/nagios-plugins.pot: updated pot file - sarted updating fr.po for nagios 1.4.3 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1374 f882894a-f735-0410-b71e-b25c423dba1c - -2006-04-12 M. Sean Finney - - * plugins/check_ntp.c: the offset_requests are now parallelized. still - stuff needs to be - done (conveniently marked with XXX), but on well behaving networks - the plugin should behave more or less identical to check_ntp.pl now. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1373 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp.c: added a currently unused but "good for reference" - version of offset_request - which attempts to behave more like ntpdate, but this doesn't yet and - the code isn't actually used yet. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1372 f882894a-f735-0410-b71e-b25c423dba1c - -2006-04-11 M. Sean Finney - - * plugins/check_ntp.c: another big code-commit to check_ntp. jitter - calculations now work, and - the program is becoming much closer on the packet-for-packet level to - how check_ntp.pl behaves. i'll send an email in the morning :) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1371 f882894a-f735-0410-b71e-b25c423dba1c - -2006-04-06 Ton Voon - - * THANKS.in, plugins/utils.c: Stop coredump on Solaris if arg not - specified (Jason Kau - 1465288) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1370 f882894a-f735-0410-b71e-b25c423dba1c - -2006-04-05 Ton Voon - - * CHANGES: Notice added re: check_udp in next release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1369 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_procs.c: Use pid_t for pids (1463853) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1368 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c, plugins/t/check_http.t: Allow multiple -k - parameters (Gerd Mueller - 1457726) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1367 f882894a-f735-0410-b71e-b25c423dba1c - -2006-04-05 M. Sean Finney - - * plugins/check_apt.c: finally??? cvs works again???? let me dig up my - week-old cvs - commit message..... - - i'm becoming very happy with check_apt now :) - - now has support for an externally (configure.in) path to apt-get, - though i still have that in #ifdefs for the time being. - - support for defining what packages are "critical updates", via - the already-existing security regexp or overridable on the cmdline - - allow overriding of apt-get cmdline options - - introduce a "no upgrade" in case someone just wants to check that - they can download the package lists with -u but not check for upgrades. - might need to change the name of this option to prevent confusion. - - improved -h documentation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1366 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-29 Ton Voon - - * THANKS.in, plugins/check_tcp.c, plugins/tests/test_utils.c, - plugins/utils.c, plugins/utils.h: New function to for escaped strings - from command line for send/quit. - Adapted from Sebastian Wiesinger's patch (1292404) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1365 f882894a-f735-0410-b71e-b25c423dba1c - - * NPTest.pm: Will die if signal received from a testCmd - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1364 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_udp.t: Allow 1 second delay in check_udp timeout - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1363 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_http.t: Fix possible timeout issue on hostname_invalid - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1362 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_dns.t: Fix test if response time is one second - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1361 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-29 M. Sean Finney - - * plugins/check_apt.c: now support for detecting critical/security - updates, which sets - the return code to STATE_CRITICAL instead of just STATE_WARNING - as it was previously doing. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1360 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-27 Ton Voon - - * plugins/t/check_udp.t: Set timeout within nc, rather than the test - script - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1359 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: Fixed bug with malloc of wrong size - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1358 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-24 Ton Voon - - * plugins/t/check_dns.t: Fixing defaults to work - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1357 f882894a-f735-0410-b71e-b25c423dba1c - - * CHANGES: Reintroduced --with-mysql configure option. Note about SSL - cleanup - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1356 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: -C now implies -S/--ssl as well - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1355 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_hpjd.t, plugins/t/check_http.t: Tests converted to new - style - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1354 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c, plugins/t/check_udp.t: udp checks require and - send and receive option. Tests updated so if - nc is available, will check send and receive working correctly - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1353 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-23 M. Sean Finney - - * plugins/check_apt.c: - addition of include/exclude option for package - names in check_apt, - using POSIX regexp support. - - various commenting and tidying of code/logic/output. - - still haven't committed the Makefile.am/configure.in stuff. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1352 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-23 Ton Voon - - * NPTest.pm, plugins/check_disk.c, plugins/t/check_disk.t: check_disk - now errors if a specified directory does not exist (cf df /foo) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1351 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_disk.t: Some versions of Test::More do not like the - m#foo# syntax - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1350 f882894a-f735-0410-b71e-b25c423dba1c - - * NPTest.pm, plugins/check_disk.c, plugins/t/check_disk.t: Incorrect - output when checking non-existent disk (John Rouillard - 1326050) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1349 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-23 M. Sean Finney - - * plugins/check_apt.c: more work on check_apt. more graceful error - handling and information - reporting, a couple new cmdline options. still not quite ready - for prime-time, maybe tomorrow :) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1348 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-22 Ton Voon - - * REQUIREMENTS, configure.in: Reinstated --with-mysql option - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1347 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dns.c, plugins/t/check_dns.t: Added warning and critical - response times (John Rouillard - 1343159) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1346 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_pop.t: Convert to new style tests - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1345 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, plugins/check_tcp.c: Options to change line ends for -s and - -q (John Rouillard - 1346104) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1344 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_log.sh: Remove PATH restriction - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1343 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dns.c, plugins/t/check_dns.t: New style tests. Cleanup - of presentation of help. Added '' around -a checks - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1342 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c: Typo (Thomas Guettler - 1433447) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1341 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_log.sh, plugins-scripts/utils.sh.in: Remove - hardlink to /bin/sed. Leave to PATH (Abs - 1391483) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1340 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-22 M. Sean Finney - - * plugins/check_apt.c: initial version of a check_apt plugin... not - editing configure/Makefile.am's - until i'm happier with it (better output, better ways to define warning - vs. critical thresholds... etc). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1339 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-21 Ton Voon - - * THANKS.in, configure.in: Stop check_dns from compiling if nslookup - does not exist (Sakari Lehtonen - - 1412721) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1338 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_load.t: Updated to new Test::More method for testing - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1337 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Fix for mysql 3.x - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1336 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: Return CRITICAL if hostname invalid, as per - guidelines - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1335 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/setup: Patch to workaround SFnot having libtool installed - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1334 f882894a-f735-0410-b71e-b25c423dba1c - - * CHANGES, REQUIREMENTS, THANKS.in, configure.in, plugins/Makefile.am, - plugins/tests/Makefile.am: mysql discovery based on mysql_config (Johan - Fischer - 1359414) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1333 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-20 M. Sean Finney - - * plugins/check_ntp.c: - shuffling some code around to keep things tidy. - - now average the result of 4 queries just as ntpdate does - - put things in place for jitter calculation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1332 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ntp.c: ipv6 support for c-version of check_ntp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1331 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-18 M. Sean Finney - - * plugins/check_ntp.c: initial version of the pure-c check_ntp - implementation. jitter not yet - implemented, and a couple other misc things to do, so i haven't - yet patched Makefile.am - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1330 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: return-logic related fix for cert checking, - thanks to emmet hogan. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1329 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-17 Ton Voon - - * plugins/tests/test_utils.t: Better error message re: tap library - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1328 f882894a-f735-0410-b71e-b25c423dba1c - - * REQUIREMENTS, configure.in, plugins/Makefile.am, - plugins/check_mysql.c, plugins/check_mysql_query.c, - plugins/t/check_mysql.t: mysql detection cleanup: fixes runtime linking, - autodetection of main - locations, detection of lib64 and different layouts - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1327 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Added requirement for developer system - to have gnu libtool - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1326 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-16 Ton Voon - - * configure.in, plugins/tests/Makefile.am, tools/setup: Using libtool to - get runpath for tap library - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1325 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-15 Ton Voon - - * THANKS.in, plugins/check_mysql.c, plugins/t/check_mysql.t: Alert on - amount of time a slave is behind (Steven Kreuzer) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1324 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-13 M. Sean Finney - - * plugins/check_swap.c: fix for (tracker id 1420741) - "check_swap: incorrect totals for multiple partitions (BSD)" - thanks to scott thompson - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1323 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-13 Ton Voon - - * plugins/check_ping.c: Change warning message if there is stderr - output. This catches a problem - where time was shifting backwards on a linux VMware guest during the ping - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1322 f882894a-f735-0410-b71e-b25c423dba1c - -2006-03-07 Ton Voon - - * plugins/t/check_http.t: Added tests for two external websites with - certificates - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1321 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_http.t: Tests re-written in new object format - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1320 f882894a-f735-0410-b71e-b25c423dba1c - -2006-02-24 Ton Voon - - * doc/developer-guidelines.sgml: Updated doc as tap library is now - automatically discovered - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1319 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/tests/Makefile.am: Use the installed tap library - instead of requesting a compiled object - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1318 f882894a-f735-0410-b71e-b25c423dba1c - -2006-02-17 Ton Voon - - * THANKS.in, plugins/popen.c: SIGALRM could be received before - child_process is created (Jason Crawford) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1317 f882894a-f735-0410-b71e-b25c423dba1c - -2006-02-17 M. Sean Finney - - * plugins/check_procs.c: set LC_NUMERIC to POSIX in check_procs.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1316 f882894a-f735-0410-b71e-b25c423dba1c - -2006-02-01 Ton Voon - - * plugins/t/check_mysql_query.t: If a mysql server has anonymous login, - tests will always fail - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1315 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/tests/Makefile.am: Need to distribute perl test file - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1314 f882894a-f735-0410-b71e-b25c423dba1c - -2006-01-31 Ton Voon - - * CHANGES: check_mysql_query included - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1313 f882894a-f735-0410-b71e-b25c423dba1c - - * REQUIREMENTS: Note on MacOSX difference in mysql package - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1312 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/Makefile.am: Clean compile of check_mysql_query - on MacOSX - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1311 f882894a-f735-0410-b71e-b25c423dba1c - - * NPTest.pm: Sort ordering of tests - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1310 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/.cvsignore, plugins/Makefile.am, - plugins/check_mysql_query.c, plugins/t/check_mysql_query.t, - plugins/utils.h: Adding check_mysql_query, using new ranges and - threshold checking - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1309 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_mysql.t: Extra explanation in tests - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1308 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/tests/test_utils.c: Fixed invalid free - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1307 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Updated instructions on using libtap as - configure option changed - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1306 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Changed configure option to --with-libtap-srcdir because - requires - tap.h as well as tap.o - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1305 f882894a-f735-0410-b71e-b25c423dba1c - -2006-01-30 Ton Voon - - * doc/developer-guidelines.sgml, plugins/tests/test_utils.c, - plugins/utils.c, plugins/utils.h: Clearly defined thresholds & ranges in - docs. Added get_status routine. Added - set_thresholds routine. Tests enhanced to check new routines - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1304 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, doc/developer-guidelines.sgml, plugins/Makefile.am, - plugins/tests/.cvsignore, plugins/tests/Makefile.am, - plugins/tests/README, plugins/tests/check_disk, plugins/tests/check_dns, - plugins/tests/check_ftp, plugins/tests/check_hpjd, - plugins/tests/check_http, plugins/tests/check_load, - plugins/tests/check_ping, plugins/tests/check_procs, - plugins/tests/check_swap, plugins/tests/check_users, - plugins/tests/check_vsz, plugins/tests/test_utils.c, - plugins/tests/test_utils.t, plugins/utils.c, plugins/utils.h: Added - libtap tests for utils.c library functions. Removed redundant - test files - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1303 f882894a-f735-0410-b71e-b25c423dba1c - -2006-01-21 Ton Voon - - * tools/sfsnapshot: Have to use own id for cvs checkout. Change compile - server because - old one not working consistently - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1302 f882894a-f735-0410-b71e-b25c423dba1c - -2005-12-19 Ton Voon - - * NPTest.pm: Break out of testing if a new parameter is required - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1301 f882894a-f735-0410-b71e-b25c423dba1c - -2005-12-16 Harper Mann - - * contrib/check_log2.pl: Added ability to output critical on error. - Fixed open so it properly fails if the log file open throws an error, - turned on -w in the perl call, fixed warnings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1300 f882894a-f735-0410-b71e-b25c423dba1c - -2005-12-15 Ton Voon - - * NPTest.pm, plugins/check_mysql.c, plugins/t/check_mysql.t: Display - errors with slave queries correctly. Added extra tests for slaves - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1299 f882894a-f735-0410-b71e-b25c423dba1c - - * NPTest.pm, doc/developer-guidelines.sgml, plugins/t/check_disk.t: New - 3 parameter version of getTestParameters. Updated check_disk.t to - reflect. - Added notes re: testing in developer guidelines. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1298 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_file_age.pl, plugins-scripts/t/check_file_age.t: - Allow directories and links to be tested by check_file_age. Sanitise - output. - Added tests - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1297 f882894a-f735-0410-b71e-b25c423dba1c - -2005-12-07 Harper Mann - - * plugins/urlize.c: Nagiosplug bug 1266977. Added code to insert the - closing after the plugin output but before the performance output. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1296 f882894a-f735-0410-b71e-b25c423dba1c - -2005-12-07 Ton Voon - - * THANKS.in, plugins/common.h: No floorf on Solaris 9 (Jon Vandegrift - - 1374705) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1295 f882894a-f735-0410-b71e-b25c423dba1c - -2005-12-02 Ton Voon - - * THANKS.in, doc/developer-guidelines.sgml, plugins/check_nagios.c, - plugins/t/check_nagios.nagios1.status.log, - plugins/t/check_nagios.nagios2.status.dat, plugins/t/check_nagios.t: - Support for Nagios 1 and Nagios 2 status files (Gerhard Lausser - - 1296242) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1294 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/.cvsignore: Ignore temporary files created for tests - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1293 f882894a-f735-0410-b71e-b25c423dba1c - -2005-12-01 Ton Voon - - * config_test/Makefile, config_test/run_tests, configure.in: Run longer - test on redhat for spopen/pthread problem. Allow enable/disable of - pthread fix via configure option - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1292 f882894a-f735-0410-b71e-b25c423dba1c - -2005-11-30 Harper Mann - - * plugins-scripts/check_ntp.pl: Nagiosplug bug # 1251096 - check_ntp wasn't properly handing a bad exit status from the external programs it calls (ntpdate and ntpq), so jitter wasn't set. Added check of $? on close and proper error output if status from the sub program call completion is non-zero. This includes "host not found". - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1291 f882894a-f735-0410-b71e-b25c423dba1c - -2005-11-29 Harper Mann - - * contrib/check_email_loop.pl: UNKNOWN exit status was returning status - of "-1", changed to "3" - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1290 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_email_loop.pl: Bug: 1355304 Added patch for ePN and perl - warnings. Fixed some text and - a warning about type comparison. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1289 f882894a-f735-0410-b71e-b25c423dba1c - -2005-11-18 Ton Voon - - * tools/sfsnapshot: Create a permanent link to HEAD snapshot - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1288 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Updated with more detailed description - of UNKNOWN states - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1287 f882894a-f735-0410-b71e-b25c423dba1c - -2005-11-16 Ton Voon - - * plugins/check_disk.c: Fixed some compile errors with new translations. - Also reintroduced formatting - after discussion with Benoit - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1286 f882894a-f735-0410-b71e-b25c423dba1c - -2005-11-15 Ton Voon - - * plugins/t/check_disk.t: Updated tests to minimise false positives. - Breaking down so more obvious - what the tests are doing - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1285 f882894a-f735-0410-b71e-b25c423dba1c - -2005-11-14 Ton Voon - - * doc/developer-guidelines.sgml: Added section re: translations - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1284 f882894a-f735-0410-b71e-b25c423dba1c - -2005-11-14 Benoit Mortier - - * plugins/check_http.c: localization cleaning ... - last commit before sleeping - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1283 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c: - start of the cleaning of the localization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1282 f882894a-f735-0410-b71e-b25c423dba1c - -2005-11-12 Ton Voon - - * THANKS.in, plugins/t/check_disk.t: Updated check_disk tests to use - Test::More (Serhan Kiymaz) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1281 f882894a-f735-0410-b71e-b25c423dba1c - -2005-11-09 Ton Voon - - * plugins/t/check_mysql.t: Using Test::More - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1280 f882894a-f735-0410-b71e-b25c423dba1c - - * NPTest.pm, plugins/t/check_imap.t, plugins/t/check_swap.t: Added new - NPTest->testCmd which returns objects back for testing - at the test script level. Updated check_swap and check_imap to this - new format - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1279 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_swap.c: Problem where absolute thresholds not working on - /proc/meminfo - systems. Suffixed all variables with the unit of measurement - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1278 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Typo with predetermined values - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1277 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Added copyright/license info required - in submissions - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1276 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/NEW_STARTERS, doc/developer-guidelines.sgml: Updated dev - guidelines to link to NagiosExchange. Removed project admin - notes from guidelines into separate file - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1275 f882894a-f735-0410-b71e-b25c423dba1c - -2005-11-07 M. Sean Finney - - * configure.in: incorporated patch from Elan Ruusamäe (ahmake) to - override - program autodetection (see Feature Requests-1341528). i would - not call this quite complete just yet (i'll explain more in the - tracker), but should be functional and useful enough to commit - now, in any case. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1274 f882894a-f735-0410-b71e-b25c423dba1c - -2005-11-04 Ton Voon - - * THANKS.in, plugins/check_tcp.c, plugins/t/check_imap.t: Fixed - --mismatch option for check_tcp. Added tests into check_imap - (Rick Fey - 1339134) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1273 f882894a-f735-0410-b71e-b25c423dba1c - -2005-11-03 Ton Voon - - * Makefile.am, tools/tinderbox_build: Adding new tinderbox build script - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1272 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_disk.t, plugins/t/check_procs.t: Invalid mount point - doesn't make sense because most df implementations - would work out the actual mount point. And fixed typo in check_procs.t - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1271 f882894a-f735-0410-b71e-b25c423dba1c - - * NPTest.pm, plugins/t/check_http.t, plugins/t/check_time.t: Fixing some - test failures - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1270 f882894a-f735-0410-b71e-b25c423dba1c - -2005-11-02 M. Sean Finney - - * plugins/check_disk.c: #995761: patch from ben o'hara to include inode - calculations in - check_disk.c. - - previous commit also had a patch for smtp auth support, but i accidentally - sent a blank commit message. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1269 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: check_smtp.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1268 f882894a-f735-0410-b71e-b25c423dba1c - -2005-10-31 M. Sean Finney - - * configure.in, plugins/check_game.c, plugins/check_http.c, - plugins/check_nagios.c, plugins/check_snmp.c, plugins/check_swap.c, - plugins/check_tcp.c, plugins/common.h, plugins/netutils.c, - plugins/netutils.h, plugins/sslutils.c: code cleanups, largely resulting - from turning on -Wall. mostly - unused variables and explicit casting issues, but there were a - couple gotchas in there too. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1267 f882894a-f735-0410-b71e-b25c423dba1c - -2005-10-30 M. Sean Finney - - * plugins/Makefile.am: turned on -Wall in plugins/Makefile.am via - AM_CFLAGS. shouldn't keep - our heads in the sand for potential errors, after all :) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1266 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: another fix from alex: check for '/' in the - server_address before - trying to resolve it via is_host(). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1265 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: fixes for some bugs found in my merging of the - tcp socket patch - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1264 f882894a-f735-0410-b71e-b25c423dba1c - -2005-10-29 M. Sean Finney - - * plugins-scripts/check_log.sh: check_log fixes from Ade Rixon - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1263 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: patch from nsturm: Makefile.am should have been - checking for check_ldap - instead of check_ldaps. the result was that check_ldaps was not being - created during the build process. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1262 f882894a-f735-0410-b71e-b25c423dba1c - -2005-10-25 M. Sean Finney - - * COPYING, configure.in, plugins/Makefile.am, plugins/check_tcp.c, - plugins/netutils.c, plugins/netutils.h, plugins/utils.h, po/de.po, - po/fr.po: - added code to allow check_tcp (via np_net_connect) work with - local - unix sockets. some testing would be welcome. based on idea from - Alex Samorukov. - - also introduced a check_clamd behavior in check_tcp. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1261 f882894a-f735-0410-b71e-b25c423dba1c - -2005-10-24 M. Sean Finney - - * plugins/Makefile.am, plugins/check_by_ssh.c, plugins/check_dig.c, - plugins/check_dns.c, plugins/check_game.c, plugins/check_nagios.c, - plugins/netutils.c, plugins/runcmd.c, plugins/utils.c, plugins/utils.h: - initial merging of ae's np_runcmd code into selected plugins. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1260 f882894a-f735-0410-b71e-b25c423dba1c - -2005-10-23 M. Sean Finney - - * configure.in: whoops, missed this one, same as last commit - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1259 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am, plugins/netutils.c, plugins/sslutils.c: - - compartmentalized ssl code into seperate sslutils.c - - ssl-related cleanups in configure.in, and now openssl/gnutls options - automatically disable each other. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1258 f882894a-f735-0410-b71e-b25c423dba1c - -2005-10-19 M. Sean Finney - - * plugins/check_http.c, plugins/check_smtp.c, plugins/check_tcp.c, - plugins/netutils.c, plugins/netutils.h: all plugins now using - centralized ssl functions in netutils.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1257 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: endif was a few lines off of where it should be - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1256 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins-root/Makefile.am, plugins/Makefile.am, - plugins/check_http.c, plugins/check_smtp.c, plugins/check_tcp.c, - plugins/common.h, plugins/netutils.c, plugins/netutils.h: - initial - attempt at consolidating ssl-related code into netutils.{c,h} - - added some #ifdefs to common.h and netutils.h to prevent multiple - inclusions (as netlibs now includes common.h) - - all ssl plugins (tcp/http/smtp) compile cleanly against gnutls, though - certificate checking still needs to be done. - - modified configure script so you can also explicitly say "without-gnutls" - too (otherwise if you disable openssl you have no way of disabling - gnutls too) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1255 f882894a-f735-0410-b71e-b25c423dba1c - -2005-10-18 M. Sean Finney - - * configure.in, plugins/check_tcp.c: initial "experimental" support for - gnutls. by default openssl is still - used if available, and gnutls is only used if openssl is not available - or explicitly disabled (--without-openssl). currently the only plugin - i've verified to work is check_tcp, but i had to disable cert checking. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1254 f882894a-f735-0410-b71e-b25c423dba1c - -2005-10-18 Ton Voon - - * README: Added license information to README with exemption for use of - OpenSSL - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1253 f882894a-f735-0410-b71e-b25c423dba1c - -2005-10-13 Ton Voon - - * configure.in: Run spopen tests for Redhat ES SMP (Hans Engelen) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1252 f882894a-f735-0410-b71e-b25c423dba1c - -2005-10-13 M. Sean Finney - - * po/de.po: debian bts #313960: - - grammatical german fixes. i'm taking the reporter's word for it :) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1251 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ntp.pl: debian bts #268044: - - use a "less beastly" regex for parsing ntpq output. probably need - some more widespread testing on this one. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1250 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: debian bts #296278: - - it seems that when check_disk uses the "df" routines and is told to - check a non-mountpoint, it would check the filesystem on which the - directory was mounted (i.e. /var/log -> /var if no /var/log mount). - the system-call routines now do this too. might need a bit more - widespread testing, but looks good for me and i did it without - modifying any of the system-call-specific codeblocks. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1249 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_game.c: debian bts #307905: - - someone changed the cmdline syntax of check game without also - updating the usage/help function ;p - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1248 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_disk_smb.pl: debian bts #300701: - - check_smb fix for freespace threshold parsing from the cmdline options. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1247 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: multiple fixes in check_smtp from debian (bts - #285554): - - fix for double free via SSL_CTX_free. looks like the previous author - knew this was a problem but didn't care enough to fix it ;p. - - use defines instead of const chars for SMTP strings. - - default to send our fqdn (via gethostbyname lookup on gethostname) - in the HELO string, as this is an RFC/SMTP requirement. overridable - via cmdline. - - use EHLO instead of HELO if using STARTTLS, as it is not SMTP but - ESMTP. - - verify the server supports STARTTLS before initializing it. - - always send QUIT before disconnecting when possible. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1246 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_mrtg.c: was this plugin even working? i don't think the - if/else logic - was doing what was intended. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1245 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_mysql.c: check mysql now reads [client] defaults from - my.cnf (debian bug #278817) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1244 f882894a-f735-0410-b71e-b25c423dba1c - -2005-10-06 M. Sean Finney - - * plugins/check_ups.c: fix for misreporting temperature in perfdata - output for check_ups - (debian bts id: #316534) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1243 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins-root/Makefile.am: whoops. now using automake - conditionals to prevent attempted compiles - of pst3 on non solaris systems. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1242 f882894a-f735-0410-b71e-b25c423dba1c - -2005-09-25 M. Sean Finney - - * plugins-root/Makefile.am: added rules to Makefile.am for pst3 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1241 f882894a-f735-0410-b71e-b25c423dba1c - -2005-09-24 M. Sean Finney - - * configure.in: a final change to hardcode the path for where plugins - are installed. - it's a very, very ugly hack... if anyone can think of a better way - to do it, i'm all ears. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1240 f882894a-f735-0410-b71e-b25c423dba1c - -2005-09-22 M. Sean Finney - - * configure.in: use test instead of '[ ... ]' in configure.in. the - check_procs/pst3 - situation is still not quite fixed. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1239 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in, configure.in, plugins-root/pst3.c: first version of bob - ingraham's pst3 to allow checking for longer - cmdline names than otherwise possible, by querying solaris kmem - directly (ps forcibly truncates). added requisite configure.in voodoo - and updated THANKS.in. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1238 f882894a-f735-0410-b71e-b25c423dba1c - -2005-09-22 Ton Voon - - * po/POTFILES.in: Mark moving of check_dhcp and check_icmp for - translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1237 f882894a-f735-0410-b71e-b25c423dba1c - -2005-09-21 Ton Voon - - * AUTHORS, THANKS.in: Updated with contributors and new team member - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1236 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nwstat.c: Reopen connections for each query (1296296 - - David Sullivan) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1235 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dhcp.c, plugins/check_icmp.c: Moved into plugins-root/ - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1234 f882894a-f735-0410-b71e-b25c423dba1c - - * ACKNOWLEDGEMENTS, CHANGES, Makefile.am, README, configure.in, - plugins-root/.cvsignore, plugins-root/Makefile.am, - plugins-root/check_dhcp.c, plugins-root/check_icmp.c, - plugins/Makefile.am: Separation of root setuid plugins into - plugins-root/ - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1233 f882894a-f735-0410-b71e-b25c423dba1c - -2005-09-20 Ton Voon - - * configure.in: Incorrect assignment of procppid in configure.in - (1296497 - Pascal Larisch) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1232 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/t/check_procs.t: Support for Tru64 for - check_procs + additional test cases - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1231 f882894a-f735-0410-b71e-b25c423dba1c - -2005-09-19 Ton Voon - - * doc/RELEASING: Note to update version number before creating ChangeLog - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1230 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, package.def: For 1.4.2 release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1228 f882894a-f735-0410-b71e-b25c423dba1c - - * ChangeLog: Updated for 1.4.2 release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1227 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/RELEASING: Reminders for news item and tag format - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1226 f882894a-f735-0410-b71e-b25c423dba1c - - * BUGS: Updated BUGS for 1.4.2 release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1225 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in: More contributors - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1224 f882894a-f735-0410-b71e-b25c423dba1c - -2005-09-15 Ton Voon - - * plugins/t/check_ping.t: Added test to make sure hostname has to be - specified - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1223 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_procs.c, plugins/check_swap.c: - Cleanup minor compile - errors on Irix - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1222 f882894a-f735-0410-b71e-b25c423dba1c - -2005-09-14 Ton Voon - - * plugins/check_ping.c: Using common message - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1221 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c: Required hostname not flagging as an error - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1220 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: Some makes do not like blank lines after "\". - Fixed check_ldaps to only - generate if check_ldap was created (Chester Hosey) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1219 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_load.c: Fix to parsing of uptime (Ronald Tin - 1254656) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1218 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: - Removing typos - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1217 f882894a-f735-0410-b71e-b25c423dba1c - -2005-09-13 Ton Voon - - * plugins/check_ping.c: More diagnostic messages from check_ping - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1216 f882894a-f735-0410-b71e-b25c423dba1c - -2005-09-12 M. Sean Finney - - * plugins/check_ping.c: re-add a call to setlocale(LC_ALL, "") in - check_ping.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1215 f882894a-f735-0410-b71e-b25c423dba1c - -2005-09-12 Ton Voon - - * THANKS.in: For help in fixing Red Hat problem with ECHILD and waitpid - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1214 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am, config_test/Makefile, config_test/child_test.c, - config_test/run_tests, configure.in, plugins/popen.c: ECHILD error at - waitpid on Red Hat systems (Peter Pramberger and - Sascha Runschke - 1250191) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1213 f882894a-f735-0410-b71e-b25c423dba1c - -2005-08-30 Ton Voon - - * plugins-scripts/subst.in: Better comments for what the substitutions - are doing - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1212 f882894a-f735-0410-b71e-b25c423dba1c - -2005-08-01 Ton Voon - - * doc/BRANCHING: Move notes on branching away from RELEASING - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1210 f882894a-f735-0410-b71e-b25c423dba1c - - * BUGS, ChangeLog, REQUIREMENTS, configure.in, package.def: For 1.4.1 - release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1209 f882894a-f735-0410-b71e-b25c423dba1c - -2005-07-25 Peter Bray - - * NPTest.pm: Change the environment variable NPTESTCACHE to NPTEST_CACHE - for consistancy - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1208 f882894a-f735-0410-b71e-b25c423dba1c - - * Helper.pm, Makefile.am, NPTest.pm, configure.in, - plugins-scripts/t/check_rpc.t, plugins/t/check_disk.t, - plugins/t/check_dns.t, plugins/t/check_fping.t, plugins/t/check_ftp.t, - plugins/t/check_hpjd.t, plugins/t/check_http.t, plugins/t/check_imap.t, - plugins/t/check_load.t, plugins/t/check_mysql.t, plugins/t/check_ping.t, - plugins/t/check_pop.t, plugins/t/check_procs.t, plugins/t/check_smtp.t, - plugins/t/check_snmp.t, plugins/t/check_swap.t, plugins/t/check_tcp.t, - plugins/t/check_time.t, plugins/t/check_udp.t, plugins/t/check_users.t, - plugins/t/check_vsz.t, test.pl.in: [1185704] New Testing Infrastructure. - Complete rewrite of the original testing infrastructure and - all test cases (to use the new infrastructure) - See NPTest.pm and issue 1185704 for more details. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1207 f882894a-f735-0410-b71e-b25c423dba1c - -2005-07-20 Ton Voon - - * THANKS.in: More contributors - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1206 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c: Fix parsing for netkit-ping and iputils-ping - (Christian G Warden) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1205 f882894a-f735-0410-b71e-b25c423dba1c - -2005-07-11 Ton Voon - - * plugins/check_nwstat.c: Miscelleneous bug fixes (Gerd Mueller - - 1235879) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1204 f882894a-f735-0410-b71e-b25c423dba1c - -2005-07-09 Ton Voon - - * BRANCHES: Changed format (already!) for awk simplicity - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1203 f882894a-f735-0410-b71e-b25c423dba1c - - * BRANCHES: Master file to describe the current branches in CVS. Will be - used by - sfsnapshot to create the snapshot tarballs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1202 f882894a-f735-0410-b71e-b25c423dba1c - -2005-07-06 Ton Voon - - * configure.in: Removed ",", causing problems with MacOSX compile - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1201 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_swap.c: Updated help file to remove swap -s reference - (Sivakumar Nellurandi) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1200 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS, THANKS.in: Sean Finney moved to main list of plugin - developers - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1199 f882894a-f735-0410-b71e-b25c423dba1c - -2005-07-04 Benoit Mortier - - * contrib/tarballs/check_traffic-0.90b.tar.gz: replace the version of - check_traffic who was missing the plugin - by a good one - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1198 f882894a-f735-0410-b71e-b25c423dba1c - -2005-06-29 M. Sean Finney - - * plugins/runcmd.c, plugins/runcmd.h: initial versions of the runcmd - framework by andreas - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1197 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_swap.c: divide by 0 fix for check_swap - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1196 f882894a-f735-0410-b71e-b25c423dba1c - -2005-06-28 M. Sean Finney - - * plugins/check_load.c: set LC_NUMERIC to POSIX in check_load (1164325) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1195 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/Makefile.am, plugins/check_swap.c: scanf parsing - fix for check_swap from tracker id 1123292. now use floor(3) - to round down floating point numbers. requires -lm on many systems, - so support for testing for this was added to the configure.in and - automake template - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1194 f882894a-f735-0410-b71e-b25c423dba1c - -2005-06-27 M. Sean Finney - - * plugins/check_hpjd.c: fixes from richard brodie (tracker id 1216576) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1193 f882894a-f735-0410-b71e-b25c423dba1c - -2005-06-26 M. Sean Finney - - * contrib/check_dl_size.pl, contrib/check_ftpget.pl, - contrib/check_logins.c, contrib/check_mysql.c, contrib/check_mysql.pl, - contrib/check_mysqlslave.pl, contrib/check_nwstat.pl, - contrib/check_pop3.pl, contrib/check_procl.sh, contrib/check_procr.sh: - spring cleaning of contrib directory from andreas - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1192 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/tarballs/berger-ping.tar.gz, - contrib/tarballs/check_memory.tgz, contrib/tarballs/check_spread.tar, - contrib/tarballs/radius.tar.gz: removal of obsolete tarballs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1191 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_swap.c: "asprintf madness" fix from andreas' patch to - np-d, minus the comments. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1190 f882894a-f735-0410-b71e-b25c423dba1c - -2005-06-05 M. Sean Finney - - * plugins/check_tcp.c: check_tcp code cleanup from andreas plus fix to - andreas' patch from sean - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1189 f882894a-f735-0410-b71e-b25c423dba1c - -2005-06-03 M. Sean Finney - - * plugins/check_procs.c: gcc 2.x fixes from edward - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1188 f882894a-f735-0410-b71e-b25c423dba1c - -2005-06-01 Subhendu Ghosh - - * plugins/check_snmp.c: only load mibs if needed or specified - patch - 1212395 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1187 f882894a-f735-0410-b71e-b25c423dba1c - -2005-05-28 M. Sean Finney - - * plugins/check_load.c: bugfixes to check_load thanks to andreas - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1186 f882894a-f735-0410-b71e-b25c423dba1c - -2005-05-26 M. Sean Finney - - * plugins/check_mysql.c: fix for check_msyql so that it doesn't use - column numbers but the - names instead for determining slave status. thanks to james kingston. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1185 f882894a-f735-0410-b71e-b25c423dba1c - -2005-05-25 Subhendu Ghosh - - * plugins/check_time.c: 64bit sys support - 1185713 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1183 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: support for getnext - 1106430 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1182 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c: RH9 pattern - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1181 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ntp.pl: perfdata patch - 1172539 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1180 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ntp.pl: new option for zero offset - 1159317 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1179 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: v2c support - 1155754 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1178 f882894a-f735-0410-b71e-b25c423dba1c - -2005-05-25 M. Sean Finney - - * configure.in, plugins/check_nagios.c, plugins/check_procs.c: fixes for - check_procs: - - added support for printing the pid in all the ps outputs - - don't use the proc name to ignore self, use the pid vs getpid(). - - initialize procetime to null string otherwise -vvv can have funny results - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1177 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c, plugins/netutils.c, plugins/netutils.h: bah, - my_connect is taken by mysql. now calling it np_net_connect. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1176 f882894a-f735-0410-b71e-b25c423dba1c - -2005-05-24 Subhendu Ghosh - - * plugins-scripts/check_ntp.pl: patched bug id 1200030 - regex update - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1175 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ntp.pl: patched bug id 1204636 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1174 f882894a-f735-0410-b71e-b25c423dba1c - -2005-05-24 M. Sean Finney - - * plugins/check_tcp.c, plugins/netutils.c, plugins/netutils.h: - optimizations and cleanup from andreas - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1173 f882894a-f735-0410-b71e-b25c423dba1c - -2005-05-23 M. Sean Finney - - * nagios-plugins.spec.in: build fix - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1172 f882894a-f735-0410-b71e-b25c423dba1c - -2005-05-03 M. Sean Finney - - * plugins/check_ping.c: setlocale(LC_ALL, "") should be - setlocale(LC_NUMERIC, "C") to properly parse the output of ping. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1171 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: if check_tcp was called with -e but not -s, it - would hang in a call to my_recv. the - fix committed here adds on more piece of logic to the check to see if more data needs - to be read, avoiding the deadlock call. a better fix would be to not use these "voodoo" - heuristics and instead use poll() or select(), but that's quite a bit more complicated. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1170 f882894a-f735-0410-b71e-b25c423dba1c - -2005-05-01 M. Sean Finney - - * plugins/popen.c, plugins/popen.h: better error checking in spopen - signal handler (see 1107524) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1169 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: provide a --with-perl option - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1168 f882894a-f735-0410-b71e-b25c423dba1c - -2005-04-29 Stanley Hopcroft - - * contrib/check_sybase: check_sybase 0.7 from Simon Bellman. Thx - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1167 f882894a-f735-0410-b71e-b25c423dba1c - -2005-04-19 M. Sean Finney - - * plugins-scripts/check_ntp.pl: regexp fix for check_ntp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1166 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: check for the -w flag for ping6 as well as ping - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1165 f882894a-f735-0410-b71e-b25c423dba1c - -2005-04-17 M. Sean Finney - - * plugins-scripts/check_disk_smb.pl: also change the --help output to - reflect that check_disk_smb defaults to empty passwords - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1164 f882894a-f735-0410-b71e-b25c423dba1c - -2005-04-16 M. Sean Finney - - * plugins-scripts/check_disk_smb.pl: patch to check_disk_smb to allow - empty passwords - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1163 f882894a-f735-0410-b71e-b25c423dba1c - -2005-04-14 M. Sean Finney - - * plugins-scripts/check_mailq.pl: check_mailq fix, don't be case - sensitive matching /^\s+Total\sRequests:\s(\d+)$/ - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1162 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ntp.pl: typographical fix in check_ntp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1161 f882894a-f735-0410-b71e-b25c423dba1c - -2005-04-11 M. Sean Finney - - * plugins/check_ssh.c: properly call close() on the ssh connection - before exiting. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1160 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/check_tcp.c: this should add support for - check_ssmtp, based on the 1.3.x patch in 1155562, - but fixed to follow how things are done in 1.4 (using strdup instead of - asprintf) and patching configure.in instead of configure. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1159 f882894a-f735-0410-b71e-b25c423dba1c - -2005-04-07 M. Sean Finney - - * plugins/check_smtp.c: in honor of joining up, my first bugfix. this - should resolve 1174070. - - note i don't have an exchange server to test this against, but it - does what the requester mentioned (slightly cleaner than the patch - attached in the tracker). - - it does, however, still work against my own postfix server :) - - sean - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1158 f882894a-f735-0410-b71e-b25c423dba1c - -2005-04-05 Harper Mann - - * plugins/check_snmp.c: This is a first cut at adding performance data - to check_snmp. I wasn't sure - how to handle UOM so only values that return SNMP type Counter32: are labled - with "c". All other values have a blank UOM. I also left off warn, crit, - max and min values in the performance data until we come up with a way to - handle them. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1157 f882894a-f735-0410-b71e-b25c423dba1c - -2005-04-04 Ton Voon - - * THANKS.in: More contributors - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1156 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: Fix static buffer (Nikolay Sturm) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1155 f882894a-f735-0410-b71e-b25c423dba1c - -2005-03-18 Matthew Kent - - * plugins/check_mysql.c: Replication check support for 4.1.x from Gerrit - Beine - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1154 f882894a-f735-0410-b71e-b25c423dba1c - -2005-03-08 Ton Voon - - * plugins-scripts/check_ntp.pl: Added OS info for offset issue - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1149 f882894a-f735-0410-b71e-b25c423dba1c - -2005-03-04 Ton Voon - - * plugins-scripts/check_ntp.pl: Ignore extra check on offset 0.00000 - (John Warburton - 1150777) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1148 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c, plugins/check_smtp.c, plugins/check_ups.c: Fixed - // comments (Steve Greenland - 1143836) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1146 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ntp.pl: Support for IPv6 (Merijn Evertse - - 1119917) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1145 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, package.def: Changed to next version number - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1144 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/RELEASING: Notes on branching - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1143 f882894a-f735-0410-b71e-b25c423dba1c - - * CHANGES: Missed check_disk addition to 1.4 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1141 f882894a-f735-0410-b71e-b25c423dba1c - -2005-02-11 Stanley Hopcroft - - * plugins/Makefile.am: Fix for check_icmp build on Solaris from Andreas - Ericsson - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1140 f882894a-f735-0410-b71e-b25c423dba1c - -2005-02-04 Ton Voon - - * configure.in: For 1.4 release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1138 f882894a-f735-0410-b71e-b25c423dba1c - - * ChangeLog: Updated for 1.4 release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1137 f882894a-f735-0410-b71e-b25c423dba1c - - * BUGS: New file to note known bugs for major releases - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1136 f882894a-f735-0410-b71e-b25c423dba1c - - * CHANGES: Reordering of items with most important announcements first - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1135 f882894a-f735-0410-b71e-b25c423dba1c - -2005-02-04 Stanley Hopcroft - - * contrib/check_oracle_tbs: New version (1.1) from John Koyle - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1134 f882894a-f735-0410-b71e-b25c423dba1c - -2005-02-04 Ton Voon - - * Makefile.am: BUGS file addition to release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1133 f882894a-f735-0410-b71e-b25c423dba1c - - * README: Cleanup and addition of reference to BUGS file - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1132 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/RELEASING: Updated with corrections. Added note to update BUGS - file - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1131 f882894a-f735-0410-b71e-b25c423dba1c - -2005-02-03 Ton Voon - - * THANKS.in: Patch against check_log - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1130 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_log.sh: Check for log file readability - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1129 f882894a-f735-0410-b71e-b25c423dba1c - -2005-02-02 Stanley Hopcroft - - * contrib/check_email_loop.pl: Add debug option from John Rouillard - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1128 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ide_smart.c: try again to stop looping - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1127 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ide_smart.c: restructure main() to stop looping on -n - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1126 f882894a-f735-0410-b71e-b25c423dba1c - -2005-02-01 Stanley Hopcroft - - * contrib/check_traceroute-pure_perl.pl: Thank you to Myke Place for - check_traceroute-pure_perl.pl - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1125 f882894a-f735-0410-b71e-b25c423dba1c - - * THANKS.in: Thank you for contributed plugins - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1124 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: check_icmp added to libexec_PROGRAMS - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1123 f882894a-f735-0410-b71e-b25c423dba1c - - * CHANGES: check_icmp no longer regarded as volatile; built by default - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1122 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/linux.h: plugins/linux.h, vestigeal header required for prior - versions of check_icmp, no longer required. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1121 f882894a-f735-0410-b71e-b25c423dba1c - - * CHANGES: Amendments for check_icmp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1120 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: hacks to partly support check_icmp.c (1.0). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1119 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_icmp.c: Revised check_icmp (1.0) from A Ericsson. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1118 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_asterisk.pl, contrib/check_email_loop.pl, - contrib/check_http-with-client-certificate.c, - contrib/tarballs/check_traffic-0.91b.tar.gz: New or revised plugin in - /contrib - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1117 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-28 Stanley Hopcroft - - * contrib/check_sybase: New version of Simon Bellwoods check_sybase - (0.4). Thank you. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1116 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-27 Stanley Hopcroft - - * contrib/check_traceroute.pl: Jon Meek's check_traceroute for Mon - hacked by YT for Nagios. Prob pretty weak - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1115 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_smart.pl: Candidate successor to - /plugins/check_ide_smart.c. Now in /contrib. NB there is another new - plugin with sim function - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1114 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_fan_cpq_present, contrib/check_fan_fsc_present, - contrib/check_mysqlslave.pl, contrib/check_temp_cpq, - contrib/check_temp_fsc: New /contrib plugin - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1113 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_arping.pl, contrib/check_cpqarray.c, - contrib/check_frontpage, contrib/check_logins.c, - contrib/check_oracle_tbs, contrib/check_pcpmetric.py, - contrib/check_pfstate: New /contrib plugin - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1112 f882894a-f735-0410-b71e-b25c423dba1c - - * CHANGES, THANKS.in, contrib/README.TXT, po/de.po, po/fr.po: 1 New - /contrib plugins - 2 Revised check_dhcp.c status in CHANGES - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1111 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-27 Harper Mann - - * plugins/Makefile.am: Added check_dhcp bask into libexec_PROGRAMS after - talking with Stanley. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1110 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-26 Ton Voon - - * THANKS.in: More contributors - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1109 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dig.c: Convert tabs to spaces from dig's answer section - (Randy O'Meara - 1107651) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1108 f882894a-f735-0410-b71e-b25c423dba1c - - * REQUIREMENTS: Add recommendation for check_procs on Mandrake systems - (Paulo Fessel - 1106849) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1107 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-25 Stanley Hopcroft - - * plugins/check_ide_smart.c: Display usage if no argv (Reuben Farrelly) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1106 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-25 Harper Mann - - * plugins/check_dhcp.c: Tracker:1109261 This was an alignment problem on - Solaris. Linux kernel fixes alignment so this was not seen there. Memcpy - takes care of proper alignment. Tested on RHEL V3 U3, RHEL V4, FreeBSD - 4.10 (Thanks Stanley!) and Solaris 9 with the GNU env. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1105 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-25 Stanley Hopcroft - - * plugins/check_ide_smart.c: Trivial text changes (print_help, - commentary & -n option) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1104 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_dhcp.c, contrib/tarballs/check_icmp-0.8.tar.gz: moved to - /plugins (core plugin) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1103 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/tarballs/check_cit.tgz: replaced by contrib/check_ica* (esp - check_ica_metaframe_pub_apps) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1102 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_citrix: Replaced by the check_ica* pair of plugins - (mainly check_ica_metaframe_pub_apps) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1101 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/packet_utils.pm: packet creation and dumping hacks used by - check_ica* and check_lotus - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1100 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_ica_master_browser.pl: New plugin - checks that ICA - master browser is what it should be (important for firewalled dialup) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1099 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_ica_metaframe_pub_apps.pl: Replacement (structured name - mainly) for check_citrix: check of ICA browse service - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1098 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_ica_program_neigbourhood.pl: New plugin to check Citrix - Metaframe XP "Program Neighbourhood" - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1097 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_lotus.pl: New plugin to check responsiveness of Louts - Notes (v5 at least) servers - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1096 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-24 Stanley Hopcroft - - * plugins/Makefile.am: Removed check_dhcp and check_icmp from - libexec_PROGRAMS (ie dont build by defaut) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1095 f882894a-f735-0410-b71e-b25c423dba1c - - * CHANGES: Notes about check_dhcp and check_icmp (no longer built by - default, use at own peril, volatile) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1094 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-21 Stanley Hopcroft - - * configure.in: Set arch specifc preprocessor symbols in config.h. - TEMPORARY hack for check_dhcp.c [on FreeBSD 4: /check_dhcp -i fxp0 -> - DHCP ok: Received 1 DHCPOFFER(s), max lease time = 259200 sec. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1093 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-21 Harper Mann - - * plugins/check_snmp.c: Tracker 1106378 fixed - The -t (timeout) arg was - not handled correctly when passed to the snmpget command. Added -e - --retries for the correct retries value to snmpcmd. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1092 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-21 Ton Voon - - * doc/developer-guidelines.sgml: Changing copyright to the Nagios - Plugins Development Team, rather than - individual names. Also, clarified use of ACKNOWLEDGEMENTS, THANKS.in and - AUTHORS - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1091 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-20 Harper Mann - - * plugins/check_http.c: Changed long argument --minmax to --pagesize and - updated help and usage - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1090 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-20 Ton Voon - - * AUTHORS, Makefile.am, THANKS.in: The AUTHORS file now used for the - plugin team, with THANKS.in as the - contributors list. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1089 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-20 Harper Mann - - * CHANGES: Added comment about check_http --pagesize and added max value - to page size check - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1088 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-20 Ton Voon - - * AUTHORS: Added Sean for bug reports - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1087 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-20 Harper Mann - - * plugins/check_http.c: Tracker 1099682 fix. Now getting the page size - from Content-Length in the header. Added max value to the -m switch so - can do "-m min:max". Retained "-m min" convention. Renamed long arg name - to --minmax - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1086 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-19 Harper Mann - - * plugins/check_nt.c: In the CHECK_COUNTER block, there were several - strcats writing to unallocated - memory. Changed to asprintf. We're not freeing since plugin run is short. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1085 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-19 Ton Voon - - * plugins/check_swap.c: Fixed parsing of AIX lsps command (1093522) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1084 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-14 Ton Voon - - * AUTHORS: More contributors - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1083 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Fixed ssl configure problems on Solaris (Bug 1096091) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1081 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-13 Ton Voon - - * configure.in, plugins/check_swap.c: Use floats for holding memory - values to avoid different types on different - OSes. Seems to have a problem with the perf data for check_swap on Sol 2.6, - but not critical - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1080 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-05 Ton Voon - - * configure.in, package.def: Update version number to next release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1079 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-04 Benoit Mortier - - * plugins/check_ide_smart.c: still trying to fix #1094326 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1078 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-03 Benoit Mortier - - * plugins/check_ide_smart.c: more fixes for #1094326 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1077 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_mailq.pl: fixes for #1094324 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1076 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-02 Benoit Mortier - - * plugins/check_ide_smart.c: fixing bug #1094326 - - still need to check the makefile for check_ide_smart.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1075 f882894a-f735-0410-b71e-b25c423dba1c - -2005-01-01 Ton Voon - - * plugins/check_smtp.c: Removed old terminate function (Bug 1093491) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1074 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-30 Ton Voon - - * ChangeLog: Updated with r1_4-beta1 details - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1072 f882894a-f735-0410-b71e-b25c423dba1c - - * CHANGES: Note some syntax changes to check_disk - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1071 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/RELEASING: Update package files for version - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1070 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS: For help with ps on FreeBSD 4 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1069 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Get ps command for FreeBSD 4 (Tomasz Pilat) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1068 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-30 Benoit Mortier - - * plugins/check_dhcp.c, plugins/check_dns.c, plugins/check_ping.c, - plugins/check_procs.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_swap.c, plugins/check_tcp.c, po/de.po, po/fr.po, - po/nagios-plugins.pot: more internationalization fixes - internationalization freeze for beta1 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1067 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-28 Benoit Mortier - - * AUTHORS, po/fr.po: more internationalization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1066 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am, plugins/check_smtp.c, po/fr.po: starttls support - for check_smtp #1041576 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1065 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS, plugins/check_ping.c: String match in check_ping for Solaris - 10 #1091043 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1064 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-28 Ton Voon - - * configure.in: sys/param.h needed for sys/swap.h on openbsd 3.6 (Julien - Touche) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1063 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-27 Benoit Mortier - - * po/fr.po: more internationalization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1062 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-25 Benoit Mortier - - * plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c, - plugins/check_hpjd.c, plugins/check_icmp.c, plugins/check_ide_smart.c, - plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c, - plugins/check_mrtgtraf.c, plugins/check_mysql.c, plugins/check_nagios.c, - plugins/check_nt.c, plugins/check_nwstat.c, plugins/check_overcr.c, - plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_procs.c, - plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c, - plugins/check_snmp.c, plugins/check_ssh.c, plugins/check_swap.c, - plugins/check_tcp.c, plugins/check_time.c, plugins/check_udp.c, - plugins/check_ups.c, plugins/check_users.c, plugins/negate.c, - plugins/netutils.c, plugins/popen.c, plugins/popen.h, plugins/urlize.c, - plugins/utils.c, po/de.po, po/fr.po, po/nagios-plugins.pot: various - fixes for localization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1061 f882894a-f735-0410-b71e-b25c423dba1c - - * po/de.po, po/fr.po, po/nagios-plugins.pot: new version of po files and - pot file - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1060 f882894a-f735-0410-b71e-b25c423dba1c - - * package.def, po/POTFILES.in: change realase name on package.def - adding check_dhcp.c to potfiles.in - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1059 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c, plugins/check_dhcp.c: internationalization of - check_dhcp - internationalization fixes of check_ssh - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1058 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-24 Benoit Mortier - - * plugins/check_icmp.c, po/POTFILES.in, po/fr.po: first pass at adapting - to plugin guidelines - and start of localization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1057 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-23 Benoit Mortier - - * plugins/check_http.c, po/fr.po: internationalization fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1056 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-23 Michael Wirtgen - - * po/de.po: german translations 391 to go - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1055 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-23 Ton Voon - - * ACKNOWLEDGEMENTS, configure.in, m4/np_curl.m4, plugins/Makefile.am: - Another attempt at fixing check_http compile on Redhat EL3. Fixed - check_icmp - compile (Lynne Lawrence - 1087171) - still some code changes to check_icmp - outstanding. Fixed compile of check_dhcp (complaining about socklen_t). - Added acknowledgements for Coreutils and curl - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1054 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-22 Harper Mann - - * plugins/check_nt.c: Added check for "%" in COUNTER . If - it exists, is used as an arg to asprintf. If it doesn't - exist, is used as a label. If the formatting is wrong, the - program will segv. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1053 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-22 Ton Voon - - * lib/Makefile.am, lib/stdbool_.h: File required from coreutils - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1052 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-21 Ton Voon - - * configure.in, plugins/Makefile.am: Revert back to previous openssl - checks (the ones from curl kept having - problems with later Redhat versions) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1051 f882894a-f735-0410-b71e-b25c423dba1c - - * m4/stdbool.m4: Another m4 from coreutils - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1050 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS: For their bug reports - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1049 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/Makefile.am, m4/Makefile.am, m4/np_coreutils.m4: Fixed compile - problem on Sol2.6 with stdbool.h - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1047 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-21 Stanley Hopcroft - - * plugins/check_dhcp.c: Commentary changes only: cite origin of copied - code with reference to ACK file - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1046 f882894a-f735-0410-b71e-b25c423dba1c - - * ACKNOWLEDGEMENTS: ACK file contains the details of the authors of code - copied by the plugins - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1045 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-21 Matthew Kent - - * plugins/check_dns.c: Add another error string match from Pasi - Tiittanen - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1044 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-20 Ton Voon - - * plugins/check_nagios.c: Corrected help for expiry units. Restored - functionality of searching for - process arguments - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1043 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nagios.c: Updating help text to reflect using shortname - instead of full path for command - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1042 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: - stupid typo - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1041 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Fix compile errors when looking for openssl - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1040 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-20 Stanley Hopcroft - - * COPYING, plugins/check_dhcp.c, po/de.po, po/fr.po: Compilation fixes - for check_dhcp.c HP-UX 11. Still fails on HP-UX 10. Unknown if - check_dhcp works on UX. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1039 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-18 Michael Wirtgen - - * po/de.po: Initial commit on german translation - 428 to go - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1038 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-17 Ton Voon - - * configure.in: Support for FreeBSD 5.2.1 and 5.3 in check_procs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1037 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-15 Ton Voon - - * configure.in: Bump version to next release - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1036 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Mistake in automake version - back to - 1.8 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1035 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/RELEASING: Clarified notes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1034 f882894a-f735-0410-b71e-b25c423dba1c - - * ChangeLog: Updated for r1_4_0-alpha3 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1032 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Updated requirements for GNU tools - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1031 f882894a-f735-0410-b71e-b25c423dba1c - - * m4/Makefile.am: Makefile for m4 files - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1030 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am, configure.in, plugins/Makefile.am, tools/setup: Support - for coreutils lib. Configure tests via m4 scripts from coreutils - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1029 f882894a-f735-0410-b71e-b25c423dba1c - - * m4/Makefile.am.in, m4/afs.m4, m4/codeset.m4, m4/error.m4, - m4/exitfail.m4, m4/extensions.m4, m4/fstypename.m4, m4/fsusage.m4, - m4/getopt.m4, m4/gettext.m4, m4/glibc21.m4, m4/iconv.m4, m4/intdiv0.m4, - m4/inttypes-pri.m4, m4/inttypes.m4, m4/inttypes_h.m4, m4/isc-posix.m4, - m4/lcmessage.m4, m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4, - m4/ls-mntd-fs.m4, m4/malloc.m4, m4/mountlist.m4, m4/np_coreutils.m4, - m4/onceonly.m4, m4/progtest.m4, m4/realloc.m4, m4/stdint_h.m4, - m4/uintmax_t.m4, m4/ulonglong.m4, m4/unlocked-io.m4, m4/xalloc.m4: - Moving m4 files from lib/ - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1028 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/Makefile.am, lib/afs.m4, lib/error.m4, lib/exitfail.m4, - lib/fstypename.m4, lib/fsusage.m4, lib/full-read.c, lib/full-write.c, - lib/full-write.h, lib/getopt.m4, lib/ls-mntd-fs.m4, lib/onceonly.m4, - lib/safe-read.c, lib/safe-read.h, lib/safe-write.c, lib/safe-write.h, - lib/unlocked-io.m4, lib/xalloc.m4: Moving m4 files into m4/. Added extra - coreutils files required from - autoconf tests. Updated Makefile.am to have nagiosplug lib and a separate - coreutils lib - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1027 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-15 Benoit Mortier - - * po/de.po, po/fr.po: fr.po work in progress still 88 to translate ;-) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1026 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-11 Matthew Kent - - * plugins/check_tcp.c: Patch from Ollie Cook to define return code when - expected value not received (#1082275). - Also included another change from Ollie Cook to do stricter matching of expected values from the beginning of the line. When a user defines an expected string this is changed to the old style strstr matching. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1025 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-10 Ton Voon - - * plugins/check_ldap.c: Fixed compile warning - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1024 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-10 Matthew Kent - - * plugins/Makefile.am: Compile broken - fixing link flags. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1023 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dns.c: Error catching improvements from Ollie Cook - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1022 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_pgsql.c: Fixing broken compile - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1021 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS: More contributers - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1020 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-10 Stanley Hopcroft - - * plugins/Makefile.am: Changes to link flags for check_dhcp.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1019 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dhcp.c: Extensive changes to get MAC address from - Solaris via DLPI - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1018 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-10 Ton Voon - - * plugins/check_dns.c, plugins/check_procs.c: Reverting back ngettext - calls - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1017 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/common.h: Fix includes for gettext - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1016 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-09 Ton Voon - - * configure.in: Include $libsuff for systems that define this (based on - advice from - Daniel Stenberg) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1015 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-08 Ton Voon - - * configure.in: Removed redundant check and make export LD_LIBRARY_PATH - more sh friendly - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1014 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-08 Benoit Mortier - - * configure.in, plugins/Makefile.am, plugins/check_by_ssh.c, - plugins/check_game.c, plugins/check_http.c, plugins/check_ide_smart.c, - plugins/check_ldap.c, plugins/check_snmp.c, plugins/check_tcp.c: patch - 1028033 - - minor internationalization fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1013 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-08 Ton Voon - - * configure.in: Fixed output info for openssl and LD_LIBRARY_PATH for - subsequent compiles - (otherwise get ld.so.1: ./conftest: fatal: libssl.so.0.9.7: open failed) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1012 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-07 Ton Voon - - * configure.in, plugins/Makefile.am: Better SSL checking (inspired by - curl 7.12.2's configure.ac) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1011 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-07 Matthew Kent - - * plugins-scripts/check_ifoperstatus.pl: Option to check for admin down - (#1012191) from Raúl Pedroche. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1010 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-07 Stanley Hopcroft - - * plugins/Makefile.am: Correct dependencies for check_dhcp.c. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1009 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am, plugins/check_dhcp.c: New plugin: check_dhcp.c. - Attempt to port to non Linux platform. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1008 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-06 Benoit Mortier - - * po/fr.po: new version of fr.po - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1007 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-05 Matthew Kent - - * plugins/check_snmp.c: Fix for -s string matching (#756567, Tony - Missana) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1006 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-05 Benoit Mortier - - * plugins/check_nt.c, po/fr.po, po/nagios-plugins.pot: cleaned fr.po - nagios-plugins.pot - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1005 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c, plugins/check_icmp.c, plugins/check_nwstat.c, - plugins/check_ping.c, plugins/check_smtp.c, plugins/check_swap.c, - plugins/utils.h: fix patch 998291 - fix patch 1078934 expect check_ssh fix and check_nt perfdata should stay - on one word like in nagios - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1004 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-04 Benoit Mortier - - * po/nagios-plugins.pot: new version of pot file - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1003 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c, plugins/check_dns.c, po/POTFILES.in: various - internationalization fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1002 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am, plugins/check_by_ssh.c, plugins/check_dig.c, - plugins/check_http.c, plugins/check_ide_smart.c, plugins/check_mrtg.c, - plugins/check_nt.c, plugins/check_nwstat.c, plugins/check_overcr.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_swap.c, - plugins/check_tcp.c, plugins/check_time.c, plugins/check_udp.c, - po/POTFILES.in: internationalization fixes - bugfixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1001 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dns.c, plugins/check_hpjd.c: check_dns needs a space - between 'time' and the hostname - check_hpjd needs a parenthesis removed in print_usage() - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1000 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_swap.c: Bug Fix [ 1024735 ] check_swap providing - inaccurate swap information on Sol6 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@999 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-03 Benoit Mortier - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_fping.c, plugins/check_game.c, - plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ldap.c, - plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c, - plugins/check_mysql.c, plugins/check_nagios.c, plugins/check_nt.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c, - plugins/check_users.c, plugins/negate.c: reverting my changes from - !=TRUE to == ERROR, that's not good ;-( sorry - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@998 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c, po/de.po, po/fr.po, po/nagios-plugins.pot: - check_tcp parenthesis bug, header fix for po files - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@997 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c, - plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ide-smart.c, - plugins/check_ldap.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c, - plugins/check_nagios.c, plugins/check_nt.c, plugins/check_nwstat.c, - plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_procs.c, - plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c, - plugins/check_snmp.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c: - print_help and print_usage() cleanup - - other misc cleanups - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@996 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-03 Stanley Hopcroft - - * plugins/check_tcp.c: 1041571: -D option processing corrected (Eric - Chen). Changed process_arguments() to return TRUE. Dont know why this - was necessary. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@995 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-03 Benoit Mortier - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c, - plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c, - plugins/check_ide-smart.c, plugins/check_ldap.c, plugins/check_load.c, - plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c, - plugins/check_nagios.c, plugins/check_nt.c, plugins/check_nwstat.c, - plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c, - plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c, - plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c, - plugins/check_swap.c, plugins/check_tcp.c, plugins/check_time.c, - plugins/check_udp.c, plugins/check_ups.c, plugins/check_users.c, - plugins/negate.c, plugins/urlize.c: remove UT_HLP_VRS from print_usage - this was not a good idea ;-) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@994 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c: removing support fonction - removing warranty from print_revision - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@993 f882894a-f735-0410-b71e-b25c423dba1c - - * ROADMAP, package.def, plugins/negate.c, plugins/utils.h: some minor - fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@992 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_load.c, plugins/check_ssh.c: correcting parenthesis - error - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@991 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS, plugins/check_load.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c, - plugins/check_users.c, plugins/urlize.c: fixes for internationalization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@990 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c, - plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c, - plugins/check_ide-smart.c, plugins/check_ldap.c, plugins/check_load.c, - plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c, - plugins/check_nagios.c, plugins/check_nt.c, plugins/check_nwstat.c: - internationalization fixes and help fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@989 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_http.c, - plugins/check_nwstat.c, plugins/check_pgsql.c, plugins/check_ping.c, - plugins/check_udp.c, po/.cvsignore: Localization fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@988 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ide-smart.c, plugins/check_pgsql.c: correcting copyright - and remaning int result = STATE_UNKNOWN; - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@987 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-03 Matthew Kent - - * plugins/check_nagios.c: Affected by elapsed time patch. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@986 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS: Another contributer. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@985 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/check_procs.c: Patch from Russell Miller which - adds elapsed time as a metric. Only for linux so far. (991359) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@984 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ldap.c: Fix typo breaking compile. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@983 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-03 Benoit Mortier - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_dns.c, - plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c, - plugins/check_hpjd.c, plugins/check_ide-smart.c, plugins/check_ldap.c, - plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c, - plugins/check_mysql.c, plugins/check_nagios.c, plugins/check_nt.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c, - plugins/check_users.c, plugins/negate.c, plugins/urlize.c: bump - copyright year - initialize result to STATE_UNKNOW in place of STATE_OK - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@982 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-02 Benoit Mortier - - * plugins/check_dns.c, plugins/check_ldap.c, plugins/check_procs.c: - --disable-nls throws an error on check_dns, check_procs and - check_ldap without this patch. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@981 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-02 Stanley Hopcroft - - * plugins/check_tcp.c: Tracker 1041571: appended :D to getopt_long() - args (for cert expiry check). Eric Chen. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@980 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-02 Benoit Mortier - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_fping.c, plugins/check_game.c, - plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ldap.c, - plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c, - plugins/check_mysql.c, plugins/check_nagios.c, plugins/check_nt.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c, - plugins/check_users.c, plugins/negate.c, plugins/popen.c, - plugins/utils.c: More internationalization work - new usage4 function to permit localisation of think like check_ssh: xxxxx - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@979 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_fping.c, plugins/check_game.c, - plugins/check_hpjd.c, plugins/check_ldap.c, plugins/check_load.c, - plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c, - plugins/check_nagios.c, plugins/check_nt.c, plugins/check_nwstat.c, - plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c, - plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c, - plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c, - plugins/check_swap.c, plugins/check_tcp.c, plugins/check_time.c, - plugins/check_udp.c, plugins/check_ups.c, plugins/check_users.c, - plugins/negate.c: return of process_arguments() is TRUE not OK ! - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@978 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: return of process_arguments() is TRUE not OK ! - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@977 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-02 Stanley Hopcroft - - * plugins/Makefile.am: Add check_icmp plugin - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@976 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_icmp.c: check_icmp plugin from A Ericsson - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@975 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/linux.h: For check_icmp plugin from A Ericsson - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@974 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-02 Matthew Kent - - * command.cfg.in: Fix typo. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@973 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS, REQUIREMENTS, command.cfg.in, plugins/check_ups.c: Patch from - Arnaud Quette to bring support to NUT 2.0 plus couple improvements and - fixes (1038413 which includes 1032009, 815785). - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@972 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-02 Benoit Mortier - - * plugins/check_dns.c, plugins/check_game.c, plugins/check_http.c, - plugins/check_ide-smart.c, plugins/check_load.c, - plugins/check_mrtgtraf.c, plugins/check_mysql.c, plugins/check_nagios.c, - plugins/check_nt.c, plugins/check_nwstat.c, plugins/check_overcr.c, - plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_procs.c, - plugins/check_radius.c, plugins/check_real.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_tcp.c, plugins/check_time.c, - plugins/check_udp.c, plugins/check_ups.c, plugins/negate.c, - plugins/popen.c: changed Error: by CRITICAL - - more localization fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@971 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_rbl.c: adapted for localization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@970 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-01 Benoit Mortier - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c, - plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c, - plugins/check_ide-smart.c, plugins/check_ldap.c, plugins/check_load.c, - plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c, - plugins/check_nagios.c, plugins/check_nt.c, plugins/check_nwstat.c, - plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c, - plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c, - plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c, - plugins/check_swap.c, plugins/check_tcp.c, plugins/check_time.c, - plugins/check_udp.c, plugins/check_ups.c, plugins/check_users.c, - plugins/common.h, plugins/getaddrinfo.c, plugins/getaddrinfo.h, - plugins/gethostbyname.c, plugins/gethostbyname.h, plugins/negate.c, - plugins/netutils.c, plugins/netutils.h, plugins/popen.c, - plugins/urlize.c, plugins/utils.c, plugins/utils.h: standardize - localization string - standardize unknow arguments - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@969 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-01 Ton Voon - - * doc/RELEASING: Notes on releasing - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@968 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Next version number - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@967 f882894a-f735-0410-b71e-b25c423dba1c - - * ChangeLog: Updated for r1_4_0-alpha2 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@965 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/devmode: eval not working - instructions now in comments - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@964 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_oracle.sh: Fixed pmon process checking from a - change I made earlier - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@963 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-01 Benoit Mortier - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_fping.c, plugins/check_ssh.c: first - pass at standardization of messages for the localization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@962 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-01 Stanley Hopcroft - - * configure.in: Bryan Loniewski contributed check_jabber plugin - (SSL/check_tcp); Eric Chen check_nntps plugin + SSL certficate expiry - check [added -D option to check_tcp] - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@961 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/netutils.c: 1075725: patch to my_connect() to deal with SEGV - if connect fails - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@960 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: 1041571 & 664615: check_tcp with cert check + - nntps, simap, jabber - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@959 f882894a-f735-0410-b71e-b25c423dba1c - -2004-12-01 Matthew Kent - - * contrib/check_nmap.py: Small fix from David Rippel (996800) for newer - versions of nmap - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@958 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_oracle.sh: Perf data and other improvements by - Florian Gleixner (1027787) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@957 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-30 Benoit Mortier - - * po/fr.po: more french translations - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@956 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-30 Ton Voon - - * plugins/check_ide-smart.c: Capitalized some error messages - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@955 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/urlize.c: Updated output to UNKNOWN - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@954 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-30 Benoit Mortier - - * po/fr.po: translating fr.po new part - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@953 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-29 Ton Voon - - * lib/Makefile.am, lib/exitfail.m4, lib/getopt.m4: Extra files required - from coreutils - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@952 f882894a-f735-0410-b71e-b25c423dba1c - - * SUPPORT: Cleanup and statement re: contrib plugins - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@951 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Patches for configure on *BSD (Julien Touche) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@950 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-29 Stanley Hopcroft - - * contrib/README.TXT, contrib/rblcheck-dns, contrib/rblcheck-web, - contrib/tarballs/check_icmp-0.8.tar.gz: *** empty log message *** - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@949 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-29 Matthew Kent - - * contrib/check_linux_raid.pl: Better error checking (820806) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@948 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-29 Benoit Mortier - - * po/fr.po: second version of french .po still 300 ;-) to translate - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@947 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-28 Benoit Mortier - - * po/fr.po: first new translation of fr.po - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@946 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-27 Matthew Kent - - * plugins/check_ssh.c: Add remote version check (1030269, Daniel Gullin) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@945 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-26 Stanley Hopcroft - - * AUTHORS: New plugin/bugfix: tracker 1070929. check_hpjdres - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@944 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-25 Matthew Kent - - * plugins/check_disk.c: From old test harness code, make ./check_disk -w - 0 -c 0 / valid parameters again - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@943 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_dns.t, plugins/t/check_http.t, plugins/t/check_load.t, - plugins/t/check_mysql.t, test.pl.in: Updating test harness - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@942 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-25 Stanley Hopcroft - - * contrib/README.TXT: Removed reference to non existent tar balls - (Hopcroft plugins) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@941 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_wins.pl: Non functional tidy ups to check_wins - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@940 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_hw.sh: Added /contrib/check_hw.sh by Rok Debevc - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@939 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_sybase: Added /contrib/check_sybase by Simon Bellwood - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@938 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_hprsc.pl: update check_hprsc.pl for Net-SNMP versions - >=4 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@937 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-24 Ton Voon - - * tools/sfsnapshot: Removing build directory after creating distribution - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@936 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/makefile: Added clean - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@935 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-24 Stanley Hopcroft - - * plugins/check_hpjd.c: add -OQa to command_line in check_hpjd.c. - Correct nagiosplug-Bugs-889948, 846329 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@933 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-24 Matthew Kent - - * plugins/check_nwstat.c: Attempting to fix a reported segfault - (1055054) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@932 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: Added support for sending port in host header - (913633) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@931 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-24 Ton Voon - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c, - plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c, - plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c, - plugins/check_mrtgtraf.c, plugins/check_mysql.c, plugins/check_nwstat.c, - plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c, - plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c, - plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c, - plugins/check_tcp.c, plugins/check_time.c, plugins/check_udp.c, - plugins/check_ups.c, plugins/check_users.c, plugins/negate.c, - plugins/urlize.c: Making messages more consistent - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@930 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-23 Ton Voon - - * plugins/check_by_ssh.c, plugins/check_dns.c, plugins/check_hpjd.c, - plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_swap.c, - plugins/check_time.c: Standardising translation texts - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@929 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Guidelines on translated text (Yves - Mettier, Simon Bellwood, Andreas Ericsson) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@928 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Adding notes on developer and - translator access in SF - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@927 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-23 Matthew Kent - - * AUTHORS: More contributers. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@926 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: Fix integer warning and critical options. Take - values from current unit instead of always KB. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@925 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-23 Stanley Hopcroft - - * doc/developer-guidelines.sgml: trivial changes to Perl plugin section. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@924 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-22 Ton Voon - - * AUTHORS: More contributors - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@923 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nt.c: Fixed some messages that should not be translated - (Benoit Mortier) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@922 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-21 Matthew Kent - - * plugins/check_mysql.c: Patch from Nathan Shafer to add replication - slave check (1006777) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@920 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-20 Matthew Kent - - * AUTHORS: Oops, forgot one. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@919 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS: More contributers. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@918 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_linux_raid.pl: Fix always reading status from the last - line (1045506) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@917 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c: New output format reported by pumuckel1980 - (946857) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@916 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: Bit of cleanup, fix verbose output. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@915 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-20 Ton Voon - - * configure.in: Fixed va_copy problem on AIX by copying samba's - configure.in - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@914 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-19 Ton Voon - - * CODING: Added perl coding guidelines, from Programming Perl book - (Andreas Ericsson) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@913 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/getloadavg.m4: I think getloadavg.m4 is no longer required (as - autoconf has built-in function) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@912 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/Makefile.am: Removed getloadavg.m4 (built-in function in autoconf) - and added cloexec.[hc] - for getloadavg.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@911 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/cloexec.c, lib/cloexec.h: Files required for getloadavg.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@910 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-19 Matthew Kent - - * plugins-scripts/check_ntp.pl: Fix incorrectly labelled units in output - (1025905, Jason Martin) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@909 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_procs.c: Enabling timeout flag (1010097, Jason Martin) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@908 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: Make -L notice ssl use to output a proper href - (1035234, Abid Rasheed) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@907 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: Change unit from 'us' to 's' to match other core - plugins for simplicity. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@906 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-19 Ton Voon - - * AUTHORS: - More great contributors... - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@905 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: Options for User Agent string and extra headers - (Ibere Tizio) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@904 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-18 Ton Voon - - * configure.in: Remove unnecessary CPPFLAGS for openssl (Lutz Behnke - - 686476) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@903 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: Enhance SSL initialization problems (Phil - Dibowitz - 1055120) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@902 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-18 Matthew Kent - - * plugins/check_smtp.c: Go critical on no route to host instead of - warning (934025) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@901 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-18 Ton Voon - - * tools/setup: Use copy of tools for consistency if building on - different platforms from - shared source - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@900 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-17 Ton Voon - - * plugins/check_tcp.c: Ignore output from tcp port (949070 - Jan-Piet - Mens) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@899 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: --no-body and --max-age options (949521 - Jamie - Zawinski) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@898 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Added section on using Sourceforge, - mainly for administrators - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@897 f882894a-f735-0410-b71e-b25c423dba1c - -2004-11-12 Ton Voon - - * tools/update_coreutils: Tool to pull newer coreutil libs into - nagiosplug's lib directory - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@896 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/Makefile.am, lib/error.c, lib/error.h, lib/error.m4, lib/exit.h, - lib/exitfail.c, lib/exitfail.h, lib/fsusage.c, lib/fsusage.h, - lib/fsusage.m4, lib/full-read.h, lib/getloadavg.c, lib/getopt.c, - lib/getopt.h, lib/getopt1.c, lib/gettext.h, lib/ls-mntd-fs.m4, - lib/malloc.c, lib/mountlist.c, lib/mountlist.h, lib/onceonly.m4, - lib/realloc.c, lib/snprintf.c, lib/strtod.c, lib/unlocked-io.h, - lib/unlocked-io.m4, lib/xalloc.h, lib/xalloc.m4, lib/xmalloc.c, - lib/xstrdup.c, plugins/check_disk.c, po/de.po, po/fr.po: Update to using - coreutils 5.2.1 libraries and snprintf.c from samba 3.0.8 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@895 f882894a-f735-0410-b71e-b25c423dba1c - -2004-09-07 Ton Voon - - * doc/developer-guidelines.sgml: Clarity based on comments by Ben - Clewett - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@894 f882894a-f735-0410-b71e-b25c423dba1c - -2004-08-23 Ton Voon - - * AUTHORS: For patch to check_nt - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@893 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nt.c: Restore divisor for memory size reported by - Windows. Also, implements warning - and critical levels for performance counters. (Paulo Afonso Graner Fessel) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@892 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/check_swap.c, plugins/common.h: Using swapctl - for Solaris, Tru64 and *BSD (Sean Finney) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@891 f882894a-f735-0410-b71e-b25c423dba1c - -2004-08-19 Ton Voon - - * configure.in, plugins/check_swap.c, plugins/common.h: Patch for tru64 - using swapctl calls (Sean Finney) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@890 f882894a-f735-0410-b71e-b25c423dba1c - -2004-08-18 Ton Voon - - * AUTHORS: Another day's work... - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@889 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dig.c: Checks different record types and checks against - an expected address (Bill Kunkel) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@888 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Support for check_swap on NetBSD/OpenBSD (Sean Finney) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@887 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_oracle.sh: More specific test for sid (Paul - Allen) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@886 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: Fixed perfdata so that shows amount used (Garry - Cook) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@885 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ifstatus.pl: Perfdata corrected (Garry Cook) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@884 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_oracle.sh: Fix for similar dataabase sids - (Carole Verdon) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@883 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS: Gary Cook for perfdata for check_nt - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@882 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nt.c: Perfdata added (Gary Cook) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@881 f882894a-f735-0410-b71e-b25c423dba1c - -2004-06-26 Ton Voon - - * tools/sfsnapshot: Change of compile server and cleanups - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@880 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/sfsnapshot: Remove need to alter configure.in. Using different - compile farms for - SF to do the compiling - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@879 f882894a-f735-0410-b71e-b25c423dba1c - -2004-05-24 Ton Voon - - * AUTHORS: Ben Clewett - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@878 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/Makefile.am: Missed getloadavg.c (Ben Clewett) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@877 f882894a-f735-0410-b71e-b25c423dba1c - -2004-05-20 Ethan Galstad - - * contrib/check_dhcp.c: DHCP bug fix - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@876 f882894a-f735-0410-b71e-b25c423dba1c - -2004-05-10 Ton Voon - - * configure.in: Set EXTRAS with check_swap if ac_cv_have_swap is set - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@875 f882894a-f735-0410-b71e-b25c423dba1c - -2004-04-30 Ton Voon - - * configure.in: ps -el for HP-UX - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@874 f882894a-f735-0410-b71e-b25c423dba1c - -2004-04-29 Ton Voon - - * configure.in: Bug in ps -el for AIX 4.1 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@873 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS: Sven for HP-UX requirements - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@872 f882894a-f735-0410-b71e-b25c423dba1c - - * REQUIREMENTS: HP-UX requirements (Sven Schaffranneck) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@871 f882894a-f735-0410-b71e-b25c423dba1c - -2004-04-19 Subhendu Ghosh - - * AUTHORS, contrib/check_nagios_db_pg.pl: Postgres backend monitor - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@870 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS, plugins-scripts/check_mssql.pl: check_mssql.pl - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@869 f882894a-f735-0410-b71e-b25c423dba1c - - * README: Win32 plugin repository - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@868 f882894a-f735-0410-b71e-b25c423dba1c - -2004-04-08 Ton Voon - - * AUTHORS: Torsten Werner for check_racle patches - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@867 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_oracle.sh: Cleaner calls to awk and support if - Oracle has different national - language settings (Torsten Werner) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@866 f882894a-f735-0410-b71e-b25c423dba1c - -2004-04-06 Ton Voon - - * configure.in, plugins/check_procs.c: Fixed weird scanf bug on Solaris - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@864 f882894a-f735-0410-b71e-b25c423dba1c - -2004-04-02 Karl DeBisschop - - * plugins/check_by_ssh.c: add example invocation to help - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@863 f882894a-f735-0410-b71e-b25c423dba1c - -2004-03-31 Ton Voon - - * AUTHORS: Howard Wilkinson - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@862 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nt.c: Command line argument bug (Howard Wilkinson) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@861 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/netutils.c: Set default state (Howard Wilkinson) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@860 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Update author list - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@859 f882894a-f735-0410-b71e-b25c423dba1c - -2004-03-23 Karl DeBisschop - - * plugins/check_fping.c: check was supposed to be agains ms - got munged - wfixeg the perfdata output to be in seconds - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@858 f882894a-f735-0410-b71e-b25c423dba1c - -2004-03-22 Ton Voon - - * AUTHORS: Joe Rhett for getopt bug - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@856 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: Option --url not mapped (Joe Rhett) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@855 f882894a-f735-0410-b71e-b25c423dba1c - -2004-03-18 Ton Voon - - * AUTHORS: More help for patches - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@854 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: Typo in check_disk units (Matthew Kent - 909281) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@853 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Mysql include path not added correctly (Arnold Cavazos - - 912974) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@852 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_radius.c: Option to fill in NAS-identifier to Emulate - pam_radius behaviour (Alexander Kulak) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@851 f882894a-f735-0410-b71e-b25c423dba1c - -2004-03-17 Ton Voon - - * doc/developer-guidelines.sgml: Copyright information for patches - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@850 f882894a-f735-0410-b71e-b25c423dba1c - -2004-03-14 Karl DeBisschop - - * plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtgtraf.c, - plugins/check_pgsql.c, plugins/check_smtp.c, plugins/check_tcp.c, - plugins/check_ups.c: use fperfdata - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@849 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_fping.c: use fperfdata - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@848 f882894a-f735-0410-b71e-b25c423dba1c - -2004-03-12 Ethan Galstad - - * contrib/check_cluster2.c: New cluster plugin for Nagios 2.x - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@847 f882894a-f735-0410-b71e-b25c423dba1c - -2004-03-11 Ton Voon - - * CHANGES: check_procs difference - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@846 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nagios.c: Incorporate check_proc changes into - check_nagios. ps handling probably should - be moved into utils.c in future - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@845 f882894a-f735-0410-b71e-b25c423dba1c - -2004-03-08 Ton Voon - - * configure.in: Require ngettext - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@844 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Information on plugin output format - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@843 f882894a-f735-0410-b71e-b25c423dba1c - -2004-03-04 Karl DeBisschop - - * plugins/check_dig.c, plugins/check_dns.c, plugins/check_game.c: use - float for time in perf data - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@842 f882894a-f735-0410-b71e-b25c423dba1c - -2004-03-03 Karl DeBisschop - - * plugins/check_http.c, plugins/utils.c: begin writing some perfdata as - float - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@841 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_pop3.pl: fix loop and \r\n (Jason Burnett - - http://sourceforge.net/tracker/index.php?func=detail&aid=895677&group_id=29880&atid=397599) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@840 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: check_disk was getting blocks instead of bytes - (Michael Musikhin - - http://sourceforge.net/tracker/index.php?func=detail&aid=900215&group_id=29880&atid=397599) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@839 f882894a-f735-0410-b71e-b25c423dba1c - -2004-03-02 Karl DeBisschop - - * pkg/fedora/requires, pkg/redhat/requires: attempt to prune requires - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@838 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am, nagios-plugins.spec.in, pkg/fedora/requires: make - specfile into a template which can generate a generic spec plus specs - suitable for various repositories - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@837 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: prpare for alpha2 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@836 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: relax check for -w/-c to accept floats (bug - report from Warrick FitzGerald) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@835 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS, plugins/check_swap.c: fix div by zero error when swaptotal is - zero (Flo Gleixner) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@834 f882894a-f735-0410-b71e-b25c423dba1c - -2004-03-01 Karl DeBisschop - - * plugins/check_tcp.c, plugins/netutils.c: check_tcp was returning - uninitialized string with user-defined refused outcome - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@833 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: allow regex for ecpect checks - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@832 f882894a-f735-0410-b71e-b25c423dba1c - -2004-02-29 Karl DeBisschop - - * plugins/check_nwstat.c, plugins/netutils.c, plugins/netutils.h: was - making up to 34 separate tcp connections - now we open one and reuse - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@831 f882894a-f735-0410-b71e-b25c423dba1c - -2004-02-28 Karl DeBisschop - - * plugins/check_snmp.c: checks for warn in check_num() mistakenly - referred to crit limits - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@830 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: minor doco update to reflect handling of - repeated caoomand strings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@829 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: work in progress to accept multiple - command/expect pairs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@828 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_swap.c: update to work with Linux 2.6 /proc/meminfo - format - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@827 f882894a-f735-0410-b71e-b25c423dba1c - -2004-02-25 Karl DeBisschop - - * AUTHORS, plugins/check_dns.c: check server for authoritative status - (from Jon Hallet) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@826 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_swap.c: change some datatypes to llu for very large - swaps - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@825 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/check_ping.c: pass timeout to ping if supported - with -w parameter (linux) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@824 f882894a-f735-0410-b71e-b25c423dba1c - -2004-02-21 Karl DeBisschop - - * plugins/check_by_ssh.c: add option to ignore a specified number of - lines on stderr - (to suppress a login banner) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@823 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS: Add Jason Martin for report of missing $opt_C for 'use vars' - in check_breeze - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@821 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_breeze.pl: add opt_C to 'usr vars' - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@820 f882894a-f735-0410-b71e-b25c423dba1c - -2004-02-20 Ton Voon - - * plugins/check_http.c: - Missed out getopt for -T - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@819 f882894a-f735-0410-b71e-b25c423dba1c - -2004-02-20 Karl DeBisschop - - * contrib/check_dhcp.c, plugins/check_snmp.c, plugins/negate.c, - plugins/netutils.c, plugins/urlize.c: spell fix "received" - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@818 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c, plugins/utils.h: add perfdata function for floats to - complement ints, also spell fix "received" - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@817 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS: add Ralph Rye for report of check_procs segfault on - AIX/WebSphere and proof-of-concept patch - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@816 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_procs.c: handle case where line from ps output exceed - MAX_INPUT_BUFFER - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@815 f882894a-f735-0410-b71e-b25c423dba1c - -2004-02-20 Ton Voon - - * AUTHORS: Shaun Wills for patch to check_http - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@814 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: Added Content-type when POSTing (Shawn Wills) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@813 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_procs.c: - compiler warning removed (but usage2 messages - badly broken) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@812 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS: Matt Pounsett for bug report - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@811 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dns.c: Different text to scan for if multiple addresses - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@810 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_swap.c: Corrected usage message (Matt Pounsett) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@809 f882894a-f735-0410-b71e-b25c423dba1c - -2004-02-19 Ton Voon - - * AUTHORS: Michael Musikhin for check_disk patch - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@808 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: Uninitialised variables for -X (Bug 900091 - - Michael Musikhin) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@807 f882894a-f735-0410-b71e-b25c423dba1c - -2004-02-18 Karl DeBisschop - - * configure.in: version bump (old) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@806 f882894a-f735-0410-b71e-b25c423dba1c - - * acinclude.m4, lib/afs.m4, lib/fstypename.m4, lib/fsusage.m4: - underquoted defines cause warning on FC2 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@805 f882894a-f735-0410-b71e-b25c423dba1c - -2004-02-18 Ton Voon - - * AUTHORS: Johannes Herlitz for patch to check_dns - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@804 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dns.c: Output message includes the query_address, as - inspired by Johannes Herlitz. - Also cleanup of comments and handles multi-line nslookup output (MacOSX 10.3) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@803 f882894a-f735-0410-b71e-b25c423dba1c - -2004-02-17 Ton Voon - - * AUTHORS: David Alden for check_snmp_procs.pl - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@802 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_snmp_procs.pl: Checks remote processes via SNMP (David - Alden) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@801 f882894a-f735-0410-b71e-b25c423dba1c - -2004-02-09 Ton Voon - - * AUTHORS: Patrick McCormick - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@800 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c: Fix for check_ping old-style argument handling - (Patrick McCormick - 892211) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@799 f882894a-f735-0410-b71e-b25c423dba1c - -2004-01-28 Ton Voon - - * plugins/check_dummy.c: Print optional text - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@798 f882894a-f735-0410-b71e-b25c423dba1c - -2004-01-21 Karl DeBisschop - - * AUTHORS: credit David Croft (patch check_tcp formultibyte malloc bug - in server_expect) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@797 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: =fix segfault on malloc of server_expect for - multibyte chars (David Croft) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@796 f882894a-f735-0410-b71e-b25c423dba1c - -2004-01-18 Subhendu Ghosh - - * contrib/check_snmp_printer.pl: plugin to check printer status via - snmp, includes page count as perfdata; perl plugin - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@795 f882894a-f735-0410-b71e-b25c423dba1c - -2003-12-24 Ton Voon - - * AUTHORS: Bug reporter - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@794 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_swap.c: Fixed help doc on use of % (854817 - Gunnar - Hellekson) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@793 f882894a-f735-0410-b71e-b25c423dba1c - -2003-12-18 Ton Voon - - * README: Reference to CHANGES file - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@792 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am: Add CHANGES file to distribution - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@791 f882894a-f735-0410-b71e-b25c423dba1c - - * CHANGES: List major changes between releases - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@790 f882894a-f735-0410-b71e-b25c423dba1c - -2003-12-11 Ton Voon - - * AUTHORS: For patch to check_http - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@789 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: Relative redirects not followed correctly - (854131 - John Sivak) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@788 f882894a-f735-0410-b71e-b25c423dba1c - -2003-12-05 Ton Voon - - * AUTHORS: Ben Whaley for reported Solaris 8 /usr/ucb/ps problem in - configure.in - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@787 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Not correctly working out ps command if /usr/ucb before - /usr/bin in PATH for - Solaris (reported by Ben Whaley) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@786 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS: Patch to my_connect - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@785 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/netutils.c, plugins/netutils.h: Fix clash of namespace for - my_connect with mysql (854339 - Ian Holsman) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@784 f882894a-f735-0410-b71e-b25c423dba1c - -2003-12-02 Ton Voon - - * plugins/check_disk.c: Default thresholds not defined for lists in -x - parameter (raised by Matt Garrett) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@783 f882894a-f735-0410-b71e-b25c423dba1c - -2003-12-01 Karl DeBisschop - - * po/de.po, po/fr.po: commit changes caused by upstream code mods - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@782 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_procs.c: use usage2 function - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@781 f882894a-f735-0410-b71e-b25c423dba1c - - * nagios-plugins.spec.in: add THANKS to %doc - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@780 f882894a-f735-0410-b71e-b25c423dba1c - -2003-11-28 Ton Voon - - * plugins/check_procs.c: Fixed listing of failed processes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@779 f882894a-f735-0410-b71e-b25c423dba1c - -2003-11-24 Ton Voon - - * AUTHORS: For patches - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@778 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_hpjd.c: Bug from code-clean (Antony Simmonds - 846311) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@777 f882894a-f735-0410-b71e-b25c423dba1c - -2003-11-21 Karl DeBisschop - - * README: update auotmake/autoconf versions - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@776 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: update developer names - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@775 f882894a-f735-0410-b71e-b25c423dba1c - - * INSTALLING: our policy now is to use most recent versions of GNU tool - chain - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@774 f882894a-f735-0410-b71e-b25c423dba1c - -2003-11-19 Karl DeBisschop - - * plugins/check_time.c: add perfdata - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@773 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: use perfdata() to return perfoamnace data in - stanadrd format - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@772 f882894a-f735-0410-b71e-b25c423dba1c - -2003-11-17 Karl DeBisschop - - * plugins/check_ups.c: bugfix - each supported option was overwriting - the previous perfdata - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@771 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ups.c: add perfdata - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@770 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_pgsql.c: add perfdata - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@769 f882894a-f735-0410-b71e-b25c423dba1c - -2003-11-12 Karl DeBisschop - - * plugins/check_snmp.c: clean up compiler warnings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@768 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_mrtg.c, plugins/check_nt.c: clean up compiler warnings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@767 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_mrtgtraf.c, plugins/check_swap.c: clean up compiler - warnings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@766 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_mrtgtraf.c: add perfdata - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@765 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dig.c: remove overflow checks of strtod - HUGE_VALF - requires C99; also remove equality checks on warn/crit interval which - are no doubles - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@764 f882894a-f735-0410-b71e-b25c423dba1c - -2003-11-11 Ton Voon - - * plugins/check_tcp.c: Added perfdata - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@763 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_users.c: Added perfdata - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@762 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_swap.c: Added perfdata - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@761 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_swap.c: Fixed if only absolute warn/crit set - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@760 f882894a-f735-0410-b71e-b25c423dba1c - -2003-11-10 Ton Voon - - * plugins/utils.h: - typo fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@759 f882894a-f735-0410-b71e-b25c423dba1c - -2003-11-05 Subhendu Ghosh - - * plugins-scripts/check_ifoperstatus.pl, - plugins-scripts/check_ifstatus.pl: added plugin timeout options - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@758 f882894a-f735-0410-b71e-b25c423dba1c - -2003-10-31 Karl DeBisschop - - * plugins/check_nt.c: provide an error message - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@757 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_hpjd.c: line indentation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@756 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_load.c: add perfdata - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@755 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_mrtg.c: add perf data - fix bug where stale data message would get overwritten - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@754 f882894a-f735-0410-b71e-b25c423dba1c - -2003-10-24 Ton Voon - - * plugins/common.h: Ignore __attribute__ for non-GNU compilers - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@753 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: Moved config.h to toplevel - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@752 f882894a-f735-0410-b71e-b25c423dba1c - -2003-10-23 Ton Voon - - * lib/Makefile.am: Need to include intl/ for systems without libintl.h - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@751 f882894a-f735-0410-b71e-b25c423dba1c - -2003-10-21 Ton Voon - - * AUTHORS: Matt Garrett for bug reports - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@750 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_file_age.pl: - Fixed file name (Matt Garrett) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@749 f882894a-f735-0410-b71e-b25c423dba1c - -2003-10-20 Ton Voon - - * configure.in, lib/fsusage.c, lib/mountlist.c: Fix for config.h at top - level. Required for intl/ - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@748 f882894a-f735-0410-b71e-b25c423dba1c - -2003-10-15 Ton Voon - - * tools/mail_error: Need to export PATH for sfsnapshot to get correct - GNU toolchain - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@747 f882894a-f735-0410-b71e-b25c423dba1c - -2003-10-14 Subhendu Ghosh - - * plugins-scripts/check_ifoperstatus.pl: snmpv3 patches - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@746 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ifstatus.pl: more snmpv3 patches - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@745 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ntp.pl: Bug 773588: added check to warn on - matching # candidates only - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@744 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ifstatus.pl: Added -M for maxmsgsize (v1/v2c) - Added v3 support - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@743 f882894a-f735-0410-b71e-b25c423dba1c - -2003-09-30 Ton Voon - - * plugins/check_swap.c: Fixed logic problem if HAVE_SWAP, but not on AIX - or Solaris. Removed - unnecessary ifdefs for help page. Better indentation for ifdefs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@742 f882894a-f735-0410-b71e-b25c423dba1c - -2003-09-29 Ton Voon - - * lib/Makefile.am: Missed GNU files for AIX 5.1 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@741 f882894a-f735-0410-b71e-b25c423dba1c - -2003-09-17 Ton Voon - - * AUTHORS: Added authors of obsolete contrib plugins - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@740 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/maser-oracle.pl: Obsolete from main check_oracle - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@739 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/aix/check_crit_dsk, contrib/aix/check_dsk, - contrib/aix/check_ping: Plugins obsolete from main check_disk and - check_ping - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@738 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/strtod.c: Required if strtod not GNU compilant - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@737 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, lib/Makefile.am, lib/error.c, lib/error.h, lib/error.m4, - lib/malloc.c, lib/realloc.c, lib/unlocked-io.h, lib/xalloc.h, - lib/xmalloc.c: Support to compile on AIX - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@736 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_load.c: - typo - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@735 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/check_swap.c: Support for check_swap in AIX - (tested on 5.1) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@734 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/setup: Hide error message if docbook not available - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@733 f882894a-f735-0410-b71e-b25c423dba1c - -2003-09-16 Ton Voon - - * doc/developer-guidelines.sgml: Added in threshold range format and - updated autoconf to 2.54 for a problem - on Darwin) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@732 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/Makefile.am, plugins/check_procs.c: Support for - AIX ps command and cleanup of configure's ps checks - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@731 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS, plugins/common.h: AIX problem with enum TRUE and FALSE (Ludse - Verhoeven) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@730 f882894a-f735-0410-b71e-b25c423dba1c - -2003-09-16 Karl DeBisschop - - * tools/sfsnapshot: here-doc format was not correct - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@729 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ldap.c: milisecond timing and perfdata, fix NULL pointer - error in validate_arguments - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@728 f882894a-f735-0410-b71e-b25c423dba1c - -2003-09-15 Ton Voon - - * AUTHORS: Contributors to the perfdata discussion - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@727 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS, plugins-scripts/check_mailq.pl: Added Exim support (768445 - - Eric Bollengier) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@726 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS, plugins/check_nt.c: Option to verify check_nt version (799098 - - Steve Hanselman) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@725 f882894a-f735-0410-b71e-b25c423dba1c - - * AUTHORS: Jason Burnett for check_disk_smb patch - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@724 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_disk_smb.pl: Optionally specify port for - smbclient to use (781227 - Jason Burnett) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@723 f882894a-f735-0410-b71e-b25c423dba1c - -2003-09-15 Karl DeBisschop - - * plugins/check_http.c: make status code extensible (thanks to Chris - Wilson ) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@722 f882894a-f735-0410-b71e-b25c423dba1c - -2003-09-12 Karl DeBisschop - - * AUTHORS: two new additions - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@721 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c: new output format reported by Patrick Allen - - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@719 f882894a-f735-0410-b71e-b25c423dba1c - -2003-09-11 Karl DeBisschop - - * plugins/check_http.c: use prefdata function for size too - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@718 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: use prefdata function - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@717 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/check_swap.c: last changes to configure broke - check_swap on RHLinux. Restore /proc/meminfo check and make check_swap - ifdefs safer - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@716 f882894a-f735-0410-b71e-b25c423dba1c - -2003-09-04 Karl DeBisschop - - * Makefile.am: change so make-dist works in subdirs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@715 f882894a-f735-0410-b71e-b25c423dba1c - -2003-09-03 Ton Voon - - * configure.in: Remove df checks and ignore swap checks if no swap - commands found - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@714 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: No named credits in source code - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@713 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Fixed substitution for Tru64's ps format - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@712 f882894a-f735-0410-b71e-b25c423dba1c - -2003-09-03 Karl DeBisschop - - * plugins/check_dig.c: allow warn/crit times to be floating point - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@711 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/common.h: include math.h if needed for HUGE_VAL - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@710 f882894a-f735-0410-b71e-b25c423dba1c - -2003-09-02 Ton Voon - - * plugins/check_procs.c: Solaris requires asprintf checks for null - variables - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@709 f882894a-f735-0410-b71e-b25c423dba1c - -2003-09-01 Ton Voon - - * Makefile.am: Report duplicates in AUTHORS file - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@708 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Add contributor's name into CVS - comments - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@707 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-31 Ton Voon - - * .cvsignore, AUTHORS, Makefile.am, THANKS.in: Updated AUTHORS to - include all contributors listed in comments in code and - CVS for plugins and plugins-scripts. Still need to do SF - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@706 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Updated perf data standard for warn - before crit - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@705 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-28 Karl DeBisschop - - * plugins/check_game.c: add perf data - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@704 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dns.c: add perf data - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@703 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c: use single quotes per guideline, also quote when SPC - or = are found - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@702 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: add perf data - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@701 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c: suppress quotes in perf data when not needed (some - plugins need the space to keep below line length limit - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@700 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.h: add min() macro to complement max() - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@699 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-26 Karl DeBisschop - - * plugins/check_dig.c: print perfdata - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@698 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_fping.c: print perfdata - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@697 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c, plugins/utils.h: function to make perfdata output - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@696 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-23 Karl DeBisschop - - * plugins/check_http.c: - found and fixed memory allocation error in - rewritten redir() function - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@695 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: - hacked interim fix to segfault on redirect - - for tesing only - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@694 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dig.c: - fix various format errors with newly added perf - data - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@693 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-22 Karl DeBisschop - - * plugins/check_dig.c: - forgot to declare struct timeval tv for hires - timing - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@692 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dig.c: - add perf data for time - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@691 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c, - plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c, - plugins/check_ide-smart.c, plugins/check_ldap.c, plugins/check_load.c, - plugins/check_mrtg.c, plugins/check_mysql.c, plugins/check_nagios.c, - plugins/check_nt.c, plugins/check_nwstat.c, plugins/check_overcr.c, - plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_procs.c, - plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c, - plugins/check_snmp.c, plugins/check_ssh.c, plugins/check_swap.c, - plugins/check_tcp.c, plugins/check_time.c, plugins/check_udp.c, - plugins/check_ups.c, plugins/check_users.c, plugins/negate.c, - plugins/urlize.c: - bindtextdomain for gettext, a few other smale - cleanups here and there - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@690 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: * bugfix: snprintf of timestamp truncated '\0' - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@689 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-21 Karl DeBisschop - - * plugins/check_http.c: * Check redirections for infinte loops and limit - depth of recursion - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@688 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-20 Ton Voon - - * plugins/check_time.c: Optionally use udp instead of tcp (Bradley Baetz - - 751646) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@687 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_wins.pl: Changed netsaint to nagios in use lib - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@686 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-19 Karl DeBisschop - - * plugins/check_http.c: *BUGFIX: LWS is not required betwwen "Location:" - header field name and field value - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@685 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: *add missing status numbers from RFC 2616 - (HTTP1.1) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@684 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-18 Karl DeBisschop - - * plugins/check_ping.c: move error scans to a new separate routine and - scan both stderr and stdio - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@683 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-11 Ton Voon - - * doc/developer-guidelines.sgml: Performance data guidelines added - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@682 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/sfsnapshot: Fixed building snapshots - cvs update ignores new - directories. - Also do not need to run make - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@681 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-10 Karl DeBisschop - - * plugins/utils.c: config.h is redundant (common.h includes it) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@680 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dns.c, plugins/check_smtp.c: perf data in integer - microseconds - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@679 f882894a-f735-0410-b71e-b25c423dba1c - - * po/POTFILES.in, po/de.po, po/fr.po: first pass at NLS markup done - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@678 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_rpc.pl: proposed fix for LANG issue - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@677 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_fping.c, plugins/check_game.c, - plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ldap.c, - plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c, - plugins/check_mysql.c, plugins/check_nagios.c, plugins/check_nt.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c, - plugins/check_users.c, plugins/negate.c, plugins/popen.c, - plugins/urlize.c: the last round of pedantic compiler warnings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@676 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-09 Karl DeBisschop - - * tools/devmode: a little shell script to make it a little easier to - produce pedantic compiler warnings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@675 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c, plugins/check_ssh.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c, - plugins/check_users.c: more pedantic compiler warnings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@674 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-09 Jeremy T. Bouse - - * plugins/common.h, po/de.po, po/fr.po: Code clean-up - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@673 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-09 Karl DeBisschop - - * plugins/check_dig.c, plugins/check_http.c, plugins/check_load.c, - plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_nwstat.c, - plugins/check_overcr.c, plugins/check_ping.c, plugins/check_procs.c, - plugins/check_real.c, plugins/utils.c, plugins/utils.h: more pedantic - compiler warns - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@672 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: more pedantic compiler warns, change to - microsecond output for perf data, add size to perf data - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@671 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c, plugins/utils.h: add function for elapsed tim ein - microseconds - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@670 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: more pedantic compiler warnings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@669 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c, plugins/check_dummy.c, plugins/popen.c, - plugins/utils.c, plugins/utils.h: more pedantic compiler warnings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@668 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-08 Karl DeBisschop - - * lib/Makefile.am: include getloadvag.m4 in distrib - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@667 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c, plugins/netutils.c, plugins/netutils.h: cleanups - from pedantic complier warnings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@666 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nt.c: change if/elseif block to case, general streamline - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@665 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: fix a variety of compiler warnings about - qualifier discards and other pedantic stuff - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@664 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_snmp.c, plugins/utils.c, plugins/utils.h: fix a variety of - compiler warnings about qualifier discards and other pedantic stuff - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@663 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c, plugins/check_disk.c, plugins/check_nt.c, - plugins/netutils.c, plugins/netutils.h, plugins/popen.h, - plugins/utils.h: fix a variety of compiler warnings about qualifier - discards and other pedantic stuff - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@662 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nt.c, plugins/check_smtp.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@661 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-07 Karl DeBisschop - - * plugins/check_real.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@660 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_procs.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@659 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_load.c: reorder for consistency, restore prototypes for - print_foo, nest #ifdef to avoid pedantic traditional c warn - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@658 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: reorder for consistency (no code changes) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@657 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c, plugins/check_disk.c, plugins/check_dns.c, - plugins/check_fping.c, plugins/check_game.c, plugins/check_http.c, - plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_nagios.c, - plugins/check_nt.c, plugins/check_nwstat.c, plugins/check_overcr.c, - plugins/check_radius.c, plugins/check_real.c, plugins/check_snmp.c, - plugins/check_swap.c, plugins/check_tcp.c, plugins/check_time.c, - plugins/negate.c, plugins/netutils.c, plugins/popen.c, plugins/utils.c, - plugins/utils.h: replace "terminate" with "die" for shorter name and - better readability - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@656 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c: cleanup for better readability - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@655 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@654 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/sfsnapshot: make must be run before make dist to creat language - files - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@653 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-06 Ton Voon - - * doc/developer-guidelines.sgml: Added in that Nagios plugins are - written to GNU standards - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@652 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-06 Karl DeBisschop - - * lib/.cvsignore: ignore ulonglong.m4 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@651 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_overcr.c: markup for translation, move send_buffer - assignment to process_args so process_tcp_request can be moved outside - the conditional, replace if/esleif with switch, replace #defines with - enum - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@650 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nwstat.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@649 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-05 Ton Voon - - * doc/developer-guidelines.sgml: Added dev platform requirements - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@648 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-05 Karl DeBisschop - - * plugins/check_ssh.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@647 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-05 Stanley Hopcroft - - * contrib/check_mssql.sh: Version 2.0 of MS SQL server plugin - (contrib/check_mssql.sh) from T De Blende. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@646 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-04 Karl DeBisschop - - * plugins/check_users.c, plugins/urlize.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@645 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_time.c, plugins/check_udp.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@644 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ldap.c, plugins/check_nagios.c, plugins/check_radius.c, - plugins/check_udp.c, plugins/check_ups.c, plugins/negate.c: markup for - translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@643 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-03 Karl DeBisschop - - * plugins/check_ldap.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c: - markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@642 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_load.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@641 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ldap.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@640 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c, plugins/check_ldap.c, plugins/check_tcp.c: - markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@639 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am, plugins/check_ide-smart.c: markup for - translation, use common.h, fix problems compiling - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@638 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@637 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-02 Karl DeBisschop - - * plugins/check_hpjd.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@636 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_mysql.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@635 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_fping.c, plugins/check_game.c, plugins/check_mysql.c, - plugins/check_snmp.c, plugins/utils.h: markupf for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@634 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c, plugins/utils.h: ifdef so utils.h can be header for - utils.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@633 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_fping.c, plugins/check_snmp.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@632 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_dummy.c, plugins/check_pgsql.c, - plugins/check_swap.c, plugins/check_tcp.c, plugins/utils.h: establish - "UT_" namespace for usage text in #defines - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@631 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@630 f882894a-f735-0410-b71e-b25c423dba1c - -2003-08-01 Karl DeBisschop - - * plugins/check_dns.c: terminate in error_scan() so meaningfull errors - can be sent - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@628 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dummy.c: mark for transaltion - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@627 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dns.c: do not translate the strings that will be - compared to utility output - LC_ALL is set to C so those strings should - be untranslated regardless of the system settings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@626 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/popen.c: set LC_ALL to C in execve environemnt - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@625 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: 'ln -f -s ...' is not reliable/portable. Use 'rm - -f ...; ln -s ...' - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@624 f882894a-f735-0410-b71e-b25c423dba1c - -2003-07-31 Karl DeBisschop - - * plugins/check_dns.c: mark for translation (note problem here - it - relies on tranalation in underlying utility, which has a high chance of - failing) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@623 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c, plugins/utils.h: mark for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@622 f882894a-f735-0410-b71e-b25c423dba1c - -2003-07-30 Karl DeBisschop - - * plugins/check_by_ssh.c: mark up for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@621 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dig.c, plugins/check_pgsql.c, plugins/check_swap.c, - plugins/check_tcp.c, plugins/utils.h: markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@620 f882894a-f735-0410-b71e-b25c423dba1c - -2003-07-29 Karl DeBisschop - - * plugins/check_pgsql.c, plugins/check_swap.c, plugins/check_tcp.c: mark - for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@619 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.h: some shared text for internationalized help text - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@618 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c: clean up warnings about ill-formed comment and string - concatenation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@617 f882894a-f735-0410-b71e-b25c423dba1c - - * .cvsignore, ChangeLog, README, configure.in, lib/Makefile.am: bump to - gettext 0.11.5 and cleanup GNU toolchain - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@616 f882894a-f735-0410-b71e-b25c423dba1c - - * ABOUT-NLS, INSTALL: get from GNU files instead of storing in CVS - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@615 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/setup: move autopoint to start of gnu toolchain setup - use --force-missing instead on manually copying files - (manual process was broken on RedHat, and we should expect automake to do its job right anyway) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@614 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: look for getloadavg.c in $topdir/lib, not $srcdir/lib - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@613 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: patch attempt to reference undefined optarg - (credit Paul Farrall) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@612 f882894a-f735-0410-b71e-b25c423dba1c - -2003-07-28 Ton Voon - - * configure.in: - Specify srcdir so no confusion - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@611 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, lib/getloadavg.m4: Readded getloadavg.m4 as using - autoconf 2.50+. This fixes redhat 6.2 compiles - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@608 f882894a-f735-0410-b71e-b25c423dba1c - -2003-07-26 Karl DeBisschop - - * plugins/check_pgsql.c: mark for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@607 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/common.h: add S_ macor to mark message for both translation - and inclusion into docbook SGML - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@606 f882894a-f735-0410-b71e-b25c423dba1c - - * po/de.po, po/fr.po: updated check_tcp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@605 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c, po/ChangeLog: internationalization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@604 f882894a-f735-0410-b71e-b25c423dba1c - - * intl/.cvsignore, lib/.cvsignore, po/.cvsignore: skip gettext files - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@603 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/Makefile.am: checkins for internationalization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@602 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/Makefile.am: checkins for internationalization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@601 f882894a-f735-0410-b71e-b25c423dba1c - - * po/Makevars: checkins for internationalization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@600 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, tools/setup: checkins for internationalization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@599 f882894a-f735-0410-b71e-b25c423dba1c - - * .cvsignore, ABOUT-NLS, ChangeLog, Makefile.am, configure.in, - lib/Makefile.am, lib/gettext.h, nagios-plugins.spec.in, - plugins/Makefile.am, plugins/check_tcp.c, plugins/common.h, - plugins/utils.c, po/LINGUAS, po/POTFILES.in, po/de.po, po/fr.po, - tools/setup: checkins for internationalization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@598 f882894a-f735-0410-b71e-b25c423dba1c - -2003-07-21 Karl DeBisschop - - * plugins/common.h: add stubs to allow markup for translation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@597 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/common.h: test GNU_SOURCE and include features.h - if present to clear warning about asprintf definition - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@596 f882894a-f735-0410-b71e-b25c423dba1c - -2003-07-20 Karl DeBisschop - - * doc/developer-guidelines.sgml: must use '&' in attribute values - instead of '&' - id tokens (attibute values) must not have embedded spaces - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@595 f882894a-f735-0410-b71e-b25c423dba1c - -2003-07-17 Ton Voon - - * plugins-scripts/check_oracle.sh: - Cleanup comments - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@593 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Guidelines updated to use Sourceforge - tracker system - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@592 f882894a-f735-0410-b71e-b25c423dba1c - -2003-07-11 Ton Voon - - * doc/developer-guidelines.sgml: - Fixed CVS commit comments - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@591 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.sgml: Added in practice of prefixing comments - in CVS commits - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@590 f882894a-f735-0410-b71e-b25c423dba1c - -2003-07-04 Karl DeBisschop - - * configure.in, plugins/Makefile.am: only make links for check_spop and - check_simap when SSL is built into check_tcp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@586 f882894a-f735-0410-b71e-b25c423dba1c - -2003-07-03 Ton Voon - - * plugins/check_procs.c: Fixed seg fault on some Sol 7/8 servers (Patch - 764745 - Alexander Matey) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@585 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/setup: Changing $() to `` to be compatible with Solaris' sh - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@584 f882894a-f735-0410-b71e-b25c423dba1c - -2003-07-03 Karl DeBisschop - - * autogen.sh, tools/setup: mv GNU toolchain check into tools/setup - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@583 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c: remove LABELLEN - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@582 f882894a-f735-0410-b71e-b25c423dba1c - -2003-07-02 Ton Voon - - * plugins-scripts/check_oracle.sh: Check for ORA- errors for tablespace - and cache (patch 755456 - Sven Meyer) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@581 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_disk_smb.pl: Update error message from smbclient - v2.2.7 (Patch 740132 - Cove Schneider) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@580 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/.cvsignore, plugins-scripts/Makefile.am, - plugins-scripts/check_file_age.pl, plugins-scripts/subst.in: Moving - check_file_age into core - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@578 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Fixed SUPPORT message - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@577 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-30 Jeremy T. Bouse - - * plugins/check_http.c, plugins/check_ldap.c, plugins/check_smtp.c: - Added -4 and -6 command line options into check_http, check_ldap and - check_smtp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@575 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c, plugins/check_ssh.c, plugins/check_tcp.c, - plugins/netutils.c: Corrections to get code to compile on systems - without IPv6 support - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@574 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: Added check_simap & check_spop to - check_tcp_programs - If someone knows how to make this conditional in the Makefile only if - being compiled with SSL I think this is the only way to make it better - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@573 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-30 Ton Voon - - * plugins/check_disk.c: Fixed support for "check_disk warn crit [path]" - with thresholds at used levels - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@572 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-29 Jeremy T. Bouse - - * configure.in, plugins/check_ldap.c: Included patch for check_ldap from - Patch #753621 by Ziya Suzen - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@571 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c, plugins/check_tcp.c: Changed usage output to - show -4 and -6 are mutually exclusive. You can only - use one or the other but not both. The last one used will win out. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@570 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c, plugins/netutils.c: check_ping is now coded with - -4 & -6 options to call PING or PING6 command - netutils modified to verify hosts based on address_family setting when used - with -4 or -6 options. is_inet_addr() will not be tested if -6 is - used and is_inet6_addr() will not be tested if -4 is used. Also the - is_hostname() will use the address_family value to resolve hostnames - only if IPv6 support is available otherwise defaults to AF_INET. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@569 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ssh.c, plugins/check_tcp.c, plugins/netutils.c, - plugins/netutils.h: Added address_family extern int variable to netutils - to allow for -4 & -6 - options for explicit connection protocol - Added support for -4 & -6 options to check_ssh and check_tcp for testing - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@568 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-29 Ton Voon - - * plugins/check_nwstat.c: Added NLM test (Phil Randal) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@567 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_swap.c: Corrected reported size for PROC_MEMINFO systems - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@566 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/sfwebcron: Fixed so goes to correct web area - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@565 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/sfwebcron: New tool to run on shell.sf.net to update the dev - guidelines - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@564 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/makefile: Fixed makefile - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@563 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-27 Jeremy T. Bouse - - * plugins/netutils.c: Modified my_connect to include ai_socktype in the - hints to be compliant with - RFC3493 as pointed out by Janos Mohacsi. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@562 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-27 Ton Voon - - * configure.in, plugins/check_swap.c: Support for swap -s for solaris. - Also changes size of swap to MBs through - a conversion amount in configure. Possible breakage on other OSes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@561 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/makefile: Remove if which check - done in tools/setup instead - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@560 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/setup: Fiddling as Solaris' which command is broken - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@559 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-26 Ton Voon - - * plugins/check_disk.c: Fixed different thresholds if using exclude - lists - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@558 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-25 Ton Voon - - * plugins/check_disk.c: Support for different thresholds for different - filesystems - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@557 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: Removed -d option and just check against -p - parameter - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@556 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: Report errors if path specified not found - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@555 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: Problems compiling on SunOS 5.6 with gcc 2.8.1. - Fixed by specifying - floating variables, rather than letting asprintf work it out - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@554 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-21 Karl DeBisschop - - * plugins/Makefile.am: soalris 8 needs 'ln -s -f' instead of 'ln -sf' - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@552 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: add remaining URI_PATH chars per RFC 2396 - remove '-' from URI_PORT - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@549 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-12 Jeremy T. Bouse - - * command.cfg.in: Renamed duplicate check_snmp command definitions to be - unique - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@548 f882894a-f735-0410-b71e-b25c423dba1c - - * command.cfg.in, configure.in: Made the two check_ifoperstatus commands - unique to remove conflicts - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@547 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-11 Karl DeBisschop - - * plugins/check_http.c: fix URI_PATH to allow ?&#: (more still should be - allowed) - fix class to be POSIX compliant - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@546 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-10 Karl DeBisschop - - * contrib/urlize.pl: add comment about shell quote removal to address - https://sourceforge.net/tracker/index.php?func=detail&aid=661916&group_id=29880&atid=397597 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@544 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/urlize.c: add note about shell quote removal to address - https://sourceforge.net/tracker/index.php?func=detail&aid=661916&group_id=29880&atid=397597 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@543 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-08 Ton Voon - - * configure.in: Fixed quoting on SWAP_FORMAT - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@540 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Support for OpenBSD 3.2 & 3.3 ps (Julien Touche) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@539 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-07 Subhendu Ghosh - - * plugins/check_real.c: \r\n patch from Mathias - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@537 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-04 Ton Voon - - * plugins/check_disk.c: Argument to asprintf in wrong order - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@533 f882894a-f735-0410-b71e-b25c423dba1c - - * pkg/solaris/solpkg: Remove /usr as well. Maybe this is best done by - changing BASEDIR to - configure's prefix? - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@532 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-02 Karl DeBisschop - - * plugins/check_tcp.c: finish recv() loop when stream GT or EQ maxbytes - (was GT) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@531 f882894a-f735-0410-b71e-b25c423dba1c - -2003-06-01 Karl DeBisschop - - * plugins/check_tcp.c: allow user to limit number of bytes fetched - fix some doco (wait is now delay, server_quit was not shown) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@529 f882894a-f735-0410-b71e-b25c423dba1c - -2003-05-31 Karl DeBisschop - - * plugins/check_dns.c: first revised patch failed to trap the "break" in - while() - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@526 f882894a-f735-0410-b71e-b25c423dba1c - -2003-05-27 Stanley Hopcroft - - * contrib/check_sap.sh: check_sap.sh plugin to check SAP /R3 servers - from Karel Salavec and Tom De Blende. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@523 f882894a-f735-0410-b71e-b25c423dba1c - -2003-05-26 Stanley Hopcroft - - * contrib/check_axis.sh, contrib/check_mssql.sh: Revisions to Tom De - Blende contributed plugins: check_axis.sh and check_mssql.sh - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@522 f882894a-f735-0410-b71e-b25c423dba1c - -2003-05-17 Ton Voon - - * plugins/t/check_ftp.t: Fixed test (Mathew Ericson - 738609) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@521 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_load.t: Fixed tests (Mathew Ericson - 738607) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@520 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_procs.t: Fixed test commands (Mathew Ericson - 738605) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@519 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_http.t: Fixed tests (Mathew Ericson - 738608) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@518 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/t/check_tcp.t: Fixed tests (Mathew Ericson - 738604) - CV: ---------------------------------------------------------------------- - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@517 f882894a-f735-0410-b71e-b25c423dba1c - -2003-05-16 Subhendu Ghosh - - * plugins-scripts/check_ntp.pl: bug fix - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@515 f882894a-f735-0410-b71e-b25c423dba1c - -2003-05-14 Ton Voon - - * plugins/negate.c: Added examples - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@514 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_mailq.pl: Added postfix support (Thomas Nilsen - - 735218) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@513 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nwstat.c: Added DSVER and UPTIME checks (Phil Randal - - 737617) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@512 f882894a-f735-0410-b71e-b25c423dba1c - - * pkg/solaris/solpkg: Typo - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@511 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/.cvsignore: Ignore developer-guidelines.html as generated from - docbook - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@510 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am, pkg/solaris/pkginfo.in, pkg/solaris/solpkg: Remove - dependency on gnu make - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@509 f882894a-f735-0410-b71e-b25c423dba1c - -2003-05-13 Ton Voon - - * doc/developer-guidelines.sgml: Updated docs to include comments, - contrib->main, getopts_long and - verbose output levels - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@508 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/sfsnapshot: Calls tools/setup and creates a README for the - snapshot directory - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@507 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/developer-guidelines.html, doc/makefile, tools/setup: The - developer-guidelines.html file is now generated from the sgml file - by docbook2html at tools/setup time - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@506 f882894a-f735-0410-b71e-b25c423dba1c - -2003-05-13 Stanley Hopcroft - - * contrib/tarballs/hopcroft-plugins.tar.gz: Removed - contrib/tarballs/hopcroft-plugins.tar.gz. This is archaic, - anachronistic, unmaintained and humblingly embarrassing. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@505 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_mssql.sh: check_mssql.sh. A new plugin from Mr T DE - BLENDE to check MS SQLServer databases. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@504 f882894a-f735-0410-b71e-b25c423dba1c - -2003-05-09 Karl DeBisschop - - * plugins/check_http.c: fix error when server closes connection - immediately - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@503 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: cause snmpget try try for 1 second less than the - timeout (allowing plugin to force close if needed) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@501 f882894a-f735-0410-b71e-b25c423dba1c - -2003-05-07 Jeremy T. Bouse - - * plugins/check_ping.c: Modified check_ping to handle IPv6 as well as - IPv4 ICMP checks using the - PING6_COMMAND determined during the configure script execution. As - USE_IPV6 may be defined and PING6_COMMAND is not defined if there is not - IPv6 TCP stack available when configure is run I condition it off - PING6_COMMAND existing to remove build errors for being undefined. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@500 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-25 Subhendu Ghosh - - * plugins-scripts/check_ntp.pl: corrected output units - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@499 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-23 Karl DeBisschop - - * plugins/check_http.c: update to RFC1123 hostname specs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@498 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-17 Karl DeBisschop - - * nagios-plugins.spec.in: add check_nt, drop check_vsz - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@497 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dig.c, plugins/check_tcp.c, plugins/check_users.c: code - cleanup to clear strict compiler warnings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@496 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dig.c, plugins/check_tcp.c, plugins/netutils.c: code - cleanup to clear strict compiler warnings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@495 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-16 Subhendu Ghosh - - * plugins/check_real.c: reset to old behavior of not checking stream by - default - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@493 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-13 Subhendu Ghosh - - * plugins/check_hpjd.c: reduce compiler warning between gcc3 and gcc2.96 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@492 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins-scripts/utils.pm.in: update for check_mailq - - qmail support - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@491 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_mailq.pl: Added sendmail multi-queue support - (Canau), merged qmail support (Schmid) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@490 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-11 Ton Voon - - * plugins/check_procs.c: Match -a STRING anywhere in ps args (Laurent - Vaslin - 719783) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@488 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-11 Subhendu Ghosh - - * plugins-scripts/check_ifstatus.pl: added feature -u (list of unused - ifIndex) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@487 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ifstatus.pl: bug 691412, added feature -x (list - of excluded ifTypes) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@486 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_hpjd.c: patch 698384 - order of args to snmpget + print - a bit of stderr - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@485 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-09 Karl DeBisschop - - * plugins/check_hpjd.c, plugins/check_http.c, plugins/check_nt.c: - cleanup to suppress various strict compiler warnings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@483 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/common.h: rewrite #elif to be compatible with traditional C - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@482 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: check_game needs popen.c now - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@481 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-08 Ton Voon - - * command.cfg.in: Updated command for new check_procs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@479 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_hpjd.c, plugins/check_nt.c: Changed // to /* */ comments - as some compilers do not like them - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@478 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-08 Stanley Hopcroft - - * contrib/check_axis.sh: check_axis.sh (Axis 5xx print servers) from Tom - De Blende - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@477 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-07 Ton Voon - - * plugins/check_procs.c: Fixed zombie processes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@476 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Missed some PS_FORMAT strings - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@475 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/Makefile.am, plugins/check_nagios.c, - plugins/check_procs.c, plugins/check_vsz.c: Souped up check_procs with - different metrics - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@474 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: Removed unnecessary regex array - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@472 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-07 Karl DeBisschop - - * plugins/check_http.c: ste timeout one second greater than critical - time - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@471 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_game.c: had been grandfathered ibto core, finally use - normal getopts, add options for player, max-player array positions - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@470 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-03 Ton Voon - - * plugins-scripts/check_oracle.sh: Cleaned up cache output - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@469 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-01 Ton Voon - - * plugins-scripts/check_oracle.sh: Fixed sqlplus calls and rearranged - parameters for --tablespace & --cache - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@468 f882894a-f735-0410-b71e-b25c423dba1c - -2003-04-01 Karl DeBisschop - - * configure.in: remove PATH_PROG call for autoconf/automake components - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@467 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-31 Karl DeBisschop - - * plugins/check_disk.c: checkpoint - supresses iso9660 - adds option for checking only local - adds choice of scale factor - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@466 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-27 Ton Voon - - * plugins/check_nwstat.c: Extra Netware checks (Patch 710247 - Dietmar - Ruzicka) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@465 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-26 Ton Voon - - * configure.in: ipv6 check requires unistd.h for Darwin - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@464 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/check_procs.c: Removal of ps_raw and ps_vars - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@463 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nagios.c: Uses same ps command as check_procs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@462 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-25 Karl DeBisschop - - * .cvsignore: subst is no longer used - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@461 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-24 Jeremy T. Bouse - - * .cvsignore, Makefile.am: Better stripping of prefix for Solaris - package install needs to remove - /usr/local as package installs there by default - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@460 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am, pkg/solaris/.cvsignore, pkg/solaris/pkginfo.in, - plugins/check_disk.c: Minor changes to build for Solaris packages - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@459 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-24 Ton Voon - - * plugins/check_procs.c: Use max_state - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@458 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/mail_error, tools/sfsnapshot: PATH set in correct place and - extra comments - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@457 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/mail_error, tools/sfsnapshot: Bug fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@456 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/mail_error: Sends email if non-zero return code from command - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@455 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/sfsnapshot: Error code depending on number of files generated - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@454 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/ls-mntd-fs.m4: Using coreutils 4.5.11 version to fix Darwin - problem - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@453 f882894a-f735-0410-b71e-b25c423dba1c - - * REQUIREMENTS: Add NSClient requirement for check_nt - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@452 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nt.c: Reference to web site to get NSClient - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@450 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-23 Jeremy T. Bouse - - * Makefile.am, autogen.sh, configure.in, lib/Makefile.am, - pkg/solaris/pkginfo.in, pkg/solaris/solpkg: Solaris package build system - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@449 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-23 Karl DeBisschop - - * plugins/check_disk.c: can once again exclude indiviual path/partitions - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@448 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: add -X to exclude FS type, now works with more - than one path/dev specified - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@447 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-22 Karl DeBisschop - - * plugins/utils.c: declaration must precede printf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@446 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-21 Karl DeBisschop - - * plugins/check_disk.c: checkpoint, allows selecting devices and paths - now - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@444 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: instructions for posting plugin version number - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@443 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-19 Karl DeBisschop - - * plugins/check_by_ssh.c: allow to specify -1 and -2 for protocol - version - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@442 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c, plugins/utils.h: make state_text a function - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@440 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/mountlist.c, plugins/check_disk.c: check_disk working with - mountlist.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@439 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am, configure.in: subst.* was replaced by dist-hook - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@438 f882894a-f735-0410-b71e-b25c423dba1c - - * subst.in, subst.sh: these were replaced by dist-hook - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@437 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-18 Karl DeBisschop - - * configure.in: running the AFS macro causes newer AC/AM to barf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@436 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: afs checking - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@435 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/afs.m4, lib/ls-mntd-fs.m4: use AC_DEFINE_UNQOUTED - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@434 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/ls-mntd-fs.m4: stop warning on autoheader 2.13 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@433 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/netutils.c, plugins/netutils.h: common.h was doubly included - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@432 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/common.h: use enum instead of define, remove some cruft from - old snprintf implementation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@431 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, lib/Makefile.am, plugins/check_disk.c: use GNU fileutils - for check_disk - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@430 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/afs.m4, lib/fstypename.m4, lib/fsusage.c, lib/fsusage.h, - lib/fsusage.m4, lib/ls-mntd-fs.m4, lib/mountlist.c, lib/mountlist.h: - from GNU fileutils for check_disk - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@429 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-17 Ton Voon - - * plugins-scripts/check_oracle.sh: Allow default Oracle home from oratab - (reported by Walbert Oberngruber) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@428 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-16 Jeremy T. Bouse - - * configure.in: Modified to automatically enable getaddrinfo emulation - if lwres is not used and - getaddrinfo is not found in the system. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@427 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c, plugins/netutils.c, plugins/netutils.h: Applied - patch #660973 for tcp refusals - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@426 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-15 Jeremy T. Bouse - - * configure.in: Left over debug define - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@425 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, lib/Makefile.am, plugins/Makefile.am, - plugins/getaddrinfo.c, plugins/getaddrinfo.h, plugins/gethostbyname.c, - plugins/gethostbyname.h, plugins/netutils.c, plugins/netutils.h, - plugins/utils.c, plugins/utils.h: Spent the day working on backwards - compatability using getaddrinfo() - Moved getaddrinfo.? and gethostbyname.? from lib/ to plugins/ due to - problems with compiling into the libnagiosplug.a as it required linking - against socket libraries which are unneeded except for network based - plugins. - This code should hopefully happily work for all systems and has been tested - prior to commit on Debian GNU/Linux, SPARC Solaris 7 and SPARC Solaris 9. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@424 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-14 Karl DeBisschop - - * plugins-scripts/check_ntp.pl: add timeout, fix taint chacking diom - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@423 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-13 Jeremy T. Bouse - - * .cvsignore, configure.in, lib/Makefile.am: Working out issues with - getaddrinfo emulation build environment - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@422 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-13 Ton Voon - - * plugins/check_dns.c, plugins/check_http.c, plugins/check_tcp.c: Strip - leading spaces in perf data - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@421 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: Perf data without leading spaces and fix ANSI C - complaint about \n - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@420 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: Fix compiler warnings re progname - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@419 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-13 Jeremy T. Bouse - - * depcomp: Removed auto-tools script that automake adds - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@418 f882894a-f735-0410-b71e-b25c423dba1c - - * .cvsignore, configure.in, install-sh, missing, mkinstalldirs, - plugins/.cvsignore, plugins/Makefile.am, plugins/common.h, - plugins/netutils.h, plugins/popen.h, plugins/utils.c, plugins/utils.h, - plugins/version.h.in: Updated cvs ignore files to reflect changes - Moved header files from being ran through configure to standard - Removed auto-tools scripts that get added by automake - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@417 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-13 Karl DeBisschop - - * plugins/negate.c: negate must be POSIXly correct in handling options, - else wrapped options get passed to it - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@416 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-13 Jeremy T. Bouse - - * configure.in: Removed --with-ipv6 configure option so it determines - IPv6 availablity - completely on it's own per suggestion by Karl - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@415 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-12 Jeremy T. Bouse - - * plugins/check_tcp.c: doco standarization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@413 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins-scripts/subst.in: Just a lil namespace clean-up - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@412 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Minor fix to --with-ipv6 behavior - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@411 f882894a-f735-0410-b71e-b25c423dba1c - - * autogen.sh, configure.in, plugins/utils.c, plugins/utils.h.in: Added - autogen.sh script that rebuilds using autotools and runs configure - Modified configure.in to include some debug build option info at the end - of the scripts execution. Can be removed by release time. - Modified configure.in to include a --with-ipv6 option - Default build is without IPv6 support now to enable you need to use the - --with-ipv6 command line option to configure. - Modified plugins/utils.* to use USE_IPV6 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@410 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-12 Karl DeBisschop - - * plugins/check_disk.c: doco standarization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@409 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: errors for statfs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@408 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: comment/doco cleanup for embeeded doc work, - control STMP command via options instead of defines - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@407 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: version increase, statfs work - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@406 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-12 Jeremy T. Bouse - - * plugins/.cvsignore: Add some more extra plugins - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@405 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: Clean up of output from plugin - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@404 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dig.c, plugins/check_http.c, plugins/check_ldap.c, - plugins/check_udp.c: Code clean-up - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@403 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: Code cleanup - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@402 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-12 Ton Voon - - * plugins/check_dns.c: Removed is_host checks to speed up code. Fixed - timings so no spaces - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@401 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dns.c: Timings in milliseconds and nicer output - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@400 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-11 Ton Voon - - * plugins-scripts/.cvsignore: Add script ignores - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@399 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/negate.c: Remove getopt_long checks - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@398 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/negate.c: Fixed reading too many argv parameters and changed - to asprintf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@397 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_fping.c, plugins/check_hpjd.c, - plugins/check_http.c, plugins/check_ide-smart.c, plugins/check_ldap.c, - plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c, - plugins/check_mysql.c, plugins/check_nagios.c, plugins/check_nt.c, - plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, - plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c, - plugins/check_users.c, plugins/check_vsz.c: Remove getopt_long checks - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@396 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-11 Jeremy T. Bouse - - * configure.in: Fixed some ping6 variables - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@395 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Minor change to Karl's statfs check - Inclusion of ICMPv6 ping tests to define PING6_COMMAND - Minor fix to ps syntax checking to fix bug I introduced last nite - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@394 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am, configure.in: Removed acconfig.h from EXTRA_DIST - Fixed problem with test in SWAP_FORMAT and SWAP_COMMAND - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@393 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-11 Karl DeBisschop - - * configure.in, plugins/check_disk.c: use statfs for check_disk (still - needs fs scan) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@392 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-11 Jeremy T. Bouse - - * acconfig.h, configure.in: Finishing clean-up of configure.in - Removing acconfig.h as it's no longer needed - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@391 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-10 Jeremy T. Bouse - - * acconfig.h, configure.in: Cleaned up configure for PS and PING to - produce cleaner config.h - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@390 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-09 Jeremy T. Bouse - - * plugins/common.h.in: Make sure sys/socket.h is explicitly included if - HAVE_SYS_SOCKET_H is defined - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@389 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-09 Ton Voon - - * plugins/check_disk.c: Implement error-only option for check_disk (Ian - Duggan) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@388 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-08 Ton Voon - - * plugins/check_disk.c: Fix AIX /proc filesystem (Ian Duggan) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@387 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: snprintf checks in configure.in like samba - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@386 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-08 Jeremy T. Bouse - - * plugins/check_dns.c: Modified code to call is_addr() rather than - is_dotted_quad() with the - new AF indepdent function routines - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@385 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/netutils.c, plugins/netutils.h.in, plugins/utils.c, - plugins/utils.h.in: AF indepedent routines introduced. - Modifed process_request() & my_connect() parameters to make 'proto' type - 'int' rather than 'char *' and use IPPROTO_* POSIX values. - Removed is_dotted_quad() & my_inet_aton() functions - Added is_addr(), is_inet_addr(), is_inet6_addr() and resolve_host_or_addr() - functions to check whether it is a valid IP address - Modified is_host() to call is_addr() and is_hostname() - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@384 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-08 Ton Voon - - * tools/sfsnapshot: Need to remove configure.in - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@383 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/Makefile.am, lib/snprintf.c, plugins/Makefile.am: Move snprintf - into lib - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@382 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/sfsnapshot: Have to run through whole automake procedure as - datestamp in RELEASE variable - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@381 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/sfsnapshot: Added automake parameters for config.sub and - config.guess - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@380 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/sfsnapshot: Fixed production OUT variable - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@379 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/sfsnapshot: Adds MD5SUM file, creates multiple branch snapshots - and doesn't - rerun configure/automake/autoconf unnecessarily - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@378 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am: Use Makefile's variables (to support a shortcut in - sfsnapshot) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@377 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-07 Jeremy T. Bouse - - * configure.in, lib/Makefile.am, lib/getaddrinfo.c, lib/getaddrinfo.h, - lib/gethostbyname.c, lib/gethostbyname.h, plugins/check_pgsql.c, - plugins/common.h.in, plugins/netutils.c, plugins/netutils.h.in, - tools/setup: Added getaddrinfo.[ch] & gethostbyname.[ch] to provide - RFC2553 functions - if missing in system libs and lwres not present - Moved all references to netdb.h and sys/socket.h into common.h.in - Modified automake call in tools/setup to include adding missing files - so config.sub and config.guess will be available - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@376 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-07 Karl DeBisschop - - * plugins/check_smtp.c: millisecond timing and perf data - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@374 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: whole timer loop was on the wrong side of - connection close code - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@373 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_udp.c: fix for -H invocation of hostname - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@372 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-06 Jeremy T. Bouse - - * acinclude.m4, configure.in: Adds --with-lwres and - --enable-emulate-getaddrinfo but are not used in any of - the code at this time. Has a check for IPv6 support but only runs if using the - emulate-getaddrinfo routines, this needs to be modified. - !!! I need input from results of this run on various platforms to see what - results are seen in plugins/config.h so please help test !!! - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@371 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-05 Karl DeBisschop - - * plugins-scripts/check_ntp.pl: add "m" to regex for minutes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@370 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-05 Ton Voon - - * plugins/check_http.c: check_http min size option (680467 - Dave Viner) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@365 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-04 Ton Voon - - * plugins/check_nt.c: Make output message for CPU Load a bit nicer - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@364 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/sfsnapshot: To create nagiosplug daily snapshots on SF - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@363 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-03 Karl DeBisschop - - * plugins/check_ping.c: accept comma-delimted list of hosts for checking - if a multihomed host is alive - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@362 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-02 Karl DeBisschop - - * plugins/check_ping.c: add logic to check multiple servers - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@361 f882894a-f735-0410-b71e-b25c423dba1c - - * ChangeLog: update from CVS - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@360 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, nagios-plugins.spec.in: adjustments to remove beta - tagging - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@359 f882894a-f735-0410-b71e-b25c423dba1c - - * ChangeLog: update from CVS - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@358 f882894a-f735-0410-b71e-b25c423dba1c - -2003-03-01 Karl DeBisschop - - * nagios-plugins.spec.in: we were missing some docs in the RPM - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@357 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-23 Subhendu Ghosh - - * REQUIREMENTS: Novell requirements - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@356 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_bgpstate.pl: removed community string in CRIT message - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@355 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-22 Ton Voon - - * configure.in: Solaris and Unixware labels round the wrong way for swap - command - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@354 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-22 Karl DeBisschop - - * Makefile.am: provide target for nagios-plugins.spec - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@353 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am: add CODING FAQ LEGAL to distribution tarball - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@352 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-21 Ton Voon - - * plugins/check_http.c: Fixed coredump with unallocated string - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@351 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dns.c: Strip leading spaces on dns return value (689563 - - Simon L Nielsen) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@350 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-20 Karl DeBisschop - - * plugins-scripts/check_disk_smb.pl: option regexs need to include ^ and - $ - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@348 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-19 Ton Voon - - * lib/Makefile.am: Removing getloadavg.m4 from dist - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@347 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-19 Karl DeBisschop - - * INSTALL, configure.in, lib/getloadavg.m4, tools/setup: remove - getloadavg.m4 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@346 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-19 Ton Voon - - * Makefile.am, configure.in, lib/Makefile.am, lib/getloadavg.c, - lib/getloadavg.m4, plugins/Makefile.am: Move getloadavg to lib - directory. Must run "aclocal -I lib" - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@345 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-18 Karl DeBisschop - - * plugins/check_pgsql.c: spurious backslash escape - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@344 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: set tag for beta3, fix pgsql detection - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@343 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_udp.c: never exited getopt loop - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@342 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: failed if header was more than 1023 bytes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@341 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-18 Ton Voon - - * plugins/check_load.c: Fixed the output messages (Bug 688729 - Jayjay) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@340 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am: Add SUPPORT file to distribution - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@339 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: Fixed compiler warning and increased the SSL - random key for a Solaris PRNG problem - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@338 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-18 Karl DeBisschop - - * configure.in: remainder of ps fix for UnixWare, and move [] in if/elif - to indicate m4 quoting instead of test invocation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@337 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-18 Subhendu Ghosh - - * contrib/check_appletalk.pl: Appletalk ping plugin - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@336 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: OID type prefix patch [Patches-679403] - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@335 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_swap.c: support for Large swap sizes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@334 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: regex fix to catch *BSD swapinfo and not HP-UX error and - memory/file swap in addition to device for HP-UX - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@333 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-17 Karl DeBisschop - - * configure.in: typo in testing uname output - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@332 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: ping and swap for unixware - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@331 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: library search dirs are part of LDFLAGS - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@330 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-17 Subhendu Ghosh - - * REQUIREMENTS: location updates - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@329 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-16 Ton Voon - - * plugins/Makefile.am: Fixed dependencies for check_nt - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@328 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nt.c: Coredump if no variable set (reported by Marc C. - Poulin) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@327 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-16 Ethan Galstad - - * contrib/check_dhcp.c: Interface patch byor Clemens Resen - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@326 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-16 Subhendu Ghosh - - * plugins-scripts/check_ntp.pl: all alphanumeric accepted for refid on - ntpq - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@325 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-12 Ton Voon - - * plugins/.cvsignore: Added extra plugins - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@324 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/.cvsignore: Add ignore files - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@323 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/negate.c: Remove unnecessary \ and fix coredump with no - parameters specified - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@322 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: Remove unnecessary \ - complaints from Tru64's - cc compiler - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@321 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Inadequate quoting for PS_FORMAT & removal of grep "*** - for Tru64 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@320 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-12 Subhendu Ghosh - - * command.cfg.in: forced ntpq jitter check - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@319 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ifoperstatus.pl: added timeout alarm - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@318 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ntp.pl: fixed regex for stratum1 peer, added - logic for failed ntpq call(e.g. sntp host) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@317 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-11 Ton Voon - - * plugins/check_mysql.c: Patch by Dave Viner for seg fault on RH 7.3 - (655903) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@316 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-10 Ton Voon - - * configure.in: Update with references to REQUIREMENTS - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@315 f882894a-f735-0410-b71e-b25c423dba1c - - * Requirements: Remove file, superceded by REQUIREMENTS - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@314 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/getopt.c, plugins/getopt.h, plugins/getopt1.c: Removing getopt - files - now in new lib directory - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@313 f882894a-f735-0410-b71e-b25c423dba1c - - * lib/Makefile.am, lib/getopt.c, lib/getopt.h, lib/getopt1.c: New - directory for common library files - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@312 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/common.h.in: Added in a define for HAVE_GETOPT_H for backwards - compatibility - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@311 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: Remove unnecessary getopt references and link in - lib directory - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@310 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Removing checks for getopt.h - now always available. - Also support lib dir - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@309 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am: Adding lib directory for getopts change - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@308 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Fixed Tru64 ps command (Bug 669585 - Paula Arnold) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@307 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-10 Jeremy T. Bouse - - * plugins/check_ssh.c: Added argc checks before attempting to access - argv[] - - Corrected return codes and output - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@306 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ssh.c: Revised code to use resolving and connection code - in utils.c and - netutils.c rather than its own functions. - Corrected code to properly handle input of server hostname and port on - commandline without option flags. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@305 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-10 Karl DeBisschop - - * contrib/check_fping_in.c: this plugin is in core as check_fping - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@304 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-09 Jeremy T. Bouse - - * tools/setup: Reordered program calls so autoheader was called before - automake thus - getting rid of errors for header files not being present when automake - was called. Also puts it inline with documentation in - INSTALL & INSTALLING - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@303 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-09 Subhendu Ghosh - - * contrib/check_adptraid.sh, contrib/check_compaq_insight.pl, - contrib/check_file_age.pl: new plugins - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@302 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/README.TXT: file rename - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@301 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_remote_nagios_status.pl, contrib/check_wins.pl, - contrib/sched_downtime.pl: more contribs - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@300 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/tarballs/fetchlog-0.92.tar.gz, - contrib/tarballs/fetchlog-0.94.tar.gz: new version - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@299 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-09 Karl DeBisschop - - * CODING, README: spell check - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@298 f882894a-f735-0410-b71e-b25c423dba1c - - * FAQ: spell check - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@297 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-09 Subhendu Ghosh - - * SUPPORT: ispell - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@296 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-08 Karl DeBisschop - - * plugins/check_pgsql.c: use enum instead of define - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@295 f882894a-f735-0410-b71e-b25c423dba1c - - * FAQ: add item on submitting new plugins - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@294 f882894a-f735-0410-b71e-b25c423dba1c - - * SUPPORT: suggest minimum standards for support requests - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@293 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: submit request with one send - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@292 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-05 Karl DeBisschop - - * configure.in: fix for SSL build on RedHat rawhide - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@291 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dns.c: allow check to proceed using servers from - resolv.conf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@290 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: fix segfault due to bad asprintf invocation - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@289 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-04 Subhendu Ghosh - - * plugins-scripts/Makefile.am: install user:grp perms [patch 679703 - -Detlef Boehm] - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@288 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_flexlm.pl: lmstat output update - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@287 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ntp.pl: corrected ntpdate offset to seconds - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@286 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-03 Ton Voon - - * plugins/check_snmp.c: Avoid core dump with null or invalid data - (679400 - Mathieu Masseboeuf) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@285 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: Patch for Mac OS X compile (652080 - Ton Voon) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@284 f882894a-f735-0410-b71e-b25c423dba1c - -2003-02-03 Subhendu Ghosh - - * contrib/tarballs/check_cit.tgz: Citrix plugin - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@283 f882894a-f735-0410-b71e-b25c423dba1c - - * command.cfg.in: more sample command configurations - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@282 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins-scripts/check_ntp.pl, - plugins-scripts/utils.pm.in: change ntpdc to ntpq (Jonathan Rozes,Thomas - Schimpke, bug-656237 ) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@281 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ntp.pl: patch for desync peer and ntpdate (James - Fidell) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@280 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ifstatus.pl: bugfix [bug 651021 mperry2] - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@279 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_hpjd.c: added default community [bug-patch #600349 - jbaumgartner] - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@278 f882894a-f735-0410-b71e-b25c423dba1c - -2003-01-31 Ton Voon - - * plugins/check_procs.c: Fix for zombie processes on Solaris (Bug 677803 - - Matthew Brown) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@277 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nt.c: Reapply all asprintf calls. Fix for %% problem - with -l flag. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@276 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nt.c: Removed all unnecessary asprintf calls. Replaced - with original check_nt.c - to minimise amount of changes (reported by Reuben Farrelly) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@275 f882894a-f735-0410-b71e-b25c423dba1c - -2003-01-30 Ton Voon - - * plugins/check_nt.c: Added reference to the official NSClient web site - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@274 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_swap.c: Fixed long --allswap option - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@273 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_procs.c: Fixed progname - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@272 f882894a-f735-0410-b71e-b25c423dba1c - -2003-01-29 Ton Voon - - * plugins/check_mrtgtraf.c: Fixed error and success codes (638656 - Paul - Dlug) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@271 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_oracle.sh: Added cache and tablespace check - (621567 - John Marquart) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@270 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am, plugins/check_nt.c: Added in check_nt for bug - 646516 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@269 f882894a-f735-0410-b71e-b25c423dba1c - -2003-01-29 Karl DeBisschop - - * plugins/check_mysql.c: remove incorrect check_disk() declaration - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@268 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ldap.c: fix segfault when argc>=2 and the -H or -b - options are not supplied - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@267 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c: 1.8 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@266 f882894a-f735-0410-b71e-b25c423dba1c - -2003-01-29 Ton Voon - - * plugins/check_http.c: Better error if server requests client based - certificate (609382 - Olaf Greis) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@265 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_dns_random.pl: Exit code added (604837 - Lachlan - Cameron-Smith) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@264 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_oracle.sh: Added dummy login test (650970 - Ton - Voon) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@263 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_vsz.c: Error when no params passed, better invalid - params message (652086 - Ton Voon) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@262 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_procs.c: Fixed NULL status in Solaris (644783 - Fabian - Pehla) - Fixed -p options (652082 - Ton Voon) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@261 f882894a-f735-0410-b71e-b25c423dba1c - -2003-01-28 Karl DeBisschop - - * contrib/checkciscotemp.pl: typo: had commented use Net::SNMP for - testing - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@260 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_real.c: make sure host_name is set and remove NULL - string inits that can lead to segfaults - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@259 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_mysql.c: missed argc check on port parameter - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@258 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/checkciscotemp.pl: split and validate input more robustly - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@257 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: remove NULL string inits that can lead to - segfaults - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@256 f882894a-f735-0410-b71e-b25c423dba1c - -2003-01-28 Ton Voon - - * configure.in: ps support for Darwin / MacOSX - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@255 f882894a-f735-0410-b71e-b25c423dba1c - -2003-01-27 Karl DeBisschop - - * plugins/check_http.c: do not pass host if none is provided - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@254 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: we were sending extra CRLF - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@253 f882894a-f735-0410-b71e-b25c423dba1c - -2003-01-19 Karl DeBisschop - - * plugins-scripts/check_rpc.pl: indicate new default state in - get_rpcinfo, also fix a bunch of indents for consistent format - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@252 f882894a-f735-0410-b71e-b25c423dba1c - -2003-01-17 Subhendu Ghosh - - * plugins-scripts/check_rpc.pl: bug fix for state and opt_c - initialization - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@251 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: Counter32 tag parsing added - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@250 f882894a-f735-0410-b71e-b25c423dba1c - -2003-01-16 Karl DeBisschop - - * plugins/check_mysql.c, plugins/check_pgsql.c: semicolon needed where - progname define was replaced - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@249 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: add option to let regex span newlines - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@248 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_game.c: progname and print_usage need to be defined - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@247 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_radius.c: semicolon needed where praogname define was - replced - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@246 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_hpjd.c: semicolon needed where praogname define was - replced - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@245 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: find kerberos libs in latest Red Hat beta - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@244 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c: restore max() macro - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@243 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: cleanup progname assignment - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@242 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_disk_smb.pl: accept $ for share and \\ for users - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@241 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c: avoid segfault when host is not given - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@240 f882894a-f735-0410-b71e-b25c423dba1c - -2003-01-13 Karl DeBisschop - - * contrib/check_dhcp.c, contrib/check_fping_in.c, contrib/check_rbl.c: - convert PROGANE from a define to a const char - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@239 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c, - plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ldap.c, - plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c, - plugins/check_mysql.c, plugins/check_nagios.c, plugins/check_nwstat.c, - plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c, - plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c, - plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c, - plugins/check_swap.c, plugins/check_tcp.c, plugins/check_time.c, - plugins/check_udp.c, plugins/check_ups.c, plugins/check_users.c, - plugins/check_vsz.c, plugins/negate.c, plugins/urlize.c, - plugins/utils.c, plugins/utils.h.in: convert PROGANE from a define to a - const char - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@238 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/popen.c: change exit status to be POSIX compliant - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@237 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_nagios.c: check for a few null strings, change PROGNAME - from #define to const *char - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@236 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: add options for excluding devices and for - skipping OK devices in summary - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@235 f882894a-f735-0410-b71e-b25c423dba1c - -2003-01-03 Karl DeBisschop - - * plugins/utils.c: protect against some null strings, make formats more - uniform - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@234 f882894a-f735-0410-b71e-b25c423dba1c - -2002-12-19 Karl DeBisschop - - * plugins/check_tcp.c: expect is +OK for SPOP too - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@233 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: server expect not getting set, expect is +OK for - POP - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@232 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: remove spurious CRLF - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@231 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-29 Stanley Hopcroft - - * contrib/check_citrix: New plugin to check the ICA browse service (used - by Citrix Metaframe servers) from - Ed Rolison and Tom De Blende. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@230 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-25 Karl DeBisschop - - * plugins/check_tcp.c: was segfaulting if no dtat was returned - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@228 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-24 Karl DeBisschop - - * tools/snapshot: some fixes needed to move off old devel box - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@227 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/snapshot: make routine snapshots of nagios and plugin CVS to - expand testing - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@226 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-22 Karl DeBisschop - - * plugins/check_ups.c: add replace battery condition, replace unchecked - strcat calls with asprintf (I do not think buffer overflow was possible - here, but lets be consistent) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@225 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: get long args output to work on check_procs by putting - incantations with -w ahead of others - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@224 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: get long args output to work on linux check_procs, - actually works this time (needs OpenBSD testing) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@223 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_procs.c: add a few comments, trap a few place where a - NULL string might have been handled - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@222 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: get long args output to work on linux check_procs (needs - OpenBSD testing) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@221 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-21 Karl DeBisschop - - * plugins/check_dig.c: fix empty output on errors - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@220 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-20 Karl DeBisschop - - * plugins/check_swap.c: add switch to evaluate each swap individually - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@219 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dig.c: fix solaris SEGV, still need to print meaningful - error text - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@218 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c: in short options, t no no argument - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@217 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_dig.c: replace some strcpy with strscpy - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@216 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-19 Karl DeBisschop - - * plugins/Makefile.am: another try at portable symlinking - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@215 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: another try at portable symlinking - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@214 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_time.c: explicitly cast recv() arg2 for SunOS5.6 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@213 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: rewrite of install-exec-hook for solaris - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@212 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-18 Subhendu Ghosh - - * contrib/check_javaproc.pl, contrib/nagios_sendim.pl: javaproc, sendim - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@211 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib-reporting/process_perfdata.pl: New directory to for perfdata - and reporting scripts - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@210 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-18 Karl DeBisschop - - * plugins/check_swap.c: test total swap instead of individual disks - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@209 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: failed to handle multple disks - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@208 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c: more readable max_state() code - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@207 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-16 Karl DeBisschop - - * plugins/Makefile.am: fix too many sources problem for programs tha are - symlinks to check_tcp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@206 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: my take on Subhendu's patches, plus a few - comments for clarity - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@205 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-15 Subhendu Ghosh - - * plugins/check_snmp.c: memory bounds in options, no output comparison - case - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@204 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-15 Karl DeBisschop - - * nagios-plugins.spec.in: make spec work again, now that release is in - source name again - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@203 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: release numbering fix - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@202 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: fix label handling, replace accidentally deleted - elseif l.310 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@201 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-14 Karl DeBisschop - - * Makefile.am, acconfig.h, configure.in, nagios-plugins.spec.in, - plugins/utils.c: fix bug with gettimeofday test, improve version/release - handling, update rpm spec - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@200 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: fix typo in snprintf build - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@199 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: can't drop these sources -- neded for dist - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@198 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: fix build rule for snprintf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@197 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: pagesize count off by one - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@196 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: clean up NULL from status on Solaris - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@195 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: typo in AC_DEFINE of PS_FORMAT for solaris - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@194 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: remove check_nt again - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@193 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: back out last change -- it was only work in - progress - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@192 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am, plugins/check_dns.c, plugins/check_ldap.c, - plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_nwstat.c, - plugins/check_radius.c, plugins/utils.c, plugins/version.h.in: remove - call_getopt and ssprintf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@191 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-13 Karl DeBisschop - - * plugins/check_disk.c, plugins/check_dns.c, plugins/check_fping.c, - plugins/check_hpjd.c, plugins/check_mrtg.c, plugins/check_nwstat.c, - plugins/check_ping.c, plugins/check_vsz.c, plugins/urlize.c, - plugins/utils.c: remove call_getopt and asprintf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@190 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-12 Karl DeBisschop - - * plugins/check_dig.c: cleanup asprintf, old function decls - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@189 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_mysql.c, plugins/check_real.c, plugins/check_ups.c: - remove call_getopt - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@188 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-11 Subhendu Ghosh - - * plugins/check_snmp.c: should use asprintf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@187 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: more snmpv3 patches - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@186 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: long opt for miblist, snmpv3 support (rosenauer) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@185 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: option to specify a miblist - llow - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@184 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: misc doc fix, missing verbose option - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@183 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-09 Karl DeBisschop - - * plugins/check_ups.c, plugins/check_users.c: remove call_getopt - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@182 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_ping.c, - plugins/check_time.c: remove call_getopt - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@181 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: cleaner handling of DEFAULT_PORT - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@180 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: add HPUX swap, try to cleanup getopt processing - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@179 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_snmp.c, - plugins/negate.c, plugins/utils.h.in: define and use usage3 where second - part of message is a an int/char - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@178 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/snprintf.c: HAVE_C99_SNPRINTF is not tested, so remove from - ifdef - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@177 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-08 Karl DeBisschop - - * plugins/check_snmp.c: user reports NULL still getting into asprintf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@176 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_vsz.c: remove call_getopt - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@175 f882894a-f735-0410-b71e-b25c423dba1c - - * acconfig.h, configure.in, plugins/common.h.in, plugins/utils.c, - plugins/utils.h.in: patches required to build on solaris with asprintf - and gettimeofday - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@174 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c, plugins/check_load.c, plugins/check_ping.c, - plugins/check_procs.c, plugins/check_smtp.c, plugins/check_tcp.c: remove - unused variables - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@173 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/oneliners: some useful onliners - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@172 f882894a-f735-0410-b71e-b25c423dba1c - -2002-11-07 Karl DeBisschop - - * plugins/check_snmp.c: bugfixes to command format and (null) text - created by asprintf switch - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@171 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c: remove call_getopt, add [] arougn time - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@170 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: test snprintf function family for ifdefs in snprintf.c - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@169 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-30 Karl DeBisschop - - * plugins/check_tcp.c: replace fixed-lentgh buffer with asprintf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@168 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_udp.c: forgot to remove call_getopt - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@167 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ssh.c, plugins/check_swap.c: forgot to remove - call_getopt declaration - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@166 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: remove call_getopt, fix several buffer overruns - possible due to use of fixed size buffers - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@165 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/setup: debian builds not actively maintained, so suppress error - in setup script - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@164 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-30 Subhendu Ghosh - - * acconfig.h, configure.in, plugins-scripts/Makefile.am, - plugins-scripts/check_mailq.pl, plugins-scripts/utils.pm.in: monitor - mailq - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@163 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-28 Karl DeBisschop - - * plugins-scripts/check_breeze.pl, plugins-scripts/check_disk_smb.pl, - plugins-scripts/check_flexlm.pl, plugins-scripts/check_log.sh, - plugins-scripts/check_ntp.pl, plugins-scripts/check_rpc.pl, - plugins-scripts/check_sensors.sh, plugins-scripts/check_wave.pl: remove - pspace in shebang since no sequent users replied - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@162 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-26 Karl DeBisschop - - * nagios-plugins.spec.in: release should not be in tarball name - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@161 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-25 Karl DeBisschop - - * nagios-plugins.spec.in: tweak source macro - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@160 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: remove check_nt - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@159 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am, plugins/Makefile.am: include getloadavg sources, add some - Solaris pkg build support - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@158 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-22 Karl DeBisschop - - * plugins/check_ssh.c: remove call_getopt, replace ssprintf with - asprintf,better server version reporting - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@157 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: add check_spop - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@156 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_procs.c: remove call_getopt, replace ssprintf with - asprintf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@155 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-22 Subhendu Ghosh - - * contrib/check_procr.sh: From: Jerome Tytgat - checks to see if named - process is running - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@154 f882894a-f735-0410-b71e-b25c423dba1c - - * README, plugins/check_nt.c: check_nt is downloadable from - nsclient.ready2run.nl - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@153 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-21 Karl DeBisschop - - * plugins/check_swap.c: use asprintf instead of ssprintf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@152 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: need to define SOURCES for check_tcp to also - build as check_ftp,check_imap,check_nntp,check_pop - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@151 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c: use asprintf to do strscpy - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@150 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/Makefile.am: roll check_ftp, check_imap, check_pop, and - check_nntp into check_tcp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@149 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ftp.c, plugins/check_imap.c, plugins/check_nntp.c, - plugins/check_pop.c: these are all combined into check_tcp now - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@148 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_load.c: remove broken call_getopt - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@147 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: cleanup process_arguments, print_help, and - print_usage - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@146 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_pgsql.c: now we provide long opts if they do not exist - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@145 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-20 Karl DeBisschop - - * plugins/check_snmp.c: fixed scanning for multiple OIDs, which was not - working - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@144 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: change ssprintf to asprintf - back out change at line 225 in r1.4 - (values were mismatched to format string, so output was nonsense) - (I left a comment showing a construct that should work, but it fails for PHBs: - if my disk gets nearly full, they want 'CRITICAL - 99%' not 'CRITICAL - Gauge32: 99') - (If someine has a rationale for the change, maybe it could be done as an option? - it seems - fairly clear that the Web display should be sensible to PHBs so long as there's no real loss) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@143 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-18 Karl DeBisschop - - * plugins/check_swap.c: remove old call_getopt - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@142 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_load.c: remove old call_getopt code, fix bug taking - single float, allow colon as separators in additin to commas - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@141 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c: handle null src in strscat - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@140 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_tcp.c: millisecond timing - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@139 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.h.in: refine STD_LONG_OPTS - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@138 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: provide on more decimal point printing time - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@137 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_ping.c: remove broken call_getopt stuff - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@136 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-17 Karl DeBisschop - - * plugins/check_tcp.c: using asprintf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@135 f882894a-f735-0410-b71e-b25c423dba1c - - * INSTALL, INSTALLING, tools/setup: revise now that aclocal is remved - from CVS - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@134 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-16 Karl DeBisschop - - * configure.in: need some quoting on ifdef - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@133 f882894a-f735-0410-b71e-b25c423dba1c - - * acinclude.m4, configure.in: finally a working fix for - AM/AC_FUNC_STRTOD nightmare - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@132 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: mismatched quote - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@131 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: mismatched quote - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@130 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: missing commas - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@129 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: complains on paren in comment - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@128 f882894a-f735-0410-b71e-b25c423dba1c - - * acinclude.m4: lost a paren - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@127 f882894a-f735-0410-b71e-b25c423dba1c - - * acinclude.m4: old auto???? has AM_FUNC_STRTOD, now renamed - AC_FUNC_STRTOD - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@126 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c, plugins/utils.c, plugins/utils.h.in: millisecond - timimg where supported - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@125 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, missing: build cleanly on RedHat 8.0 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@124 f882894a-f735-0410-b71e-b25c423dba1c - - * .cvsignore: ignore aclocal.m4 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@123 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: AM_STRTOD was a typo - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@122 f882894a-f735-0410-b71e-b25c423dba1c - - * aclocal.m4: automake invokes acloacl on each run - it cannot be right - to include this - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@121 f882894a-f735-0410-b71e-b25c423dba1c - - * acconfig.h: better checks for vsnprintf stuff - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@120 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins/check_http.c: use asprintf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@119 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c: use asprintf to construct strscat - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@118 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/popen.h.in: timeout interval is extern - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@117 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c, plugins/utils.h.in: start support for gettimeofday - and tv_usec - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@116 f882894a-f735-0410-b71e-b25c423dba1c - - * aclocal.m4: generated with automake 1.6 / autoconf 2.53 (maybe should - not be in CVS, however) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@115 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/snprintf.c: newer snprintf from samba.org - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@114 f882894a-f735-0410-b71e-b25c423dba1c - - * .cvsignore, depcomp: needed for automake 1.6 / autoconf 2.53 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@113 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am: cosmetic line wrap before 80 chars - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@112 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: work with newer automake, begin swithc to asprintf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@111 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-15 Subhendu Ghosh - - * plugins-scripts/check_ifoperstatus.pl: new exit states, more - conditional checking - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@110 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-07 Subhendu Ghosh - - * plugins/check_dns.c: patch for expected IP address - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@109 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-07 Karl DeBisschop - - * plugins/popen.c: make sure we do not run past the end of an - unterminated string - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@108 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/negate.c: use asprintf, inhibit splint warning - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@107 f882894a-f735-0410-b71e-b25c423dba1c - -2002-10-05 Karl DeBisschop - - * getloadavg.m4, plugins/getloadavg.c: lets use library instead od - inconsistent command line interfaces - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@106 f882894a-f735-0410-b71e-b25c423dba1c - -2002-09-26 Karl DeBisschop - - * plugins/urlize.c: use ssprintf instead of sprintf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@105 f882894a-f735-0410-b71e-b25c423dba1c - -2002-09-25 Karl DeBisschop - - * plugins/check_http.c: incorporate comment on my_recv from Russell - Scibetti - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@104 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c: incorporate comments from Russell Scibetti - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@103 f882894a-f735-0410-b71e-b25c423dba1c - -2002-09-24 Karl DeBisschop - - * plugins/check_http.c: replace remaining occurences of sprintf with - snprintf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@102 f882894a-f735-0410-b71e-b25c423dba1c - -2002-09-16 Karl DeBisschop - - * INSTALL: needed for latest autoconf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@101 f882894a-f735-0410-b71e-b25c423dba1c - - * Makefile.am, aclocal.m4, configure.in, nagios-plugins.spec.in: finish - ckleanup of rpm spec porcessing - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@100 f882894a-f735-0410-b71e-b25c423dba1c - -2002-09-14 Karl DeBisschop - - * nagios-plugins.spec.in: complete spec based on confugure.in - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@99 f882894a-f735-0410-b71e-b25c423dba1c - - * make-tarball, rpm: automake makes the dist tarball, rpmbuild -ta makes - the rpm - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@98 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_http.c, plugins/check_tcp.c: time data in performance - string - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@97 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_log.sh: patch from Matthew Peters - , plus turned up a few bugs on my own - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@96 f882894a-f735-0410-b71e-b25c423dba1c - -2002-09-12 Karl DeBisschop - - * plugins/Makefile.am: negate wrapper - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@95 f882894a-f735-0410-b71e-b25c423dba1c - -2002-09-08 Karl DeBisschop - - * plugins/negate.c: wrapper to invert return status - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@94 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/utils.c: clears up warnings in splint - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@93 f882894a-f735-0410-b71e-b25c423dba1c - -2002-09-06 Karl DeBisschop - - * plugins-scripts/check_rpc.pl: case on key to ERRORS hash - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@92 f882894a-f735-0410-b71e-b25c423dba1c - -2002-09-04 Subhendu Ghosh - - * configure.in: more Mysql patches - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@91 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ntp.pl: dispersion check now controlled by warn - and crit - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@90 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: Mysql dir fix - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@89 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_ifoperstatus.pl, contrib/check_ifstatus.pl: moved to - supported plugins-scripts - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@88 f882894a-f735-0410-b71e-b25c423dba1c - -2002-09-02 Subhendu Ghosh - - * plugins/check_smtp.c: new -f option for adding a FROM address for RFC - correctness - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@87 f882894a-f735-0410-b71e-b25c423dba1c - -2002-09-01 Subhendu Ghosh - - * INSTALLING: file rename for MacOS X - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@86 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: Valid MAIL command - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@85 f882894a-f735-0410-b71e-b25c423dba1c - -2002-08-22 Subhendu Ghosh - - * contrib/check_snmp_process_monitor.pl: updates - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@84 f882894a-f735-0410-b71e-b25c423dba1c - - * command.cfg.in: smsclient config - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@83 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_snmp_disk_monitor.pl, - contrib/check_snmp_process_monitor.pl: new plugins contrib - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@82 f882894a-f735-0410-b71e-b25c423dba1c - -2002-08-18 Karl DeBisschop - - * plugins/check_by_ssh.c: typo in options passed to ssh for ipv6. - fix by setting a generic hook for 1-char pasthhru options - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@81 f882894a-f735-0410-b71e-b25c423dba1c - -2002-08-14 Subhendu Ghosh - - * plugins-scripts/check_disk_smb.pl: patch for admin shares - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@80 f882894a-f735-0410-b71e-b25c423dba1c - - * command.cfg.in: qpage definitions - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@79 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ifstatus.pl: skip PPP interfaces - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@78 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_smtp.c: added HELO command - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@77 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_by_ssh.c: ipv4/ipv6 switch added - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@76 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_hpjd.c: net-snmp v5x fix - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@75 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_apc_ups.pl: fix for ePN - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@74 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_linux_raid.pl, contrib/check_nagios_db.pl: new plugins - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@73 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_inodes-freebsd.pl: check inodes - freebsd - candidate - for merge with check_inodes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@72 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_smb.sh: new smb check - users - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@71 f882894a-f735-0410-b71e-b25c423dba1c - -2002-08-13 Ethan Galstad - - * plugins/check_game.c: Mod to display current/max number of players in - a game (Frank Kannemann) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@70 f882894a-f735-0410-b71e-b25c423dba1c - -2002-08-12 Ethan Galstad - - * contrib/check_disk_snmp.pl: Updated to use getopt (Christoph Maser) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@69 f882894a-f735-0410-b71e-b25c423dba1c - -2002-08-01 Subhendu Ghosh - - * plugins/check_snmp.c: re-patched exit state comparison - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@68 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: port option added, -c support net-snmpv5, - complete response string output - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@67 f882894a-f735-0410-b71e-b25c423dba1c - -2002-08-01 Ethan Galstad - - * contrib/check_digitemp.pl: Add Brian Lane's Digitemp (1-wire temp - sensor) plugin - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@66 f882894a-f735-0410-b71e-b25c423dba1c - -2002-07-16 Ethan Galstad - - * contrib/check_disk_snmp.pl: Christoph Maser's plugin to check disk - usage via SNMP3 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@65 f882894a-f735-0410-b71e-b25c423dba1c - -2002-07-16 Stanley Hopcroft - - * contrib/check_ms_spooler.pl: Primitive and in need of refinement test - of MS spooler (with smbclient) - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@64 f882894a-f735-0410-b71e-b25c423dba1c - -2002-07-04 Subhendu Ghosh - - * contrib/check_procl.sh: Jerome Tytgat - accumulated/percentage CPU/MEM - per process - bash plugin - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@63 f882894a-f735-0410-b71e-b25c423dba1c - - * INSTALL: doc update - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@62 f882894a-f735-0410-b71e-b25c423dba1c - -2002-06-28 Subhendu Ghosh - - * INSTALL: note about autoconf/automake version - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@61 f882894a-f735-0410-b71e-b25c423dba1c - -2002-06-25 Subhendu Ghosh - - * contrib/check_rbl.c: Check if IP address is specified on RBL - Tim - Bell - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@60 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_lmmon.pl: check motherboard/cpu temp via lmmon - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@59 f882894a-f735-0410-b71e-b25c423dba1c - -2002-06-24 Subhendu Ghosh - - * plugins/check_http.c: ignore return status codes if user specified - status line check - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@58 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_snmp.c: printf bug for large numbers - Jeff Murray - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@57 f882894a-f735-0410-b71e-b25c423dba1c - -2002-06-20 Subhendu Ghosh - - * plugins-scripts/check_disk_smb.pl: logic fix for disk space thresholds - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@56 f882894a-f735-0410-b71e-b25c423dba1c - -2002-06-19 Subhendu Ghosh - - * plugins/check_dig.c, plugins/check_dns.c, plugins/check_fping.c, - plugins/check_hpjd.c, plugins/check_nagios.c, plugins/check_ping.c, - plugins/check_snmp.c, plugins/check_vsz.c, plugins/urlize.c, - plugins/utils.c, plugins/utils.h.in: more POSIX return value comparison - related code fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@55 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c, plugins/check_ping.c, plugins/check_procs.c: - fixes for using POSIX return codes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@54 f882894a-f735-0410-b71e-b25c423dba1c - -2002-06-18 Subhendu Ghosh - - * plugins/common.h.in: updated to POSIX return codes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@53 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_cluster.c: Ethan's check_cluster - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@52 f882894a-f735-0410-b71e-b25c423dba1c - -2002-06-13 Subhendu Ghosh - - * plugins/check_smtp.c: conformance to RFC 821 - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@51 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: use xntpdc on Solaris for check_ntp - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@50 f882894a-f735-0410-b71e-b25c423dba1c - -2002-06-10 Subhendu Ghosh - - * plugins/check_smtp.c: patch to stop NOQUEUE syslog messages - Karl - Ewald - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@49 f882894a-f735-0410-b71e-b25c423dba1c - -2002-06-08 Subhendu Ghosh - - * plugins-scripts/check_ntp.pl: xntpdc/ntpdc patch - John Koyle - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@48 f882894a-f735-0410-b71e-b25c423dba1c - -2002-06-06 Subhendu Ghosh - - * plugins-scripts/subst.in, plugins-scripts/utils.sh.in: corrected - result codes - for sh; corrected substition for libexec - Tom Bertelson - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@47 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_disk.c: added option for mount point - Tom Bertelson - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@46 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_oracle.sh: Add test for Oracle name server, can - dynamicall determine ORACLE_HOME - tom Bertelson - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@45 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_flexlm.pl: conditional on lmstat - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@44 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ntp.pl: conditional on ntpdc - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@43 f882894a-f735-0410-b71e-b25c423dba1c - -2002-05-29 Subhendu Ghosh - - * command.cfg.in: notes added - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@42 f882894a-f735-0410-b71e-b25c423dba1c - -2002-05-28 Subhendu Ghosh - - * command.cfg.in: option updates, more examples - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@41 f882894a-f735-0410-b71e-b25c423dba1c - - * command.cfg.in: option updates, more examples - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@40 f882894a-f735-0410-b71e-b25c423dba1c - -2002-05-27 Subhendu Ghosh - - * plugins-scripts/check_ntp.pl: checked in too quickly - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@39 f882894a-f735-0410-b71e-b25c423dba1c - - * doc/README, doc/developer-guidelines.html, - doc/developer-guidelines.sgml: added developer guidelines. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@38 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: typo, AIX 4.3 ps, smbclient, Net::SNMP fixes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@37 f882894a-f735-0410-b71e-b25c423dba1c - - * acconfig.h, plugins-scripts/utils.pm.in: new var - smbclient - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@36 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_ntp.pl: logic reorg, ePN fix and support for - utils.pm - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@35 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_disk_smb.pl: ePN fix and support for utils.pm - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@34 f882894a-f735-0410-b71e-b25c423dba1c - -2002-05-23 Subhendu Ghosh - - * contrib/check_log2.pl, contrib/check_vcs.pl: New plugins from Aaron - Bostick - Veritas Cluster, logfile - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@33 f882894a-f735-0410-b71e-b25c423dba1c - -2002-05-10 Subhendu Ghosh - - * plugins-scripts/check_rpc.pl: updates for ePN, patch for multiple - version check - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@32 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in, plugins-scripts/utils.pm.in: added programs to autoconf - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@31 f882894a-f735-0410-b71e-b25c423dba1c - - * acconfig.h: This commit was generated by cvs2svn to compensate for - changes in r29, - which included commits to RCS files with non-trunk default branches. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@30 f882894a-f735-0410-b71e-b25c423dba1c - -2002-05-09 Subhendu Ghosh - - * plugins-scripts/Makefile.am, plugins-scripts/check_ifoperstatus.pl: - migrated check_ifoperstatus to standard plugin - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@28 f882894a-f735-0410-b71e-b25c423dba1c - -2002-05-08 Subhendu Ghosh - - * plugins/check_ping.c: patch for Suse 8.0 loss output - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@27 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/utils.pm.in: is_hostname added, update CODES to POSIX - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@26 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins/check_hpjd.c, plugins/check_ups.c: updated notes - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@25 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: updated messages and check for host command - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@24 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/Makefile.am, plugins-scripts/check_ifstatus.pl: moved - updated check_ifstatus to standard plugin - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@23 f882894a-f735-0410-b71e-b25c423dba1c - -2002-05-07 Subhendu Ghosh - - * plugins-scripts/check_breeze.pl, plugins-scripts/check_flexlm.pl, - plugins-scripts/check_ircd.pl, plugins-scripts/check_netdns.pl, - plugins-scripts/check_ntp.pl, plugins-scripts/check_wave.pl: 2nd fix for - ePN - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@22 f882894a-f735-0410-b71e-b25c423dba1c - -2002-05-02 Subhendu Ghosh - - * plugins-scripts/check_breeze.pl, plugins-scripts/check_disk_smb.pl, - plugins-scripts/check_flexlm.pl, plugins-scripts/check_ircd.pl, - plugins-scripts/check_netdns.pl, plugins-scripts/check_ntp.pl, - plugins-scripts/check_rpc.pl, plugins-scripts/check_wave.pl: fix for - embedded perl - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@21 f882894a-f735-0410-b71e-b25c423dba1c - - * tools/README, tools/mini_epn.c, tools/p1.pl: updated mini_epn and - p1.pl added to plugins distribution - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@20 f882894a-f735-0410-b71e-b25c423dba1c - -2002-05-01 Subhendu Ghosh - - * contrib/tarballs/fetchlog-0.92.tar.gz: remote log check (via snmp - possible) by Alexander Haderer - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@19 f882894a-f735-0410-b71e-b25c423dba1c - -2002-04-29 Karl DeBisschop - - * plugins/getopt.h: failed to carry over from old plugins, listed in - EXTRA_DIST, needed for build - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@18 f882894a-f735-0410-b71e-b25c423dba1c - -2002-04-23 Subhendu Ghosh - - * plugins/check_ping.c: corrected program name and added rtt patch for - RH7.2+beta - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@17 f882894a-f735-0410-b71e-b25c423dba1c - -2002-04-18 Ethan Galstad - - * contrib/check_inodes.pl: add check_inodes contrib plugin by John Jolet - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@16 f882894a-f735-0410-b71e-b25c423dba1c - - * configure.in: configure script patch for ping syntax - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@15 f882894a-f735-0410-b71e-b25c423dba1c - -2002-04-07 Subhendu Ghosh - - * contrib/check_backup.pl, contrib/check_dl_size.pl: plugins from - Patrick Greenwell - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@14 f882894a-f735-0410-b71e-b25c423dba1c - -2002-04-05 Subhendu Ghosh - - * acconfig.h: This commit was generated by cvs2svn to compensate for - changes in r12, - which included commits to RCS files with non-trunk default branches. - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@13 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/tarballs/check_spread.tar: plugin to check spread messaging - toolkit - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@11 f882894a-f735-0410-b71e-b25c423dba1c - -2002-04-03 Subhendu Ghosh - - * contrib/check_oracle_instance.pl: from Sven Dolderer - check oracle - instance - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@10 f882894a-f735-0410-b71e-b25c423dba1c - - * plugins-scripts/check_nfs.pl: check_nfs functionality exists in - check_rpc - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@9 f882894a-f735-0410-b71e-b25c423dba1c - -2002-03-18 Subhendu Ghosh - - * plugins-scripts/subst.in: function to update perl plugin scripts to - find utils.pm - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@8 f882894a-f735-0410-b71e-b25c423dba1c - -2002-03-01 Ethan Galstad - - * plugins/.cvsignore, plugins/config.h.in: Fix for stupid me - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@7 f882894a-f735-0410-b71e-b25c423dba1c - - * contrib/check_breeze.pl, contrib/check_dhcp.c, - contrib/check_flexlm.pl, contrib/check_hltherm.c, - contrib/check_hprsc.pl, contrib/check_ipxping.c, contrib/check_mysql.c, - contrib/check_uptime.c, contrib/check_wave.pl, contrib/readme.txt, - contrib/tarballs/berger-ping.tar.gz, - contrib/tarballs/bowen-langley_plugins.tar.gz, - contrib/tarballs/check_bgp-1.0.tar.gz, - contrib/tarballs/check_breeze.tar.gz, - contrib/tarballs/check_flexlm.tar.gz, - contrib/tarballs/check_hltherm.tar.gz, - contrib/tarballs/check_hprsc.tar.gz, contrib/tarballs/check_memory.tgz, - contrib/tarballs/check_radius.tar.gz, - contrib/tarballs/check_wave.tar.gz, - contrib/tarballs/hopcroft-plugins.tar.gz, - contrib/tarballs/radius.tar.gz, plugins/.cvsignore, plugins/config.h.in: - Contrib plugin cleanup - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@6 f882894a-f735-0410-b71e-b25c423dba1c - -2002-02-28 Ethan Galstad - - * .cvsignore, AUTHORS, CODING, COPYING, ChangeLog, FAQ, Helper.pm, - INSTALL, LEGAL, Makefile.am, NEWS, README, REQUIREMENTS, ROADMAP, - Requirements, acconfig.h, aclocal.m4, command.cfg.in, configure.in, - contrib/aix/check_crit_dsk, contrib/aix/check_dsk, - contrib/aix/check_failed, contrib/aix/check_io, - contrib/aix/check_kerberos, contrib/aix/check_ping, - contrib/aix/check_queue, contrib/aix/pg_stat, contrib/check_apache.pl, - contrib/check_apc_ups.pl, contrib/check_bgpstate.pl, - contrib/check_dhcp.c, contrib/check_dlswcircuit.pl, - contrib/check_dns_random.pl, contrib/check_email_loop.pl, - contrib/check_fping_in.c, contrib/check_ftpget.pl, - contrib/check_ifoperstatus.pl, contrib/check_ifstatus.pl, - contrib/check_ipxping.c, contrib/check_joy.sh, - contrib/check_maxchannels.pl, contrib/check_maxwanstate.pl, - contrib/check_mem.pl, contrib/check_memory.tgz, contrib/check_mysql.c, - contrib/check_mysql.pl, contrib/check_nagios.pl, - contrib/check_netapp.pl, contrib/check_nmap.py, contrib/check_nwstat.pl, - contrib/check_ora_table_space.pl, contrib/check_pop3.pl, - contrib/check_qmailq.pl, contrib/check_rrd_data.pl, - contrib/check_sap.sh, contrib/check_sockets.pl, contrib/check_timeout.c, - contrib/check_uptime.c, contrib/checkciscotemp.pl, - contrib/maser-oracle.pl, contrib/mrtgext.pl, contrib/readme.txt, - contrib/restrict.pl, contrib/tarballs/berger-ping.tar.gz, - contrib/tarballs/bowen-langley_plugins.tar.gz, - contrib/tarballs/check_bgp-1.0.tar.gz, - contrib/tarballs/check_breeze.tar.gz, - contrib/tarballs/check_flexlm.tar.gz, - contrib/tarballs/check_hltherm.tar.gz, - contrib/tarballs/check_hprsc.tar.gz, - contrib/tarballs/check_radius.tar.gz, - contrib/tarballs/check_wave.tar.gz, - contrib/tarballs/hopcroft-plugins.tar.gz, - contrib/tarballs/radius.tar.gz, contrib/urlize.pl, contrib/utils.py, - install-sh, make-tarball, missing, mkinstalldirs, nagios-plugins.spec, - opttest.pl, package.def, plugins-scripts/.cvsignore, - plugins-scripts/Makefile.am, plugins-scripts/check_breeze.pl, - plugins-scripts/check_disk_smb.pl, plugins-scripts/check_flexlm.pl, - plugins-scripts/check_ircd.pl, plugins-scripts/check_log.sh, - plugins-scripts/check_netdns.pl, plugins-scripts/check_nfs.pl, - plugins-scripts/check_ntp.pl, plugins-scripts/check_oracle.sh, - plugins-scripts/check_rpc.pl, plugins-scripts/check_sensors.sh, - plugins-scripts/check_wave.pl, plugins-scripts/subst.in, - plugins-scripts/t/check_rpc.t, plugins-scripts/utils.pm.in, - plugins-scripts/utils.sh.in, plugins/.cvsignore, plugins/Makefile.am, - plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c, - plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c, - plugins/check_ftp.c, plugins/check_game.c, plugins/check_hpjd.c, - plugins/check_http.c, plugins/check_ide-smart.c, plugins/check_imap.c, - plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c, - plugins/check_mrtgtraf.c, plugins/check_mysql.c, plugins/check_nagios.c, - plugins/check_nntp.c, plugins/check_nt.c, plugins/check_nwstat.c, - plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c, - plugins/check_pop.c, plugins/check_procs.c, plugins/check_radius.c, - plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, - plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c, - plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c, - plugins/check_users.c, plugins/check_vsz.c, plugins/common.h.in, - plugins/getopt.c, plugins/getopt1.c, plugins/netutils.c, - plugins/netutils.h.in, plugins/popen.c, plugins/popen.h.in, - plugins/snprintf.c, plugins/t/check_disk.t, plugins/t/check_dns.t, - plugins/t/check_fping.t, plugins/t/check_ftp.t, plugins/t/check_hpjd.t, - plugins/t/check_http.t, plugins/t/check_imap.t, plugins/t/check_load.t, - plugins/t/check_mysql.t, plugins/t/check_ping.t, plugins/t/check_pop.t, - plugins/t/check_procs.t, plugins/t/check_smtp.t, plugins/t/check_snmp.t, - plugins/t/check_swap.t, plugins/t/check_tcp.t, plugins/t/check_time.t, - plugins/t/check_udp.t, plugins/t/check_users.t, plugins/t/check_vsz.t, - plugins/tests/check_disk, plugins/tests/check_dns, - plugins/tests/check_ftp, plugins/tests/check_hpjd, - plugins/tests/check_http, plugins/tests/check_load, - plugins/tests/check_ping, plugins/tests/check_procs, - plugins/tests/check_swap, plugins/tests/check_users, - plugins/tests/check_vsz, plugins/urlize.c, plugins/utils.c, - plugins/utils.h.in, plugins/version.h.in, rpm, subst.in, subst.sh, - test.pl.in, tools/setup, tools/tango: Initial revision - - - git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2 f882894a-f735-0410-b71e-b25c423dba1c - +Not a Git repository, so I won't update the ChangeLog. diff --git a/INSTALL b/INSTALL index 8865734..e82fd21 100644 --- a/INSTALL +++ b/INSTALL @@ -1,8 +1,8 @@ Installation Instructions ************************* - Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software -Foundation, Inc. + Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free +Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright @@ -225,7 +225,7 @@ order to use an ANSI C compiler: and if that doesn't work, install pre-built binaries of GCC for HP-UX. - HP-UX 'make' updates targets which have the same time stamps as their + HP-UX 'make' updates targets which have the same timestamps as their prerequisites, which makes it generally unusable when shipped generated files such as 'configure' are involved. Use GNU 'make' instead. diff --git a/Makefile.in b/Makefile.in index fc21b0d..2def9da 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.3 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -250,9 +250,6 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags -CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/test.pl.in $(top_srcdir)/build-aux/compile \ @@ -337,6 +334,8 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ DBILIBS = @DBILIBS@ DEFS = -DLOCALEDIR=\"$(localedir)\" @@ -356,6 +355,7 @@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ EXTRAS = @EXTRAS@ EXTRAS_ROOT = @EXTRAS_ROOT@ @@ -1640,7 +1640,6 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/NEWS b/NEWS index b674391..83d522e 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,43 @@ This file documents the major additions and syntax changes between releases. +2.3.3 2nd Feb 2023 + ENHANCEMENTS + using PRId64 and PRIu64 instead of %ld directly + check_http: Make faster with larger files + check_snmp: add 'multiplier' to modify current value + check_http: Implement chunked encoding decoding + check_http/check_curl: add chunked encoding test + check_log: Added --exclude to exclude patterns + check_log: Add tests + check_disk: Clarify usage possibilites + + FIXES + fixed two PRId64 to PRIu64 in perfdata_uint64 + check_pgsql: Removing is_pg_dbname alltogether,using postgres API. + check_http: Remove superflous CRLF in HTTP-Requests + check_curl: detect ipv6 + check_icmp: fix parsing help/version long options + check_http: fix test plan + check_disk: Find accessible mount path if multiple are available + check_apt: Fix unknown escape sequence error output + check_curl: fix checking large bodys + check_snmp: Improve tests for check_snmp & multiply option + check_snmp: always apply format when applying multiplier + check_http: Use real booleans instead of ints + check_http: Document process_arguments a little bit better + check_http: Remove dead code + check_http: Fix several bug in the implementation of unchunking + check_http: Reformat a part to increase readability + check_apt: Put upgrade options in the root sections + check_apt: Fix comment + check_apt: Use real booleans + check_mailq: Fixing nullmailer regex + check_snmp: Fix regex matches + check_log: Fixed a bug when using --all + check_log: Cleaned up duplicated code in the args + check_http: Fix memory reallocation error in chunk decoding logic + check_http: Add space for ending NULL byte in array for chunked encoding + 2.3.2 20th Oct 2022 GENERAL Use netcat-openbsd for debian explicitely (by @RincewindsHat #1704) diff --git a/NP-VERSION-GEN b/NP-VERSION-GEN index 9dadc5d..b4c8d24 100755 --- a/NP-VERSION-GEN +++ b/NP-VERSION-GEN @@ -6,7 +6,7 @@ SRC_ROOT=`dirname $0` NPVF=NP-VERSION-FILE -DEF_VER=2.3.2 +DEF_VER=2.3.3 LF=' ' diff --git a/THANKS b/THANKS index 28aed57..51514a7 100644 --- a/THANKS +++ b/THANKS @@ -2,28 +2,28 @@ This software is brought to you by the Monitoring Plugins Development Team. Howe there have been many contributors to this project. Everyone below has helped in raising bug reports, creating patches or contributing new plugins. -dag rob?le -Aksel Sjögren -Marc Sánchez -Wolfgang Karall-Ahlborn -Randy O'Meara Elan Ruusamäe -Matthias Hähnel +Randy O'Meara +Wolfgang Karall-Ahlborn Nicolai Søborg -fabiodds +dag rob?le Diego Elio Pettenò +Matthias Hähnel +Marc Sánchez +Aksel Sjögren +fabiodds Oskar Ahner Lance Albertson David Alden +Patrick Allen Rodger Allen Paul Allen -Patrick Allen Felipe Gustavo de Almeida Michael Almond Michael Anthon Bernd Apfel -Paula Arnold Bernd Arnold +Paula Arnold Kondoros Attila Daniel Austin Karol Babioch @@ -55,6 +55,7 @@ Prathamesh Bhanuse Daniel Bimschas Jeffery Blank Tom De Blende +Robert Bohne Eric Bollengier Aurelien Bompard Stéphane Bortzmeyer @@ -83,9 +84,9 @@ Lee Clemens Ben Clewett Jean-Claude Computing Lionel Cons -Ollie Cook -Charlie Cook Garry Cook +Charlie Cook +Ollie Cook Luca Corti Greg Cox Jason Crawford @@ -155,12 +156,13 @@ Olaf Greis Alex Griffin Chris Grim Steven Grimm +Lorenz Gruenwald Sebastien Guay Linda Guo Jon Hallett Steve Hanselman -Jacob Hansen Ask Bjoern Hansen +Jacob Hansen Sebastian Harl Michael Haro Olli Hauer @@ -237,8 +239,8 @@ Pawel Malachowski Ricardo Maraschini Michael Markstaller John Marquart -Jason Martin Ernst-Dieter Martin +Jason Martin Christopher Maser Mathieu Masseboeuf Alexander Matey @@ -269,6 +271,7 @@ Jan-Frode Myklebust Sivakumar Nellurandi Peter Newman Truongchinh Nguyen +Wolfgang Nieder Simon L Nielsen Thomas Nilsen Sebastian Nohn @@ -326,8 +329,8 @@ Sven Schaffranneck Christoph Schell Thomas Schimpke Benjamin Schmid -Christian Schmidt Sebastian Schmidt +Christian Schmidt Henning Schmiedehausen Christian Schneemann Cove Schneider @@ -356,6 +359,7 @@ David Sullivan Kjell Sundtjonn Ziya Suzen Christian Tacke +Danijel Tasov Michael Tiernan Ben Timby Ronald Tin @@ -398,9 +402,10 @@ Shawn Wills Rob Windsor Mario Witte Alexander Wittig -Tobias Wolf Brian De Wolf +Tobias Wolf Eric Wunderlin Patric Wust Jamie Zawinski Vadim Zhukov +andrew bezella diff --git a/aclocal.m4 b/aclocal.m4 index 0de63cc..3a093fa 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.16.3 -*- Autoconf -*- +# generated automatically by aclocal 1.16.5 -*- Autoconf -*- -# Copyright (C) 1996-2020 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -14,13 +14,13 @@ m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, -[m4_warning([this file was generated for autoconf 2.69. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],, +[m4_warning([this file was generated for autoconf 2.71. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# Copyright (C) 2002-2020 Free Software Foundation, Inc. +# Copyright (C) 2002-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -35,7 +35,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.16.3], [], +m4_if([$1], [1.16.5], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], []) # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.16.3])dnl +[AM_AUTOMAKE_VERSION([1.16.5])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2020 Free Software Foundation, Inc. +# Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd` # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2020 Free Software Foundation, Inc. +# Copyright (C) 1997-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -141,7 +141,7 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999-2020 Free Software Foundation, Inc. +# Copyright (C) 1999-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -332,7 +332,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999-2020 Free Software Foundation, Inc. +# Copyright (C) 1999-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -400,7 +400,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2020 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -428,6 +428,10 @@ m4_defn([AC_PROG_CC]) # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl +m4_ifdef([_$0_ALREADY_INIT], + [m4_fatal([$0 expanded multiple times +]m4_defn([_$0_ALREADY_INIT]))], + [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl @@ -464,7 +468,7 @@ m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( - m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), + m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl @@ -516,6 +520,20 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) +# Variables for tags utilities; see am/tags.am +if test -z "$CTAGS"; then + CTAGS=ctags +fi +AC_SUBST([CTAGS]) +if test -z "$ETAGS"; then + ETAGS=etags +fi +AC_SUBST([ETAGS]) +if test -z "$CSCOPE"; then + CSCOPE=cscope +fi +AC_SUBST([CSCOPE]) + AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This @@ -597,7 +615,7 @@ for _am_header in $config_headers :; do done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2020 Free Software Foundation, Inc. +# Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -618,7 +636,7 @@ if test x"${install_sh+set}" != xset; then fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2020 Free Software Foundation, Inc. +# Copyright (C) 2003-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -640,7 +658,7 @@ AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering -# Copyright (C) 1996-2020 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -675,7 +693,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001-2020 Free Software Foundation, Inc. +# Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -718,7 +736,7 @@ AC_SUBST([am__quote])]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2020 Free Software Foundation, Inc. +# Copyright (C) 1997-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -752,7 +770,7 @@ fi # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2020 Free Software Foundation, Inc. +# Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -781,7 +799,7 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 1999-2020 Free Software Foundation, Inc. +# Copyright (C) 1999-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -828,7 +846,7 @@ AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) -# Copyright (C) 2001-2020 Free Software Foundation, Inc. +# Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -847,7 +865,7 @@ AC_DEFUN([AM_RUN_LOG], # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2020 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -928,7 +946,7 @@ AC_CONFIG_COMMANDS_PRE( rm -f conftest.file ]) -# Copyright (C) 2009-2020 Free Software Foundation, Inc. +# Copyright (C) 2009-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -988,7 +1006,7 @@ AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2020 Free Software Foundation, Inc. +# Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1016,7 +1034,7 @@ fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2020 Free Software Foundation, Inc. +# Copyright (C) 2006-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1035,7 +1053,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2020 Free Software Foundation, Inc. +# Copyright (C) 2004-2021 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/build-aux/compile b/build-aux/compile index 23fcba0..df363c8 100755 --- a/build-aux/compile +++ b/build-aux/compile @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2020 Free Software Foundation, Inc. +# Copyright (C) 1999-2021 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify diff --git a/build-aux/config.guess b/build-aux/config.guess index f50dcdb..7f76b62 100755 --- a/build-aux/config.guess +++ b/build-aux/config.guess @@ -1,12 +1,14 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2018 Free Software Foundation, Inc. +# Copyright 1992-2022 Free Software Foundation, Inc. -timestamp='2018-02-24' +# shellcheck disable=SC2006,SC2268 # see below for rationale + +timestamp='2022-01-09' # 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 -# the Free Software Foundation; either version 3 of the License, or +# 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 @@ -27,11 +29,19 @@ timestamp='2018-02-24' # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: -# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess +# https://git.savannah.gnu.org/cgit/config.git/plain/config.guess # # Please send patches to . +# The "shellcheck disable" line above the timestamp inhibits complaints +# about features and limitations of the classic Bourne shell that were +# superseded or lifted in POSIX. However, this script identifies a wide +# variety of pre-POSIX systems that do not have POSIX shells at all, and +# even some reasonably current systems (Solaris 10 as case-in-point) still +# have a pre-POSIX /bin/sh. + + me=`echo "$0" | sed -e 's,.*/,,'` usage="\ @@ -50,7 +60,7 @@ version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2018 Free Software Foundation, Inc. +Copyright 1992-2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -84,7 +94,8 @@ if test $# != 0; then exit 1 fi -trap 'exit 1' 1 2 15 +# Just in case it came from the environment. +GUESS= # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires @@ -96,73 +107,90 @@ trap 'exit 1' 1 2 15 # Portable tmp directory creation inspired by the Autoconf team. -set_cc_for_build=' -trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; -trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; -: ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || - { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || - { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || - { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; -dummy=$tmp/dummy ; -tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; -case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int x;" > "$dummy.c" ; - for c in cc gcc c89 c99 ; do - if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then - CC_FOR_BUILD="$c"; break ; - fi ; - done ; - if test x"$CC_FOR_BUILD" = x ; then - CC_FOR_BUILD=no_compiler_found ; - fi - ;; - ,,*) CC_FOR_BUILD=$CC ;; - ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac ; set_cc_for_build= ;' +tmp= +# shellcheck disable=SC2172 +trap 'test -z "$tmp" || rm -fr "$tmp"' 0 1 2 13 15 + +set_cc_for_build() { + # prevent multiple calls if $tmp is already set + test "$tmp" && return 0 + : "${TMPDIR=/tmp}" + # shellcheck disable=SC2039,SC3028 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } + dummy=$tmp/dummy + case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in + ,,) echo "int x;" > "$dummy.c" + for driver in cc gcc c89 c99 ; do + if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then + CC_FOR_BUILD=$driver + break + fi + done + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; + esac +} # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then +if test -f /.attbin/uname ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown -case "$UNAME_SYSTEM" in +case $UNAME_SYSTEM in Linux|GNU|GNU/*) - # If the system lacks a compiler, then just pick glibc. - # We could probably try harder. - LIBC=gnu + LIBC=unknown - eval "$set_cc_for_build" + set_cc_for_build cat <<-EOF > "$dummy.c" #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc - #else + #elif defined(__GLIBC__) LIBC=gnu + #else + #include + /* First heuristic to detect musl libc. */ + #ifdef __DEFINED_va_list + LIBC=musl + #endif #endif EOF - eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" + cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` + eval "$cc_set_libc" - # If ldd exists, use it to detect musl libc. - if command -v ldd >/dev/null && \ - ldd --version 2>&1 | grep -q ^musl - then - LIBC=musl + # Second heuristic to detect musl libc. + if [ "$LIBC" = unknown ] && + command -v ldd >/dev/null && + ldd --version 2>&1 | grep -q ^musl; then + LIBC=musl + fi + + # If the system lacks a compiler, then just pick glibc. + # We could probably try harder. + if [ "$LIBC" = unknown ]; then + LIBC=gnu fi ;; esac # Note: order is significant - the case branches are not exclusive. -case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in +case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, @@ -174,12 +202,12 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ - "/sbin/$sysctl" 2>/dev/null || \ - "/usr/sbin/$sysctl" 2>/dev/null || \ + /sbin/sysctl -n hw.machine_arch 2>/dev/null || \ + /usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \ echo unknown)` - case "$UNAME_MACHINE_ARCH" in + case $UNAME_MACHINE_ARCH in + aarch64eb) machine=aarch64_be-unknown ;; armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; @@ -188,18 +216,18 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in earmv*) arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'` endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` - machine="${arch}${endian}"-unknown + machine=${arch}${endian}-unknown ;; - *) machine="$UNAME_MACHINE_ARCH"-unknown ;; + *) machine=$UNAME_MACHINE_ARCH-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently (or will in the future) and ABI. - case "$UNAME_MACHINE_ARCH" in + case $UNAME_MACHINE_ARCH in earm*) os=netbsdelf ;; arm*|i386|m68k|ns32k|sh3*|sparc|vax) - eval "$set_cc_for_build" + set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then @@ -215,7 +243,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in ;; esac # Determine ABI tags. - case "$UNAME_MACHINE_ARCH" in + case $UNAME_MACHINE_ARCH in earm*) expr='s/^earmv[0-9]/-eabi/;s/eb$//' abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` @@ -226,7 +254,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. - case "$UNAME_VERSION" in + case $UNAME_VERSION in Debian*) release='-gnu' ;; @@ -237,45 +265,57 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "$machine-${os}${release}${abi}" - exit ;; + GUESS=$machine-${os}${release}${abi-} + ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` - echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE_ARCH-unknown-bitrig$UNAME_RELEASE + ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` - echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE_ARCH-unknown-openbsd$UNAME_RELEASE + ;; + *:SecBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'` + GUESS=$UNAME_MACHINE_ARCH-unknown-secbsd$UNAME_RELEASE + ;; *:LibertyBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` - echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE_ARCH-unknown-libertybsd$UNAME_RELEASE + ;; *:MidnightBSD:*:*) - echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-unknown-midnightbsd$UNAME_RELEASE + ;; *:ekkoBSD:*:*) - echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-unknown-ekkobsd$UNAME_RELEASE + ;; *:SolidBSD:*:*) - echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-unknown-solidbsd$UNAME_RELEASE + ;; + *:OS108:*:*) + GUESS=$UNAME_MACHINE-unknown-os108_$UNAME_RELEASE + ;; macppc:MirBSD:*:*) - echo powerpc-unknown-mirbsd"$UNAME_RELEASE" - exit ;; + GUESS=powerpc-unknown-mirbsd$UNAME_RELEASE + ;; *:MirBSD:*:*) - echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-unknown-mirbsd$UNAME_RELEASE + ;; *:Sortix:*:*) - echo "$UNAME_MACHINE"-unknown-sortix - exit ;; + GUESS=$UNAME_MACHINE-unknown-sortix + ;; + *:Twizzler:*:*) + GUESS=$UNAME_MACHINE-unknown-twizzler + ;; *:Redox:*:*) - echo "$UNAME_MACHINE"-unknown-redox - exit ;; + GUESS=$UNAME_MACHINE-unknown-redox + ;; mips:OSF1:*.*) - echo mips-dec-osf1 - exit ;; + GUESS=mips-dec-osf1 + ;; alpha:OSF1:*:*) + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + trap '' 0 case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` @@ -289,7 +329,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` - case "$ALPHA_CPU_TYPE" in + case $ALPHA_CPU_TYPE in "EV4 (21064)") UNAME_MACHINE=alpha ;; "EV4.5 (21064)") @@ -326,117 +366,121 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" - # Reset EXIT trap before exiting to avoid spurious non-zero exit code. - exitcode=$? - trap '' 0 - exit $exitcode ;; + OSF_REL=`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` + GUESS=$UNAME_MACHINE-dec-osf$OSF_REL + ;; Amiga*:UNIX_System_V:4.0:*) - echo m68k-unknown-sysv4 - exit ;; + GUESS=m68k-unknown-sysv4 + ;; *:[Aa]miga[Oo][Ss]:*:*) - echo "$UNAME_MACHINE"-unknown-amigaos - exit ;; + GUESS=$UNAME_MACHINE-unknown-amigaos + ;; *:[Mm]orph[Oo][Ss]:*:*) - echo "$UNAME_MACHINE"-unknown-morphos - exit ;; + GUESS=$UNAME_MACHINE-unknown-morphos + ;; *:OS/390:*:*) - echo i370-ibm-openedition - exit ;; + GUESS=i370-ibm-openedition + ;; *:z/VM:*:*) - echo s390-ibm-zvmoe - exit ;; + GUESS=s390-ibm-zvmoe + ;; *:OS400:*:*) - echo powerpc-ibm-os400 - exit ;; + GUESS=powerpc-ibm-os400 + ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix"$UNAME_RELEASE" - exit ;; + GUESS=arm-acorn-riscix$UNAME_RELEASE + ;; arm*:riscos:*:*|arm*:RISCOS:*:*) - echo arm-unknown-riscos - exit ;; + GUESS=arm-unknown-riscos + ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) - echo hppa1.1-hitachi-hiuxmpp - exit ;; + GUESS=hppa1.1-hitachi-hiuxmpp + ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "`(/bin/universe) 2>/dev/null`" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit ;; + case `(/bin/universe) 2>/dev/null` in + att) GUESS=pyramid-pyramid-sysv3 ;; + *) GUESS=pyramid-pyramid-bsd ;; + esac + ;; NILE*:*:*:dcosx) - echo pyramid-pyramid-svr4 - exit ;; + GUESS=pyramid-pyramid-svr4 + ;; DRS?6000:unix:4.0:6*) - echo sparc-icl-nx6 - exit ;; + GUESS=sparc-icl-nx6 + ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in - sparc) echo sparc-icl-nx7; exit ;; - esac ;; + sparc) GUESS=sparc-icl-nx7 ;; + esac + ;; s390x:SunOS:*:*) - echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" - exit ;; + SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` + GUESS=$UNAME_MACHINE-ibm-solaris2$SUN_REL + ;; sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" - exit ;; + SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` + GUESS=sparc-hal-solaris2$SUN_REL + ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" - exit ;; + SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` + GUESS=sparc-sun-solaris2$SUN_REL + ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) - echo i386-pc-auroraux"$UNAME_RELEASE" - exit ;; + GUESS=i386-pc-auroraux$UNAME_RELEASE + ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) - eval "$set_cc_for_build" + set_cc_for_build SUN_ARCH=i386 # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. - if [ "$CC_FOR_BUILD" != no_compiler_found ]; then + if test "$CC_FOR_BUILD" != no_compiler_found; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + (CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH=x86_64 fi fi - echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" - exit ;; + SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` + GUESS=$SUN_ARCH-pc-solaris2$SUN_REL + ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" - exit ;; + SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` + GUESS=sparc-sun-solaris3$SUN_REL + ;; sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in + case `/usr/bin/arch -k` in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`" - exit ;; + SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'` + GUESS=sparc-sun-sunos$SUN_REL + ;; sun3*:SunOS:*:*) - echo m68k-sun-sunos"$UNAME_RELEASE" - exit ;; + GUESS=m68k-sun-sunos$UNAME_RELEASE + ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 - case "`/bin/arch`" in + case `/bin/arch` in sun3) - echo m68k-sun-sunos"$UNAME_RELEASE" + GUESS=m68k-sun-sunos$UNAME_RELEASE ;; sun4) - echo sparc-sun-sunos"$UNAME_RELEASE" + GUESS=sparc-sun-sunos$UNAME_RELEASE ;; esac - exit ;; + ;; aushp:SunOS:*:*) - echo sparc-auspex-sunos"$UNAME_RELEASE" - exit ;; + GUESS=sparc-auspex-sunos$UNAME_RELEASE + ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor @@ -446,43 +490,43 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint"$UNAME_RELEASE" - exit ;; + GUESS=m68k-atari-mint$UNAME_RELEASE + ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint"$UNAME_RELEASE" - exit ;; + GUESS=m68k-atari-mint$UNAME_RELEASE + ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint"$UNAME_RELEASE" - exit ;; + GUESS=m68k-atari-mint$UNAME_RELEASE + ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint"$UNAME_RELEASE" - exit ;; + GUESS=m68k-milan-mint$UNAME_RELEASE + ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint"$UNAME_RELEASE" - exit ;; + GUESS=m68k-hades-mint$UNAME_RELEASE + ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint"$UNAME_RELEASE" - exit ;; + GUESS=m68k-unknown-mint$UNAME_RELEASE + ;; m68k:machten:*:*) - echo m68k-apple-machten"$UNAME_RELEASE" - exit ;; + GUESS=m68k-apple-machten$UNAME_RELEASE + ;; powerpc:machten:*:*) - echo powerpc-apple-machten"$UNAME_RELEASE" - exit ;; + GUESS=powerpc-apple-machten$UNAME_RELEASE + ;; RISC*:Mach:*:*) - echo mips-dec-mach_bsd4.3 - exit ;; + GUESS=mips-dec-mach_bsd4.3 + ;; RISC*:ULTRIX:*:*) - echo mips-dec-ultrix"$UNAME_RELEASE" - exit ;; + GUESS=mips-dec-ultrix$UNAME_RELEASE + ;; VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix"$UNAME_RELEASE" - exit ;; + GUESS=vax-dec-ultrix$UNAME_RELEASE + ;; 2020:CLIX:*:* | 2430:CLIX:*:*) - echo clipper-intergraph-clix"$UNAME_RELEASE" - exit ;; + GUESS=clipper-intergraph-clix$UNAME_RELEASE + ;; mips:*:*:UMIPS | mips:*:*:RISCos) - eval "$set_cc_for_build" + set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #ifdef __cplusplus #include /* for printf() prototype */ @@ -508,78 +552,79 @@ EOF dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`"$dummy" "$dummyarg"` && { echo "$SYSTEM_NAME"; exit; } - echo mips-mips-riscos"$UNAME_RELEASE" - exit ;; + GUESS=mips-mips-riscos$UNAME_RELEASE + ;; Motorola:PowerMAX_OS:*:*) - echo powerpc-motorola-powermax - exit ;; + GUESS=powerpc-motorola-powermax + ;; Motorola:*:4.3:PL8-*) - echo powerpc-harris-powermax - exit ;; + GUESS=powerpc-harris-powermax + ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) - echo powerpc-harris-powermax - exit ;; + GUESS=powerpc-harris-powermax + ;; Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit ;; + GUESS=powerpc-harris-powerunix + ;; m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit ;; + GUESS=m88k-harris-cxux7 + ;; m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit ;; + GUESS=m88k-motorola-sysv4 + ;; m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit ;; + GUESS=m88k-motorola-sysv3 + ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ] + if test "$UNAME_PROCESSOR" = mc88100 || test "$UNAME_PROCESSOR" = mc88110 then - if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \ - [ "$TARGET_BINARY_INTERFACE"x = x ] + if test "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx || \ + test "$TARGET_BINARY_INTERFACE"x = x then - echo m88k-dg-dgux"$UNAME_RELEASE" + GUESS=m88k-dg-dgux$UNAME_RELEASE else - echo m88k-dg-dguxbcs"$UNAME_RELEASE" + GUESS=m88k-dg-dguxbcs$UNAME_RELEASE fi else - echo i586-dg-dgux"$UNAME_RELEASE" + GUESS=i586-dg-dgux$UNAME_RELEASE fi - exit ;; + ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit ;; + GUESS=m88k-dolphin-sysv3 + ;; M88*:*:R3*:*) # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit ;; + GUESS=m88k-motorola-sysv3 + ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit ;; + GUESS=m88k-tektronix-sysv3 + ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit ;; + GUESS=m68k-tektronix-bsd + ;; *:IRIX*:*:*) - echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`" - exit ;; + IRIX_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/g'` + GUESS=mips-sgi-irix$IRIX_REL + ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + GUESS=romp-ibm-aix # uname -m gives an 8 hex-code CPU id + ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) - echo i386-ibm-aix - exit ;; + GUESS=i386-ibm-aix + ;; ia64:AIX:*:*) - if [ -x /usr/bin/oslevel ] ; then + if test -x /usr/bin/oslevel ; then IBM_REV=`/usr/bin/oslevel` else - IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" + IBM_REV=$UNAME_VERSION.$UNAME_RELEASE fi - echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV" - exit ;; + GUESS=$UNAME_MACHINE-ibm-aix$IBM_REV + ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - eval "$set_cc_for_build" + set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #include @@ -593,16 +638,16 @@ EOF EOF if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` then - echo "$SYSTEM_NAME" + GUESS=$SYSTEM_NAME else - echo rs6000-ibm-aix3.2.5 + GUESS=rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 + GUESS=rs6000-ibm-aix3.2.4 else - echo rs6000-ibm-aix3.2 + GUESS=rs6000-ibm-aix3.2 fi - exit ;; + ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then @@ -610,57 +655,57 @@ EOF else IBM_ARCH=powerpc fi - if [ -x /usr/bin/lslpp ] ; then - IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | + if test -x /usr/bin/lslpp ; then + IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | \ awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` else - IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" + IBM_REV=$UNAME_VERSION.$UNAME_RELEASE fi - echo "$IBM_ARCH"-ibm-aix"$IBM_REV" - exit ;; + GUESS=$IBM_ARCH-ibm-aix$IBM_REV + ;; *:AIX:*:*) - echo rs6000-ibm-aix - exit ;; + GUESS=rs6000-ibm-aix + ;; ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) - echo romp-ibm-bsd4.4 - exit ;; + GUESS=romp-ibm-bsd4.4 + ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and - echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to - exit ;; # report: romp-ibm BSD 4.3 + GUESS=romp-ibm-bsd$UNAME_RELEASE # 4.3 with uname added to + ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) - echo rs6000-bull-bosx - exit ;; + GUESS=rs6000-bull-bosx + ;; DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit ;; + GUESS=m68k-bull-sysv3 + ;; 9000/[34]??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit ;; + GUESS=m68k-hp-bsd + ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit ;; + GUESS=m68k-hp-bsd4.4 + ;; 9000/[34678]??:HP-UX:*:*) - HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` - case "$UNAME_MACHINE" in + HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'` + case $UNAME_MACHINE in 9000/31?) HP_ARCH=m68000 ;; 9000/[34]??) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) - if [ -x /usr/bin/getconf ]; then + if test -x /usr/bin/getconf; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "$sc_cpu_version" in + case $sc_cpu_version in 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 - case "$sc_kernel_bits" in + case $sc_kernel_bits in 32) HP_ARCH=hppa2.0n ;; 64) HP_ARCH=hppa2.0w ;; '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 esac ;; esac fi - if [ "$HP_ARCH" = "" ]; then - eval "$set_cc_for_build" + if test "$HP_ARCH" = ""; then + set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #define _HPUX_SOURCE @@ -698,9 +743,9 @@ EOF test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac - if [ "$HP_ARCH" = hppa2.0w ] + if test "$HP_ARCH" = hppa2.0w then - eval "$set_cc_for_build" + set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler @@ -719,14 +764,14 @@ EOF HP_ARCH=hppa64 fi fi - echo "$HP_ARCH"-hp-hpux"$HPUX_REV" - exit ;; + GUESS=$HP_ARCH-hp-hpux$HPUX_REV + ;; ia64:HP-UX:*:*) - HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` - echo ia64-hp-hpux"$HPUX_REV" - exit ;; + HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'` + GUESS=ia64-hp-hpux$HPUX_REV + ;; 3050*:HI-UX:*:*) - eval "$set_cc_for_build" + set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #include int @@ -754,36 +799,36 @@ EOF EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && { echo "$SYSTEM_NAME"; exit; } - echo unknown-hitachi-hiuxwe2 - exit ;; + GUESS=unknown-hitachi-hiuxwe2 + ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) - echo hppa1.1-hp-bsd - exit ;; + GUESS=hppa1.1-hp-bsd + ;; 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit ;; + GUESS=hppa1.0-hp-bsd + ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) - echo hppa1.0-hp-mpeix - exit ;; + GUESS=hppa1.0-hp-mpeix + ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) - echo hppa1.1-hp-osf - exit ;; + GUESS=hppa1.1-hp-osf + ;; hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit ;; + GUESS=hppa1.0-hp-osf + ;; i*86:OSF1:*:*) - if [ -x /usr/sbin/sysversion ] ; then - echo "$UNAME_MACHINE"-unknown-osf1mk + if test -x /usr/sbin/sysversion ; then + GUESS=$UNAME_MACHINE-unknown-osf1mk else - echo "$UNAME_MACHINE"-unknown-osf1 + GUESS=$UNAME_MACHINE-unknown-osf1 fi - exit ;; + ;; parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit ;; + GUESS=hppa1.1-hp-lites + ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit ;; + GUESS=c1-convex-bsd + ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd @@ -791,17 +836,18 @@ EOF fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit ;; + GUESS=c34-convex-bsd + ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit ;; + GUESS=c38-convex-bsd + ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) - echo c4-convex-bsd - exit ;; + GUESS=c4-convex-bsd + ;; CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; + CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` + GUESS=ymp-cray-unicos$CRAY_REL + ;; CRAY*[A-Z]90:*:*:*) echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ @@ -809,103 +855,129 @@ EOF -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) - echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; + CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` + GUESS=t90-cray-unicos$CRAY_REL + ;; CRAY*T3E:*:*:*) - echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; + CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` + GUESS=alphaev5-cray-unicosmk$CRAY_REL + ;; CRAY*SV1:*:*:*) - echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; + CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` + GUESS=sv1-cray-unicos$CRAY_REL + ;; *:UNICOS/mp:*:*) - echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; + CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` + GUESS=craynv-cray-unicosmp$CRAY_REL + ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; + GUESS=${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL} + ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; + GUESS=sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL} + ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) - echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-pc-bsdi$UNAME_RELEASE + ;; sparc*:BSD/OS:*:*) - echo sparc-unknown-bsdi"$UNAME_RELEASE" - exit ;; + GUESS=sparc-unknown-bsdi$UNAME_RELEASE + ;; *:BSD/OS:*:*) - echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-unknown-bsdi$UNAME_RELEASE + ;; + arm:FreeBSD:*:*) + UNAME_PROCESSOR=`uname -p` + set_cc_for_build + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` + GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabi + else + FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` + GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabihf + fi + ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` - case "$UNAME_PROCESSOR" in + case $UNAME_PROCESSOR in amd64) UNAME_PROCESSOR=x86_64 ;; i386) UNAME_PROCESSOR=i586 ;; esac - echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" - exit ;; + FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` + GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL + ;; i*:CYGWIN*:*) - echo "$UNAME_MACHINE"-pc-cygwin - exit ;; + GUESS=$UNAME_MACHINE-pc-cygwin + ;; *:MINGW64*:*) - echo "$UNAME_MACHINE"-pc-mingw64 - exit ;; + GUESS=$UNAME_MACHINE-pc-mingw64 + ;; *:MINGW*:*) - echo "$UNAME_MACHINE"-pc-mingw32 - exit ;; + GUESS=$UNAME_MACHINE-pc-mingw32 + ;; *:MSYS*:*) - echo "$UNAME_MACHINE"-pc-msys - exit ;; + GUESS=$UNAME_MACHINE-pc-msys + ;; i*:PW*:*) - echo "$UNAME_MACHINE"-pc-pw32 - exit ;; + GUESS=$UNAME_MACHINE-pc-pw32 + ;; + *:SerenityOS:*:*) + GUESS=$UNAME_MACHINE-pc-serenity + ;; *:Interix*:*) - case "$UNAME_MACHINE" in + case $UNAME_MACHINE in x86) - echo i586-pc-interix"$UNAME_RELEASE" - exit ;; + GUESS=i586-pc-interix$UNAME_RELEASE + ;; authenticamd | genuineintel | EM64T) - echo x86_64-unknown-interix"$UNAME_RELEASE" - exit ;; + GUESS=x86_64-unknown-interix$UNAME_RELEASE + ;; IA64) - echo ia64-unknown-interix"$UNAME_RELEASE" - exit ;; + GUESS=ia64-unknown-interix$UNAME_RELEASE + ;; esac ;; i*:UWIN*:*) - echo "$UNAME_MACHINE"-pc-uwin - exit ;; + GUESS=$UNAME_MACHINE-pc-uwin + ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) - echo x86_64-unknown-cygwin - exit ;; + GUESS=x86_64-pc-cygwin + ;; prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" - exit ;; + SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` + GUESS=powerpcle-unknown-solaris2$SUN_REL + ;; *:GNU:*:*) # the GNU system - echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`" - exit ;; + GNU_ARCH=`echo "$UNAME_MACHINE" | sed -e 's,[-/].*$,,'` + GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's,/.*$,,'` + GUESS=$GNU_ARCH-unknown-$LIBC$GNU_REL + ;; *:GNU/*:*:*) # other systems with GNU libc and userland - echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC" - exit ;; - i*86:Minix:*:*) - echo "$UNAME_MACHINE"-pc-minix - exit ;; + GNU_SYS=`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"` + GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` + GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC + ;; + *:Minix:*:*) + GUESS=$UNAME_MACHINE-unknown-minix + ;; aarch64:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; @@ -916,187 +988,225 @@ EOF esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - arc:Linux:*:* | arceb:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; + arc:Linux:*:* | arceb:Linux:*:* | arc32:Linux:*:* | arc64:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; arm*:Linux:*:*) - eval "$set_cc_for_build" + set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi + GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabi else - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf + GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabihf fi fi - exit ;; + ;; avr32*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; cris:Linux:*:*) - echo "$UNAME_MACHINE"-axis-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-axis-linux-$LIBC + ;; crisv32:Linux:*:*) - echo "$UNAME_MACHINE"-axis-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-axis-linux-$LIBC + ;; e2k:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; frv:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; hexagon:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; i*86:Linux:*:*) - echo "$UNAME_MACHINE"-pc-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-pc-linux-$LIBC + ;; ia64:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; k1om:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; + loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; m32r*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; m68*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; mips:Linux:*:* | mips64:Linux:*:*) - eval "$set_cc_for_build" + set_cc_for_build + IS_GLIBC=0 + test x"${LIBC}" = xgnu && IS_GLIBC=1 sed 's/^ //' << EOF > "$dummy.c" #undef CPU - #undef ${UNAME_MACHINE} - #undef ${UNAME_MACHINE}el + #undef mips + #undef mipsel + #undef mips64 + #undef mips64el + #if ${IS_GLIBC} && defined(_ABI64) + LIBCABI=gnuabi64 + #else + #if ${IS_GLIBC} && defined(_ABIN32) + LIBCABI=gnuabin32 + #else + LIBCABI=${LIBC} + #endif + #endif + + #if ${IS_GLIBC} && defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6 + CPU=mipsisa64r6 + #else + #if ${IS_GLIBC} && !defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6 + CPU=mipsisa32r6 + #else + #if defined(__mips64) + CPU=mips64 + #else + CPU=mips + #endif + #endif + #endif + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=${UNAME_MACHINE}el + MIPS_ENDIAN=el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=${UNAME_MACHINE} + MIPS_ENDIAN= #else - CPU= + MIPS_ENDIAN= #endif #endif EOF - eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`" - test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; } + cc_set_vars=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU\|^MIPS_ENDIAN\|^LIBCABI'` + eval "$cc_set_vars" + test "x$CPU" != x && { echo "$CPU${MIPS_ENDIAN}-unknown-linux-$LIBCABI"; exit; } ;; mips64el:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; openrisc*:Linux:*:*) - echo or1k-unknown-linux-"$LIBC" - exit ;; + GUESS=or1k-unknown-linux-$LIBC + ;; or32:Linux:*:* | or1k*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; padre:Linux:*:*) - echo sparc-unknown-linux-"$LIBC" - exit ;; + GUESS=sparc-unknown-linux-$LIBC + ;; parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-"$LIBC" - exit ;; + GUESS=hppa64-unknown-linux-$LIBC + ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;; - PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;; - *) echo hppa-unknown-linux-"$LIBC" ;; + PA7*) GUESS=hppa1.1-unknown-linux-$LIBC ;; + PA8*) GUESS=hppa2.0-unknown-linux-$LIBC ;; + *) GUESS=hppa-unknown-linux-$LIBC ;; esac - exit ;; + ;; ppc64:Linux:*:*) - echo powerpc64-unknown-linux-"$LIBC" - exit ;; + GUESS=powerpc64-unknown-linux-$LIBC + ;; ppc:Linux:*:*) - echo powerpc-unknown-linux-"$LIBC" - exit ;; + GUESS=powerpc-unknown-linux-$LIBC + ;; ppc64le:Linux:*:*) - echo powerpc64le-unknown-linux-"$LIBC" - exit ;; + GUESS=powerpc64le-unknown-linux-$LIBC + ;; ppcle:Linux:*:*) - echo powerpcle-unknown-linux-"$LIBC" - exit ;; - riscv32:Linux:*:* | riscv64:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=powerpcle-unknown-linux-$LIBC + ;; + riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; s390:Linux:*:* | s390x:Linux:*:*) - echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-ibm-linux-$LIBC + ;; sh64*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; sh*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; sparc:Linux:*:* | sparc64:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; tile*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; vax:Linux:*:*) - echo "$UNAME_MACHINE"-dec-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-dec-linux-$LIBC + ;; x86_64:Linux:*:*) - if objdump -f /bin/sh | grep -q elf32-x86-64; then - echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32 - else - echo "$UNAME_MACHINE"-pc-linux-"$LIBC" + set_cc_for_build + LIBCABI=$LIBC + if test "$CC_FOR_BUILD" != no_compiler_found; then + if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_X32 >/dev/null + then + LIBCABI=${LIBC}x32 + fi fi - exit ;; + GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI + ;; xtensa*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. - echo i386-sequent-sysv4 - exit ;; + GUESS=i386-sequent-sysv4 + ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. - echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION" - exit ;; + GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION + ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. - echo "$UNAME_MACHINE"-pc-os2-emx - exit ;; + GUESS=$UNAME_MACHINE-pc-os2-emx + ;; i*86:XTS-300:*:STOP) - echo "$UNAME_MACHINE"-unknown-stop - exit ;; + GUESS=$UNAME_MACHINE-unknown-stop + ;; i*86:atheos:*:*) - echo "$UNAME_MACHINE"-unknown-atheos - exit ;; + GUESS=$UNAME_MACHINE-unknown-atheos + ;; i*86:syllable:*:*) - echo "$UNAME_MACHINE"-pc-syllable - exit ;; + GUESS=$UNAME_MACHINE-pc-syllable + ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) - echo i386-unknown-lynxos"$UNAME_RELEASE" - exit ;; + GUESS=i386-unknown-lynxos$UNAME_RELEASE + ;; i*86:*DOS:*:*) - echo "$UNAME_MACHINE"-pc-msdosdjgpp - exit ;; + GUESS=$UNAME_MACHINE-pc-msdosdjgpp + ;; i*86:*:4.*:*) UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL" + GUESS=$UNAME_MACHINE-univel-sysv$UNAME_REL else - echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL" + GUESS=$UNAME_MACHINE-pc-sysv$UNAME_REL fi - exit ;; + ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in @@ -1104,12 +1214,12 @@ EOF *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac - echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}" - exit ;; + GUESS=$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 @@ -1119,11 +1229,11 @@ EOF && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 - echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL" + GUESS=$UNAME_MACHINE-pc-sco$UNAME_REL else - echo "$UNAME_MACHINE"-pc-sysv32 + GUESS=$UNAME_MACHINE-pc-sysv32 fi - exit ;; + ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about @@ -1131,31 +1241,31 @@ EOF # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configure will decide that # this is a cross-build. - echo i586-pc-msdosdjgpp - exit ;; + GUESS=i586-pc-msdosdjgpp + ;; Intel:Mach:3*:*) - echo i386-pc-mach3 - exit ;; + GUESS=i386-pc-mach3 + ;; paragon:*:*:*) - echo i860-intel-osf1 - exit ;; + GUESS=i860-intel-osf1 + ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4 + GUESS=i860-stardent-sysv$UNAME_RELEASE # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4 + GUESS=i860-unknown-sysv$UNAME_RELEASE # Unknown i860-SVR4 fi - exit ;; + ;; mini*:CTIX:SYS*5:*) # "miniframe" - echo m68010-convergent-sysv - exit ;; + GUESS=m68010-convergent-sysv + ;; mc68k:UNIX:SYSTEM5:3.51m) - echo m68k-convergent-sysv - exit ;; + GUESS=m68k-convergent-sysv + ;; M680?0:D-NIX:5.3:*) - echo m68k-diab-dnix - exit ;; + GUESS=m68k-diab-dnix + ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) @@ -1180,249 +1290,404 @@ EOF /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) - echo m68k-unknown-lynxos"$UNAME_RELEASE" - exit ;; + GUESS=m68k-unknown-lynxos$UNAME_RELEASE + ;; mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit ;; + GUESS=m68k-atari-sysv4 + ;; TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos"$UNAME_RELEASE" - exit ;; + GUESS=sparc-unknown-lynxos$UNAME_RELEASE + ;; rs6000:LynxOS:2.*:*) - echo rs6000-unknown-lynxos"$UNAME_RELEASE" - exit ;; + GUESS=rs6000-unknown-lynxos$UNAME_RELEASE + ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) - echo powerpc-unknown-lynxos"$UNAME_RELEASE" - exit ;; + GUESS=powerpc-unknown-lynxos$UNAME_RELEASE + ;; SM[BE]S:UNIX_SV:*:*) - echo mips-dde-sysv"$UNAME_RELEASE" - exit ;; + GUESS=mips-dde-sysv$UNAME_RELEASE + ;; RM*:ReliantUNIX-*:*:*) - echo mips-sni-sysv4 - exit ;; + GUESS=mips-sni-sysv4 + ;; RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit ;; + GUESS=mips-sni-sysv4 + ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo "$UNAME_MACHINE"-sni-sysv4 + GUESS=$UNAME_MACHINE-sni-sysv4 else - echo ns32k-sni-sysv + GUESS=ns32k-sni-sysv fi - exit ;; + ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says - echo i586-unisys-sysv4 - exit ;; + GUESS=i586-unisys-sysv4 + ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm - echo hppa1.1-stratus-sysv4 - exit ;; + GUESS=hppa1.1-stratus-sysv4 + ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. - echo i860-stratus-sysv4 - exit ;; + GUESS=i860-stratus-sysv4 + ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. - echo "$UNAME_MACHINE"-stratus-vos - exit ;; + GUESS=$UNAME_MACHINE-stratus-vos + ;; *:VOS:*:*) # From Paul.Green@stratus.com. - echo hppa1.1-stratus-vos - exit ;; + GUESS=hppa1.1-stratus-vos + ;; mc68*:A/UX:*:*) - echo m68k-apple-aux"$UNAME_RELEASE" - exit ;; + GUESS=m68k-apple-aux$UNAME_RELEASE + ;; news*:NEWS-OS:6*:*) - echo mips-sony-newsos6 - exit ;; + GUESS=mips-sony-newsos6 + ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) - if [ -d /usr/nec ]; then - echo mips-nec-sysv"$UNAME_RELEASE" + if test -d /usr/nec; then + GUESS=mips-nec-sysv$UNAME_RELEASE else - echo mips-unknown-sysv"$UNAME_RELEASE" + GUESS=mips-unknown-sysv$UNAME_RELEASE fi - exit ;; + ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. - echo powerpc-be-beos - exit ;; + GUESS=powerpc-be-beos + ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. - echo powerpc-apple-beos - exit ;; + GUESS=powerpc-apple-beos + ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. - echo i586-pc-beos - exit ;; + GUESS=i586-pc-beos + ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. - echo i586-pc-haiku - exit ;; + GUESS=i586-pc-haiku + ;; x86_64:Haiku:*:*) - echo x86_64-unknown-haiku - exit ;; + GUESS=x86_64-unknown-haiku + ;; SX-4:SUPER-UX:*:*) - echo sx4-nec-superux"$UNAME_RELEASE" - exit ;; + GUESS=sx4-nec-superux$UNAME_RELEASE + ;; SX-5:SUPER-UX:*:*) - echo sx5-nec-superux"$UNAME_RELEASE" - exit ;; + GUESS=sx5-nec-superux$UNAME_RELEASE + ;; SX-6:SUPER-UX:*:*) - echo sx6-nec-superux"$UNAME_RELEASE" - exit ;; + GUESS=sx6-nec-superux$UNAME_RELEASE + ;; SX-7:SUPER-UX:*:*) - echo sx7-nec-superux"$UNAME_RELEASE" - exit ;; + GUESS=sx7-nec-superux$UNAME_RELEASE + ;; SX-8:SUPER-UX:*:*) - echo sx8-nec-superux"$UNAME_RELEASE" - exit ;; + GUESS=sx8-nec-superux$UNAME_RELEASE + ;; SX-8R:SUPER-UX:*:*) - echo sx8r-nec-superux"$UNAME_RELEASE" - exit ;; + GUESS=sx8r-nec-superux$UNAME_RELEASE + ;; SX-ACE:SUPER-UX:*:*) - echo sxace-nec-superux"$UNAME_RELEASE" - exit ;; + GUESS=sxace-nec-superux$UNAME_RELEASE + ;; Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody"$UNAME_RELEASE" - exit ;; + GUESS=powerpc-apple-rhapsody$UNAME_RELEASE + ;; *:Rhapsody:*:*) - echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-apple-rhapsody$UNAME_RELEASE + ;; + arm64:Darwin:*:*) + GUESS=aarch64-apple-darwin$UNAME_RELEASE + ;; *:Darwin:*:*) - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown - eval "$set_cc_for_build" - if test "$UNAME_PROCESSOR" = unknown ; then - UNAME_PROCESSOR=powerpc + UNAME_PROCESSOR=`uname -p` + case $UNAME_PROCESSOR in + unknown) UNAME_PROCESSOR=powerpc ;; + esac + if command -v xcode-select > /dev/null 2> /dev/null && \ + ! xcode-select --print-path > /dev/null 2> /dev/null ; then + # Avoid executing cc if there is no toolchain installed as + # cc will be a stub that puts up a graphical alert + # prompting the user to install developer tools. + CC_FOR_BUILD=no_compiler_found + else + set_cc_for_build fi - if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then - if [ "$CC_FOR_BUILD" != no_compiler_found ]; then - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - case $UNAME_PROCESSOR in - i386) UNAME_PROCESSOR=x86_64 ;; - powerpc) UNAME_PROCESSOR=powerpc64 ;; - esac - fi - # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc - if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_PPC >/dev/null - then - UNAME_PROCESSOR=powerpc - fi + if test "$CC_FOR_BUILD" != no_compiler_found; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in + i386) UNAME_PROCESSOR=x86_64 ;; + powerpc) UNAME_PROCESSOR=powerpc64 ;; + esac + fi + # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc + if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_PPC >/dev/null + then + UNAME_PROCESSOR=powerpc fi elif test "$UNAME_PROCESSOR" = i386 ; then - # Avoid executing cc on OS X 10.9, as it ships with a stub - # that puts up a graphical alert prompting to install - # developer tools. Any system running Mac OS X 10.7 or - # later (Darwin 11 and later) is required to have a 64-bit - # processor. This is not true of the ARM version of Darwin - # that Apple uses in portable devices. - UNAME_PROCESSOR=x86_64 + # uname -m returns i386 or x86_64 + UNAME_PROCESSOR=$UNAME_MACHINE fi - echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_PROCESSOR-apple-darwin$UNAME_RELEASE + ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = x86; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi - echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_PROCESSOR-$UNAME_MACHINE-nto-qnx$UNAME_RELEASE + ;; *:QNX:*:4*) - echo i386-pc-qnx - exit ;; + GUESS=i386-pc-qnx + ;; NEO-*:NONSTOP_KERNEL:*:*) - echo neo-tandem-nsk"$UNAME_RELEASE" - exit ;; + GUESS=neo-tandem-nsk$UNAME_RELEASE + ;; NSE-*:NONSTOP_KERNEL:*:*) - echo nse-tandem-nsk"$UNAME_RELEASE" - exit ;; + GUESS=nse-tandem-nsk$UNAME_RELEASE + ;; NSR-*:NONSTOP_KERNEL:*:*) - echo nsr-tandem-nsk"$UNAME_RELEASE" - exit ;; + GUESS=nsr-tandem-nsk$UNAME_RELEASE + ;; NSV-*:NONSTOP_KERNEL:*:*) - echo nsv-tandem-nsk"$UNAME_RELEASE" - exit ;; + GUESS=nsv-tandem-nsk$UNAME_RELEASE + ;; NSX-*:NONSTOP_KERNEL:*:*) - echo nsx-tandem-nsk"$UNAME_RELEASE" - exit ;; + GUESS=nsx-tandem-nsk$UNAME_RELEASE + ;; *:NonStop-UX:*:*) - echo mips-compaq-nonstopux - exit ;; + GUESS=mips-compaq-nonstopux + ;; BS2000:POSIX*:*:*) - echo bs2000-siemens-sysv - exit ;; + GUESS=bs2000-siemens-sysv + ;; DS/*:UNIX_System_V:*:*) - echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-$UNAME_SYSTEM-$UNAME_RELEASE + ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. - if test "$cputype" = 386; then + if test "${cputype-}" = 386; then UNAME_MACHINE=i386 - else - UNAME_MACHINE="$cputype" + elif test "x${cputype-}" != x; then + UNAME_MACHINE=$cputype fi - echo "$UNAME_MACHINE"-unknown-plan9 - exit ;; + GUESS=$UNAME_MACHINE-unknown-plan9 + ;; *:TOPS-10:*:*) - echo pdp10-unknown-tops10 - exit ;; + GUESS=pdp10-unknown-tops10 + ;; *:TENEX:*:*) - echo pdp10-unknown-tenex - exit ;; + GUESS=pdp10-unknown-tenex + ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) - echo pdp10-dec-tops20 - exit ;; + GUESS=pdp10-dec-tops20 + ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) - echo pdp10-xkl-tops20 - exit ;; + GUESS=pdp10-xkl-tops20 + ;; *:TOPS-20:*:*) - echo pdp10-unknown-tops20 - exit ;; + GUESS=pdp10-unknown-tops20 + ;; *:ITS:*:*) - echo pdp10-unknown-its - exit ;; + GUESS=pdp10-unknown-its + ;; SEI:*:*:SEIUX) - echo mips-sei-seiux"$UNAME_RELEASE" - exit ;; + GUESS=mips-sei-seiux$UNAME_RELEASE + ;; *:DragonFly:*:*) - echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" - exit ;; + DRAGONFLY_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` + GUESS=$UNAME_MACHINE-unknown-dragonfly$DRAGONFLY_REL + ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` - case "$UNAME_MACHINE" in - A*) echo alpha-dec-vms ; exit ;; - I*) echo ia64-dec-vms ; exit ;; - V*) echo vax-dec-vms ; exit ;; + case $UNAME_MACHINE in + A*) GUESS=alpha-dec-vms ;; + I*) GUESS=ia64-dec-vms ;; + V*) GUESS=vax-dec-vms ;; esac ;; *:XENIX:*:SysV) - echo i386-pc-xenix - exit ;; + GUESS=i386-pc-xenix + ;; i*86:skyos:*:*) - echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`" - exit ;; + SKYOS_REL=`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'` + GUESS=$UNAME_MACHINE-pc-skyos$SKYOS_REL + ;; i*86:rdos:*:*) - echo "$UNAME_MACHINE"-pc-rdos - exit ;; - i*86:AROS:*:*) - echo "$UNAME_MACHINE"-pc-aros - exit ;; + GUESS=$UNAME_MACHINE-pc-rdos + ;; + i*86:Fiwix:*:*) + GUESS=$UNAME_MACHINE-pc-fiwix + ;; + *:AROS:*:*) + GUESS=$UNAME_MACHINE-unknown-aros + ;; x86_64:VMkernel:*:*) - echo "$UNAME_MACHINE"-unknown-esx - exit ;; + GUESS=$UNAME_MACHINE-unknown-esx + ;; amd64:Isilon\ OneFS:*:*) - echo x86_64-unknown-onefs - exit ;; + GUESS=x86_64-unknown-onefs + ;; + *:Unleashed:*:*) + GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE + ;; esac +# Do we have a guess based on uname results? +if test "x$GUESS" != x; then + echo "$GUESS" + exit +fi + +# No uname command or uname output not recognized. +set_cc_for_build +cat > "$dummy.c" < +#include +#endif +#if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__) +#if defined (vax) || defined (__vax) || defined (__vax__) || defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__) +#include +#if defined(_SIZE_T_) || defined(SIGLOST) +#include +#endif +#endif +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); +#endif + +#if defined (vax) +#if !defined (ultrix) +#include +#if defined (BSD) +#if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +#else +#if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +#else + printf ("vax-dec-bsd\n"); exit (0); +#endif +#endif +#else + printf ("vax-dec-bsd\n"); exit (0); +#endif +#else +#if defined(_SIZE_T_) || defined(SIGLOST) + struct utsname un; + uname (&un); + printf ("vax-dec-ultrix%s\n", un.release); exit (0); +#else + printf ("vax-dec-ultrix\n"); exit (0); +#endif +#endif +#endif +#if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__) +#if defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__) +#if defined(_SIZE_T_) || defined(SIGLOST) + struct utsname *un; + uname (&un); + printf ("mips-dec-ultrix%s\n", un.release); exit (0); +#else + printf ("mips-dec-ultrix\n"); exit (0); +#endif +#endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null && SYSTEM_NAME=`"$dummy"` && + { echo "$SYSTEM_NAME"; exit; } + +# Apollos put the system type in the environment. +test -d /usr/apollo && { echo "$ISP-apollo-$SYSTYPE"; exit; } + echo "$0: unable to guess system type" >&2 -case "$UNAME_MACHINE:$UNAME_SYSTEM" in +case $UNAME_MACHINE:$UNAME_SYSTEM in mips:Linux | mips64:Linux) # If we got here on MIPS GNU/Linux, output extra information. cat >&2 <&2 <&2 exit 1 ;; *local*) @@ -110,1223 +119,1186 @@ case $# in exit 1;; esac -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` -case $maybe_os in - nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ - linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ - knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ - kopensolaris*-gnu* | cloudabi*-eabi* | \ - storm-chaos* | os2-emx* | rtmk-nova*) - os=-$maybe_os - basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` - ;; - android-linux) - os=-linux-android - basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown - ;; - *) - basic_machine=`echo "$1" | sed 's/-[^-]*$//'` - if [ "$basic_machine" != "$1" ] - then os=`echo "$1" | sed 's/.*-/-/'` - else os=; fi - ;; -esac +# Split fields of configuration type +# shellcheck disable=SC2162 +saved_IFS=$IFS +IFS="-" read field1 field2 field3 field4 <&2 + exit 1 ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray | -microblaze*) - os= - basic_machine=$1 + *-*-*-*) + basic_machine=$field1-$field2 + basic_os=$field3-$field4 ;; - -bluegene*) - os=-cnk + *-*-*) + # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two + # parts + maybe_os=$field2-$field3 + case $maybe_os in + nto-qnx* | linux-* | uclinux-uclibc* \ + | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \ + | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ + | storm-chaos* | os2-emx* | rtmk-nova*) + basic_machine=$field1 + basic_os=$maybe_os + ;; + android-linux) + basic_machine=$field1-unknown + basic_os=linux-android + ;; + *) + basic_machine=$field1-$field2 + basic_os=$field3 + ;; + esac ;; - -sim | -cisco | -oki | -wec | -winbond) - os= - basic_machine=$1 + *-*) + # A lone config we happen to match not fitting any pattern + case $field1-$field2 in + decstation-3100) + basic_machine=mips-dec + basic_os= + ;; + *-*) + # Second component is usually, but not always the OS + case $field2 in + # Prevent following clause from handling this valid os + sun*os*) + basic_machine=$field1 + basic_os=$field2 + ;; + 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) + basic_machine=$field1-$field2 + basic_os= + ;; + *) + basic_machine=$field1 + basic_os=$field2 + ;; + esac + ;; + esac ;; - -scout) - ;; - -wrs) - os=-vxworks - basic_machine=$1 - ;; - -chorusos*) - os=-chorusos - basic_machine=$1 - ;; - -chorusrdb) - os=-chorusrdb - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco6) - os=-sco5v6 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco5) - os=-sco3.2v5 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.[4-9]*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v[4-9]*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco5v6*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -udk*) - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*178) - os=-lynxos178 - ;; - -lynx*5) - os=-lynxos5 - ;; - -lynx*) - os=-lynxos - ;; - -ptx*) - basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'` - ;; - -psos*) - os=-psos - ;; - -mint | -mint[0-9]*) - basic_machine=m68k-atari - os=-mint + *) + # Convert single-component short-hands not valid as part of + # multi-component configurations. + case $field1 in + 386bsd) + basic_machine=i386-pc + basic_os=bsd + ;; + a29khif) + basic_machine=a29k-amd + basic_os=udi + ;; + adobe68k) + basic_machine=m68010-adobe + basic_os=scout + ;; + alliant) + basic_machine=fx80-alliant + basic_os= + ;; + altos | altos3068) + basic_machine=m68k-altos + basic_os= + ;; + am29k) + basic_machine=a29k-none + basic_os=bsd + ;; + amdahl) + basic_machine=580-amdahl + basic_os=sysv + ;; + amiga) + basic_machine=m68k-unknown + basic_os= + ;; + amigaos | amigados) + basic_machine=m68k-unknown + basic_os=amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + basic_os=sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + basic_os=sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + basic_os=bsd + ;; + aros) + basic_machine=i386-pc + basic_os=aros + ;; + aux) + basic_machine=m68k-apple + basic_os=aux + ;; + balance) + basic_machine=ns32k-sequent + basic_os=dynix + ;; + blackfin) + basic_machine=bfin-unknown + basic_os=linux + ;; + cegcc) + basic_machine=arm-unknown + basic_os=cegcc + ;; + convex-c1) + basic_machine=c1-convex + basic_os=bsd + ;; + convex-c2) + basic_machine=c2-convex + basic_os=bsd + ;; + convex-c32) + basic_machine=c32-convex + basic_os=bsd + ;; + convex-c34) + basic_machine=c34-convex + basic_os=bsd + ;; + convex-c38) + basic_machine=c38-convex + basic_os=bsd + ;; + cray) + basic_machine=j90-cray + basic_os=unicos + ;; + crds | unos) + basic_machine=m68k-crds + basic_os= + ;; + da30) + basic_machine=m68k-da30 + basic_os= + ;; + decstation | pmax | pmin | dec3100 | decstatn) + basic_machine=mips-dec + basic_os= + ;; + delta88) + basic_machine=m88k-motorola + basic_os=sysv3 + ;; + dicos) + basic_machine=i686-pc + basic_os=dicos + ;; + djgpp) + basic_machine=i586-pc + basic_os=msdosdjgpp + ;; + ebmon29k) + basic_machine=a29k-amd + basic_os=ebmon + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + basic_os=ose + ;; + gmicro) + basic_machine=tron-gmicro + basic_os=sysv + ;; + go32) + basic_machine=i386-pc + basic_os=go32 + ;; + h8300hms) + basic_machine=h8300-hitachi + basic_os=hms + ;; + h8300xray) + basic_machine=h8300-hitachi + basic_os=xray + ;; + h8500hms) + basic_machine=h8500-hitachi + basic_os=hms + ;; + harris) + basic_machine=m88k-harris + basic_os=sysv3 + ;; + hp300 | hp300hpux) + basic_machine=m68k-hp + basic_os=hpux + ;; + hp300bsd) + basic_machine=m68k-hp + basic_os=bsd + ;; + hppaosf) + basic_machine=hppa1.1-hp + basic_os=osf + ;; + hppro) + basic_machine=hppa1.1-hp + basic_os=proelf + ;; + i386mach) + basic_machine=i386-mach + basic_os=mach + ;; + isi68 | isi) + basic_machine=m68k-isi + basic_os=sysv + ;; + m68knommu) + basic_machine=m68k-unknown + basic_os=linux + ;; + magnum | m3230) + basic_machine=mips-mips + basic_os=sysv + ;; + merlin) + basic_machine=ns32k-utek + basic_os=sysv + ;; + mingw64) + basic_machine=x86_64-pc + basic_os=mingw64 + ;; + mingw32) + basic_machine=i686-pc + basic_os=mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + basic_os=mingw32ce + ;; + monitor) + basic_machine=m68k-rom68k + basic_os=coff + ;; + morphos) + basic_machine=powerpc-unknown + basic_os=morphos + ;; + moxiebox) + basic_machine=moxie-unknown + basic_os=moxiebox + ;; + msdos) + basic_machine=i386-pc + basic_os=msdos + ;; + msys) + basic_machine=i686-pc + basic_os=msys + ;; + mvs) + basic_machine=i370-ibm + basic_os=mvs + ;; + nacl) + basic_machine=le32-unknown + basic_os=nacl + ;; + ncr3000) + basic_machine=i486-ncr + basic_os=sysv4 + ;; + netbsd386) + basic_machine=i386-pc + basic_os=netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + basic_os=linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + basic_os=newsos + ;; + news1000) + basic_machine=m68030-sony + basic_os=newsos + ;; + necv70) + basic_machine=v70-nec + basic_os=sysv + ;; + nh3000) + basic_machine=m68k-harris + basic_os=cxux + ;; + nh[45]000) + basic_machine=m88k-harris + basic_os=cxux + ;; + nindy960) + basic_machine=i960-intel + basic_os=nindy + ;; + mon960) + basic_machine=i960-intel + basic_os=mon960 + ;; + nonstopux) + basic_machine=mips-compaq + basic_os=nonstopux + ;; + os400) + basic_machine=powerpc-ibm + basic_os=os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + basic_os=ose + ;; + os68k) + basic_machine=m68k-none + basic_os=os68k + ;; + paragon) + basic_machine=i860-intel + basic_os=osf + ;; + parisc) + basic_machine=hppa-unknown + basic_os=linux + ;; + psp) + basic_machine=mipsallegrexel-sony + basic_os=psp + ;; + pw32) + basic_machine=i586-unknown + basic_os=pw32 + ;; + rdos | rdos64) + basic_machine=x86_64-pc + basic_os=rdos + ;; + rdos32) + basic_machine=i386-pc + basic_os=rdos + ;; + rom68k) + basic_machine=m68k-rom68k + basic_os=coff + ;; + sa29200) + basic_machine=a29k-amd + basic_os=udi + ;; + sei) + basic_machine=mips-sei + basic_os=seiux + ;; + sequent) + basic_machine=i386-sequent + basic_os= + ;; + sps7) + basic_machine=m68k-bull + basic_os=sysv2 + ;; + st2000) + basic_machine=m68k-tandem + basic_os= + ;; + stratus) + basic_machine=i860-stratus + basic_os=sysv4 + ;; + sun2) + basic_machine=m68000-sun + basic_os= + ;; + sun2os3) + basic_machine=m68000-sun + basic_os=sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + basic_os=sunos4 + ;; + sun3) + basic_machine=m68k-sun + basic_os= + ;; + sun3os3) + basic_machine=m68k-sun + basic_os=sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + basic_os=sunos4 + ;; + sun4) + basic_machine=sparc-sun + basic_os= + ;; + sun4os3) + basic_machine=sparc-sun + basic_os=sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + basic_os=sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + basic_os=solaris2 + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + basic_os= + ;; + sv1) + basic_machine=sv1-cray + basic_os=unicos + ;; + symmetry) + basic_machine=i386-sequent + basic_os=dynix + ;; + t3e) + basic_machine=alphaev5-cray + basic_os=unicos + ;; + t90) + basic_machine=t90-cray + basic_os=unicos + ;; + toad1) + basic_machine=pdp10-xkl + basic_os=tops20 + ;; + tpf) + basic_machine=s390x-ibm + basic_os=tpf + ;; + udi29k) + basic_machine=a29k-amd + basic_os=udi + ;; + ultra3) + basic_machine=a29k-nyu + basic_os=sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + basic_os=none + ;; + vaxv) + basic_machine=vax-dec + basic_os=sysv + ;; + vms) + basic_machine=vax-dec + basic_os=vms + ;; + vsta) + basic_machine=i386-pc + basic_os=vsta + ;; + vxworks960) + basic_machine=i960-wrs + basic_os=vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + basic_os=vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + basic_os=vxworks + ;; + xbox) + basic_machine=i686-pc + basic_os=mingw32 + ;; + ymp) + basic_machine=ymp-cray + basic_os=unicos + ;; + *) + basic_machine=$1 + basic_os= + ;; + esac ;; esac -# Decode aliases for certain CPU-COMPANY combinations. +# Decode 1-component or ad-hoc basic machines case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - 1750a | 580 \ - | a29k \ - | aarch64 | aarch64_be \ - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ - | am33_2.0 \ - | arc | arceb \ - | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ - | avr | avr32 \ - | ba \ - | be32 | be64 \ - | bfin \ - | c4x | c8051 | clipper \ - | d10v | d30v | dlx | dsp16xx \ - | e2k | epiphany \ - | fido | fr30 | frv | ft32 \ - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ - | hexagon \ - | i370 | i860 | i960 | ia16 | ia64 \ - | ip2k | iq2000 \ - | k1om \ - | le32 | le64 \ - | lm32 \ - | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ - | mips | mipsbe | mipseb | mipsel | mipsle \ - | mips16 \ - | mips64 | mips64el \ - | mips64octeon | mips64octeonel \ - | mips64orion | mips64orionel \ - | mips64r5900 | mips64r5900el \ - | mips64vr | mips64vrel \ - | mips64vr4100 | mips64vr4100el \ - | mips64vr4300 | mips64vr4300el \ - | mips64vr5000 | mips64vr5000el \ - | mips64vr5900 | mips64vr5900el \ - | mipsisa32 | mipsisa32el \ - | mipsisa32r2 | mipsisa32r2el \ - | mipsisa32r6 | mipsisa32r6el \ - | mipsisa64 | mipsisa64el \ - | mipsisa64r2 | mipsisa64r2el \ - | mipsisa64r6 | mipsisa64r6el \ - | mipsisa64sb1 | mipsisa64sb1el \ - | mipsisa64sr71k | mipsisa64sr71kel \ - | mipsr5900 | mipsr5900el \ - | mipstx39 | mipstx39el \ - | mn10200 | mn10300 \ - | moxie \ - | mt \ - | msp430 \ - | nds32 | nds32le | nds32be \ - | nios | nios2 | nios2eb | nios2el \ - | ns16k | ns32k \ - | open8 | or1k | or1knd | or32 \ - | pdp10 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle \ - | pru \ - | pyramid \ - | riscv32 | riscv64 \ - | rl78 | rx \ - | score \ - | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ - | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu \ - | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ - | ubicom32 \ - | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ - | visium \ - | wasm32 \ - | x86 | xc16x | xstormy16 | xtensa \ - | z8k | z80) - basic_machine=$basic_machine-unknown + # Here we handle the default manufacturer of certain CPU types. It is in + # some cases the only manufacturer, in others, it is the most popular. + w89k) + cpu=hppa1.1 + vendor=winbond ;; - c54x) - basic_machine=tic54x-unknown + op50n) + cpu=hppa1.1 + vendor=oki ;; - c55x) - basic_machine=tic55x-unknown + op60c) + cpu=hppa1.1 + vendor=oki ;; - c6x) - basic_machine=tic6x-unknown + ibm*) + cpu=i370 + vendor=ibm + ;; + orion105) + cpu=clipper + vendor=highlevel + ;; + mac | mpw | mac-mpw) + cpu=m68k + vendor=apple + ;; + pmac | pmac-mpw) + cpu=powerpc + vendor=apple + ;; + + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + cpu=m68000 + vendor=att + ;; + 3b*) + cpu=we32k + vendor=att + ;; + bluegene*) + cpu=powerpc + vendor=ibm + basic_os=cnk + ;; + decsystem10* | dec10*) + cpu=pdp10 + vendor=dec + basic_os=tops10 + ;; + decsystem20* | dec20*) + cpu=pdp10 + vendor=dec + basic_os=tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + cpu=m68k + vendor=motorola + ;; + dpx2*) + cpu=m68k + vendor=bull + basic_os=sysv3 + ;; + encore | umax | mmax) + cpu=ns32k + vendor=encore + ;; + elxsi) + cpu=elxsi + vendor=elxsi + basic_os=${basic_os:-bsd} + ;; + fx2800) + cpu=i860 + vendor=alliant + ;; + genix) + cpu=ns32k + vendor=ns + ;; + h3050r* | hiux*) + cpu=hppa1.1 + vendor=hitachi + basic_os=hiuxwe2 + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + cpu=hppa1.0 + vendor=hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + cpu=m68000 + vendor=hp + ;; + hp9k3[2-9][0-9]) + cpu=m68k + vendor=hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + cpu=hppa1.0 + vendor=hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + cpu=hppa1.1 + vendor=hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + cpu=hppa1.1 + vendor=hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + cpu=hppa1.1 + vendor=hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + cpu=hppa1.1 + vendor=hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + cpu=hppa1.0 + vendor=hp + ;; + i*86v32) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + basic_os=sysv32 + ;; + i*86v4*) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + basic_os=sysv4 + ;; + i*86v) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + basic_os=sysv + ;; + i*86sol2) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + basic_os=solaris2 + ;; + j90 | j90-cray) + cpu=j90 + vendor=cray + basic_os=${basic_os:-unicos} + ;; + iris | iris4d) + cpu=mips + vendor=sgi + case $basic_os in + irix*) + ;; + *) + basic_os=irix4 + ;; + esac + ;; + miniframe) + cpu=m68000 + vendor=convergent + ;; + *mint | mint[0-9]* | *MiNT | *MiNT[0-9]*) + cpu=m68k + vendor=atari + basic_os=mint + ;; + news-3600 | risc-news) + cpu=mips + vendor=sony + basic_os=newsos + ;; + next | m*-next) + cpu=m68k + vendor=next + case $basic_os in + openstep*) + ;; + nextstep*) + ;; + ns2*) + basic_os=nextstep2 + ;; + *) + basic_os=nextstep3 + ;; + esac + ;; + np1) + cpu=np1 + vendor=gould + ;; + op50n-* | op60c-*) + cpu=hppa1.1 + vendor=oki + basic_os=proelf + ;; + pa-hitachi) + cpu=hppa1.1 + vendor=hitachi + basic_os=hiuxwe2 + ;; + pbd) + cpu=sparc + vendor=tti + ;; + pbb) + cpu=m68k + vendor=tti + ;; + pc532) + cpu=ns32k + vendor=pc532 + ;; + pn) + cpu=pn + vendor=gould + ;; + power) + cpu=power + vendor=ibm + ;; + ps2) + cpu=i386 + vendor=ibm + ;; + rm[46]00) + cpu=mips + vendor=siemens + ;; + rtpc | rtpc-*) + cpu=romp + vendor=ibm + ;; + sde) + cpu=mipsisa32 + vendor=sde + basic_os=${basic_os:-elf} + ;; + simso-wrs) + cpu=sparclite + vendor=wrs + basic_os=vxworks + ;; + tower | tower-32) + cpu=m68k + vendor=ncr + ;; + vpp*|vx|vx-*) + cpu=f301 + vendor=fujitsu + ;; + w65) + cpu=w65 + vendor=wdc + ;; + w89k-*) + cpu=hppa1.1 + vendor=winbond + basic_os=proelf + ;; + none) + cpu=none + vendor=none ;; leon|leon[3-9]) - basic_machine=sparc-$basic_machine + cpu=sparc + vendor=$basic_machine ;; - m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) - basic_machine=$basic_machine-unknown - os=-none - ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) - ;; - ms1) - basic_machine=mt-unknown + leon-*|leon[3-9]-*) + cpu=sparc + vendor=`echo "$basic_machine" | sed 's/-.*//'` ;; - strongarm | thumb | xscale) - basic_machine=arm-unknown + *-*) + # shellcheck disable=SC2162 + saved_IFS=$IFS + IFS="-" read cpu vendor <&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - 580-* \ - | a29k-* \ - | aarch64-* | aarch64_be-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* | avr32-* \ - | ba-* \ - | be32-* | be64-* \ - | bfin-* | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* \ - | c8051-* | clipper-* | craynv-* | cydra-* \ - | d10v-* | d30v-* | dlx-* \ - | e2k-* | elxsi-* \ - | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ - | h8300-* | h8500-* \ - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ - | hexagon-* \ - | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ - | ip2k-* | iq2000-* \ - | k1om-* \ - | le32-* | le64-* \ - | lm32-* \ - | m32c-* | m32r-* | m32rle-* \ - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ - | microblaze-* | microblazeel-* \ - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ - | mips16-* \ - | mips64-* | mips64el-* \ - | mips64octeon-* | mips64octeonel-* \ - | mips64orion-* | mips64orionel-* \ - | mips64r5900-* | mips64r5900el-* \ - | mips64vr-* | mips64vrel-* \ - | mips64vr4100-* | mips64vr4100el-* \ - | mips64vr4300-* | mips64vr4300el-* \ - | mips64vr5000-* | mips64vr5000el-* \ - | mips64vr5900-* | mips64vr5900el-* \ - | mipsisa32-* | mipsisa32el-* \ - | mipsisa32r2-* | mipsisa32r2el-* \ - | mipsisa32r6-* | mipsisa32r6el-* \ - | mipsisa64-* | mipsisa64el-* \ - | mipsisa64r2-* | mipsisa64r2el-* \ - | mipsisa64r6-* | mipsisa64r6el-* \ - | mipsisa64sb1-* | mipsisa64sb1el-* \ - | mipsisa64sr71k-* | mipsisa64sr71kel-* \ - | mipsr5900-* | mipsr5900el-* \ - | mipstx39-* | mipstx39el-* \ - | mmix-* \ - | mt-* \ - | msp430-* \ - | nds32-* | nds32le-* | nds32be-* \ - | nios-* | nios2-* | nios2eb-* | nios2el-* \ - | none-* | np1-* | ns16k-* | ns32k-* \ - | open8-* \ - | or1k*-* \ - | orion-* \ - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ - | pru-* \ - | pyramid-* \ - | riscv32-* | riscv64-* \ - | rl78-* | romp-* | rs6000-* | rx-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ - | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ - | tahoe-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ - | tile*-* \ - | tron-* \ - | ubicom32-* \ - | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ - | vax-* \ - | visium-* \ - | wasm32-* \ - | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* \ - | xstormy16-* | xtensa*-* \ - | ymp-* \ - | z8k-* | z80-*) - ;; - # Recognize the basic CPU types without company name, with glob match. - xtensa*) - basic_machine=$basic_machine-unknown - ;; - # Recognize the various machine names and aliases which stand - # for a CPU type and a company and sometimes even an OS. - 386bsd) - basic_machine=i386-pc - os=-bsd - ;; - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att - ;; - 3b*) - basic_machine=we32k-att - ;; - a29khif) - basic_machine=a29k-amd - os=-udi - ;; - abacus) - basic_machine=abacus-unknown - ;; - adobe68k) - basic_machine=m68010-adobe - os=-scout - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amd64) - basic_machine=x86_64-pc - ;; - amd64-*) - basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-unknown - ;; - amigaos | amigados) - basic_machine=m68k-unknown - os=-amigaos - ;; - amigaunix | amix) - basic_machine=m68k-unknown - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - apollo68bsd) - basic_machine=m68k-apollo - os=-bsd - ;; - aros) - basic_machine=i386-pc - os=-aros - ;; - asmjs) - basic_machine=asmjs-unknown - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - blackfin) - basic_machine=bfin-unknown - os=-linux - ;; - blackfin-*) - basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux - ;; - bluegene*) - basic_machine=powerpc-ibm - os=-cnk - ;; - c54x-*) - basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - c55x-*) - basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - c6x-*) - basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - c90) - basic_machine=c90-cray - os=-unicos - ;; - cegcc) - basic_machine=arm-unknown - os=-cegcc - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | j90) - basic_machine=j90-cray - os=-unicos - ;; - craynv) - basic_machine=craynv-cray - os=-unicosmp - ;; - cr16 | cr16-*) - basic_machine=cr16-unknown - os=-elf - ;; - crds | unos) - basic_machine=m68k-crds - ;; - crisv32 | crisv32-* | etraxfs*) - basic_machine=crisv32-axis - ;; - cris | cris-* | etrax*) - basic_machine=cris-axis - ;; - crx) - basic_machine=crx-unknown - os=-elf - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec - ;; - decsystem10* | dec10*) - basic_machine=pdp10-dec - os=-tops10 - ;; - decsystem20* | dec20*) - basic_machine=pdp10-dec - os=-tops20 - ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - dicos) - basic_machine=i686-pc - os=-dicos - ;; - djgpp) - basic_machine=i586-pc - os=-msdosdjgpp - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx - ;; - dpx2*) - basic_machine=m68k-bull - os=-sysv3 - ;; - e500v[12]) - basic_machine=powerpc-unknown - os=$os"spe" - ;; - e500v[12]-*) - basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=$os"spe" - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd - ;; - encore | umax | mmax) - basic_machine=ns32k-encore - ;; - es1800 | OSE68k | ose68k | ose | OSE) - basic_machine=m68k-ericsson - os=-ose - ;; - fx2800) - basic_machine=i860-alliant - ;; - genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - go32) - basic_machine=i386-pc - os=-go32 - ;; - h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - h8300xray) - basic_machine=h8300-hitachi - os=-xray - ;; - h8500hms) - basic_machine=h8500-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux - ;; - hp3k9[0-9][0-9] | hp9[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k2[0-9][0-9] | hp9k31[0-9]) - basic_machine=m68000-hp - ;; - hp9k3[2-9][0-9]) - basic_machine=m68k-hp - ;; - hp9k6[0-9][0-9] | hp6[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k7[0-79][0-9] | hp7[0-79][0-9]) - basic_machine=hppa1.1-hp - ;; - hp9k78[0-9] | hp78[0-9]) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][13679] | hp8[0-9][13679]) - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][0-9] | hp8[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hppaosf) - basic_machine=hppa1.1-hp - os=-osf - ;; - hppro) - basic_machine=hppa1.1-hp - os=-proelf - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm - ;; - i*86v32) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv32 - ;; - i*86v4*) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv4 - ;; - i*86v) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv - ;; - i*86sol2) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - i386mach) - basic_machine=i386-mach - os=-mach - ;; - vsta) - basic_machine=i386-unknown - os=-vsta - ;; - iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) - ;; - *) - os=-irix4 - ;; - esac - ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - leon-*|leon[3-9]-*) - basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` - ;; - m68knommu) - basic_machine=m68k-unknown - os=-linux - ;; - m68knommu-*) - basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - microblaze*) - basic_machine=microblaze-xilinx - ;; - mingw64) - basic_machine=x86_64-pc - os=-mingw64 - ;; - mingw32) - basic_machine=i686-pc - os=-mingw32 - ;; - mingw32ce) - basic_machine=arm-unknown - os=-mingw32ce - ;; - miniframe) - basic_machine=m68000-convergent - ;; - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; - mips3*-*) - basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown - ;; - monitor) - basic_machine=m68k-rom68k - os=-coff - ;; - morphos) - basic_machine=powerpc-unknown - os=-morphos - ;; - moxiebox) - basic_machine=moxie-unknown - os=-moxiebox - ;; - msdos) - basic_machine=i386-pc - os=-msdos - ;; - ms1-*) - basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` - ;; - msys) - basic_machine=i686-pc - os=-msys - ;; - mvs) - basic_machine=i370-ibm - os=-mvs - ;; - nacl) - basic_machine=le32-unknown - os=-nacl - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - netbsd386) - basic_machine=i386-unknown - os=-netbsd - ;; - netwinder) - basic_machine=armv4l-rebel - os=-linux - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos - ;; - news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - necv70) - basic_machine=v70-nec - os=-sysv - ;; - next | m*-next) - basic_machine=m68k-next - case $os in - -nextstep* ) - ;; - -ns2*) - os=-nextstep2 - ;; - *) - os=-nextstep3 - ;; - esac - ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh[45]000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - mon960) - basic_machine=i960-intel - os=-mon960 - ;; - nonstopux) - basic_machine=mips-compaq - os=-nonstopux - ;; - np1) - basic_machine=np1-gould - ;; - neo-tandem) - basic_machine=neo-tandem - ;; - nse-tandem) - basic_machine=nse-tandem - ;; - nsr-tandem) - basic_machine=nsr-tandem - ;; - nsv-tandem) - basic_machine=nsv-tandem - ;; - nsx-tandem) - basic_machine=nsx-tandem - ;; - op50n-* | op60c-*) - basic_machine=hppa1.1-oki - os=-proelf - ;; - openrisc | openrisc-*) - basic_machine=or32-unknown - ;; - os400) - basic_machine=powerpc-ibm - os=-os400 - ;; - OSE68000 | ose68000) - basic_machine=m68000-ericsson - os=-ose - ;; - os68k) - basic_machine=m68k-none - os=-os68k - ;; - pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - parisc) - basic_machine=hppa-unknown - os=-linux - ;; - parisc-*) - basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux - ;; - pbd) - basic_machine=sparc-tti - ;; - pbb) - basic_machine=m68k-tti - ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 + cpu=$basic_machine + vendor=pc ;; + # These rules are duplicated from below for sake of the special case above; + # i.e. things that normalized to x86 arches should also default to "pc" pc98) - basic_machine=i386-pc + cpu=i386 + vendor=pc ;; - pc98-*) - basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'` + x64 | amd64) + cpu=x86_64 + vendor=pc ;; - pentium | p5 | k5 | k6 | nexgen | viac3) - basic_machine=i586-pc + # Recognize the basic CPU types without company name. + *) + cpu=$basic_machine + vendor=unknown ;; - pentiumpro | p6 | 6x86 | athlon | athlon_*) - basic_machine=i686-pc +esac + +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. + craynv-unknown) + vendor=cray + basic_os=${basic_os:-unicosmp} ;; - pentiumii | pentium2 | pentiumiii | pentium3) - basic_machine=i686-pc + c90-unknown | c90-cray) + vendor=cray + basic_os=${Basic_os:-unicos} ;; - pentium4) - basic_machine=i786-pc + fx80-unknown) + vendor=alliant ;; - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) - basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'` + romp-unknown) + vendor=ibm ;; - pentiumpro-* | p6-* | 6x86-* | athlon-*) - basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` + mmix-unknown) + vendor=knuth ;; - pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) - basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` + microblaze-unknown | microblazeel-unknown) + vendor=xilinx ;; - pentium4-*) - basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'` + rs6000-unknown) + vendor=ibm ;; - pn) - basic_machine=pn-gould + vax-unknown) + vendor=dec ;; - power) basic_machine=power-ibm + pdp11-unknown) + vendor=dec ;; - ppc | ppcbe) basic_machine=powerpc-unknown + we32k-unknown) + vendor=att ;; - ppc-* | ppcbe-*) - basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` + cydra-unknown) + vendor=cydrome ;; - ppcle | powerpclittle) - basic_machine=powerpcle-unknown + i370-ibm*) + vendor=ibm ;; - ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'` + orion-unknown) + vendor=highlevel ;; - ppc64) basic_machine=powerpc64-unknown - ;; - ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - ppc64le | powerpc64little) - basic_machine=powerpc64le-unknown - ;; - ppc64le-* | powerpc64little-*) - basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - ps2) - basic_machine=i386-ibm - ;; - pw32) - basic_machine=i586-unknown - os=-pw32 - ;; - rdos | rdos64) - basic_machine=x86_64-pc - os=-rdos - ;; - rdos32) - basic_machine=i386-pc - os=-rdos - ;; - rom68k) - basic_machine=m68k-rom68k - os=-coff - ;; - rm[46]00) - basic_machine=mips-siemens - ;; - rtpc | rtpc-*) - basic_machine=romp-ibm - ;; - s390 | s390-*) - basic_machine=s390-ibm - ;; - s390x | s390x-*) - basic_machine=s390x-ibm - ;; - sa29200) - basic_machine=a29k-amd - os=-udi - ;; - sb1) - basic_machine=mipsisa64sb1-unknown - ;; - sb1el) - basic_machine=mipsisa64sb1el-unknown - ;; - sde) - basic_machine=mipsisa32-sde - os=-elf - ;; - sei) - basic_machine=mips-sei - os=-seiux - ;; - sequent) - basic_machine=i386-sequent - ;; - sh5el) - basic_machine=sh5le-unknown - ;; - simso-wrs) - basic_machine=sparclite-wrs - os=-vxworks - ;; - sps7) - basic_machine=m68k-bull - os=-sysv2 - ;; - spur) - basic_machine=spur-unknown - ;; - st2000) - basic_machine=m68k-tandem - ;; - stratus) - basic_machine=i860-stratus - os=-sysv4 - ;; - strongarm-* | thumb-*) - basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - sun2) - basic_machine=m68000-sun - ;; - sun2os3) - basic_machine=m68000-sun - os=-sunos3 - ;; - sun2os4) - basic_machine=m68000-sun - os=-sunos4 - ;; - sun3os3) - basic_machine=m68k-sun - os=-sunos3 - ;; - sun3os4) - basic_machine=m68k-sun - os=-sunos4 - ;; - sun4os3) - basic_machine=sparc-sun - os=-sunos3 - ;; - sun4os4) - basic_machine=sparc-sun - os=-sunos4 - ;; - sun4sol2) - basic_machine=sparc-sun - os=-solaris2 - ;; - sun3 | sun3-*) - basic_machine=m68k-sun - ;; - sun4) - basic_machine=sparc-sun - ;; - sun386 | sun386i | roadrunner) - basic_machine=i386-sun - ;; - sv1) - basic_machine=sv1-cray - os=-unicos - ;; - symmetry) - basic_machine=i386-sequent - os=-dynix - ;; - t3e) - basic_machine=alphaev5-cray - os=-unicos - ;; - t90) - basic_machine=t90-cray - os=-unicos - ;; - tile*) - basic_machine=$basic_machine-unknown - os=-linux-gnu - ;; - tx39) - basic_machine=mipstx39-unknown - ;; - tx39el) - basic_machine=mipstx39el-unknown - ;; - toad1) - basic_machine=pdp10-xkl - os=-tops20 - ;; - tower | tower-32) - basic_machine=m68k-ncr - ;; - tpf) - basic_machine=s390x-ibm - os=-tpf - ;; - udi29k) - basic_machine=a29k-amd - os=-udi - ;; - ultra3) - basic_machine=a29k-nyu - os=-sym1 - ;; - v810 | necv810) - basic_machine=v810-nec - os=-none - ;; - vaxv) - basic_machine=vax-dec - os=-sysv - ;; - vms) - basic_machine=vax-dec - os=-vms - ;; - vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; - vxworks960) - basic_machine=i960-wrs - os=-vxworks - ;; - vxworks68) - basic_machine=m68k-wrs - os=-vxworks - ;; - vxworks29k) - basic_machine=a29k-wrs - os=-vxworks - ;; - w65*) - basic_machine=w65-wdc - os=-none - ;; - w89k-*) - basic_machine=hppa1.1-winbond - os=-proelf - ;; - x64) - basic_machine=x86_64-pc - ;; - xbox) - basic_machine=i686-pc - os=-mingw32 - ;; - xps | xps100) - basic_machine=xps100-honeywell - ;; - xscale-* | xscalee[bl]-*) - basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'` - ;; - ymp) - basic_machine=ymp-cray - os=-unicos - ;; - none) - basic_machine=none-none - os=-none + xps-unknown | xps100-unknown) + cpu=xps100 + vendor=honeywell ;; -# Here we handle the default manufacturer of certain CPU types. It is in -# some cases the only manufacturer, in others, it is the most popular. - w89k) - basic_machine=hppa1.1-winbond + # Here we normalize CPU types with a missing or matching vendor + armh-unknown | armh-alt) + cpu=armv7l + vendor=alt + basic_os=${basic_os:-linux-gnueabihf} ;; - op50n) - basic_machine=hppa1.1-oki + dpx20-unknown | dpx20-bull) + cpu=rs6000 + vendor=bull + basic_os=${basic_os:-bosx} ;; - op60c) - basic_machine=hppa1.1-oki + + # Here we normalize CPU types irrespective of the vendor + amd64-*) + cpu=x86_64 ;; - romp) - basic_machine=romp-ibm + blackfin-*) + cpu=bfin + basic_os=linux ;; - mmix) - basic_machine=mmix-knuth + c54x-*) + cpu=tic54x ;; - rs6000) - basic_machine=rs6000-ibm + c55x-*) + cpu=tic55x ;; - vax) - basic_machine=vax-dec + c6x-*) + cpu=tic6x ;; - pdp11) - basic_machine=pdp11-dec + e500v[12]-*) + cpu=powerpc + basic_os=${basic_os}"spe" ;; - we32k) - basic_machine=we32k-att + mips3*-*) + cpu=mips64 ;; - sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) - basic_machine=sh-unknown + ms1-*) + cpu=mt ;; - cydra) - basic_machine=cydra-cydrome + m68knommu-*) + cpu=m68k + basic_os=linux ;; - orion) - basic_machine=orion-highlevel + m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*) + cpu=s12z ;; - orion105) - basic_machine=clipper-highlevel + openrisc-*) + cpu=or32 ;; - mac | mpw | mac-mpw) - basic_machine=m68k-apple + parisc-*) + cpu=hppa + basic_os=linux ;; - pmac | pmac-mpw) - basic_machine=powerpc-apple + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + cpu=i586 ;; - *-unknown) - # Make sure to match an already-canonicalized machine name. + pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*) + cpu=i686 ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + cpu=i686 + ;; + pentium4-*) + cpu=i786 + ;; + pc98-*) + cpu=i386 + ;; + ppc-* | ppcbe-*) + cpu=powerpc + ;; + ppcle-* | powerpclittle-*) + cpu=powerpcle + ;; + ppc64-*) + cpu=powerpc64 + ;; + ppc64le-* | powerpc64little-*) + cpu=powerpc64le + ;; + sb1-*) + cpu=mipsisa64sb1 + ;; + sb1el-*) + cpu=mipsisa64sb1el + ;; + sh5e[lb]-*) + cpu=`echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/'` + ;; + spur-*) + cpu=spur + ;; + strongarm-* | thumb-*) + cpu=arm + ;; + tx39-*) + cpu=mipstx39 + ;; + tx39el-*) + cpu=mipstx39el + ;; + x64-*) + cpu=x86_64 + ;; + xscale-* | xscalee[bl]-*) + cpu=`echo "$cpu" | sed 's/^xscale/arm/'` + ;; + arm64-* | aarch64le-*) + cpu=aarch64 + ;; + + # Recognize the canonical CPU Types that limit and/or modify the + # company names they are paired with. + cr16-*) + basic_os=${basic_os:-elf} + ;; + crisv32-* | etraxfs*-*) + cpu=crisv32 + vendor=axis + ;; + cris-* | etrax*-*) + cpu=cris + vendor=axis + ;; + crx-*) + basic_os=${basic_os:-elf} + ;; + neo-tandem) + cpu=neo + vendor=tandem + ;; + nse-tandem) + cpu=nse + vendor=tandem + ;; + nsr-tandem) + cpu=nsr + vendor=tandem + ;; + nsv-tandem) + cpu=nsv + vendor=tandem + ;; + nsx-tandem) + cpu=nsx + vendor=tandem + ;; + mipsallegrexel-sony) + cpu=mipsallegrexel + vendor=sony + ;; + tile*-*) + basic_os=${basic_os:-linux-gnu} + ;; + *) - echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 - exit 1 + # Recognize the canonical CPU types that are allowed with any + # company name. + case $cpu in + 1750a | 580 \ + | a29k \ + | aarch64 | aarch64_be \ + | abacus \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \ + | alphapca5[67] | alpha64pca5[67] \ + | am33_2.0 \ + | amdgcn \ + | arc | arceb | arc32 | arc64 \ + | arm | arm[lb]e | arme[lb] | armv* \ + | avr | avr32 \ + | asmjs \ + | ba \ + | be32 | be64 \ + | bfin | bpf | bs2000 \ + | c[123]* | c30 | [cjt]90 | c4x \ + | c8051 | clipper | craynv | csky | cydra \ + | d10v | d30v | dlx | dsp16xx \ + | e2k | elxsi | epiphany \ + | f30[01] | f700 | fido | fr30 | frv | ft32 | fx80 \ + | h8300 | h8500 \ + | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | hexagon \ + | i370 | i*86 | i860 | i960 | ia16 | ia64 \ + | ip2k | iq2000 \ + | k1om \ + | le32 | le64 \ + | lm32 \ + | loongarch32 | loongarch64 | loongarchx32 \ + | m32c | m32r | m32rle \ + | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \ + | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \ + | m88110 | m88k | maxq | mb | mcore | mep | metag \ + | microblaze | microblazeel \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64eb | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa32r3 | mipsisa32r3el \ + | mipsisa32r5 | mipsisa32r5el \ + | mipsisa32r6 | mipsisa32r6el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64r3 | mipsisa64r3el \ + | mipsisa64r5 | mipsisa64r5el \ + | mipsisa64r6 | mipsisa64r6el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipsr5900 | mipsr5900el \ + | mipstx39 | mipstx39el \ + | mmix \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nds32 | nds32le | nds32be \ + | nfp \ + | nios | nios2 | nios2eb | nios2el \ + | none | np1 | ns16k | ns32k | nvptx \ + | open8 \ + | or1k* \ + | or32 \ + | orion \ + | picochip \ + | pdp10 | pdp11 | pj | pjl | pn | power \ + | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \ + | pru \ + | pyramid \ + | riscv | riscv32 | riscv32be | riscv64 | riscv64be \ + | rl78 | romp | rs6000 | rx \ + | s390 | s390x \ + | score \ + | sh | shl \ + | sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | she[lb] | sh[lb]e \ + | sh[1234]e[lb] | sh[12345][lb]e | sh[23]ele | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet \ + | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \ + | spu \ + | tahoe \ + | thumbv7* \ + | tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \ + | tron \ + | ubicom32 \ + | v70 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \ + | vax \ + | visium \ + | w65 \ + | wasm32 | wasm64 \ + | we32k \ + | x86 | x86_64 | xc16x | xgate | xps100 \ + | xstormy16 | xtensa* \ + | ymp \ + | z8k | z80) + ;; + + *) + echo Invalid configuration \`"$1"\': machine \`"$cpu-$vendor"\' not recognized 1>&2 + exit 1 + ;; + esac ;; esac # Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'` +case $vendor in + digital*) + vendor=dec ;; - *-commodore*) - basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'` + commodore*) + vendor=cbm ;; *) ;; @@ -1334,203 +1306,215 @@ esac # Decode manufacturer-specific aliases for certain operating systems. -if [ x"$os" != x"" ] +if test x$basic_os != x then + +# First recognize some ad-hoc cases, or perhaps split kernel-os, or else just +# set os. +case $basic_os in + gnu/linux*) + kernel=linux + os=`echo "$basic_os" | sed -e 's|gnu/linux|gnu|'` + ;; + os2-emx) + kernel=os2 + os=`echo "$basic_os" | sed -e 's|os2-emx|emx|'` + ;; + nto-qnx*) + kernel=nto + os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'` + ;; + *-*) + # shellcheck disable=SC2162 + saved_IFS=$IFS + IFS="-" read kernel os <&2 - exit 1 + # No normalization, but not necessarily accepted, that comes below. ;; esac + else # Here we handle the default operating systems that come with various machines. @@ -1543,258 +1527,363 @@ else # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. -case $basic_machine in +kernel= +case $cpu-$vendor in score-*) - os=-elf + os=elf ;; spu-*) - os=-elf + os=elf ;; *-acorn) - os=-riscix1.2 + os=riscix1.2 ;; arm*-rebel) - os=-linux + kernel=linux + os=gnu ;; arm*-semi) - os=-aout + os=aout ;; c4x-* | tic4x-*) - os=-coff + os=coff ;; c8051-*) - os=-elf + os=elf + ;; + clipper-intergraph) + os=clix ;; hexagon-*) - os=-elf + os=elf ;; tic54x-*) - os=-coff + os=coff ;; tic55x-*) - os=-coff + os=coff ;; tic6x-*) - os=-coff + os=coff ;; # This must come before the *-dec entry. pdp10-*) - os=-tops20 + os=tops20 ;; pdp11-*) - os=-none + os=none ;; *-dec | vax-*) - os=-ultrix4.2 + os=ultrix4.2 ;; m68*-apollo) - os=-domain + os=domain ;; i386-sun) - os=-sunos4.0.2 + os=sunos4.0.2 ;; m68000-sun) - os=-sunos3 + os=sunos3 ;; m68*-cisco) - os=-aout + os=aout ;; mep-*) - os=-elf + os=elf ;; mips*-cisco) - os=-elf + os=elf ;; mips*-*) - os=-elf + os=elf ;; or32-*) - os=-coff + os=coff ;; *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 + os=sysv3 ;; sparc-* | *-sun) - os=-sunos4.1.1 + os=sunos4.1.1 ;; pru-*) - os=-elf + os=elf ;; *-be) - os=-beos + os=beos ;; *-ibm) - os=-aix + os=aix ;; *-knuth) - os=-mmixware + os=mmixware ;; *-wec) - os=-proelf + os=proelf ;; *-winbond) - os=-proelf + os=proelf ;; *-oki) - os=-proelf + os=proelf ;; *-hp) - os=-hpux + os=hpux ;; *-hitachi) - os=-hiux + os=hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv + os=sysv ;; *-cbm) - os=-amigaos + os=amigaos ;; *-dg) - os=-dgux + os=dgux ;; *-dolphin) - os=-sysv3 + os=sysv3 ;; m68k-ccur) - os=-rtu + os=rtu ;; m88k-omron*) - os=-luna + os=luna ;; *-next) - os=-nextstep + os=nextstep ;; *-sequent) - os=-ptx + os=ptx ;; *-crds) - os=-unos + os=unos ;; *-ns) - os=-genix + os=genix ;; i370-*) - os=-mvs + os=mvs ;; *-gould) - os=-sysv + os=sysv ;; *-highlevel) - os=-bsd + os=bsd ;; *-encore) - os=-bsd + os=bsd ;; *-sgi) - os=-irix + os=irix ;; *-siemens) - os=-sysv4 + os=sysv4 ;; *-masscomp) - os=-rtu + os=rtu ;; f30[01]-fujitsu | f700-fujitsu) - os=-uxpv + os=uxpv ;; *-rom68k) - os=-coff + os=coff ;; *-*bug) - os=-coff + os=coff ;; *-apple) - os=-macos + os=macos ;; *-atari*) - os=-mint + os=mint + ;; + *-wrs) + os=vxworks ;; *) - os=-none + os=none ;; esac + fi +# Now, validate our (potentially fixed-up) OS. +case $os in + # Sometimes we do "kernel-libc", so those need to count as OSes. + musl* | newlib* | relibc* | uclibc*) + ;; + # Likewise for "kernel-abi" + eabi* | gnueabi*) + ;; + # VxWorks passes extra cpu info in the 4th filed. + simlinux | simwindows | spe) + ;; + # Now accept the basic system types. + # The portable systems comes first. + # Each alternative MUST end in a * to match a version number. + gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \ + | *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \ + | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \ + | sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \ + | hiux* | abug | nacl* | netware* | windows* \ + | os9* | macos* | osx* | ios* \ + | mpw* | magic* | mmixware* | mon960* | lnews* \ + | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \ + | aos* | aros* | cloudabi* | sortix* | twizzler* \ + | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \ + | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \ + | mirbsd* | netbsd* | dicos* | openedition* | ose* \ + | bitrig* | openbsd* | secbsd* | solidbsd* | libertybsd* | os108* \ + | ekkobsd* | freebsd* | riscix* | lynxos* | os400* \ + | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \ + | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \ + | udi* | lites* | ieee* | go32* | aux* | hcos* \ + | chorusrdb* | cegcc* | glidix* | serenity* \ + | cygwin* | msys* | pe* | moss* | proelf* | rtems* \ + | midipix* | mingw32* | mingw64* | mint* \ + | uxpv* | beos* | mpeix* | udk* | moxiebox* \ + | interix* | uwin* | mks* | rhapsody* | darwin* \ + | openstep* | oskit* | conix* | pw32* | nonstopux* \ + | storm-chaos* | tops10* | tenex* | tops20* | its* \ + | os2* | vos* | palmos* | uclinux* | nucleus* | morphos* \ + | scout* | superux* | sysv* | rtmk* | tpf* | windiss* \ + | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \ + | skyos* | haiku* | rdos* | toppers* | drops* | es* \ + | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ + | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \ + | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \ + | fiwix* ) + ;; + # This one is extra strict with allowed versions + sco3.2v2 | sco3.2v[4-9]* | sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + ;; + none) + ;; + *) + echo Invalid configuration \`"$1"\': OS \`"$os"\' not recognized 1>&2 + exit 1 + ;; +esac + +# As a final step for OS-related things, validate the OS-kernel combination +# (given a valid OS), if there is a kernel. +case $kernel-$os in + linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \ + | linux-musl* | linux-relibc* | linux-uclibc* ) + ;; + uclinux-uclibc* ) + ;; + -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* ) + # These are just libc implementations, not actual OSes, and thus + # require a kernel. + echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2 + exit 1 + ;; + kfreebsd*-gnu* | kopensolaris*-gnu*) + ;; + vxworks-simlinux | vxworks-simwindows | vxworks-spe) + ;; + nto-qnx*) + ;; + os2-emx) + ;; + *-eabi* | *-gnueabi*) + ;; + -*) + # Blank kernel with real OS is always fine. + ;; + *-*) + echo "Invalid configuration \`$1': Kernel \`$kernel' not known to work with OS \`$os'." 1>&2 + exit 1 + ;; +esac + # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) - case $os in - -riscix*) +case $vendor in + unknown) + case $cpu-$os in + *-riscix*) vendor=acorn ;; - -sunos*) + *-sunos*) vendor=sun ;; - -cnk*|-aix*) + *-cnk* | *-aix*) vendor=ibm ;; - -beos*) + *-beos*) vendor=be ;; - -hpux*) + *-hpux*) vendor=hp ;; - -mpeix*) + *-mpeix*) vendor=hp ;; - -hiux*) + *-hiux*) vendor=hitachi ;; - -unos*) + *-unos*) vendor=crds ;; - -dgux*) + *-dgux*) vendor=dg ;; - -luna*) + *-luna*) vendor=omron ;; - -genix*) + *-genix*) vendor=ns ;; - -mvs* | -opened*) + *-clix*) + vendor=intergraph + ;; + *-mvs* | *-opened*) vendor=ibm ;; - -os400*) + *-os400*) vendor=ibm ;; - -ptx*) + s390-* | s390x-*) + vendor=ibm + ;; + *-ptx*) vendor=sequent ;; - -tpf*) + *-tpf*) vendor=ibm ;; - -vxsim* | -vxworks* | -windiss*) + *-vxsim* | *-vxworks* | *-windiss*) vendor=wrs ;; - -aux*) + *-aux*) vendor=apple ;; - -hms*) + *-hms*) vendor=hitachi ;; - -mpw* | -macos*) + *-mpw* | *-macos*) vendor=apple ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + *-*mint | *-mint[0-9]* | *-*MiNT | *-MiNT[0-9]*) vendor=atari ;; - -vos*) + *-vos*) vendor=stratus ;; esac - basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"` ;; esac -echo "$basic_machine$os" +echo "$cpu-$vendor-${kernel:+$kernel-}$os" exit # Local variables: -# eval: (add-hook 'write-file-functions 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" diff --git a/build-aux/depcomp b/build-aux/depcomp index 6b39162..715e343 100755 --- a/build-aux/depcomp +++ b/build-aux/depcomp @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2020 Free Software Foundation, Inc. +# Copyright (C) 1999-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 diff --git a/build-aux/missing b/build-aux/missing index 8d0eaad..1fe1611 100755 --- a/build-aux/missing +++ b/build-aux/missing @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1996-2020 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify diff --git a/build-aux/test-driver b/build-aux/test-driver index 9759384..be73b80 100755 --- a/build-aux/test-driver +++ b/build-aux/test-driver @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 2011-2020 Free Software Foundation, Inc. +# Copyright (C) 2011-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 @@ -105,8 +105,11 @@ trap "st=130; $do_exit" 2 trap "st=141; $do_exit" 13 trap "st=143; $do_exit" 15 -# Test script is run here. -"$@" >$log_file 2>&1 +# Test script is run here. We create the file first, then append to it, +# to ameliorate tests themselves also writing to the log file. Our tests +# don't, but others can (automake bug#35762). +: >"$log_file" +"$@" >>"$log_file" 2>&1 estatus=$? if test $enable_hard_errors = no && test $estatus -eq 99; then @@ -128,7 +131,7 @@ esac # know whether the test passed or failed simply by looking at the '.log' # file, without the need of also peaking into the corresponding '.trs' # file (automake bug#11814). -echo "$res $test_name (exit status: $estatus)" >>$log_file +echo "$res $test_name (exit status: $estatus)" >>"$log_file" # Report outcome to console. echo "${col}${res}${std}: $test_name" diff --git a/config.h.in b/config.h.in index 5266560..3b0521e 100644 --- a/config.h.in +++ b/config.h.in @@ -27,12 +27,7 @@ /* Define if 2-argument SVR4 swapctl exists */ #undef CHECK_SWAP_SWAPCTL_SVR4 -/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP - systems. This function is required for `alloca.c' support on those systems. - */ -#undef CRAY_STACKSEG_END - -/* Define to 1 if using `alloca.c'. */ +/* Define to 1 if using 'alloca.c'. */ #undef C_ALLOCA /* Define as the bit index in the word where to find bit 0 of the exponent of @@ -177,8 +172,7 @@ may be supplied by this distribution. */ #undef HAVE_ALLOCA -/* Define to 1 if you have and it should be used (not on Ultrix). - */ +/* Define to 1 if works. */ #undef HAVE_ALLOCA_H /* Define to 1 if you have the header file. */ @@ -537,9 +531,6 @@ /* Define to 1 if you have the `memmove' function. */ #undef HAVE_MEMMOVE -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - /* Define to 1 if you have the header file. */ #undef HAVE_MNTENT_H @@ -1481,6 +1472,9 @@ uintmax_t. */ #undef HAVE_STDINT_H_WITH_UINTMAX +/* Define to 1 if you have the header file. */ +#undef HAVE_STDIO_H + /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H @@ -1493,7 +1487,7 @@ /* Define to 1 if you have the `strdup' function. */ #undef HAVE_STRDUP -/* Define to 1 if you have the `strerror_r' function. */ +/* Define if you have `strerror_r'. */ #undef HAVE_STRERROR_R /* Define to 1 if you have the header file. */ @@ -2085,7 +2079,9 @@ /* Define if statvfs64 should be preferred over statvfs. */ #undef STAT_STATVFS64 -/* Define to 1 if you have the ANSI C header files. */ +/* Define to 1 if all of the C90 standard headers exist (not just the ones + required in a freestanding environment). This macro is provided for + backward compatibility; new code need not use it. */ #undef STDC_HEADERS /* Define to 1 if strerror_r returns char *. */ @@ -2103,7 +2099,8 @@ /* Format string for parsing swap output */ #undef SWAP_FORMAT -/* Define to 1 if you can safely include both and . */ +/* Define to 1 if you can safely include both and . This + macro is obsolete. */ #undef TIME_WITH_SYS_TIME /* Define to 1 if your declares `struct tm'. */ @@ -2213,9 +2210,6 @@ # endif #endif -/* Enable large inode numbers on Mac OS X 10.5. */ -#undef _DARWIN_USE_64_BIT_INODE - /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS @@ -2373,7 +2367,7 @@ /* Define to `int' if does not define. */ #undef mode_t -/* Define to `int' if does not define. */ +/* Define as a signed integer type capable of holding a process identifier. */ #undef pid_t /* Define as the type of the result of subtracting two pointers, if the system @@ -2427,14 +2421,15 @@ /* Define to the equivalent of the C99 'restrict' keyword, or to nothing if this is not supported. Do not define if restrict is - supported directly. */ + supported only directly. */ #undef restrict -/* Work around a bug in Sun C++: it does not support _Restrict or - __restrict__, even though the corresponding Sun C compiler ends up with - "#define restrict _Restrict" or "#define restrict __restrict__" in the - previous line. Perhaps some future version of Sun C++ will work with - restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ -#if defined __SUNPRO_CC && !defined __RESTRICT +/* Work around a bug in older versions of Sun C++, which did not + #define __restrict__ or support _Restrict or __restrict__ + even though the corresponding Sun C compiler ended up with + "#define restrict _Restrict" or "#define restrict __restrict__" + in the previous line. This workaround can be removed once + we assume Oracle Developer Studio 12.5 (2016) or later. */ +#if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ # define _Restrict # define __restrict__ #endif diff --git a/configure b/configure index a492338..8642e4a 100755 --- a/configure +++ b/configure @@ -1,9 +1,10 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for monitoring-plugins 2.3.2. +# Generated by GNU Autoconf 2.71 for monitoring-plugins 2.3.3. # # -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, +# Inc. # # # This configure script is free software; the Free Software Foundation @@ -14,14 +15,16 @@ # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -31,46 +34,46 @@ esac fi + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi +IFS=" "" $as_nl" + +PS1='$ ' +PS2='> ' +PS4='+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || @@ -79,13 +82,6 @@ if test "${PATH_SEPARATOR+set}" != set; then fi -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( @@ -94,8 +90,12 @@ case $0 in #(( for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS @@ -107,30 +107,10 @@ if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. @@ -152,20 +132,22 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -as_fn_exit 255 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + as_bourne_compatible="as_nop=: +if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST -else +else \$as_nop case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( @@ -185,12 +167,15 @@ as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : +if ( set x; as_fn_ret_success y && test x = \"\$1\" ) +then : -else +else \$as_nop exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 +blah=\$(echo \$(echo blah)) +test x\"\$blah\" = xblah || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO @@ -205,30 +190,38 @@ test \$(( 1 + 1 )) = 2 || exit 1 PATH=/empty FPATH=/empty; export PATH FPATH test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" - if (eval "$as_required") 2>/dev/null; then : + if (eval "$as_required") 2>/dev/null +then : as_have_required=yes -else +else $as_nop as_have_required=no fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null +then : -else +else $as_nop as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. - as_shell=$as_dir/$as_base + as_shell=$as_dir$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null +then : CONFIG_SHELL=$as_shell as_have_required=yes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null +then : break 2 fi fi @@ -236,14 +229,21 @@ fi esac as_found=false done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : - CONFIG_SHELL=$SHELL as_have_required=yes -fi; } IFS=$as_save_IFS +if $as_found +then : + +else $as_nop + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null +then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi +fi - if test "x$CONFIG_SHELL" != x; then : + if test "x$CONFIG_SHELL" != x +then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also @@ -261,18 +261,19 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi - if test x$as_have_required = xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} = xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." + if test x$as_have_required = xno +then : + printf "%s\n" "$0: This script requires a shell more modern than all" + printf "%s\n" "$0: the shells that I found on your system." + if test ${ZSH_VERSION+y} ; then + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." else - $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." @@ -299,6 +300,7 @@ as_fn_unset () } as_unset=as_fn_unset + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -316,6 +318,14 @@ as_fn_exit () as_fn_set_status $1 exit $1 } # as_fn_exit +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=as_fn_nop # as_fn_mkdir_p # ------------- @@ -330,7 +340,7 @@ as_fn_mkdir_p () as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -339,7 +349,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -378,12 +388,13 @@ as_fn_executable_p () # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=\$2 }' -else +else $as_nop as_fn_append () { eval $1=\$$1\$2 @@ -395,18 +406,27 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=as_fn_nop # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- @@ -418,9 +438,9 @@ as_fn_error () as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -447,7 +467,7 @@ as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -491,7 +511,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall @@ -505,6 +525,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits exit } + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBSTed +# for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) @@ -518,6 +542,13 @@ case `echo -n x` in #((((( ECHO_N='-n';; esac +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo='printf %s\n' +as_echo_n='printf %s' + + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -587,51 +618,47 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='monitoring-plugins' PACKAGE_TARNAME='monitoring-plugins' -PACKAGE_VERSION='2.3.2' -PACKAGE_STRING='monitoring-plugins 2.3.2' +PACKAGE_VERSION='2.3.3' +PACKAGE_STRING='monitoring-plugins 2.3.3' PACKAGE_BUGREPORT='' PACKAGE_URL='' ac_unique_file="NPTest.pm" # Factoring default headers for most tests. ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include +#include +#ifdef HAVE_STDIO_H +# include #endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS +#ifdef HAVE_STDLIB_H # include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif #endif #ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif # include #endif -#ifdef HAVE_STRINGS_H -# include -#endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif #ifdef HAVE_UNISTD_H # include #endif" +ac_header_c_list= gl_use_threads_default= -gt_needs= gl_header_list= +gt_needs= gl_func_list= gl_floorf_required=plain gl_getopt_required=POSIX @@ -1747,6 +1774,9 @@ AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V +CSCOPE +ETAGS +CTAGS am__untar am__tar AMTAR @@ -1951,8 +1981,6 @@ do *) ac_optarg=yes ;; esac - # Accept the important Cygnus configure options, so we can diagnose typos. - case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; @@ -1993,9 +2021,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -2019,9 +2047,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -2232,9 +2260,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -2248,9 +2276,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -2294,9 +2322,9 @@ Try \`$0 --help' for more information" *) # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; @@ -2312,7 +2340,7 @@ if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi @@ -2376,7 +2404,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | +printf "%s\n" X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -2433,7 +2461,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures monitoring-plugins 2.3.2 to adapt to many kinds of systems. +\`configure' configures monitoring-plugins 2.3.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -2505,7 +2533,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of monitoring-plugins 2.3.2:";; + short | recursive ) echo "Configuration of monitoring-plugins 2.3.3:";; esac cat <<\_ACEOF @@ -2634,9 +2662,9 @@ if test "$ac_init_help" = "recursive"; then case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -2664,7 +2692,8 @@ esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. + # Check for configure.gnu first; this name is used for a wrapper for + # Metaconfig's "Configure" on case-insensitive file systems. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive @@ -2672,7 +2701,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix echo && $SHELL "$ac_srcdir/configure" --help=recursive else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done @@ -2681,10 +2710,10 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -monitoring-plugins configure 2.3.2 -generated by GNU Autoconf 2.69 +monitoring-plugins configure 2.3.3 +generated by GNU Autoconf 2.71 -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -2701,14 +2730,14 @@ fi ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext + rm -f conftest.$ac_objext conftest.beam if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2716,14 +2745,15 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest.$ac_objext; then : + } && test -s conftest.$ac_objext +then : ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -2745,7 +2775,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2753,14 +2783,15 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err - }; then : + } +then : ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -2770,135 +2801,6 @@ fi } # ac_fn_c_try_cpp -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists, giving a warning if it cannot be compiled using -# the include files in INCLUDES and setting the cache variable VAR -# accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if eval \${$3+:} false; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.i conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=\$ac_header_compiler" -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_mongrel - -# ac_fn_c_try_run LINENO -# ---------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : - ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_run - # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in @@ -2906,26 +2808,28 @@ fi ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$3=yes" -else +else $as_nop eval "$3=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile @@ -2936,14 +2840,14 @@ $as_echo "$ac_res" >&6; } ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2951,17 +2855,18 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext - }; then : + } +then : ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -2982,11 +2887,12 @@ fi ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. @@ -2994,16 +2900,9 @@ else #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif + which can conflict with char $2 (); below. */ +#include #undef $2 /* Override any GCC internal prototype to avoid an error. @@ -3021,28 +2920,72 @@ choke me #endif int -main () +main (void) { return $2 (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$3=yes" -else +else $as_nop eval "$3=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that +# executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } +then : + ac_retval=0 +else $as_nop + printf "%s\n" "$as_me: program exited with status $ac_status" >&5 + printf "%s\n" "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache @@ -3050,17 +2993,18 @@ $as_echo "$ac_res" >&6; } ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { if (sizeof ($2)) return 0; @@ -3068,12 +3012,13 @@ if (sizeof ($2)) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { if (sizeof (($2))) return 0; @@ -3081,41 +3026,45 @@ if (sizeof (($2))) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : -else +else $as_nop eval "$3=yes" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type -# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -# --------------------------------------------- +# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR +# ------------------------------------------------------------------ # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -# accordingly. -ac_fn_c_check_decl () +# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. +ac_fn_check_decl () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack as_decl_name=`echo $2|sed 's/ *(.*//'` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 +printf %s "checking whether $as_decl_name is declared... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else + eval ac_save_FLAGS=\$$6 + as_fn_append $6 " $5" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { #ifndef $as_decl_name #ifdef __cplusplus @@ -3129,19 +3078,22 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$3=yes" -else +else $as_nop eval "$3=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + eval $6=\$ac_save_FLAGS + fi eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -} # ac_fn_c_check_decl +} # ac_fn_check_decl # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES # ---------------------------------------------------- @@ -3150,16 +3102,17 @@ $as_echo "$ac_res" >&6; } ac_fn_c_check_member () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 -$as_echo_n "checking for $2.$3... " >&6; } -if eval \${$4+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 +printf %s "checking for $2.$3... " >&6; } +if eval test \${$4+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $5 int -main () +main (void) { static $2 ac_aggr; if (ac_aggr.$3) @@ -3168,14 +3121,15 @@ return 0; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$4=yes" -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $5 int -main () +main (void) { static $2 ac_aggr; if (sizeof ac_aggr.$3) @@ -3184,18 +3138,19 @@ return 0; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$4=yes" -else +else $as_nop eval "$4=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$4 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_member @@ -3214,7 +3169,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { static int test_array [1 - 2 * !(($2) >= 0)]; test_array [0] = 0; @@ -3224,14 +3179,15 @@ return test_array [0]; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_lo=0 ac_mid=0 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; @@ -3241,9 +3197,10 @@ return test_array [0]; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_hi=$ac_mid; break -else +else $as_nop as_fn_arith $ac_mid + 1 && ac_lo=$as_val if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= @@ -3251,14 +3208,14 @@ else fi as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { static int test_array [1 - 2 * !(($2) < 0)]; test_array [0] = 0; @@ -3268,14 +3225,15 @@ return test_array [0]; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_hi=-1 ac_mid=-1 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { static int test_array [1 - 2 * !(($2) >= $ac_mid)]; test_array [0] = 0; @@ -3285,9 +3243,10 @@ return test_array [0]; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_lo=$ac_mid; break -else +else $as_nop as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= @@ -3295,14 +3254,14 @@ else fi as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done -else +else $as_nop ac_lo= ac_hi= fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val @@ -3310,7 +3269,7 @@ while test "x$ac_lo" != "x$ac_hi"; do /* end confdefs.h. */ $4 int -main () +main (void) { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; @@ -3320,12 +3279,13 @@ return test_array [0]; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_hi=$ac_mid -else +else $as_nop as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done case $ac_lo in #(( ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; @@ -3335,12 +3295,12 @@ esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 -static long int longval () { return $2; } -static unsigned long int ulongval () { return $2; } +static long int longval (void) { return $2; } +static unsigned long int ulongval (void) { return $2; } #include #include int -main () +main (void) { FILE *f = fopen ("conftest.val", "w"); @@ -3368,9 +3328,10 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : echo >>conftest.val; read $3 config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by monitoring-plugins $as_me 2.3.2, which was -generated by GNU Autoconf 2.69. Invocation command line was +It was created by monitoring-plugins $as_me 2.3.3, which was +generated by GNU Autoconf 2.71. Invocation command line was - $ $0 $@ + $ $0$ac_configure_args_raw _ACEOF exec 5>>config.log @@ -3422,8 +3403,12 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + printf "%s\n" "PATH: $as_dir" done IFS=$as_save_IFS @@ -3458,7 +3443,7 @@ do | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; @@ -3493,11 +3478,13 @@ done # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? + # Sanitize IFS. + IFS=" "" $as_nl" # Save into config.log some information that might help in debugging. { echo - $as_echo "## ---------------- ## + printf "%s\n" "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo @@ -3508,8 +3495,8 @@ trap 'exit_status=$? case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -3533,7 +3520,7 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ) echo - $as_echo "## ----------------- ## + printf "%s\n" "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo @@ -3541,14 +3528,14 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; do eval ac_val=\$$ac_var case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac - $as_echo "$ac_var='\''$ac_val'\''" + printf "%s\n" "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then - $as_echo "## ------------------- ## + printf "%s\n" "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo @@ -3556,15 +3543,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; do eval ac_val=\$$ac_var case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac - $as_echo "$ac_var='\''$ac_val'\''" + printf "%s\n" "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then - $as_echo "## ----------- ## + printf "%s\n" "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo @@ -3572,8 +3559,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; echo fi test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" + printf "%s\n" "$as_me: caught signal $ac_signal" + printf "%s\n" "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && @@ -3587,63 +3574,48 @@ ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h -$as_echo "/* confdefs.h */" > confdefs.h +printf "%s\n" "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF +printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF +printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF +printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF +printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF +printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" -_ACEOF +printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE if test -n "$CONFIG_SITE"; then - # We do not want a PATH search for config.site. - case $CONFIG_SITE in #(( - -*) ac_site_file1=./$CONFIG_SITE;; - */*) ac_site_file1=$CONFIG_SITE;; - *) ac_site_file1=./$CONFIG_SITE;; - esac + ac_site_files="$CONFIG_SITE" elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site + ac_site_files="$prefix/share/config.site $prefix/etc/config.site" else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site + ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" + +for ac_site_file in $ac_site_files do - test "x$ac_site_file" = xNONE && continue - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} + case $ac_site_file in #( + */*) : + ;; #( + *) : + ac_site_file=./$ac_site_file ;; +esac + if test -f "$ac_site_file" && test -r "$ac_site_file"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi @@ -3653,19 +3625,337 @@ if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +printf "%s\n" "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +# Test code for whether the C compiler supports C89 (global declarations) +ac_c_conftest_c89_globals=' +/* Does the compiler advertise C89 conformance? + Do not test the value of __STDC__, because some compilers set it to 0 + while being otherwise adequately conformant. */ +#if !defined __STDC__ +# error "Compiler does not advertise C89 conformance" +#endif + +#include +#include +struct stat; +/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ +struct buf { int x; }; +struct buf * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not \xHH hex character constants. + These do not provoke an error unfortunately, instead are silently treated + as an "x". The following induces an error, until -std is added to get + proper ANSI mode. Curiously \x00 != x always comes out true, for an + array size at least. It is necessary to write \x00 == 0 to get something + that is true only with -std. */ +int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) '\''x'\'' +int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), + int, int);' + +# Test code for whether the C compiler supports C89 (body of main). +ac_c_conftest_c89_main=' +ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); +' + +# Test code for whether the C compiler supports C99 (global declarations) +ac_c_conftest_c99_globals=' +// Does the compiler advertise C99 conformance? +#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L +# error "Compiler does not advertise C99 conformance" +#endif + +#include +extern int puts (const char *); +extern int printf (const char *, ...); +extern int dprintf (int, const char *, ...); +extern void *malloc (size_t); + +// Check varargs macros. These examples are taken from C99 6.10.3.5. +// dprintf is used instead of fprintf to avoid needing to declare +// FILE and stderr. +#define debug(...) dprintf (2, __VA_ARGS__) +#define showlist(...) puts (#__VA_ARGS__) +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) +static void +test_varargs_macros (void) +{ + int x = 1234; + int y = 5678; + debug ("Flag"); + debug ("X = %d\n", x); + showlist (The first, second, and third items.); + report (x>y, "x is %d but y is %d", x, y); +} + +// Check long long types. +#define BIG64 18446744073709551615ull +#define BIG32 4294967295ul +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) +#if !BIG_OK + #error "your preprocessor is broken" +#endif +#if BIG_OK +#else + #error "your preprocessor is broken" +#endif +static long long int bignum = -9223372036854775807LL; +static unsigned long long int ubignum = BIG64; + +struct incomplete_array +{ + int datasize; + double data[]; +}; + +struct named_init { + int number; + const wchar_t *name; + double average; +}; + +typedef const char *ccp; + +static inline int +test_restrict (ccp restrict text) +{ + // See if C++-style comments work. + // Iterate through items via the restricted pointer. + // Also check for declarations in for loops. + for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) + continue; + return 0; +} + +// Check varargs and va_copy. +static bool +test_varargs (const char *format, ...) +{ + va_list args; + va_start (args, format); + va_list args_copy; + va_copy (args_copy, args); + + const char *str = ""; + int number = 0; + float fnumber = 0; + + while (*format) + { + switch (*format++) + { + case '\''s'\'': // string + str = va_arg (args_copy, const char *); + break; + case '\''d'\'': // int + number = va_arg (args_copy, int); + break; + case '\''f'\'': // float + fnumber = va_arg (args_copy, double); + break; + default: + break; + } + } + va_end (args_copy); + va_end (args); + + return *str && number && fnumber; +} +' + +# Test code for whether the C compiler supports C99 (body of main). +ac_c_conftest_c99_main=' + // Check bool. + _Bool success = false; + success |= (argc != 0); + + // Check restrict. + if (test_restrict ("String literal") == 0) + success = true; + char *restrict newvar = "Another string"; + + // Check varargs. + success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); + test_varargs_macros (); + + // Check flexible array members. + struct incomplete_array *ia = + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); + ia->datasize = 10; + for (int i = 0; i < ia->datasize; ++i) + ia->data[i] = i * 1.234; + + // Check named initializers. + struct named_init ni = { + .number = 34, + .name = L"Test wide string", + .average = 543.34343, + }; + + ni.number = 58; + + int dynamic_array[ni.number]; + dynamic_array[0] = argv[0][0]; + dynamic_array[ni.number - 1] = 543; + + // work around unused variable warnings + ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' + || dynamic_array[ni.number - 1] != 543); +' + +# Test code for whether the C compiler supports C11 (global declarations) +ac_c_conftest_c11_globals=' +// Does the compiler advertise C11 conformance? +#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L +# error "Compiler does not advertise C11 conformance" +#endif + +// Check _Alignas. +char _Alignas (double) aligned_as_double; +char _Alignas (0) no_special_alignment; +extern char aligned_as_int; +char _Alignas (0) _Alignas (int) aligned_as_int; + +// Check _Alignof. +enum +{ + int_alignment = _Alignof (int), + int_array_alignment = _Alignof (int[100]), + char_alignment = _Alignof (char) +}; +_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); + +// Check _Noreturn. +int _Noreturn does_not_return (void) { for (;;) continue; } + +// Check _Static_assert. +struct test_static_assert +{ + int x; + _Static_assert (sizeof (int) <= sizeof (long int), + "_Static_assert does not work in struct"); + long int y; +}; + +// Check UTF-8 literals. +#define u8 syntax error! +char const utf8_literal[] = u8"happens to be ASCII" "another string"; + +// Check duplicate typedefs. +typedef long *long_ptr; +typedef long int *long_ptr; +typedef long_ptr long_ptr; + +// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. +struct anonymous +{ + union { + struct { int i; int j; }; + struct { int k; long int l; } w; + }; + int m; +} v1; +' + +# Test code for whether the C compiler supports C11 (body of main). +ac_c_conftest_c11_main=' + _Static_assert ((offsetof (struct anonymous, i) + == offsetof (struct anonymous, w.k)), + "Anonymous union alignment botch"); + v1.i = 2; + v1.w.k = 5; + ok |= v1.i != 5; +' + +# Test code for whether the C compiler supports C11 (complete). +ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} +${ac_c_conftest_c99_globals} +${ac_c_conftest_c11_globals} + +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_c_conftest_c89_main} + ${ac_c_conftest_c99_main} + ${ac_c_conftest_c11_main} + return ok; +} +" + +# Test code for whether the C compiler supports C99 (complete). +ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} +${ac_c_conftest_c99_globals} + +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_c_conftest_c89_main} + ${ac_c_conftest_c99_main} + return ok; +} +" + +# Test code for whether the C compiler supports C89 (complete). +ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} + +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_c_conftest_c89_main} + return ok; +} +" + +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" +as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" +as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" +as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" +as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" +as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" +as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" +as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" +as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +gl_header_list="$gl_header_list sys/time.h" gt_needs="$gt_needs need-ngettext" gl_header_list="$gl_header_list arpa/inet.h" gl_header_list="$gl_header_list features.h" @@ -3712,13 +4002,110 @@ gl_header_list="$gl_header_list stdint.h" gl_header_list="$gl_header_list strings.h" gl_func_list="$gl_func_list strndup" gl_header_list="$gl_header_list sys/uio.h" -gl_header_list="$gl_header_list sys/time.h" gl_func_list="$gl_func_list localtime_r" gl_func_list="$gl_func_list timegm" gl_func_list="$gl_func_list vasnprintf" gl_func_list="$gl_func_list wcrtomb" gl_func_list="$gl_func_list iswcntrl" gl_header_list="$gl_header_list wctype.h" + +# Auxiliary files required by this configure script. +ac_aux_files="config.rpath ltmain.sh compile config.guess config.sub missing install-sh" + +# Locations in which to look for auxiliary files. +ac_aux_dir_candidates="${srcdir}/build-aux" + +# Search for a directory containing all of the required auxiliary files, +# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. +# If we don't find one directory that contains all the files we need, +# we report the set of missing files from the *first* directory in +# $ac_aux_dir_candidates and give up. +ac_missing_aux_files="" +ac_first_candidate=: +printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in $ac_aux_dir_candidates +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + as_found=: + + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 + ac_aux_dir_found=yes + ac_install_sh= + for ac_aux in $ac_aux_files + do + # As a special case, if "install-sh" is required, that requirement + # can be satisfied by any of "install-sh", "install.sh", or "shtool", + # and $ac_install_sh is set appropriately for whichever one is found. + if test x"$ac_aux" = x"install-sh" + then + if test -f "${as_dir}install-sh"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 + ac_install_sh="${as_dir}install-sh -c" + elif test -f "${as_dir}install.sh"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 + ac_install_sh="${as_dir}install.sh -c" + elif test -f "${as_dir}shtool"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 + ac_install_sh="${as_dir}shtool install -c" + else + ac_aux_dir_found=no + if $ac_first_candidate; then + ac_missing_aux_files="${ac_missing_aux_files} install-sh" + else + break + fi + fi + else + if test -f "${as_dir}${ac_aux}"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 + else + ac_aux_dir_found=no + if $ac_first_candidate; then + ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" + else + break + fi + fi + fi + done + if test "$ac_aux_dir_found" = yes; then + ac_aux_dir="$as_dir" + break + fi + ac_first_candidate=false + + as_found=false +done +IFS=$as_save_IFS +if $as_found +then : + +else $as_nop + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 +fi + + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +if test -f "${ac_aux_dir}config.guess"; then + ac_config_guess="$SHELL ${ac_aux_dir}config.guess" +fi +if test -f "${ac_aux_dir}config.sub"; then + ac_config_sub="$SHELL ${ac_aux_dir}config.sub" +fi +if test -f "$ac_aux_dir/configure"; then + ac_configure="$SHELL ${ac_aux_dir}configure" +fi + # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3729,12 +4116,12 @@ for ac_var in $ac_precious_vars; do eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) @@ -3743,24 +4130,24 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in @@ -3770,11 +4157,12 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi done if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' + and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## @@ -3790,38 +4178,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_config_files="$ac_config_files gl/Makefile" -ac_aux_dir= -for ac_dir in build-aux "$srcdir"/build-aux; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - am__api_version='1.16' -# Find a good install program. We prefer a C program (faster), + + + # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install @@ -3835,20 +4197,25 @@ am__api_version='1.16' # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +printf %s "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if ${ac_cv_path_install+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test ${ac_cv_path_install+y} +then : + printf %s "(cached) " >&6 +else $as_nop as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in #(( - ./ | .// | /[cC]/* | \ + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + # Account for fact that we put trailing slashes in our PATH walk. +case $as_dir in #(( + ./ | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; @@ -3858,13 +4225,13 @@ case $as_dir/ in #(( # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else @@ -3872,12 +4239,12 @@ case $as_dir/ in #(( echo one > conftest.one echo two > conftest.two mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" break 3 fi fi @@ -3893,7 +4260,7 @@ IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi - if test "${ac_cv_path_install+set}" = set; then + if test ${ac_cv_path_install+y}; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a @@ -3903,8 +4270,8 @@ fi INSTALL=$ac_install_sh fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +printf "%s\n" "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. @@ -3914,8 +4281,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 -$as_echo_n "checking whether build environment is sane... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +printf %s "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' @@ -3969,8 +4336,8 @@ else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= @@ -3989,12 +4356,14 @@ test "$program_suffix" != NONE && # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` +program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` + # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` -if test x"${MISSING+set}" != xset; then + + if test x"${MISSING+set}" != xset; then MISSING="\${SHELL} '$am_aux_dir/missing'" fi # Use eval to expand $SHELL @@ -4002,8 +4371,8 @@ if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 -$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 +printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then @@ -4023,11 +4392,12 @@ if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_STRIP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else @@ -4035,11 +4405,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4050,11 +4424,11 @@ fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +printf "%s\n" "$STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -4063,11 +4437,12 @@ if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_STRIP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else @@ -4075,11 +4450,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4090,11 +4469,11 @@ fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +printf "%s\n" "$ac_ct_STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then @@ -4102,8 +4481,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP @@ -4115,25 +4494,31 @@ fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 +printf %s "checking for a race-free mkdir -p... " >&6; } if test -z "$MKDIR_P"; then - if ${ac_cv_path_mkdir+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${ac_cv_path_mkdir+y} +then : + printf %s "(cached) " >&6 +else $as_nop as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( - 'mkdir (GNU coreutils) '* | \ - 'mkdir (coreutils) '* | \ + as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue + case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir ('*'coreutils) '* | \ + 'BusyBox '* | \ 'mkdir (fileutils) '4.1*) - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext break 3;; esac done @@ -4144,7 +4529,7 @@ IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version - if test "${ac_cv_path_mkdir+set}" = set; then + if test ${ac_cv_path_mkdir+y}; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a @@ -4154,18 +4539,19 @@ fi MKDIR_P="$ac_install_sh -d" fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 -$as_echo "$MKDIR_P" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +printf "%s\n" "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_AWK+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else @@ -4173,11 +4559,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4188,24 +4578,25 @@ fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +printf "%s\n" "$AWK" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi test -n "$AWK" && break done -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : - $as_echo_n "(cached) " >&6 -else +ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval test \${ac_cv_prog_make_${ac_make}_set+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @@ -4221,12 +4612,12 @@ esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } SET_MAKE= else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi @@ -4240,7 +4631,8 @@ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. -if test "${enable_silent_rules+set}" = set; then : +if test ${enable_silent_rules+y} +then : enableval=$enable_silent_rules; fi @@ -4250,12 +4642,13 @@ case $enable_silent_rules in # ((( *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 -$as_echo_n "checking whether $am_make supports nested variables... " >&6; } -if ${am_cv_make_support_nested_variables+:} false; then : - $as_echo_n "(cached) " >&6 -else - if $as_echo 'TRUE=$(BAR$(V)) +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +printf %s "checking whether $am_make supports nested variables... " >&6; } +if test ${am_cv_make_support_nested_variables+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if printf "%s\n" 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 @@ -4267,8 +4660,8 @@ else am_cv_make_support_nested_variables=no fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 -$as_echo "$am_cv_make_support_nested_variables" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' @@ -4300,17 +4693,13 @@ fi # Define the identity of the package. PACKAGE='monitoring-plugins' - VERSION='2.3.2' + VERSION='2.3.3' -cat >>confdefs.h <<_ACEOF -#define PACKAGE "$PACKAGE" -_ACEOF +printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define VERSION "$VERSION" -_ACEOF +printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h # Some tools Automake needs. @@ -4350,6 +4739,20 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' +# Variables for tags utilities; see am/tags.am +if test -z "$CTAGS"; then + CTAGS=ctags +fi + +if test -z "$ETAGS"; then + ETAGS=etags +fi + +if test -z "$CSCOPE"; then + CSCOPE=cscope +fi + + # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile @@ -4394,7 +4797,8 @@ END fi # Check whether --enable-silent-rules was given. -if test "${enable_silent_rules+set}" = set; then : +if test ${enable_silent_rules+y} +then : enableval=$enable_silent_rules; fi @@ -4404,12 +4808,13 @@ case $enable_silent_rules in # ((( *) AM_DEFAULT_VERBOSITY=0;; esac am_make=${MAKE-make} -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 -$as_echo_n "checking whether $am_make supports nested variables... " >&6; } -if ${am_cv_make_support_nested_variables+:} false; then : - $as_echo_n "(cached) " >&6 -else - if $as_echo 'TRUE=$(BAR$(V)) +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +printf %s "checking whether $am_make supports nested variables... " >&6; } +if test ${am_cv_make_support_nested_variables+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if printf "%s\n" 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 @@ -4421,8 +4826,8 @@ else am_cv_make_support_nested_variables=no fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 -$as_echo "$am_cv_make_support_nested_variables" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' @@ -4433,17 +4838,18 @@ fi AM_BACKSLASH='\' -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 -$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 +printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. -if test "${enable_maintainer_mode+set}" = set; then : +if test ${enable_maintainer_mode+y} +then : enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval -else +else $as_nop USE_MAINTAINER_MODE=yes fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 -$as_echo "$USE_MAINTAINER_MODE" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 +printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' @@ -4457,26 +4863,29 @@ fi ac_config_headers="$ac_config_headers config.h" -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if ${ac_cv_build+:} false; then : - $as_echo_n "(cached) " >&6 -else + + # Make sure we can run config.sub. +$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +printf %s "checking build system type... " >&6; } +if test ${ac_cv_build+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_build_alias=$build_alias test "x$ac_build_alias" = x && - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` + ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 +ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +printf "%s\n" "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; @@ -4495,21 +4904,22 @@ IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if ${ac_cv_host+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +printf %s "checking host system type... " >&6; } +if test ${ac_cv_host+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 + ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -$as_echo "$ac_cv_host" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +printf "%s\n" "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; @@ -4538,19 +4948,22 @@ RELEASE=1 extra_install_args="" # Check whether --with-nagios_user was given. -if test "${with_nagios_user+set}" = set; then : +if test ${with_nagios_user+y} +then : withval=$with_nagios_user; extra_install_args="-o $withval" fi # Check whether --with-nagios_group was given. -if test "${with_nagios_group+set}" = set; then : +if test ${with_nagios_group+y} +then : withval=$with_nagios_group; extra_install_args="$extra_install_args -g $withval" fi # Check whether --with-world_permissions was given. -if test "${with_world_permissions+set}" = set; then : +if test ${with_world_permissions+y} +then : withval=$with_world_permissions; fi @@ -4563,6 +4976,15 @@ INSTALL="$INSTALL $extra_install_args" INSTALL_STRIP_PROGRAM="$INSTALL_STRIP_PROGRAM $extra_install_args" + + + + + + + + + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -4571,11 +4993,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -4583,11 +5006,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4598,11 +5025,11 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -4611,11 +5038,12 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else @@ -4623,11 +5051,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4638,11 +5070,11 @@ fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_CC" = x; then @@ -4650,8 +5082,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -4664,11 +5096,12 @@ if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -4676,11 +5109,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4691,11 +5128,11 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -4704,11 +5141,12 @@ fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -4717,15 +5155,19 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4741,18 +5183,18 @@ if test $ac_prog_rejected = yes; then # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -4763,11 +5205,12 @@ if test -z "$CC"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -4775,11 +5218,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4790,11 +5237,11 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -4807,11 +5254,12 @@ if test -z "$CC"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else @@ -4819,11 +5267,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4834,11 +5286,11 @@ fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -4850,8 +5302,8 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -4859,25 +5311,129 @@ esac fi fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. +set dummy ${ac_tool_prefix}clang; ac_word=$2 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}clang" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "clang", so it can be a program name with args. +set dummy clang; ac_word=$2 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="clang" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +fi + + +test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 -for ac_option in --version -v -V -qversion; do +for ac_option in --version -v -V -qversion -version; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -4887,7 +5443,7 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done @@ -4895,7 +5451,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; @@ -4907,9 +5463,9 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +printf %s "checking whether the C compiler works... " >&6; } +ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" @@ -4930,11 +5486,12 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, @@ -4951,7 +5508,7 @@ do # certainly right. break;; *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi @@ -4967,44 +5524,46 @@ do done test "$ac_cv_exeext" = no && ac_cv_exeext= -else +else $as_nop ac_file='' fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 +if test -z "$ac_file" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +printf %s "checking for C compiler default output file name... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +printf "%s\n" "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +printf %s "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with @@ -5018,15 +5577,15 @@ for ac_file in conftest.exe conftest conftest.*; do * ) break;; esac done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +else $as_nop + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +printf "%s\n" "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext @@ -5035,7 +5594,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; @@ -5047,8 +5606,8 @@ _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +printf %s "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in @@ -5056,10 +5615,10 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in @@ -5067,39 +5626,40 @@ $as_echo "$ac_try_echo"; } >&5 *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run C compiled programs. + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +printf "%s\n" "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if ${ac_cv_objext+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +printf %s "checking for suffix of object files... " >&6; } +if test ${ac_cv_objext+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; @@ -5113,11 +5673,12 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in @@ -5126,31 +5687,32 @@ $as_echo "$ac_try_echo"; } >&5 break;; esac done -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +printf "%s\n" "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if ${ac_cv_c_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 +printf %s "checking whether the compiler supports GNU C... " >&6; } +if test ${ac_cv_c_compiler_gnu+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __GNUC__ choke me @@ -5160,29 +5722,33 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_compiler_gnu=yes -else +else $as_nop ac_compiler_gnu=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } +ac_compiler_gnu=$ac_cv_c_compiler_gnu + if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi -ac_test_CFLAGS=${CFLAGS+set} +ac_test_CFLAGS=${CFLAGS+y} ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if ${ac_cv_prog_cc_g+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +printf %s "checking whether $CC accepts -g... " >&6; } +if test ${ac_cv_prog_cc_g+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no @@ -5191,57 +5757,60 @@ else /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_g=yes -else +else $as_nop CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : -else +else $as_nop ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_g=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +printf "%s\n" "$ac_cv_prog_cc_g" >&6; } +if test $ac_test_CFLAGS; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then @@ -5256,94 +5825,144 @@ else CFLAGS= fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : - $as_echo_n "(cached) " >&6 -else +ac_prog_cc_stdc=no +if test x$ac_prog_cc_stdc = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 +printf %s "checking for $CC option to enable C11 features... " >&6; } +if test ${ac_cv_prog_cc_c11+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c11=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c11_program +_ACEOF +for ac_arg in '' -std=gnu11 +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_c11=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c11" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC +fi + +if test "x$ac_cv_prog_cc_c11" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c11" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 +printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } + CC="$CC $ac_cv_prog_cc_c11" +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 + ac_prog_cc_stdc=c11 +fi +fi +if test x$ac_prog_cc_stdc = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 +printf %s "checking for $CC option to enable C99 features... " >&6; } +if test ${ac_cv_prog_cc_c99+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c99=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c99_program +_ACEOF +for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_c99=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c99" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC +fi + +if test "x$ac_cv_prog_cc_c99" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c99" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 +printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } + CC="$CC $ac_cv_prog_cc_c99" +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 + ac_prog_cc_stdc=c99 +fi +fi +if test x$ac_prog_cc_stdc = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 +printf %s "checking for $CC option to enable C89 features... " >&6; } +if test ${ac_cv_prog_cc_c89+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include -#include -struct stat; -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} +$ac_c_conftest_c89_program _ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : + if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_c89=$ac_arg fi -rm -f core conftest.err conftest.$ac_objext +rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC - fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : +if test "x$ac_cv_prog_cc_c89" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c89" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } + CC="$CC $ac_cv_prog_cc_c89" +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 + ac_prog_cc_stdc=c89 +fi fi ac_ext=c @@ -5352,21 +5971,23 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -ac_ext=c + + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 -$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } -if ${am_cv_prog_cc_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 +printf %s "checking whether $CC understands -c and -o together... " >&6; } +if test ${am_cv_prog_cc_c_o+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; @@ -5394,8 +6015,8 @@ _ACEOF rm -f core conftest* unset am_i fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 -$as_echo "$am_cv_prog_cc_c_o" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 +printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. @@ -5414,8 +6035,8 @@ DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 -$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 +printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out @@ -5451,11 +6072,12 @@ esac fi done rm -f confinc.* confmf.* -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 -$as_echo "${_am_result}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 +printf "%s\n" "${_am_result}" >&6; } # Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then : +if test ${enable_dependency_tracking+y} +then : enableval=$enable_dependency_tracking; fi @@ -5476,11 +6098,12 @@ fi depcc="$CC" am_compiler_list= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if ${am_cv_CC_dependencies_compiler_type+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +printf %s "checking dependency style of $depcc... " >&6; } +if test ${am_cv_CC_dependencies_compiler_type+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For @@ -5587,8 +6210,8 @@ else fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if @@ -5608,40 +6231,36 @@ ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +printf %s "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then - if ${ac_cv_prog_CPP+:} false; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + if test ${ac_cv_prog_CPP+y} +then : + printf %s "(cached) " >&6 +else $as_nop + # Double quotes because $CC needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif +#include Syntax error _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : -else +else $as_nop # Broken: fails on valid input. continue fi @@ -5653,10 +6272,11 @@ rm -f conftest.err conftest.i conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : # Broken: success on invalid input. continue -else +else $as_nop # Passes both tests. ac_preproc_ok=: break @@ -5666,7 +6286,8 @@ rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : +if $ac_preproc_ok +then : break fi @@ -5678,29 +6299,24 @@ fi else ac_cv_prog_CPP=$CPP fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +printf "%s\n" "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif +#include Syntax error _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : -else +else $as_nop # Broken: fails on valid input. continue fi @@ -5712,10 +6328,11 @@ rm -f conftest.err conftest.i conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : # Broken: success on invalid input. continue -else +else $as_nop # Passes both tests. ac_preproc_ok=: break @@ -5725,11 +6342,12 @@ rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : +if $ac_preproc_ok +then : -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +else $as_nop + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi @@ -5741,11 +6359,12 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if ${ac_cv_path_GREP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +printf %s "checking for grep that handles long lines and -e... " >&6; } +if test ${ac_cv_path_GREP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST @@ -5753,10 +6372,15 @@ else for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in grep ggrep + do for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP @@ -5765,13 +6389,13 @@ case `"$ac_path_GREP" --version 2>&1` in ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 - $as_echo_n 0123456789 >"conftest.in" + printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" + printf "%s\n" 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val @@ -5799,16 +6423,17 @@ else fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +printf "%s\n" "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if ${ac_cv_path_EGREP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +printf %s "checking for egrep... " >&6; } +if test ${ac_cv_path_EGREP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else @@ -5819,10 +6444,15 @@ else for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in egrep + do for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP @@ -5831,13 +6461,13 @@ case `"$ac_path_EGREP" --version 2>&1` in ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 - $as_echo_n 0123456789 >"conftest.in" + printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" + printf "%s\n" 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val @@ -5866,18 +6496,19 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +printf "%s\n" "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5 -$as_echo_n "checking for Minix Amsterdam compiler... " >&6; } -if ${gl_cv_c_amsterdam_compiler+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5 +printf %s "checking for Minix Amsterdam compiler... " >&6; } +if test ${gl_cv_c_amsterdam_compiler+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -5888,17 +6519,18 @@ Amsterdam _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "Amsterdam" >/dev/null 2>&1; then : + $EGREP "Amsterdam" >/dev/null 2>&1 +then : gl_cv_c_amsterdam_compiler=yes -else +else $as_nop gl_cv_c_amsterdam_compiler=no fi -rm -f conftest* +rm -rf conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5 -$as_echo "$gl_cv_c_amsterdam_compiler" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5 +printf "%s\n" "$gl_cv_c_amsterdam_compiler" >&6; } if test -z "$AR"; then if test $gl_cv_c_amsterdam_compiler = yes; then AR='cc -c.a' @@ -5909,11 +6541,12 @@ $as_echo "$gl_cv_c_amsterdam_compiler" >&6; } if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_AR+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else @@ -5921,11 +6554,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AR="${ac_tool_prefix}ar" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5936,11 +6573,11 @@ fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +printf "%s\n" "$AR" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -5949,11 +6586,12 @@ if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_AR+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else @@ -5961,11 +6599,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="ar" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5976,11 +6618,11 @@ fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +printf "%s\n" "$ac_ct_AR" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_AR" = x; then @@ -5988,8 +6630,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR @@ -6016,11 +6658,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_RANLIB+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else @@ -6028,11 +6671,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -6043,11 +6690,11 @@ fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -$as_echo "$RANLIB" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +printf "%s\n" "$RANLIB" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -6056,11 +6703,12 @@ 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 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_RANLIB+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else @@ -6068,11 +6716,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -6083,11 +6735,11 @@ fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -$as_echo "$ac_ct_RANLIB" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +printf "%s\n" "$ac_ct_RANLIB" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then @@ -6095,8 +6747,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB @@ -6110,205 +6762,108 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if ${ac_cv_header_stdc+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -$as_echo "#define STDC_HEADERS 1" >>confdefs.h - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi done - ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" -if test "x$ac_cv_header_minix_config_h" = xyes; then : + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + ac_fn_c_check_header_compile "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" +if test "x$ac_cv_header_minix_config_h" = xyes +then : MINIX=yes -else +else $as_nop MINIX= fi - if test "$MINIX" = yes; then -$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h +printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h -$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h +printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h -$as_echo "#define _MINIX 1" >>confdefs.h +printf "%s\n" "#define _MINIX 1" >>confdefs.h -$as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h +printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 -$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } -if ${ac_cv_safe_to_define___extensions__+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # define __EXTENSIONS__ 1 $ac_includes_default int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_safe_to_define___extensions__=yes -else +else $as_nop ac_cv_safe_to_define___extensions__=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 -$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } test $ac_cv_safe_to_define___extensions__ = yes && - $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h - $as_echo "#define _ALL_SOURCE 1" >>confdefs.h + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h - $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h - $as_echo "#define _GNU_SOURCE 1" >>confdefs.h + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h - $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h - $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 -$as_echo_n "checking whether _XOPEN_SOURCE should be defined... " >&6; } -if ${ac_cv_should_define__xopen_source+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_should_define__xopen_source=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -6316,16 +6871,17 @@ else #include mbstate_t x; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -6333,24 +6889,25 @@ else #include mbstate_t x; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_should_define__xopen_source=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 -$as_echo "$ac_cv_should_define__xopen_source" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } test $ac_cv_should_define__xopen_source = yes && - $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h @@ -6360,68 +6917,73 @@ $as_echo "$ac_cv_should_define__xopen_source" >&6; } # Check whether --enable-largefile was given. -if test "${enable_largefile+set}" = set; then : +if test ${enable_largefile+y} +then : enableval=$enable_largefile; fi if test "$enable_largefile" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 -$as_echo_n "checking for special C compiler options needed for large files... " >&6; } -if ${ac_cv_sys_largefile_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 +printf %s "checking for special C compiler options needed for large files... " >&6; } +if test ${ac_cv_sys_largefile_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_sys_largefile_CC=no if test "$GCC" != yes; then ac_save_CC=$CC while :; do - # IRIX 6.2 and later do not support large files by default, - # so use the C compiler's -n32 option if that helps. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; int -main () +main (void) { ; return 0; } _ACEOF - if ac_fn_c_try_compile "$LINENO"; then : + if ac_fn_c_try_compile "$LINENO" +then : break fi -rm -f core conftest.err conftest.$ac_objext - CC="$CC -n32" - if ac_fn_c_try_compile "$LINENO"; then : +rm -f core conftest.err conftest.$ac_objext conftest.beam + CC="$CC -n32" + if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_largefile_CC=' -n32'; break fi -rm -f core conftest.err conftest.$ac_objext - break +rm -f core conftest.err conftest.$ac_objext conftest.beam + break done CC=$ac_save_CC rm -f conftest.$ac_ext fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 -$as_echo "$ac_cv_sys_largefile_CC" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 +printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; } if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 -$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } -if ${ac_cv_sys_file_offset_bits+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } +if test ${ac_cv_sys_file_offset_bits+y} +then : + printf %s "(cached) " >&6 +else $as_nop while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -6430,22 +6992,23 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_file_offset_bits=no; break fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _FILE_OFFSET_BITS 64 @@ -6454,43 +7017,43 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_file_offset_bits=64; break fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_sys_file_offset_bits=unknown break done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 -$as_echo "$ac_cv_sys_file_offset_bits" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 +printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; } case $ac_cv_sys_file_offset_bits in #( no | unknown) ;; *) -cat >>confdefs.h <<_ACEOF -#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits -_ACEOF +printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h ;; esac rm -rf conftest* if test $ac_cv_sys_file_offset_bits = unknown; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 -$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } -if ${ac_cv_sys_large_files+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 +printf %s "checking for _LARGE_FILES value needed for large files... " >&6; } +if test ${ac_cv_sys_large_files+y} +then : + printf %s "(cached) " >&6 +else $as_nop while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -6499,22 +7062,23 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_large_files=no; break fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _LARGE_FILES 1 @@ -6523,42 +7087,37 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_large_files=1; break fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_sys_large_files=unknown break done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 -$as_echo "$ac_cv_sys_large_files" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 +printf "%s\n" "$ac_cv_sys_large_files" >&6; } case $ac_cv_sys_large_files in #( no | unknown) ;; *) -cat >>confdefs.h <<_ACEOF -#define _LARGE_FILES $ac_cv_sys_large_files -_ACEOF +printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h ;; esac rm -rf conftest* fi - - -$as_echo "#define _DARWIN_USE_64_BIT_INODE 1" >>confdefs.h - fi @@ -6567,9 +7126,10 @@ fi # Check whether --enable-threads was given. -if test "${enable_threads+set}" = set; then : +if test ${enable_threads+y} +then : enableval=$enable_threads; gl_use_threads=$enableval -else +else $as_nop if test -n "$gl_use_threads_default"; then gl_use_threads="$gl_use_threads_default" else @@ -6731,11 +7291,12 @@ fi # Code from module xstrndup: if test $ac_cv_c_compiler_gnu = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 -$as_echo_n "checking whether $CC needs -traditional... " >&6; } -if ${ac_cv_prog_gcc_traditional+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 +printf %s "checking whether $CC needs -traditional... " >&6; } +if test ${ac_cv_prog_gcc_traditional+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_pattern="Autoconf.*'x'" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -6743,12 +7304,13 @@ else Autoconf TIOCGETP _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "$ac_pattern" >/dev/null 2>&1; then : + $EGREP "$ac_pattern" >/dev/null 2>&1 +then : ac_cv_prog_gcc_traditional=yes -else +else $as_nop ac_cv_prog_gcc_traditional=no fi -rm -f conftest* +rm -rf conftest* if test $ac_cv_prog_gcc_traditional = no; then @@ -6758,15 +7320,16 @@ rm -f conftest* Autoconf TCGETA _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "$ac_pattern" >/dev/null 2>&1; then : + $EGREP "$ac_pattern" >/dev/null 2>&1 +then : ac_cv_prog_gcc_traditional=yes fi -rm -f conftest* +rm -rf conftest* fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 -$as_echo "$ac_cv_prog_gcc_traditional" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 +printf "%s\n" "$ac_cv_prog_gcc_traditional" >&6; } if test $ac_cv_prog_gcc_traditional = yes; then CC="$CC -traditional" fi @@ -6774,8 +7337,8 @@ fi case `pwd` in *\ * | *\ *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 -$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 +printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac @@ -6795,6 +7358,7 @@ macro_revision='1.3337' + ltmain="$ac_aux_dir/ltmain.sh" # Backslashify metacharacters that are still active within @@ -6818,8 +7382,8 @@ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 -$as_echo_n "checking how to print strings... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 +printf %s "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then @@ -6845,12 +7409,12 @@ func_echo_all () } case "$ECHO" in - printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 -$as_echo "printf" >&6; } ;; - print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 -$as_echo "print -r" >&6; } ;; - *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 -$as_echo "cat" >&6; } ;; + printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5 +printf "%s\n" "printf" >&6; } ;; + print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 +printf "%s\n" "print -r" >&6; } ;; + *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5 +printf "%s\n" "cat" >&6; } ;; esac @@ -6866,11 +7430,12 @@ esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 -$as_echo_n "checking for a sed that does not truncate output... " >&6; } -if ${ac_cv_path_SED+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 +printf %s "checking for a sed that does not truncate output... " >&6; } +if test ${ac_cv_path_SED+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" @@ -6884,10 +7449,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in sed gsed; do + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in sed gsed + do for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + ac_path_SED="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED @@ -6896,13 +7466,13 @@ case `"$ac_path_SED" --version 2>&1` in ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 - $as_echo_n 0123456789 >"conftest.in" + printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - $as_echo '' >> "conftest.nl" + printf "%s\n" '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val @@ -6930,8 +7500,8 @@ else fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 -$as_echo "$ac_cv_path_SED" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 +printf "%s\n" "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed @@ -6948,11 +7518,12 @@ Xsed="$SED -e 1s/^X//" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 -$as_echo_n "checking for fgrep... " >&6; } -if ${ac_cv_path_FGREP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 +printf %s "checking for fgrep... " >&6; } +if test ${ac_cv_path_FGREP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else @@ -6963,10 +7534,15 @@ else for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in fgrep; do + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in fgrep + do for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" + ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP @@ -6975,13 +7551,13 @@ case `"$ac_path_FGREP" --version 2>&1` in ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; *) ac_count=0 - $as_echo_n 0123456789 >"conftest.in" + printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - $as_echo 'FGREP' >> "conftest.nl" + printf "%s\n" 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val @@ -7010,8 +7586,8 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 -$as_echo "$ac_cv_path_FGREP" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 +printf "%s\n" "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" @@ -7036,17 +7612,18 @@ test -z "$GREP" && GREP=grep # Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : +if test ${with_gnu_ld+y} +then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else +else $as_nop with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +printf %s "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -7075,15 +7652,16 @@ $as_echo_n "checking for ld used by $CC... " >&6; } ;; esac elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +printf %s "checking for GNU ld... " >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +printf %s "checking for non-GNU ld... " >&6; } fi -if ${lt_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test ${lt_cv_path_LD+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do @@ -7112,18 +7690,19 @@ fi LD="$lt_cv_path_LD" if test -n "$LD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -$as_echo "$LD" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +printf "%s\n" "$LD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${lt_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +printf %s "checking if the linker ($LD) is GNU ld... " >&6; } +if test ${lt_cv_prog_gnu_ld+y} +then : + printf %s "(cached) " >&6 +else $as_nop # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 +printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld @@ -7146,11 +7725,12 @@ with_gnu_ld=$lt_cv_prog_gnu_ld -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 -$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -if ${lt_cv_path_NM+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 +printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } +if test ${lt_cv_path_NM+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" @@ -7195,8 +7775,8 @@ else : ${lt_cv_path_NM=no} fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 -$as_echo "$lt_cv_path_NM" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 +printf "%s\n" "$lt_cv_path_NM" >&6; } if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" else @@ -7209,11 +7789,12 @@ else do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DUMPBIN+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_DUMPBIN+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. else @@ -7221,11 +7802,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -7236,11 +7821,11 @@ fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 -$as_echo "$DUMPBIN" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 +printf "%s\n" "$DUMPBIN" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -7253,11 +7838,12 @@ if test -z "$DUMPBIN"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_DUMPBIN+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. else @@ -7265,11 +7851,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -7280,11 +7870,11 @@ fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 -$as_echo "$ac_ct_DUMPBIN" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 +printf "%s\n" "$ac_ct_DUMPBIN" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -7296,8 +7886,8 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN @@ -7325,11 +7915,12 @@ test -z "$NM" && NM=nm -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 -$as_echo_n "checking the name lister ($NM) interface... " >&6; } -if ${lt_cv_nm_interface+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 +printf %s "checking the name lister ($NM) interface... " >&6; } +if test ${lt_cv_nm_interface+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) @@ -7345,26 +7936,27 @@ else fi rm -f conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 -$as_echo "$lt_cv_nm_interface" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 +printf "%s\n" "$lt_cv_nm_interface" >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 -$as_echo_n "checking whether ln -s works... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +printf %s "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 -$as_echo "no, using $LN_S" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +printf "%s\n" "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 -$as_echo_n "checking the maximum length of command line arguments... " >&6; } -if ${lt_cv_sys_max_cmd_len+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 +printf %s "checking the maximum length of command line arguments... " >&6; } +if test ${lt_cv_sys_max_cmd_len+y} +then : + printf %s "(cached) " >&6 +else $as_nop i=0 teststring="ABCD" @@ -7490,11 +8082,11 @@ else fi if test -n $lt_cv_sys_max_cmd_len ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 -$as_echo "$lt_cv_sys_max_cmd_len" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 +printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -$as_echo "none" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 +printf "%s\n" "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len @@ -7507,8 +8099,8 @@ max_cmd_len=$lt_cv_sys_max_cmd_len : ${MV="mv -f"} : ${RM="rm -f"} -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 -$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 +printf %s "checking whether the shell understands some XSI constructs... " >&6; } # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" @@ -7517,18 +8109,18 @@ xsi_shell=no && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 -$as_echo "$xsi_shell" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 +printf "%s\n" "$xsi_shell" >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 -$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 +printf %s "checking whether the shell understands \"+=\"... " >&6; } lt_shell_append=no ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 -$as_echo "$lt_shell_append" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 +printf "%s\n" "$lt_shell_append" >&6; } if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then @@ -7562,11 +8154,12 @@ esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 -$as_echo_n "checking how to convert $build file names to $host format... " >&6; } -if ${lt_cv_to_host_file_cmd+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 +printf %s "checking how to convert $build file names to $host format... " >&6; } +if test ${lt_cv_to_host_file_cmd+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $host in *-*-mingw* ) case $build in @@ -7602,18 +8195,19 @@ esac fi to_host_file_cmd=$lt_cv_to_host_file_cmd -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 -$as_echo "$lt_cv_to_host_file_cmd" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 +printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 -$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } -if ${lt_cv_to_tool_file_cmd+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 +printf %s "checking how to convert $build file names to toolchain format... " >&6; } +if test ${lt_cv_to_tool_file_cmd+y} +then : + printf %s "(cached) " >&6 +else $as_nop #assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in @@ -7629,22 +8223,23 @@ esac fi to_tool_file_cmd=$lt_cv_to_tool_file_cmd -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 -$as_echo "$lt_cv_to_tool_file_cmd" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 +printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 -$as_echo_n "checking for $LD option to reload object files... " >&6; } -if ${lt_cv_ld_reload_flag+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 +printf %s "checking for $LD option to reload object files... " >&6; } +if test ${lt_cv_ld_reload_flag+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_ld_reload_flag='-r' fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 -$as_echo "$lt_cv_ld_reload_flag" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 +printf "%s\n" "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; @@ -7677,11 +8272,12 @@ esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OBJDUMP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OBJDUMP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else @@ -7689,11 +8285,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -7704,11 +8304,11 @@ fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 -$as_echo "$OBJDUMP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 +printf "%s\n" "$OBJDUMP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -7717,11 +8317,12 @@ if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OBJDUMP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else @@ -7729,11 +8330,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -7744,11 +8349,11 @@ fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 -$as_echo "$ac_ct_OBJDUMP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 +printf "%s\n" "$ac_ct_OBJDUMP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then @@ -7756,8 +8361,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP @@ -7776,11 +8381,12 @@ test -z "$OBJDUMP" && OBJDUMP=objdump -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 -$as_echo_n "checking how to recognize dependent libraries... " >&6; } -if ${lt_cv_deplibs_check_method+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 +printf %s "checking how to recognize dependent libraries... " >&6; } +if test ${lt_cv_deplibs_check_method+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' @@ -7974,8 +8580,8 @@ tpf*) esac fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 -$as_echo "$lt_cv_deplibs_check_method" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 +printf "%s\n" "$lt_cv_deplibs_check_method" >&6; } file_magic_glob= want_nocaseglob=no @@ -8019,11 +8625,12 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DLLTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_DLLTOOL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else @@ -8031,11 +8638,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -8046,11 +8657,11 @@ fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 -$as_echo "$DLLTOOL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 +printf "%s\n" "$DLLTOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -8059,11 +8670,12 @@ if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_DLLTOOL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else @@ -8071,11 +8683,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -8086,11 +8702,11 @@ fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 -$as_echo "$ac_ct_DLLTOOL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 +printf "%s\n" "$ac_ct_DLLTOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then @@ -8098,8 +8714,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL @@ -8119,11 +8735,12 @@ test -z "$DLLTOOL" && DLLTOOL=dlltool -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 -$as_echo_n "checking how to associate runtime and link libraries... " >&6; } -if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 +printf %s "checking how to associate runtime and link libraries... " >&6; } +if test ${lt_cv_sharedlib_from_linklib_cmd+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in @@ -8146,8 +8763,8 @@ cygwin* | mingw* | pw32* | cegcc*) esac fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 -$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 +printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO @@ -8162,11 +8779,12 @@ if test -n "$ac_tool_prefix"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_AR+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else @@ -8174,11 +8792,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -8189,11 +8811,11 @@ fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +printf "%s\n" "$AR" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -8206,11 +8828,12 @@ if test -z "$AR"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_AR+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else @@ -8218,11 +8841,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -8233,11 +8860,11 @@ fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +printf "%s\n" "$ac_ct_AR" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -8249,8 +8876,8 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR @@ -8270,30 +8897,32 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 -$as_echo_n "checking for archiver @FILE support... " >&6; } -if ${lt_cv_ar_at_file+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 +printf %s "checking for archiver @FILE support... " >&6; } +if test ${lt_cv_ar_at_file+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_ar_at_file=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then # Ensure the archiver fails upon bogus file names. @@ -8301,7 +8930,7 @@ if ac_fn_c_try_compile "$LINENO"; then : { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -ne 0; then lt_cv_ar_at_file=@ @@ -8310,11 +8939,11 @@ if ac_fn_c_try_compile "$LINENO"; then : rm -f conftest.* libconftest.a fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 -$as_echo "$lt_cv_ar_at_file" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 +printf "%s\n" "$lt_cv_ar_at_file" >&6; } if test "x$lt_cv_ar_at_file" = xno; then archiver_list_spec= @@ -8331,11 +8960,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_STRIP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else @@ -8343,11 +8973,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -8358,11 +8992,11 @@ fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +printf "%s\n" "$STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -8371,11 +9005,12 @@ if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_STRIP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else @@ -8383,11 +9018,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -8398,11 +9037,11 @@ fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +printf "%s\n" "$ac_ct_STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then @@ -8410,8 +9049,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP @@ -8430,11 +9069,12 @@ 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 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_RANLIB+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else @@ -8442,11 +9082,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -8457,11 +9101,11 @@ fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -$as_echo "$RANLIB" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +printf "%s\n" "$RANLIB" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -8470,11 +9114,12 @@ 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 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_RANLIB+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else @@ -8482,11 +9127,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -8497,11 +9146,11 @@ fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -$as_echo "$ac_ct_RANLIB" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +printf "%s\n" "$ac_ct_RANLIB" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then @@ -8509,8 +9158,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB @@ -8599,11 +9248,12 @@ compiler=$CC # Check for command to grab the raw symbol name followed by C symbol from nm. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 -$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -if ${lt_cv_sys_global_symbol_pipe+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 +printf %s "checking command to parse $NM output from $compiler object... " >&6; } +if test ${lt_cv_sys_global_symbol_pipe+y} +then : + printf %s "(cached) " >&6 +else $as_nop # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] @@ -8722,14 +9372,14 @@ _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm 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=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then @@ -8798,7 +9448,7 @@ _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi @@ -8833,11 +9483,11 @@ if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 -$as_echo "failed" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +printf "%s\n" "failed" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -$as_echo "ok" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +printf "%s\n" "ok" >&6; } fi # Response file support. @@ -8873,13 +9523,14 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 -$as_echo_n "checking for sysroot... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 +printf %s "checking for sysroot... " >&6; } # Check whether --with-sysroot was given. -if test "${with_sysroot+set}" = set; then : +if test ${with_sysroot+y} +then : withval=$with_sysroot; -else +else $as_nop with_sysroot=no fi @@ -8897,21 +9548,22 @@ case ${with_sysroot} in #( no|'') ;; #( *) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 -$as_echo "${with_sysroot}" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 +printf "%s\n" "${with_sysroot}" >&6; } as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 -$as_echo "${lt_sysroot:-no}" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 +printf "%s\n" "${lt_sysroot:-no}" >&6; } # Check whether --enable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then : +if test ${enable_libtool_lock+y} +then : enableval=$enable_libtool_lock; fi @@ -8926,7 +9578,7 @@ ia64-*-hpux*) if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) @@ -8945,7 +9597,7 @@ ia64-*-hpux*) if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in @@ -8983,7 +9635,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *32-bit*) @@ -9033,11 +9685,12 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 -$as_echo_n "checking whether the C compiler needs -belf... " >&6; } -if ${lt_cv_cc_needs_belf+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 +printf %s "checking whether the C compiler needs -belf... " >&6; } +if test ${lt_cv_cc_needs_belf+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -9048,19 +9701,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : lt_cv_cc_needs_belf=yes -else +else $as_nop lt_cv_cc_needs_belf=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -9069,8 +9723,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 -$as_echo "$lt_cv_cc_needs_belf" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 +printf "%s\n" "$lt_cv_cc_needs_belf" >&6; } if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" @@ -9082,7 +9736,7 @@ $as_echo "$lt_cv_cc_needs_belf" >&6; } if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *64-bit*) @@ -9119,11 +9773,12 @@ need_locks="$enable_libtool_lock" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. set dummy ${ac_tool_prefix}mt; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_MANIFEST_TOOL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$MANIFEST_TOOL"; then ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. else @@ -9131,11 +9786,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9146,11 +9805,11 @@ fi fi MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL if test -n "$MANIFEST_TOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 -$as_echo "$MANIFEST_TOOL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 +printf "%s\n" "$MANIFEST_TOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -9159,11 +9818,12 @@ if test -z "$ac_cv_prog_MANIFEST_TOOL"; then ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL # Extract the first word of "mt", so it can be a program name with args. set dummy mt; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_MANIFEST_TOOL"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. else @@ -9171,11 +9831,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9186,11 +9850,11 @@ fi fi ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL if test -n "$ac_ct_MANIFEST_TOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 -$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 +printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_MANIFEST_TOOL" = x; then @@ -9198,8 +9862,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL @@ -9209,11 +9873,12 @@ else fi test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 -$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } -if ${lt_cv_path_mainfest_tool+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 +printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } +if test ${lt_cv_path_mainfest_tool+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out @@ -9223,8 +9888,8 @@ else fi rm -f conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 -$as_echo "$lt_cv_path_mainfest_tool" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 +printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; } if test "x$lt_cv_path_mainfest_tool" != xyes; then MANIFEST_TOOL=: fi @@ -9239,11 +9904,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DSYMUTIL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_DSYMUTIL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else @@ -9251,11 +9917,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9266,11 +9936,11 @@ fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 -$as_echo "$DSYMUTIL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 +printf "%s\n" "$DSYMUTIL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -9279,11 +9949,12 @@ if test -z "$ac_cv_prog_DSYMUTIL"; then ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_DSYMUTIL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else @@ -9291,11 +9962,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9306,11 +9981,11 @@ fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 -$as_echo "$ac_ct_DSYMUTIL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 +printf "%s\n" "$ac_ct_DSYMUTIL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then @@ -9318,8 +9993,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL @@ -9331,11 +10006,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_NMEDIT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_NMEDIT+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else @@ -9343,11 +10019,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9358,11 +10038,11 @@ fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 -$as_echo "$NMEDIT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 +printf "%s\n" "$NMEDIT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -9371,11 +10051,12 @@ if test -z "$ac_cv_prog_NMEDIT"; then ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_NMEDIT+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else @@ -9383,11 +10064,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NMEDIT="nmedit" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9398,11 +10083,11 @@ fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 -$as_echo "$ac_ct_NMEDIT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 +printf "%s\n" "$ac_ct_NMEDIT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then @@ -9410,8 +10095,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT @@ -9423,11 +10108,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_LIPO+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_LIPO+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. else @@ -9435,11 +10121,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9450,11 +10140,11 @@ fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 -$as_echo "$LIPO" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 +printf "%s\n" "$LIPO" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -9463,11 +10153,12 @@ if test -z "$ac_cv_prog_LIPO"; then ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_LIPO+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_LIPO+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. else @@ -9475,11 +10166,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LIPO="lipo" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9490,11 +10185,11 @@ fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 -$as_echo "$ac_ct_LIPO" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 +printf "%s\n" "$ac_ct_LIPO" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_LIPO" = x; then @@ -9502,8 +10197,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LIPO=$ac_ct_LIPO @@ -9515,11 +10210,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OTOOL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. else @@ -9527,11 +10223,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9542,11 +10242,11 @@ fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 -$as_echo "$OTOOL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 +printf "%s\n" "$OTOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -9555,11 +10255,12 @@ if test -z "$ac_cv_prog_OTOOL"; then ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OTOOL+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else @@ -9567,11 +10268,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL="otool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9582,11 +10287,11 @@ fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 -$as_echo "$ac_ct_OTOOL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 +printf "%s\n" "$ac_ct_OTOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then @@ -9594,8 +10299,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL=$ac_ct_OTOOL @@ -9607,11 +10312,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OTOOL64+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OTOOL64+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. else @@ -9619,11 +10325,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9634,11 +10344,11 @@ fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 -$as_echo "$OTOOL64" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 +printf "%s\n" "$OTOOL64" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -9647,11 +10357,12 @@ if test -z "$ac_cv_prog_OTOOL64"; then ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OTOOL64+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. else @@ -9659,11 +10370,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL64="otool64" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -9674,11 +10389,11 @@ fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 -$as_echo "$ac_ct_OTOOL64" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 +printf "%s\n" "$ac_ct_OTOOL64" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then @@ -9686,8 +10401,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 @@ -9722,11 +10437,12 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 -$as_echo_n "checking for -single_module linker flag... " >&6; } -if ${lt_cv_apple_cc_single_mod+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 +printf %s "checking for -single_module linker flag... " >&6; } +if test ${lt_cv_apple_cc_single_mod+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then # By default we will add the -single_module flag. You can override @@ -9755,14 +10471,15 @@ else rm -f conftest.* fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 -$as_echo "$lt_cv_apple_cc_single_mod" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 +printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 -$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -if ${lt_cv_ld_exported_symbols_list+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 +printf %s "checking for -exported_symbols_list linker flag... " >&6; } +if test ${lt_cv_ld_exported_symbols_list+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym @@ -9771,31 +10488,33 @@ else /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : lt_cv_ld_exported_symbols_list=yes -else +else $as_nop lt_cv_ld_exported_symbols_list=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 -$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 +printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 -$as_echo_n "checking for -force_load linker flag... " >&6; } -if ${lt_cv_ld_force_load+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 +printf %s "checking for -force_load linker flag... " >&6; } +if test ${lt_cv_ld_force_load+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} @@ -9823,8 +10542,8 @@ _LT_EOF rm -rf conftest.dSYM fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 -$as_echo "$lt_cv_ld_force_load" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 +printf "%s\n" "$lt_cv_ld_force_load" >&6; } case $host_os in rhapsody* | darwin1.[012]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; @@ -9860,19 +10579,14 @@ $as_echo "$lt_cv_ld_force_load" >&6; } ;; esac -for ac_header in dlfcn.h -do : - ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default +ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " -if test "x$ac_cv_header_dlfcn_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_DLFCN_H 1 -_ACEOF +if test "x$ac_cv_header_dlfcn_h" = xyes +then : + printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h fi -done - @@ -9888,7 +10602,8 @@ done # Check whether --enable-shared was given. -if test "${enable_shared+set}" = set; then : +if test ${enable_shared+y} +then : enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; @@ -9906,7 +10621,7 @@ if test "${enable_shared+set}" = set; then : IFS="$lt_save_ifs" ;; esac -else +else $as_nop enable_shared=yes fi @@ -9919,7 +10634,8 @@ fi # Check whether --enable-static was given. -if test "${enable_static+set}" = set; then : +if test ${enable_static+y} +then : enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; @@ -9937,7 +10653,7 @@ if test "${enable_static+set}" = set; then : IFS="$lt_save_ifs" ;; esac -else +else $as_nop enable_static=yes fi @@ -9951,7 +10667,8 @@ fi # Check whether --with-pic was given. -if test "${with_pic+set}" = set; then : +if test ${with_pic+y} +then : withval=$with_pic; lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; @@ -9968,7 +10685,7 @@ if test "${with_pic+set}" = set; then : IFS="$lt_save_ifs" ;; esac -else +else $as_nop pic_mode=default fi @@ -9982,7 +10699,8 @@ test -z "$pic_mode" && pic_mode=default # Check whether --enable-fast-install was given. -if test "${enable_fast_install+set}" = set; then : +if test ${enable_fast_install+y} +then : enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; @@ -10000,7 +10718,7 @@ if test "${enable_fast_install+set}" = set; then : IFS="$lt_save_ifs" ;; esac -else +else $as_nop enable_fast_install=yes fi @@ -10068,11 +10786,12 @@ if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 -$as_echo_n "checking for objdir... " >&6; } -if ${lt_cv_objdir+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 +printf %s "checking for objdir... " >&6; } +if test ${lt_cv_objdir+y} +then : + printf %s "(cached) " >&6 +else $as_nop rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then @@ -10083,17 +10802,15 @@ else fi rmdir .libs 2>/dev/null fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 -$as_echo "$lt_cv_objdir" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 +printf "%s\n" "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir -cat >>confdefs.h <<_ACEOF -#define LT_OBJDIR "$lt_cv_objdir/" -_ACEOF +printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h @@ -10146,11 +10863,12 @@ test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 -$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -if ${lt_cv_path_MAGIC_CMD+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 +printf %s "checking for ${ac_tool_prefix}file... " >&6; } +if test ${lt_cv_path_MAGIC_CMD+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. @@ -10199,11 +10917,11 @@ fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +printf "%s\n" "$MAGIC_CMD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -10212,11 +10930,12 @@ fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 -$as_echo_n "checking for file... " >&6; } -if ${lt_cv_path_MAGIC_CMD+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 +printf %s "checking for file... " >&6; } +if test ${lt_cv_path_MAGIC_CMD+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. @@ -10265,11 +10984,11 @@ fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +printf "%s\n" "$MAGIC_CMD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -10354,11 +11073,12 @@ if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +if test ${lt_cv_prog_compiler_rtti_exceptions+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext @@ -10389,8 +11109,8 @@ else $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" @@ -10716,26 +11436,28 @@ case $host_os in ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } -if ${lt_cv_prog_compiler_pic+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +printf %s "checking for $compiler option to produce PIC... " >&6; } +if test ${lt_cv_prog_compiler_pic+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_pic=$lt_prog_compiler_pic fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 -$as_echo "$lt_cv_prog_compiler_pic" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 +printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -if ${lt_cv_prog_compiler_pic_works+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +if test ${lt_cv_prog_compiler_pic_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext @@ -10766,8 +11488,8 @@ else $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 +printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } if test x"$lt_cv_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in @@ -10795,11 +11517,12 @@ fi # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if ${lt_cv_prog_compiler_static_works+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +if test ${lt_cv_prog_compiler_static_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" @@ -10823,8 +11546,8 @@ else LDFLAGS="$save_LDFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 -$as_echo "$lt_cv_prog_compiler_static_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 +printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } if test x"$lt_cv_prog_compiler_static_works" = xyes; then : @@ -10838,11 +11561,12 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test ${lt_cv_prog_compiler_c_o+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest @@ -10885,19 +11609,20 @@ else $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test ${lt_cv_prog_compiler_c_o+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest @@ -10940,8 +11665,8 @@ else $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } @@ -10949,19 +11674,19 @@ $as_echo "$lt_cv_prog_compiler_c_o" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +printf %s "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +printf "%s\n" "$hard_links" >&6; } if test "$hard_links" = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +printf "%s\n" "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else @@ -10973,8 +11698,8 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= allow_undefined_flag= @@ -11462,21 +12187,23 @@ _LT_EOF if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else - if ${lt_cv_aix_libpath_+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${lt_cv_aix_libpath_+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { @@ -11491,7 +12218,7 @@ if ac_fn_c_try_link "$LINENO"; then : lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_="/usr/lib:/lib" @@ -11515,21 +12242,23 @@ fi if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else - if ${lt_cv_aix_libpath_+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${lt_cv_aix_libpath_+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { @@ -11544,7 +12273,7 @@ if ac_fn_c_try_link "$LINENO"; then : lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_="/usr/lib:/lib" @@ -11782,11 +12511,12 @@ fi # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 -$as_echo_n "checking if $CC understands -b... " >&6; } -if ${lt_cv_prog_compiler__b+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 +printf %s "checking if $CC understands -b... " >&6; } +if test ${lt_cv_prog_compiler__b+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_prog_compiler__b=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -b" @@ -11810,8 +12540,8 @@ else LDFLAGS="$save_LDFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 -$as_echo "$lt_cv_prog_compiler__b" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 +printf "%s\n" "$lt_cv_prog_compiler__b" >&6; } if test x"$lt_cv_prog_compiler__b" = xyes; then archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' @@ -11851,28 +12581,30 @@ fi # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 -$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } -if ${lt_cv_irix_exported_symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 +printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } +if test ${lt_cv_irix_exported_symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int foo (void) { return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : lt_cv_irix_exported_symbol=yes -else +else $as_nop lt_cv_irix_exported_symbol=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 -$as_echo "$lt_cv_irix_exported_symbol" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 +printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } if test "$lt_cv_irix_exported_symbol" = yes; then archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' fi @@ -12130,8 +12862,8 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; } fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 -$as_echo "$ld_shlibs" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 +printf "%s\n" "$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no with_gnu_ld=$with_gnu_ld @@ -12167,18 +12899,19 @@ x|xyes) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } -if ${lt_cv_archive_cmds_need_lc+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +printf %s "checking whether -lc should be explicitly linked in... " >&6; } +if test ${lt_cv_archive_cmds_need_lc+y} +then : + printf %s "(cached) " >&6 +else $as_nop $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest @@ -12196,7 +12929,7 @@ else if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then lt_cv_archive_cmds_need_lc=no @@ -12210,8 +12943,8 @@ else $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 -$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 +printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac @@ -12370,8 +13103,8 @@ esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +printf %s "checking dynamic linker characteristics... " >&6; } if test "$GCC" = yes; then case $host_os in @@ -12851,9 +13584,10 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH - if ${lt_cv_shlibpath_overrides_runpath+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${lt_cv_shlibpath_overrides_runpath+y} +then : + printf %s "(cached) " >&6 +else $as_nop lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir @@ -12863,19 +13597,21 @@ else /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : +if ac_fn_c_try_link "$LINENO" +then : + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null +then : lt_cv_shlibpath_overrides_runpath=yes fi fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir @@ -13104,8 +13840,8 @@ uts4*) dynamic_linker=no ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +printf "%s\n" "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" @@ -13211,8 +13947,8 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +printf %s "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || @@ -13236,8 +13972,8 @@ else # directories. hardcode_action=unsupported fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 -$as_echo "$hardcode_action" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 +printf "%s\n" "$hardcode_action" >&6; } if test "$hardcode_action" = relink || test "$inherit_rpath" = yes; then @@ -13281,11 +14017,12 @@ else darwin*) # if libdl is installed we need to link against it - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if ${ac_cv_lib_dl_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +printf %s "checking for dlopen in -ldl... " >&6; } +if test ${ac_cv_lib_dl_dlopen+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -13294,32 +14031,31 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dlopen (); int -main () +main (void) { return dlopen (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dl_dlopen=yes -else +else $as_nop ac_cv_lib_dl_dlopen=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes +then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -else +else $as_nop lt_cv_dlopen="dyld" lt_cv_dlopen_libs= @@ -13331,14 +14067,16 @@ fi *) ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" -if test "x$ac_cv_func_shl_load" = xyes; then : +if test "x$ac_cv_func_shl_load" = xyes +then : lt_cv_dlopen="shl_load" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 -$as_echo_n "checking for shl_load in -ldld... " >&6; } -if ${ac_cv_lib_dld_shl_load+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +printf %s "checking for shl_load in -ldld... " >&6; } +if test ${ac_cv_lib_dld_shl_load+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -13347,41 +14085,42 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char shl_load (); int -main () +main (void) { return shl_load (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dld_shl_load=yes -else +else $as_nop ac_cv_lib_dld_shl_load=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 -$as_echo "$ac_cv_lib_dld_shl_load" >&6; } -if test "x$ac_cv_lib_dld_shl_load" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = xyes +then : lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" -else +else $as_nop ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -if test "x$ac_cv_func_dlopen" = xyes; then : +if test "x$ac_cv_func_dlopen" = xyes +then : lt_cv_dlopen="dlopen" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if ${ac_cv_lib_dl_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +printf %s "checking for dlopen in -ldl... " >&6; } +if test ${ac_cv_lib_dl_dlopen+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -13390,37 +14129,37 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dlopen (); int -main () +main (void) { return dlopen (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dl_dlopen=yes -else +else $as_nop ac_cv_lib_dl_dlopen=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes +then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 -$as_echo_n "checking for dlopen in -lsvld... " >&6; } -if ${ac_cv_lib_svld_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +printf %s "checking for dlopen in -lsvld... " >&6; } +if test ${ac_cv_lib_svld_dlopen+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -13429,37 +14168,37 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dlopen (); int -main () +main (void) { return dlopen (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_svld_dlopen=yes -else +else $as_nop ac_cv_lib_svld_dlopen=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 -$as_echo "$ac_cv_lib_svld_dlopen" >&6; } -if test "x$ac_cv_lib_svld_dlopen" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 +printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = xyes +then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 -$as_echo_n "checking for dld_link in -ldld... " >&6; } -if ${ac_cv_lib_dld_dld_link+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 +printf %s "checking for dld_link in -ldld... " >&6; } +if test ${ac_cv_lib_dld_dld_link+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -13468,30 +14207,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dld_link (); int -main () +main (void) { return dld_link (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dld_dld_link=yes -else +else $as_nop ac_cv_lib_dld_dld_link=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 -$as_echo "$ac_cv_lib_dld_dld_link" >&6; } -if test "x$ac_cv_lib_dld_dld_link" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 +printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = xyes +then : lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" fi @@ -13530,11 +14268,12 @@ fi save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 -$as_echo_n "checking whether a program can dlopen itself... " >&6; } -if ${lt_cv_dlopen_self+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 +printf %s "checking whether a program can dlopen itself... " >&6; } +if test ${lt_cv_dlopen_self+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else @@ -13613,7 +14352,7 @@ _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? @@ -13631,16 +14370,17 @@ rm -fr conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 -$as_echo "$lt_cv_dlopen_self" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 +printf "%s\n" "$lt_cv_dlopen_self" >&6; } if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 -$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -if ${lt_cv_dlopen_self_static+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 +printf %s "checking whether a statically linked program can dlopen itself... " >&6; } +if test ${lt_cv_dlopen_self_static+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else @@ -13719,7 +14459,7 @@ _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? @@ -13737,8 +14477,8 @@ rm -fr conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 -$as_echo "$lt_cv_dlopen_self_static" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 +printf "%s\n" "$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS="$save_CPPFLAGS" @@ -13776,13 +14516,13 @@ fi striplib= old_striplib= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 -$as_echo_n "checking whether stripping libraries is possible... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +printf %s "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in @@ -13790,16 +14530,16 @@ else if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi ;; *) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } ;; esac fi @@ -13816,13 +14556,13 @@ fi # Report which library types will actually be built - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 -$as_echo_n "checking if libtool supports shared libraries... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 -$as_echo "$can_build_shared" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 +printf %s "checking if libtool supports shared libraries... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 +printf "%s\n" "$can_build_shared" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 -$as_echo_n "checking whether to build shared libraries... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 +printf %s "checking whether to build shared libraries... " >&6; } test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and @@ -13842,15 +14582,15 @@ $as_echo_n "checking whether to build shared libraries... " >&6; } fi ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 -$as_echo "$enable_shared" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 +printf "%s\n" "$enable_shared" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 -$as_echo_n "checking whether to build static libraries... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 +printf %s "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 -$as_echo "$enable_static" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 +printf "%s\n" "$enable_static" >&6; } @@ -13889,32 +14629,34 @@ CC="$lt_save_CC" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 -$as_echo_n "checking for error_at_line... " >&6; } -if ${ac_cv_lib_error_at_line+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 +printf %s "checking for error_at_line... " >&6; } +if test ${ac_cv_lib_error_at_line+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { error_at_line (0, 0, "", 0, "an error occurred"); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_error_at_line=yes -else +else $as_nop ac_cv_lib_error_at_line=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 -$as_echo "$ac_cv_lib_error_at_line" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 +printf "%s\n" "$ac_cv_lib_error_at_line" >&6; } if test $ac_cv_lib_error_at_line = no; then case " $LIBOBJS " in *" error.$ac_objext "* ) ;; @@ -13925,68 +14667,73 @@ esac fi # Check whether --enable-largefile was given. -if test "${enable_largefile+set}" = set; then : +if test ${enable_largefile+y} +then : enableval=$enable_largefile; fi if test "$enable_largefile" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 -$as_echo_n "checking for special C compiler options needed for large files... " >&6; } -if ${ac_cv_sys_largefile_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 +printf %s "checking for special C compiler options needed for large files... " >&6; } +if test ${ac_cv_sys_largefile_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_sys_largefile_CC=no if test "$GCC" != yes; then ac_save_CC=$CC while :; do - # IRIX 6.2 and later do not support large files by default, - # so use the C compiler's -n32 option if that helps. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; int -main () +main (void) { ; return 0; } _ACEOF - if ac_fn_c_try_compile "$LINENO"; then : + if ac_fn_c_try_compile "$LINENO" +then : break fi -rm -f core conftest.err conftest.$ac_objext - CC="$CC -n32" - if ac_fn_c_try_compile "$LINENO"; then : +rm -f core conftest.err conftest.$ac_objext conftest.beam + CC="$CC -n32" + if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_largefile_CC=' -n32'; break fi -rm -f core conftest.err conftest.$ac_objext - break +rm -f core conftest.err conftest.$ac_objext conftest.beam + break done CC=$ac_save_CC rm -f conftest.$ac_ext fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 -$as_echo "$ac_cv_sys_largefile_CC" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 +printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; } if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 -$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } -if ${ac_cv_sys_file_offset_bits+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } +if test ${ac_cv_sys_file_offset_bits+y} +then : + printf %s "(cached) " >&6 +else $as_nop while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -13995,22 +14742,23 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_file_offset_bits=no; break fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _FILE_OFFSET_BITS 64 @@ -14019,43 +14767,43 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_file_offset_bits=64; break fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_sys_file_offset_bits=unknown break done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 -$as_echo "$ac_cv_sys_file_offset_bits" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 +printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; } case $ac_cv_sys_file_offset_bits in #( no | unknown) ;; *) -cat >>confdefs.h <<_ACEOF -#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits -_ACEOF +printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h ;; esac rm -rf conftest* if test $ac_cv_sys_file_offset_bits = unknown; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 -$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } -if ${ac_cv_sys_large_files+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 +printf %s "checking for _LARGE_FILES value needed for large files... " >&6; } +if test ${ac_cv_sys_large_files+y} +then : + printf %s "(cached) " >&6 +else $as_nop while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -14064,22 +14812,23 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_large_files=no; break fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _LARGE_FILES 1 @@ -14088,53 +14837,50 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_large_files=1; break fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_sys_large_files=unknown break done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 -$as_echo "$ac_cv_sys_large_files" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 +printf "%s\n" "$ac_cv_sys_large_files" >&6; } case $ac_cv_sys_large_files in #( no | unknown) ;; *) -cat >>confdefs.h <<_ACEOF -#define _LARGE_FILES $ac_cv_sys_large_files -_ACEOF +printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h ;; esac rm -rf conftest* fi - - -$as_echo "#define _DARWIN_USE_64_BIT_INODE 1" >>confdefs.h - fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5 -$as_echo_n "checking for working strtod... " >&6; } -if ${ac_cv_func_strtod+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5 +printf %s "checking for working strtod... " >&6; } +if test ${ac_cv_func_strtod+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : ac_cv_func_strtod=no -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -14143,7 +14889,7 @@ $ac_includes_default double strtod (); #endif int -main() +main (void) { { /* Some versions of Linux strtod mis-parse strings with leading '+'. */ @@ -14168,9 +14914,10 @@ main() } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : ac_cv_func_strtod=yes -else +else $as_nop ac_cv_func_strtod=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -14178,8 +14925,8 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5 -$as_echo "$ac_cv_func_strtod" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5 +printf "%s\n" "$ac_cv_func_strtod" >&6; } if test $ac_cv_func_strtod = no; then case " $LIBOBJS " in *" strtod.$ac_objext "* ) ;; @@ -14188,16 +14935,18 @@ if test $ac_cv_func_strtod = no; then esac ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" -if test "x$ac_cv_func_pow" = xyes; then : +if test "x$ac_cv_func_pow" = xyes +then : fi if test $ac_cv_func_pow = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 -$as_echo_n "checking for pow in -lm... " >&6; } -if ${ac_cv_lib_m_pow+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 +printf %s "checking for pow in -lm... " >&6; } +if test ${ac_cv_lib_m_pow+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -14206,34 +14955,33 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char pow (); int -main () +main (void) { return pow (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_m_pow=yes -else +else $as_nop ac_cv_lib_m_pow=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 -$as_echo "$ac_cv_lib_m_pow" >&6; } -if test "x$ac_cv_lib_m_pow" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 +printf "%s\n" "$ac_cv_lib_m_pow" >&6; } +if test "x$ac_cv_lib_m_pow" = xyes +then : POW_LIB=-lm -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5 -$as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5 +printf "%s\n" "$as_me: WARNING: cannot find library containing definition of pow" >&2;} fi fi @@ -14253,24 +15001,24 @@ SUPPORT="Send email to help@monitoring-plugins.org if you have questions regardi # Check whether --with-cgiurl was given. -if test "${with_cgiurl+set}" = set; then : +if test ${with_cgiurl+y} +then : withval=$with_cgiurl; with_cgiurl=$withval -else +else $as_nop with_cgiurl=/nagios/cgi-bin fi CGIURL="$with_cgiurl" -cat >>confdefs.h <<_ACEOF -#define CGIURL "$CGIURL" -_ACEOF +printf "%s\n" "#define CGIURL \"$CGIURL\"" >>confdefs.h # Check whether --with-trusted_path was given. -if test "${with_trusted_path+set}" = set; then : +if test ${with_trusted_path+y} +then : withval=$with_trusted_path; with_trusted_path=$withval -else +else $as_nop with_trusted_path=$DEFAULT_PATH fi @@ -14314,11 +15062,12 @@ fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PERL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PERL+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PERL in [\\/]* | ?:[\\/]*) ac_cv_path_PERL="$PERL" # Let the user override the test with a path. @@ -14328,11 +15077,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -14344,21 +15097,22 @@ esac fi PERL=$ac_cv_path_PERL if test -n "$PERL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 -$as_echo "$PERL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 +printf "%s\n" "$PERL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Extract the first word of "hostname", so it can be a program name with args. set dummy hostname; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_HOSTNAME+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_HOSTNAME+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $HOSTNAME in [\\/]* | ?:[\\/]*) ac_cv_path_HOSTNAME="$HOSTNAME" # Let the user override the test with a path. @@ -14368,11 +15122,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_HOSTNAME="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_HOSTNAME="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -14384,21 +15142,22 @@ esac fi HOSTNAME=$ac_cv_path_HOSTNAME if test -n "$HOSTNAME"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOSTNAME" >&5 -$as_echo "$HOSTNAME" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HOSTNAME" >&5 +printf "%s\n" "$HOSTNAME" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Extract the first word of "basename", so it can be a program name with args. set dummy basename; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_BASENAME+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_BASENAME+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $BASENAME in [\\/]* | ?:[\\/]*) ac_cv_path_BASENAME="$BASENAME" # Let the user override the test with a path. @@ -14408,11 +15167,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_BASENAME="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_BASENAME="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -14424,20 +15187,21 @@ esac fi BASENAME=$ac_cv_path_BASENAME if test -n "$BASENAME"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASENAME" >&5 -$as_echo "$BASENAME" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BASENAME" >&5 +printf "%s\n" "$BASENAME" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-perl was given. -if test "${with_perl+set}" = set; then : +if test ${with_perl+y} +then : withval=$with_perl; with_perl=$withval -else +else $as_nop with_perl=$PERL fi @@ -14446,14 +15210,16 @@ PERL=$with_perl # Check whether --with-openssl was given. -if test "${with_openssl+set}" = set; then : +if test ${with_openssl+y} +then : withval=$with_openssl; fi # Check whether --with-gnutls was given. -if test "${with_gnutls+set}" = set; then : +if test ${with_gnutls+y} +then : withval=$with_gnutls; fi @@ -14470,11 +15236,12 @@ OPENSSL_DIRS="/usr /usr/local /usr/slocal /usr/local/openssl /usr/local/ssl \ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldce" >&5 -$as_echo_n "checking for main in -ldce... " >&6; } -if ${ac_cv_lib_dce_main+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -ldce" >&5 +printf %s "checking for main in -ldce... " >&6; } +if test ${ac_cv_lib_dce_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldce $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -14482,33 +15249,36 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext int -main () +main (void) { return main (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dce_main=yes -else +else $as_nop ac_cv_lib_dce_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dce_main" >&5 -$as_echo "$ac_cv_lib_dce_main" >&6; } -if test "x$ac_cv_lib_dce_main" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dce_main" >&5 +printf "%s\n" "$ac_cv_lib_dce_main" >&6; } +if test "x$ac_cv_lib_dce_main" = xyes +then : SOCKETLIBS="$SOCKETLIBS -ldce" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5 -$as_echo_n "checking for main in -lnsl... " >&6; } -if ${ac_cv_lib_nsl_main+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5 +printf %s "checking for main in -lnsl... " >&6; } +if test ${ac_cv_lib_nsl_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -14516,33 +15286,36 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext int -main () +main (void) { return main (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_nsl_main=yes -else +else $as_nop ac_cv_lib_nsl_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5 -$as_echo "$ac_cv_lib_nsl_main" >&6; } -if test "x$ac_cv_lib_nsl_main" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5 +printf "%s\n" "$ac_cv_lib_nsl_main" >&6; } +if test "x$ac_cv_lib_nsl_main" = xyes +then : SOCKETLIBS="$SOCKETLIBS -lnsl" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 -$as_echo_n "checking for socket in -lsocket... " >&6; } -if ${ac_cv_lib_socket_socket+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 +printf %s "checking for socket in -lsocket... " >&6; } +if test ${ac_cv_lib_socket_socket+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -14551,38 +15324,38 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char socket (); int -main () +main (void) { return socket (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_socket_socket=yes -else +else $as_nop ac_cv_lib_socket_socket=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 -$as_echo "$ac_cv_lib_socket_socket" >&6; } -if test "x$ac_cv_lib_socket_socket" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 +printf "%s\n" "$ac_cv_lib_socket_socket" >&6; } +if test "x$ac_cv_lib_socket_socket" = xyes +then : SOCKETLIBS="$SOCKETLIBS -lsocket" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lresolv" >&5 -$as_echo_n "checking for main in -lresolv... " >&6; } -if ${ac_cv_lib_resolv_main+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lresolv" >&5 +printf %s "checking for main in -lresolv... " >&6; } +if test ${ac_cv_lib_resolv_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lresolv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -14590,47 +15363,45 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext int -main () +main (void) { return main (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_resolv_main=yes -else +else $as_nop ac_cv_lib_resolv_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_main" >&5 -$as_echo "$ac_cv_lib_resolv_main" >&6; } -if test "x$ac_cv_lib_resolv_main" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_main" >&5 +printf "%s\n" "$ac_cv_lib_resolv_main" >&6; } +if test "x$ac_cv_lib_resolv_main" = xyes +then : SOCKETLIBS="$SOCKETLIBS -lresolv" fi -for ac_header in math.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" -if test "x$ac_cv_header_math_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MATH_H 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" +if test "x$ac_cv_header_math_h" = xyes +then : + printf "%s\n" "#define HAVE_MATH_H 1" >>confdefs.h fi -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5 -$as_echo_n "checking for floor in -lm... " >&6; } -if ${ac_cv_lib_m_floor+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5 +printf %s "checking for floor in -lm... " >&6; } +if test ${ac_cv_lib_m_floor+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -14639,50 +15410,45 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char floor (); int -main () +main (void) { return floor (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_m_floor=yes -else +else $as_nop ac_cv_lib_m_floor=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5 -$as_echo "$ac_cv_lib_m_floor" >&6; } -if test "x$ac_cv_lib_m_floor" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5 +printf "%s\n" "$ac_cv_lib_m_floor" >&6; } +if test "x$ac_cv_lib_m_floor" = xyes +then : MATHLIBS="-lm" fi -for ac_header in mp.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "mp.h" "ac_cv_header_mp_h" "$ac_includes_default" -if test "x$ac_cv_header_mp_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MP_H 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "mp.h" "ac_cv_header_mp_h" "$ac_includes_default" +if test "x$ac_cv_header_mp_h" = xyes +then : + printf "%s\n" "#define HAVE_MP_H 1" >>confdefs.h fi -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lbsd" >&5 -$as_echo_n "checking for pow in -lbsd... " >&6; } -if ${ac_cv_lib_bsd_pow+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pow in -lbsd" >&5 +printf %s "checking for pow in -lbsd... " >&6; } +if test ${ac_cv_lib_bsd_pow+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -14691,39 +15457,39 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char pow (); int -main () +main (void) { return pow (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_bsd_pow=yes -else +else $as_nop ac_cv_lib_bsd_pow=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_pow" >&5 -$as_echo "$ac_cv_lib_bsd_pow" >&6; } -if test "x$ac_cv_lib_bsd_pow" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_pow" >&5 +printf "%s\n" "$ac_cv_lib_bsd_pow" >&6; } +if test "x$ac_cv_lib_bsd_pow" = xyes +then : MATHLIBS="$MATHLIBS -lbsd" fi # Check whether --enable-libtap was given. -if test "${enable_libtap+set}" = set; then : +if test ${enable_libtap+y} +then : enableval=$enable_libtap; enable_libtap=$enableval -else +else $as_nop enable_libtap=no fi @@ -14738,11 +15504,12 @@ fi # If not local, check if we can use the system one if test "$enable_libtap" != "yes" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for plan_tests in -ltap" >&5 -$as_echo_n "checking for plan_tests in -ltap... " >&6; } -if ${ac_cv_lib_tap_plan_tests+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for plan_tests in -ltap" >&5 +printf %s "checking for plan_tests in -ltap... " >&6; } +if test ${ac_cv_lib_tap_plan_tests+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ltap $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -14751,30 +15518,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char plan_tests (); int -main () +main (void) { return plan_tests (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_tap_plan_tests=yes -else +else $as_nop ac_cv_lib_tap_plan_tests=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tap_plan_tests" >&5 -$as_echo "$ac_cv_lib_tap_plan_tests" >&6; } -if test "x$ac_cv_lib_tap_plan_tests" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tap_plan_tests" >&5 +printf "%s\n" "$ac_cv_lib_tap_plan_tests" >&6; } +if test "x$ac_cv_lib_tap_plan_tests" = xyes +then : enable_libtap="yes" fi @@ -14788,9 +15554,10 @@ if test "$enable_libtap" = "yes" ; then fi # Check whether --enable-extra-opts was given. -if test "${enable_extra_opts+set}" = set; then : +if test ${enable_extra_opts+y} +then : enableval=$enable_extra_opts; enable_extra_opts=$enableval -else +else $as_nop enable_extra_opts=yes fi @@ -14804,7 +15571,7 @@ fi if test "$enable_extra_opts" = "yes" ; then -$as_echo "#define NP_EXTRA_OPTS 1" >>confdefs.h +printf "%s\n" "#define NP_EXTRA_OPTS 1" >>confdefs.h if test "$enable_libtap" = "yes"; then EXTRA_TEST="$EXTRA_TEST test_ini1 test_ini3 test_opts1 test_opts2 test_opts3" @@ -14816,15 +15583,17 @@ _SAVEDLIBS="$LIBS" _SAVEDCPPFLAGS="$CPPFLAGS" # Check whether --with-pgsql was given. -if test "${with_pgsql+set}" = set; then : +if test ${with_pgsql+y} +then : withval=$with_pgsql; PGSQL=$withval fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5 -$as_echo_n "checking for main in -lcrypt... " >&6; } -if ${ac_cv_lib_crypt_main+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5 +printf %s "checking for main in -lcrypt... " >&6; } +if test ${ac_cv_lib_crypt_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -14832,28 +15601,28 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext int -main () +main (void) { return main (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_crypt_main=yes -else +else $as_nop ac_cv_lib_crypt_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5 -$as_echo "$ac_cv_lib_crypt_main" >&6; } -if test "x$ac_cv_lib_crypt_main" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBCRYPT 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5 +printf "%s\n" "$ac_cv_lib_crypt_main" >&6; } +if test "x$ac_cv_lib_crypt_main" = xyes +then : + printf "%s\n" "#define HAVE_LIBCRYPT 1" >>confdefs.h LIBS="-lcrypt $LIBS" @@ -14864,11 +15633,12 @@ if test "$ac_cv_lib_crypt_main" = "yes" -a "x$PGSQL" != "xno"; then LDFLAGS="$LDFLAGS -L$PGSQL/lib" CPPFLAGS="$CPPFLAGS -I$PGSQL/include" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQsetdbLogin in -lpq" >&5 -$as_echo_n "checking for PQsetdbLogin in -lpq... " >&6; } -if ${ac_cv_lib_pq_PQsetdbLogin+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PQsetdbLogin in -lpq" >&5 +printf %s "checking for PQsetdbLogin in -lpq... " >&6; } +if test ${ac_cv_lib_pq_PQsetdbLogin+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lpq -lcrypt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -14877,75 +15647,57 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char PQsetdbLogin (); int -main () +main (void) { return PQsetdbLogin (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_pq_PQsetdbLogin=yes -else +else $as_nop ac_cv_lib_pq_PQsetdbLogin=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQsetdbLogin" >&5 -$as_echo "$ac_cv_lib_pq_PQsetdbLogin" >&6; } -if test "x$ac_cv_lib_pq_PQsetdbLogin" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBPQ 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQsetdbLogin" >&5 +printf "%s\n" "$ac_cv_lib_pq_PQsetdbLogin" >&6; } +if test "x$ac_cv_lib_pq_PQsetdbLogin" = xyes +then : + printf "%s\n" "#define HAVE_LIBPQ 1" >>confdefs.h LIBS="-lpq $LIBS" fi if test "$ac_cv_lib_pq_PQsetdbLogin" = "yes"; then - for ac_header in pgsql/libpq-fe.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "pgsql/libpq-fe.h" "ac_cv_header_pgsql_libpq_fe_h" "$ac_includes_default" -if test "x$ac_cv_header_pgsql_libpq_fe_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_PGSQL_LIBPQ_FE_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "pgsql/libpq-fe.h" "ac_cv_header_pgsql_libpq_fe_h" "$ac_includes_default" +if test "x$ac_cv_header_pgsql_libpq_fe_h" = xyes +then : + printf "%s\n" "#define HAVE_PGSQL_LIBPQ_FE_H 1" >>confdefs.h fi -done - - for ac_header in postgresql/libpq-fe.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "postgresql/libpq-fe.h" "ac_cv_header_postgresql_libpq_fe_h" "$ac_includes_default" -if test "x$ac_cv_header_postgresql_libpq_fe_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_POSTGRESQL_LIBPQ_FE_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "postgresql/libpq-fe.h" "ac_cv_header_postgresql_libpq_fe_h" "$ac_includes_default" +if test "x$ac_cv_header_postgresql_libpq_fe_h" = xyes +then : + printf "%s\n" "#define HAVE_POSTGRESQL_LIBPQ_FE_H 1" >>confdefs.h fi -done - - for ac_header in libpq-fe.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default" -if test "x$ac_cv_header_libpq_fe_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBPQ_FE_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default" +if test "x$ac_cv_header_libpq_fe_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBPQ_FE_H 1" >>confdefs.h fi -done - if [ -n "$PGSQL" -a "$ac_cv_header_libpq_fe_h" = "yes" ]; then PGLIBS="-L$PGSQL/lib -lpq -lcrypt" PGINCLUDE="-I$PGSQL/include" @@ -14960,46 +15712,49 @@ done PGINCLUDE="-I$PGSQL/include" fi if test -z "$PGINCLUDE"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping PostgreSQL plugin (check_pgsql)" >&5 -$as_echo "$as_me: WARNING: Skipping PostgreSQL plugin (check_pgsql)" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: install PostgreSQL headers to compile this plugin (see REQUIREMENTS)." >&5 -$as_echo "$as_me: WARNING: install PostgreSQL headers to compile this plugin (see REQUIREMENTS)." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Skipping PostgreSQL plugin (check_pgsql)" >&5 +printf "%s\n" "$as_me: WARNING: Skipping PostgreSQL plugin (check_pgsql)" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: install PostgreSQL headers to compile this plugin (see REQUIREMENTS)." >&5 +printf "%s\n" "$as_me: WARNING: install PostgreSQL headers to compile this plugin (see REQUIREMENTS)." >&2;} else EXTRAS="$EXTRAS check_pgsql\$(EXEEXT)" fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping PostgreSQL plugin (check_pgsql)" >&5 -$as_echo "$as_me: WARNING: Skipping PostgreSQL plugin (check_pgsql)" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LIBS=\"$LIBS\" CPPFLAGS=\"$CPPFLAGS\"" >&5 -$as_echo "$as_me: WARNING: LIBS=\"$LIBS\" CPPFLAGS=\"$CPPFLAGS\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: install PostgreSQL libs to compile this plugin (see REQUIREMENTS)." >&5 -$as_echo "$as_me: WARNING: install PostgreSQL libs to compile this plugin (see REQUIREMENTS)." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Skipping PostgreSQL plugin (check_pgsql)" >&5 +printf "%s\n" "$as_me: WARNING: Skipping PostgreSQL plugin (check_pgsql)" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: LIBS=\"$LIBS\" CPPFLAGS=\"$CPPFLAGS\"" >&5 +printf "%s\n" "$as_me: WARNING: LIBS=\"$LIBS\" CPPFLAGS=\"$CPPFLAGS\"" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: install PostgreSQL libs to compile this plugin (see REQUIREMENTS)." >&5 +printf "%s\n" "$as_me: WARNING: install PostgreSQL libs to compile this plugin (see REQUIREMENTS)." >&2;} fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping PostgreSQL plugin (check_pgsql)" >&5 -$as_echo "$as_me: WARNING: Skipping PostgreSQL plugin (check_pgsql)" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: install lib crypt and PostgreSQL libs to compile this plugin (see REQUIREMENTS)." >&5 -$as_echo "$as_me: WARNING: install lib crypt and PostgreSQL libs to compile this plugin (see REQUIREMENTS)." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Skipping PostgreSQL plugin (check_pgsql)" >&5 +printf "%s\n" "$as_me: WARNING: Skipping PostgreSQL plugin (check_pgsql)" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: install lib crypt and PostgreSQL libs to compile this plugin (see REQUIREMENTS)." >&5 +printf "%s\n" "$as_me: WARNING: install lib crypt and PostgreSQL libs to compile this plugin (see REQUIREMENTS)." >&2;} fi LIBS="$_SAVEDLIBS" CPPFLAGS="$_SAVEDCPPFLAGS" # Check whether --with-dbi was given. -if test "${with_dbi+set}" = set; then : +if test ${with_dbi+y} +then : withval=$with_dbi; fi -if test "x$with_dbi" != "xno"; then : +if test "x$with_dbi" != "xno" +then : _SAVEDLIBS="$LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbi_initialize in -ldbi" >&5 -$as_echo_n "checking for dbi_initialize in -ldbi... " >&6; } -if ${ac_cv_lib_dbi_dbi_initialize+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbi_initialize in -ldbi" >&5 +printf %s "checking for dbi_initialize in -ldbi... " >&6; } +if test ${ac_cv_lib_dbi_dbi_initialize+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldbi $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -15008,33 +15763,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dbi_initialize (); int -main () +main (void) { return dbi_initialize (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dbi_dbi_initialize=yes -else +else $as_nop ac_cv_lib_dbi_dbi_initialize=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbi_dbi_initialize" >&5 -$as_echo "$ac_cv_lib_dbi_dbi_initialize" >&6; } -if test "x$ac_cv_lib_dbi_dbi_initialize" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBDBI 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbi_dbi_initialize" >&5 +printf "%s\n" "$ac_cv_lib_dbi_dbi_initialize" >&6; } +if test "x$ac_cv_lib_dbi_dbi_initialize" = xyes +then : + printf "%s\n" "#define HAVE_LIBDBI 1" >>confdefs.h LIBS="-ldbi $LIBS" @@ -15045,10 +15797,10 @@ fi DBILIBS="-ldbi" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping dbi plugin" >&5 -$as_echo "$as_me: WARNING: Skipping dbi plugin" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: install DBI libs to compile this plugin (see REQUIREMENTS)." >&5 -$as_echo "$as_me: WARNING: install DBI libs to compile this plugin (see REQUIREMENTS)." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Skipping dbi plugin" >&5 +printf "%s\n" "$as_me: WARNING: Skipping dbi plugin" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: install DBI libs to compile this plugin (see REQUIREMENTS)." >&5 +printf "%s\n" "$as_me: WARNING: install DBI libs to compile this plugin (see REQUIREMENTS)." >&2;} fi LIBS="$_SAVEDLIBS" @@ -15056,19 +15808,22 @@ fi # Check whether --with-radius was given. -if test "${with_radius+set}" = set; then : +if test ${with_radius+y} +then : withval=$with_radius; fi -if test "x$with_radius" != "xno"; then : +if test "x$with_radius" != "xno" +then : _SAVEDLIBS="$LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rc_read_config in -lradcli" >&5 -$as_echo_n "checking for rc_read_config in -lradcli... " >&6; } -if ${ac_cv_lib_radcli_rc_read_config+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rc_read_config in -lradcli" >&5 +printf %s "checking for rc_read_config in -lradcli... " >&6; } +if test ${ac_cv_lib_radcli_rc_read_config+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lradcli $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -15077,33 +15832,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char rc_read_config (); int -main () +main (void) { return rc_read_config (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_radcli_rc_read_config=yes -else +else $as_nop ac_cv_lib_radcli_rc_read_config=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_radcli_rc_read_config" >&5 -$as_echo "$ac_cv_lib_radcli_rc_read_config" >&6; } -if test "x$ac_cv_lib_radcli_rc_read_config" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBRADCLI 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_radcli_rc_read_config" >&5 +printf "%s\n" "$ac_cv_lib_radcli_rc_read_config" >&6; } +if test "x$ac_cv_lib_radcli_rc_read_config" = xyes +then : + printf "%s\n" "#define HAVE_LIBRADCLI 1" >>confdefs.h LIBS="-lradcli $LIBS" @@ -15114,11 +15866,12 @@ fi RADIUSLIBS="-lradcli" else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rc_read_config in -lfreeradius-client" >&5 -$as_echo_n "checking for rc_read_config in -lfreeradius-client... " >&6; } -if ${ac_cv_lib_freeradius_client_rc_read_config+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rc_read_config in -lfreeradius-client" >&5 +printf %s "checking for rc_read_config in -lfreeradius-client... " >&6; } +if test ${ac_cv_lib_freeradius_client_rc_read_config+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lfreeradius-client $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -15127,33 +15880,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char rc_read_config (); int -main () +main (void) { return rc_read_config (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_freeradius_client_rc_read_config=yes -else +else $as_nop ac_cv_lib_freeradius_client_rc_read_config=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_freeradius_client_rc_read_config" >&5 -$as_echo "$ac_cv_lib_freeradius_client_rc_read_config" >&6; } -if test "x$ac_cv_lib_freeradius_client_rc_read_config" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBFREERADIUS_CLIENT 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_freeradius_client_rc_read_config" >&5 +printf "%s\n" "$ac_cv_lib_freeradius_client_rc_read_config" >&6; } +if test "x$ac_cv_lib_freeradius_client_rc_read_config" = xyes +then : + printf "%s\n" "#define HAVE_LIBFREERADIUS_CLIENT 1" >>confdefs.h LIBS="-lfreeradius-client $LIBS" @@ -15164,11 +15914,12 @@ fi RADIUSLIBS="-lfreeradius-client" else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rc_read_config in -lradiusclient-ng" >&5 -$as_echo_n "checking for rc_read_config in -lradiusclient-ng... " >&6; } -if ${ac_cv_lib_radiusclient_ng_rc_read_config+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rc_read_config in -lradiusclient-ng" >&5 +printf %s "checking for rc_read_config in -lradiusclient-ng... " >&6; } +if test ${ac_cv_lib_radiusclient_ng_rc_read_config+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lradiusclient-ng $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -15177,33 +15928,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char rc_read_config (); int -main () +main (void) { return rc_read_config (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_radiusclient_ng_rc_read_config=yes -else +else $as_nop ac_cv_lib_radiusclient_ng_rc_read_config=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_radiusclient_ng_rc_read_config" >&5 -$as_echo "$ac_cv_lib_radiusclient_ng_rc_read_config" >&6; } -if test "x$ac_cv_lib_radiusclient_ng_rc_read_config" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBRADIUSCLIENT_NG 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_radiusclient_ng_rc_read_config" >&5 +printf "%s\n" "$ac_cv_lib_radiusclient_ng_rc_read_config" >&6; } +if test "x$ac_cv_lib_radiusclient_ng_rc_read_config" = xyes +then : + printf "%s\n" "#define HAVE_LIBRADIUSCLIENT_NG 1" >>confdefs.h LIBS="-lradiusclient-ng $LIBS" @@ -15214,11 +15962,12 @@ fi RADIUSLIBS="-lradiusclient-ng" else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rc_read_config in -lradiusclient" >&5 -$as_echo_n "checking for rc_read_config in -lradiusclient... " >&6; } -if ${ac_cv_lib_radiusclient_rc_read_config+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rc_read_config in -lradiusclient" >&5 +printf %s "checking for rc_read_config in -lradiusclient... " >&6; } +if test ${ac_cv_lib_radiusclient_rc_read_config+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lradiusclient $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -15227,33 +15976,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char rc_read_config (); int -main () +main (void) { return rc_read_config (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_radiusclient_rc_read_config=yes -else +else $as_nop ac_cv_lib_radiusclient_rc_read_config=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_radiusclient_rc_read_config" >&5 -$as_echo "$ac_cv_lib_radiusclient_rc_read_config" >&6; } -if test "x$ac_cv_lib_radiusclient_rc_read_config" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBRADIUSCLIENT 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_radiusclient_rc_read_config" >&5 +printf "%s\n" "$ac_cv_lib_radiusclient_rc_read_config" >&6; } +if test "x$ac_cv_lib_radiusclient_rc_read_config" = xyes +then : + printf "%s\n" "#define HAVE_LIBRADIUSCLIENT 1" >>confdefs.h LIBS="-lradiusclient $LIBS" @@ -15264,10 +16010,10 @@ fi RADIUSLIBS="-lradiusclient" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping radius plugin" >&5 -$as_echo "$as_me: WARNING: Skipping radius plugin" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: install radius libs to compile this plugin (see REQUIREMENTS)." >&5 -$as_echo "$as_me: WARNING: install radius libs to compile this plugin (see REQUIREMENTS)." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Skipping radius plugin" >&5 +printf "%s\n" "$as_me: WARNING: Skipping radius plugin" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: install radius libs to compile this plugin (see REQUIREMENTS)." >&5 +printf "%s\n" "$as_me: WARNING: install radius libs to compile this plugin (see REQUIREMENTS)." >&2;} fi fi fi @@ -15278,19 +16024,22 @@ fi # Check whether --with-ldap was given. -if test "${with_ldap+set}" = set; then : +if test ${with_ldap+y} +then : withval=$with_ldap; fi -if test "x$with_ldap" != "xno"; then : +if test "x$with_ldap" != "xno" +then : _SAVEDLIBS="$LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lldap" >&5 -$as_echo_n "checking for main in -lldap... " >&6; } -if ${ac_cv_lib_ldap_main+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lldap" >&5 +printf %s "checking for main in -lldap... " >&6; } +if test ${ac_cv_lib_ldap_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lldap -llber $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -15298,28 +16047,28 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext int -main () +main (void) { return main (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_ldap_main=yes -else +else $as_nop ac_cv_lib_ldap_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_main" >&5 -$as_echo "$ac_cv_lib_ldap_main" >&6; } -if test "x$ac_cv_lib_ldap_main" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBLDAP 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_main" >&5 +printf "%s\n" "$ac_cv_lib_ldap_main" >&6; } +if test "x$ac_cv_lib_ldap_main" = xyes +then : + printf "%s\n" "#define HAVE_LIBLDAP 1" >>confdefs.h LIBS="-lldap $LIBS" @@ -15330,35 +16079,44 @@ fi LDAPINCLUDE="-I/usr/include/ldap" - for ac_func in ldap_set_option -do : - ac_fn_c_check_func "$LINENO" "ldap_set_option" "ac_cv_func_ldap_set_option" -if test "x$ac_cv_func_ldap_set_option" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LDAP_SET_OPTION 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "ldap_set_option" "ac_cv_func_ldap_set_option" +if test "x$ac_cv_func_ldap_set_option" = xyes +then : + printf "%s\n" "#define HAVE_LDAP_SET_OPTION 1" >>confdefs.h fi -done EXTRAS="$EXTRAS check_ldap\$(EXEEXT)" - for ac_func in ldap_init ldap_set_option ldap_get_option ldap_start_tls_s -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "ldap_init" "ac_cv_func_ldap_init" +if test "x$ac_cv_func_ldap_init" = xyes +then : + printf "%s\n" "#define HAVE_LDAP_INIT 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "ldap_set_option" "ac_cv_func_ldap_set_option" +if test "x$ac_cv_func_ldap_set_option" = xyes +then : + printf "%s\n" "#define HAVE_LDAP_SET_OPTION 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "ldap_get_option" "ac_cv_func_ldap_get_option" +if test "x$ac_cv_func_ldap_get_option" = xyes +then : + printf "%s\n" "#define HAVE_LDAP_GET_OPTION 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "ldap_start_tls_s" "ac_cv_func_ldap_start_tls_s" +if test "x$ac_cv_func_ldap_start_tls_s" = xyes +then : + printf "%s\n" "#define HAVE_LDAP_START_TLS_S 1" >>confdefs.h fi -done else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping LDAP plugin" >&5 -$as_echo "$as_me: WARNING: Skipping LDAP plugin" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: install LDAP libs to compile this plugin (see REQUIREMENTS)." >&5 -$as_echo "$as_me: WARNING: install LDAP libs to compile this plugin (see REQUIREMENTS)." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Skipping LDAP plugin" >&5 +printf "%s\n" "$as_me: WARNING: Skipping LDAP plugin" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: install LDAP libs to compile this plugin (see REQUIREMENTS)." >&5 +printf "%s\n" "$as_me: WARNING: install LDAP libs to compile this plugin (see REQUIREMENTS)." >&2;} fi LIBS="$_SAVEDLIBS" @@ -15366,62 +16124,62 @@ fi case $host in *linux*) - ac_fn_c_check_header_mongrel "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default" -if test "x$ac_cv_header_linux_hdreg_h" = xyes; then : + ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default" +if test "x$ac_cv_header_linux_hdreg_h" = xyes +then : FOUNDINCLUDE=yes -else +else $as_nop FOUNDINCLUDE=no fi - if test "$FOUNDINCLUDE" = "yes" ; then - ac_fn_c_check_header_mongrel "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default" -if test "x$ac_cv_header_linux_types_h" = xyes; then : + ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default" +if test "x$ac_cv_header_linux_types_h" = xyes +then : FOUNDINCLUDE=yes -else +else $as_nop FOUNDINCLUDE=no fi - fi if test "$FOUNDINCLUDE" = "no" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping check_ide_smart plugin." >&5 -$as_echo "$as_me: WARNING: Skipping check_ide_smart plugin." >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: check_ide_smart requires linux/hdreg.h and linux/types.h." >&5 -$as_echo "$as_me: WARNING: check_ide_smart requires linux/hdreg.h and linux/types.h." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Skipping check_ide_smart plugin." >&5 +printf "%s\n" "$as_me: WARNING: Skipping check_ide_smart plugin." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: check_ide_smart requires linux/hdreg.h and linux/types.h." >&5 +printf "%s\n" "$as_me: WARNING: check_ide_smart requires linux/hdreg.h and linux/types.h." >&2;} fi ;; *netbsd*) - ac_fn_c_check_header_mongrel "$LINENO" "dev/ata/atareg.h" "ac_cv_header_dev_ata_atareg_h" "$ac_includes_default" -if test "x$ac_cv_header_dev_ata_atareg_h" = xyes; then : + ac_fn_c_check_header_compile "$LINENO" "dev/ata/atareg.h" "ac_cv_header_dev_ata_atareg_h" "$ac_includes_default" +if test "x$ac_cv_header_dev_ata_atareg_h" = xyes +then : FOUNDINCLUDE=yes -else +else $as_nop FOUNDINCLUDE=no fi - if test "$FOUNDINCLUDE" = "yes" ; then - ac_fn_c_check_header_mongrel "$LINENO" "dev/ic/wdcreg.h" "ac_cv_header_dev_ic_wdcreg_h" "$ac_includes_default" -if test "x$ac_cv_header_dev_ic_wdcreg_h" = xyes; then : + ac_fn_c_check_header_compile "$LINENO" "dev/ic/wdcreg.h" "ac_cv_header_dev_ic_wdcreg_h" "$ac_includes_default" +if test "x$ac_cv_header_dev_ic_wdcreg_h" = xyes +then : FOUNDINCLUDE=yes -else +else $as_nop FOUNDINCLUDE=no fi - fi if test "$FOUNDINCLUDE" = "no" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping check_ide_smart plugin." >&5 -$as_echo "$as_me: WARNING: Skipping check_ide_smart plugin." >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: check_ide_smart requires dev/ata/atareg.h and dev/ic/wdcreg.h" >&5 -$as_echo "$as_me: WARNING: check_ide_smart requires dev/ata/atareg.h and dev/ic/wdcreg.h" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Skipping check_ide_smart plugin." >&5 +printf "%s\n" "$as_me: WARNING: Skipping check_ide_smart plugin." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: check_ide_smart requires dev/ata/atareg.h and dev/ic/wdcreg.h" >&5 +printf "%s\n" "$as_me: WARNING: check_ide_smart requires dev/ata/atareg.h and dev/ic/wdcreg.h" >&2;} fi ;; *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping check_ide_smart plugin." >&5 -$as_echo "$as_me: WARNING: Skipping check_ide_smart plugin." >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: check_ide_smart works only on Linux and NetBSD" >&5 -$as_echo "$as_me: WARNING: check_ide_smart works only on Linux and NetBSD" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Skipping check_ide_smart plugin." >&5 +printf "%s\n" "$as_me: WARNING: Skipping check_ide_smart plugin." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: check_ide_smart works only on Linux and NetBSD" >&5 +printf "%s\n" "$as_me: WARNING: check_ide_smart works only on Linux and NetBSD" >&2;} esac if test "$FOUNDINCLUDE" = "yes" ; then @@ -15431,9 +16189,10 @@ fi # Check whether --with-mysql was given. -if test "${with_mysql+set}" = set; then : +if test ${with_mysql+y} +then : withval=$with_mysql; with_mysql=$withval -else +else $as_nop with_mysql=yes fi @@ -15442,11 +16201,12 @@ fi if test "x$with_mysql" = "xyes" ; then # Extract the first word of "mysql_config", so it can be a program name with args. set dummy mysql_config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_np_mysql_config+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_np_mysql_config+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $np_mysql_config in [\\/]* | ?:[\\/]*) ac_cv_path_np_mysql_config="$np_mysql_config" # Let the user override the test with a path. @@ -15456,11 +16216,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_np_mysql_config="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_np_mysql_config="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -15472,11 +16236,11 @@ esac fi np_mysql_config=$ac_cv_path_np_mysql_config if test -n "$np_mysql_config"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $np_mysql_config" >&5 -$as_echo "$np_mysql_config" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $np_mysql_config" >&5 +printf "%s\n" "$np_mysql_config" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -15506,11 +16270,12 @@ fi CPPFLAGS="$CPPFLAGS $np_mysql_include" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_init in -lmysqlclient" >&5 -$as_echo_n "checking for mysql_init in -lmysqlclient... " >&6; } -if ${ac_cv_lib_mysqlclient_mysql_init+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mysql_init in -lmysqlclient" >&5 +printf %s "checking for mysql_init in -lmysqlclient... " >&6; } +if test ${ac_cv_lib_mysqlclient_mysql_init+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lmysqlclient $np_mysql_libs $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -15519,43 +16284,43 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char mysql_init (); int -main () +main (void) { return mysql_init (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_mysqlclient_mysql_init=yes -else +else $as_nop ac_cv_lib_mysqlclient_mysql_init=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mysqlclient_mysql_init" >&5 -$as_echo "$ac_cv_lib_mysqlclient_mysql_init" >&6; } -if test "x$ac_cv_lib_mysqlclient_mysql_init" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mysqlclient_mysql_init" >&5 +printf "%s\n" "$ac_cv_lib_mysqlclient_mysql_init" >&6; } +if test "x$ac_cv_lib_mysqlclient_mysql_init" = xyes +then : with_mysql=$np_mysql_config -$as_echo "#define HAVE_MYSQLCLIENT 1" >>confdefs.h +printf "%s\n" "#define HAVE_MYSQLCLIENT 1" >>confdefs.h -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_init in -lmariadbclient" >&5 -$as_echo_n "checking for mysql_init in -lmariadbclient... " >&6; } -if ${ac_cv_lib_mariadbclient_mysql_init+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mysql_init in -lmariadbclient" >&5 +printf %s "checking for mysql_init in -lmariadbclient... " >&6; } +if test ${ac_cv_lib_mariadbclient_mysql_init+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lmariadbclient $np_mysql_libs $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -15564,37 +16329,36 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char mysql_init (); int -main () +main (void) { return mysql_init (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_mariadbclient_mysql_init=yes -else +else $as_nop ac_cv_lib_mariadbclient_mysql_init=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mariadbclient_mysql_init" >&5 -$as_echo "$ac_cv_lib_mariadbclient_mysql_init" >&6; } -if test "x$ac_cv_lib_mariadbclient_mysql_init" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mariadbclient_mysql_init" >&5 +printf "%s\n" "$ac_cv_lib_mariadbclient_mysql_init" >&6; } +if test "x$ac_cv_lib_mariadbclient_mysql_init" = xyes +then : with_mysql=$np_mysql_config -$as_echo "#define HAVE_MYSQLCLIENT 1" >>confdefs.h +printf "%s\n" "#define HAVE_MYSQLCLIENT 1" >>confdefs.h -else +else $as_nop with_mysql=no fi @@ -15609,10 +16373,10 @@ fi fi if test $with_mysql = "no" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping mysql plugin" >&5 -$as_echo "$as_me: WARNING: Skipping mysql plugin" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: install mysql client libs to compile this plugin (see REQUIREMENTS)." >&5 -$as_echo "$as_me: WARNING: install mysql client libs to compile this plugin (see REQUIREMENTS)." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Skipping mysql plugin" >&5 +printf "%s\n" "$as_me: WARNING: Skipping mysql plugin" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: install mysql client libs to compile this plugin (see REQUIREMENTS)." >&5 +printf "%s\n" "$as_me: WARNING: install mysql client libs to compile this plugin (see REQUIREMENTS)." >&2;} else EXTRAS="$EXTRAS check_mysql\$(EXEEXT) check_mysql_query\$(EXEEXT)" MYSQLINCLUDE="$np_mysql_include" @@ -15623,18 +16387,13 @@ else fi -for ac_header in utmpx.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" -if test "x$ac_cv_header_utmpx_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_UTMPX_H 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" +if test "x$ac_cv_header_utmpx_h" = xyes +then : + printf "%s\n" "#define HAVE_UTMPX_H 1" >>confdefs.h fi -done - if test "$ac_cv_header_utmpx_h" = "yes"; then HAVE_UTMPX_TRUE= HAVE_UTMPX_FALSE='#' @@ -15644,19 +16403,14 @@ else fi -for ac_header in wtsapi32.h -do : - ac_fn_c_check_header_compile "$LINENO" "wtsapi32.h" "ac_cv_header_wtsapi32_h" "#include +ac_fn_c_check_header_compile "$LINENO" "wtsapi32.h" "ac_cv_header_wtsapi32_h" "#include " -if test "x$ac_cv_header_wtsapi32_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WTSAPI32_H 1 -_ACEOF +if test "x$ac_cv_header_wtsapi32_h" = xyes +then : + printf "%s\n" "#define HAVE_WTSAPI32_H 1" >>confdefs.h fi -done - if test "$ac_cv_header_wtsapi32_h" = "yes"; then HAVE_WTS32API_TRUE= HAVE_WTS32API_FALSE='#' @@ -15698,9 +16452,10 @@ _can_enable_check_curl=no # Check whether --with-libcurl was given. -if test "${with_libcurl+set}" = set; then : +if test ${with_libcurl+y} +then : withval=$with_libcurl; _libcurl_with=$withval -else +else $as_nop _libcurl_with=yes fi @@ -15711,11 +16466,12 @@ fi do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_AWK+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else @@ -15723,11 +16479,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -15738,11 +16498,11 @@ fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +printf "%s\n" "$AWK" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -15759,11 +16519,12 @@ done _libcurl_ldflags="-L$withval/lib" # Extract the first word of "curl-config", so it can be a program name with args. set dummy curl-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path__libcurl_config+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path__libcurl_config+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $_libcurl_config in [\\/]* | ?:[\\/]*) ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path. @@ -15773,11 +16534,15 @@ else for as_dir in "$withval/bin" do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path__libcurl_config="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -15789,22 +16554,23 @@ esac fi _libcurl_config=$ac_cv_path__libcurl_config if test -n "$_libcurl_config"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_libcurl_config" >&5 -$as_echo "$_libcurl_config" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_libcurl_config" >&5 +printf "%s\n" "$_libcurl_config" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi else # Extract the first word of "curl-config", so it can be a program name with args. set dummy curl-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path__libcurl_config+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path__libcurl_config+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $_libcurl_config in [\\/]* | ?:[\\/]*) ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path. @@ -15814,11 +16580,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path__libcurl_config="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -15830,36 +16600,38 @@ esac fi _libcurl_config=$ac_cv_path__libcurl_config if test -n "$_libcurl_config"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_libcurl_config" >&5 -$as_echo "$_libcurl_config" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_libcurl_config" >&5 +printf "%s\n" "$_libcurl_config" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi if test x$_libcurl_config != "x" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the version of libcurl" >&5 -$as_echo_n "checking for the version of libcurl... " >&6; } -if ${libcurl_cv_lib_curl_version+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the version of libcurl" >&5 +printf %s "checking for the version of libcurl... " >&6; } +if test ${libcurl_cv_lib_curl_version+y} +then : + printf %s "(cached) " >&6 +else $as_nop libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $2}'` fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_version" >&5 -$as_echo "$libcurl_cv_lib_curl_version" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_version" >&5 +printf "%s\n" "$libcurl_cv_lib_curl_version" >&6; } _libcurl_version=`echo $libcurl_cv_lib_curl_version | $_libcurl_version_parse` _libcurl_wanted=`echo 7.15.2 | $_libcurl_version_parse` if test $_libcurl_wanted -gt 0 ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl >= version 7.15.2" >&5 -$as_echo_n "checking for libcurl >= version 7.15.2... " >&6; } -if ${libcurl_cv_lib_version_ok+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl >= version 7.15.2" >&5 +printf %s "checking for libcurl >= version 7.15.2... " >&6; } +if test ${libcurl_cv_lib_version_ok+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $_libcurl_version -ge $_libcurl_wanted ; then libcurl_cv_lib_version_ok=yes @@ -15868,8 +16640,8 @@ else fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_version_ok" >&5 -$as_echo "$libcurl_cv_lib_version_ok" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_version_ok" >&5 +printf "%s\n" "$libcurl_cv_lib_version_ok" >&6; } fi if test $_libcurl_wanted -eq 0 || test x$libcurl_cv_lib_version_ok = xyes ; then @@ -15909,11 +16681,12 @@ $as_echo "$libcurl_cv_lib_version_ok" >&6; } # link line (or failing that, "-lcurl") is enough. LIBCURL=${LIBCURL-"$_libcurl_ldflags -lcurl"} - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcurl is usable" >&5 -$as_echo_n "checking whether libcurl is usable... " >&6; } -if ${libcurl_cv_lib_curl_usable+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libcurl is usable" >&5 +printf %s "checking whether libcurl is usable... " >&6; } +if test ${libcurl_cv_lib_curl_usable+y} +then : + printf %s "(cached) " >&6 +else $as_nop _libcurl_save_cppflags=$CPPFLAGS CPPFLAGS="$LIBCURL_CPPFLAGS $CPPFLAGS" @@ -15924,7 +16697,7 @@ else /* end confdefs.h. */ #include int -main () +main (void) { /* Try and use a few common options to force a failure if we are @@ -15943,12 +16716,13 @@ if (x) {;} return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : libcurl_cv_lib_curl_usable=yes -else +else $as_nop libcurl_cv_lib_curl_usable=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CPPFLAGS=$_libcurl_save_cppflags @@ -15957,8 +16731,8 @@ rm -f core conftest.err conftest.$ac_objext \ unset _libcurl_save_libs fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_usable" >&5 -$as_echo "$libcurl_cv_lib_curl_usable" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_usable" >&5 +printf "%s\n" "$libcurl_cv_lib_curl_usable" >&6; } if test $libcurl_cv_lib_curl_usable = yes ; then @@ -15971,11 +16745,12 @@ $as_echo "$libcurl_cv_lib_curl_usable" >&6; } LIBS="$LIBS $LIBCURL" ac_fn_c_check_func "$LINENO" "curl_free" "ac_cv_func_curl_free" -if test "x$ac_cv_func_curl_free" = xyes; then : +if test "x$ac_cv_func_curl_free" = xyes +then : -else +else $as_nop -$as_echo "#define curl_free free" >>confdefs.h +printf "%s\n" "#define curl_free free" >>confdefs.h fi @@ -15986,17 +16761,17 @@ fi unset _libcurl_save_libs -$as_echo "#define HAVE_LIBCURL 1" >>confdefs.h +printf "%s\n" "#define HAVE_LIBCURL 1" >>confdefs.h for _libcurl_feature in $_libcurl_features ; do cat >>confdefs.h <<_ACEOF -#define `$as_echo "libcurl_feature_$_libcurl_feature" | $as_tr_cpp` 1 +#define `printf "%s\n" "libcurl_feature_$_libcurl_feature" | $as_tr_cpp` 1 _ACEOF - eval `$as_echo "libcurl_feature_$_libcurl_feature" | $as_tr_sh`=yes + eval `printf "%s\n" "libcurl_feature_$_libcurl_feature" | $as_tr_sh`=yes done if test "x$_libcurl_protocols" = "x" ; then @@ -16024,10 +16799,10 @@ _ACEOF for _libcurl_protocol in $_libcurl_protocols ; do cat >>confdefs.h <<_ACEOF -#define `$as_echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_cpp` 1 +#define `printf "%s\n" "libcurl_protocol_$_libcurl_protocol" | $as_tr_cpp` 1 _ACEOF - eval `$as_echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_sh`=yes + eval `printf "%s\n" "libcurl_protocol_$_libcurl_protocol" | $as_tr_sh`=yes done else unset LIBCURL @@ -16050,10 +16825,10 @@ _ACEOF # This is the IF-NO path _can_enable_check_curl=no - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping curl plugin" >&5 -$as_echo "$as_me: WARNING: Skipping curl plugin" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: install libcurl libs to compile this plugin (see REQUIREMENTS)." >&5 -$as_echo "$as_me: WARNING: install libcurl libs to compile this plugin (see REQUIREMENTS)." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Skipping curl plugin" >&5 +printf "%s\n" "$as_me: WARNING: Skipping curl plugin" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: install libcurl libs to compile this plugin (see REQUIREMENTS)." >&5 +printf "%s\n" "$as_me: WARNING: install libcurl libs to compile this plugin (see REQUIREMENTS)." >&2;} else # This is the IF-YES path @@ -16074,9 +16849,10 @@ $as_echo "$as_me: WARNING: install libcurl libs to compile this plugin (see REQU # Check whether --with-uriparser was given. -if test "${with_uriparser+set}" = set; then : +if test ${with_uriparser+y} +then : withval=$with_uriparser; _uriparser_with=$withval -else +else $as_nop _uriparser_with=yes fi @@ -16087,11 +16863,12 @@ fi # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_PKGCONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_PKGCONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$PKGCONFIG"; then ac_cv_prog_PKGCONFIG="$PKGCONFIG" # Let the user override the test. else @@ -16099,11 +16876,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_PKGCONFIG="pkg-config" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -16115,11 +16896,11 @@ fi fi PKGCONFIG=$ac_cv_prog_PKGCONFIG if test -n "$PKGCONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 -$as_echo "$PKGCONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 +printf "%s\n" "$PKGCONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -16132,25 +16913,27 @@ fi elif test x$PKGCONFIG != xno; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the version of uriparser" >&5 -$as_echo_n "checking for the version of uriparser... " >&6; } -if ${uriparser_cv_uriparser_version+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the version of uriparser" >&5 +printf %s "checking for the version of uriparser... " >&6; } +if test ${uriparser_cv_uriparser_version+y} +then : + printf %s "(cached) " >&6 +else $as_nop uriparser_cv_uriparser_version=`$PKGCONFIG liburiparser --modversion` fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $uriparser_cv_uriparser_version" >&5 -$as_echo "$uriparser_cv_uriparser_version" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $uriparser_cv_uriparser_version" >&5 +printf "%s\n" "$uriparser_cv_uriparser_version" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_AWK+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else @@ -16158,11 +16941,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -16173,11 +16960,11 @@ fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +printf "%s\n" "$AWK" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -16191,11 +16978,12 @@ done _uriparser_wanted=`echo 0.7.5 | $_uriparser_version_parse` if test $_uriparser_wanted -gt 0 ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uriparser >= version 0.7.5" >&5 -$as_echo_n "checking for uriparser >= version 0.7.5... " >&6; } -if ${uriparser_cv_lib_version_ok+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uriparser >= version 0.7.5" >&5 +printf %s "checking for uriparser >= version 0.7.5... " >&6; } +if test ${uriparser_cv_lib_version_ok+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $_uriparser_version -ge $_uriparser_wanted ; then uriparser_cv_lib_version_ok=yes @@ -16204,8 +16992,8 @@ else fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $uriparser_cv_lib_version_ok" >&5 -$as_echo "$uriparser_cv_lib_version_ok" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $uriparser_cv_lib_version_ok" >&5 +printf "%s\n" "$uriparser_cv_lib_version_ok" >&6; } fi if test $_uriparser_wanted -eq 0 || test x$uriparser_cv_lib_version_ok = xyes ; then @@ -16231,11 +17019,12 @@ $as_echo "$uriparser_cv_lib_version_ok" >&6; } # link line (or failing that, "-luriparser") is enough. URIPARSER=${URIPARSER-"$_uriparser_ldflags -luriparser"} - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether uriparser is usable" >&5 -$as_echo_n "checking whether uriparser is usable... " >&6; } -if ${uriparser_cv_lib_uriparser_usable+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether uriparser is usable" >&5 +printf %s "checking whether uriparser is usable... " >&6; } +if test ${uriparser_cv_lib_uriparser_usable+y} +then : + printf %s "(cached) " >&6 +else $as_nop _liburiparser_save_cppflags=$CPPFLAGS CPPFLAGS="$URIPARSER_CPPFLAGS $CPPFLAGS" @@ -16246,7 +17035,7 @@ else /* end confdefs.h. */ #include int -main () +main (void) { /* Try and use a few common options to force a failure if we are @@ -16262,12 +17051,13 @@ if (x == URI_SUCCESS) {;} return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : uriparser_cv_lib_uriparser_usable=yes -else +else $as_nop uriparser_cv_lib_uriparser_usable=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CPPFLAGS=$_liburiparser_save_cppflags @@ -16276,12 +17066,12 @@ rm -f core conftest.err conftest.$ac_objext \ unset _liburiparser_save_libs fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $uriparser_cv_lib_uriparser_usable" >&5 -$as_echo "$uriparser_cv_lib_uriparser_usable" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $uriparser_cv_lib_uriparser_usable" >&5 +printf "%s\n" "$uriparser_cv_lib_uriparser_usable" >&6; } if test $uriparser_cv_lib_uriparser_usable = yes ; then -$as_echo "#define HAVE_URIPARSER 1" >>confdefs.h +printf "%s\n" "#define HAVE_URIPARSER 1" >>confdefs.h @@ -16301,10 +17091,10 @@ $as_echo "#define HAVE_URIPARSER 1" >>confdefs.h # This is the IF-NO path _can_enable_check_curl=no - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping curl plugin" >&5 -$as_echo "$as_me: WARNING: Skipping curl plugin" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: install the uriparser library to compile this plugin (see REQUIREMENTS)." >&5 -$as_echo "$as_me: WARNING: install the uriparser library to compile this plugin (see REQUIREMENTS)." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Skipping curl plugin" >&5 +printf "%s\n" "$as_me: WARNING: Skipping curl plugin" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: install the uriparser library to compile this plugin (see REQUIREMENTS)." >&5 +printf "%s\n" "$as_me: WARNING: install the uriparser library to compile this plugin (see REQUIREMENTS)." >&2;} else # This is the IF-YES path @@ -16331,11 +17121,12 @@ if test "$ac_cv_header_utmpx_h" = "no" -a "$ac_cv_header_wtsapi32_h" = "no" then # Extract the first word of "who", so it can be a program name with args. set dummy who; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_WHO+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_WHO+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_WHO in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_WHO="$PATH_TO_WHO" # Let the user override the test with a path. @@ -16345,11 +17136,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_WHO="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_WHO="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -16361,11 +17156,11 @@ esac fi PATH_TO_WHO=$ac_cv_path_PATH_TO_WHO if test -n "$PATH_TO_WHO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_WHO" >&5 -$as_echo "$PATH_TO_WHO" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_WHO" >&5 +printf "%s\n" "$PATH_TO_WHO" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -16378,27 +17173,27 @@ fi fi -cat >>confdefs.h <<_ACEOF -#define WHO_COMMAND "$ac_cv_path_to_who" -_ACEOF +printf "%s\n" "#define WHO_COMMAND \"$ac_cv_path_to_who\"" >>confdefs.h fi # Check whether --with-ipv6 was given. -if test "${with_ipv6+set}" = set; then : +if test ${with_ipv6+y} +then : withval=$with_ipv6; -else +else $as_nop with_ipv6=check fi if test "$with_ipv6" != "no"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 support" >&5 -$as_echo_n "checking for IPv6 support... " >&6; } -if ${np_cv_sys_ipv6+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv6 support" >&5 +printf %s "checking for IPv6 support... " >&6; } +if test ${np_cv_sys_ipv6+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -16408,7 +17203,7 @@ else #include #include int -main () +main (void) { struct sockaddr_in6 sin6; void *p; @@ -16420,75 +17215,73 @@ struct sockaddr_in6 sin6; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : np_cv_sys_ipv6=yes -else +else $as_nop np_cv_sys_ipv6=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $np_cv_sys_ipv6" >&5 -$as_echo "$np_cv_sys_ipv6" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $np_cv_sys_ipv6" >&5 +printf "%s\n" "$np_cv_sys_ipv6" >&6; } if test "$np_cv_sys_ipv6" = "no" -a "$with_ipv6" != "check"; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "--with-ipv6 was given, but test for IPv6 support failed See \`config.log' for more details" "$LINENO" 5; } fi if test "$np_cv_sys_ipv6" = "yes"; then -$as_echo "#define USE_IPV6 1" >>confdefs.h +printf "%s\n" "#define USE_IPV6 1" >>confdefs.h fi with_ipv6="$np_cv_sys_ipv6" fi -for ac_header in krb5.h + for ac_header in krb5.h do : - ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" -if test "x$ac_cv_header_krb5_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_KRB5_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" +if test "x$ac_cv_header_krb5_h" = xyes +then : + printf "%s\n" "#define HAVE_KRB5_H 1" >>confdefs.h FOUNDINCLUDE=yes -else +else $as_nop FOUNDINCLUDE=no fi done - if test "$FOUNDINCLUDE" = "no"; then _SAVEDCPPFLAGS="$CPPFLAGS" CPPFLAGS="$_SAVEDCPPFLAGS -I/usr/kerberos/include" unset ac_cv_header_krb5_h - for ac_header in krb5.h + for ac_header in krb5.h do : - ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" -if test "x$ac_cv_header_krb5_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_KRB5_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" +if test "x$ac_cv_header_krb5_h" = xyes +then : + printf "%s\n" "#define HAVE_KRB5_H 1" >>confdefs.h KRB5INCLUDE="-I/usr/kerberos/include" FOUNDINCLUDE=yes -else +else $as_nop FOUNDINCLUDE=no fi done - fi if test "$FOUNDINCLUDE" = "no"; then CPPFLAGS="$_SAVEDCPPFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if ${ac_cv_lib_dl_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +printf %s "checking for dlopen in -ldl... " >&6; } +if test ${ac_cv_lib_dl_dlopen+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -16497,43 +17290,41 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dlopen (); int -main () +main (void) { return dlopen (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dl_dlopen=yes -else +else $as_nop ac_cv_lib_dl_dlopen=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBDL 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes +then : + printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h LIBS="-ldl $LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldl" >&5 -$as_echo_n "checking for shl_load in -ldl... " >&6; } -if ${ac_cv_lib_dl_shl_load+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldl" >&5 +printf %s "checking for shl_load in -ldl... " >&6; } +if test ${ac_cv_lib_dl_shl_load+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -16542,33 +17333,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char shl_load (); int -main () +main (void) { return shl_load (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dl_shl_load=yes -else +else $as_nop ac_cv_lib_dl_shl_load=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_shl_load" >&5 -$as_echo "$ac_cv_lib_dl_shl_load" >&6; } -if test "x$ac_cv_lib_dl_shl_load" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBDL 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_shl_load" >&5 +printf "%s\n" "$ac_cv_lib_dl_shl_load" >&6; } +if test "x$ac_cv_lib_dl_shl_load" = xyes +then : + printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h LIBS="-ldl $LIBS" @@ -16592,39 +17380,39 @@ if ! test x"$with_openssl" = x"no"; then LDFLAGS="$LDFLAGS -L$with_openssl/lib" fi - for ac_header in openssl/ssl.h openssl/x509.h openssl/rsa.h openssl/pem.h openssl/crypto.h openssl/err.h + for ac_header in openssl/ssl.h openssl/x509.h openssl/rsa.h openssl/pem.h openssl/crypto.h openssl/err.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF SSLINCLUDE="-I$with_openssl/include" FOUNDINCLUDE=yes -else +else $as_nop FOUNDINCLUDE=no fi done - if test "$FOUNDINCLUDE" = "no"; then - for ac_header in ssl.h x509.h rsa.h pem.h crypto.h err.h + for ac_header in ssl.h x509.h rsa.h pem.h crypto.h err.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF SSLINCLUDE="-I$with_openssl/include" FOUNDINCLUDE=yes -else +else $as_nop FOUNDINCLUDE=no fi done - fi if test "$FOUNDINCLUDE" = "no"; then @@ -16634,11 +17422,12 @@ done _SAVEDLIBS="$LIBS" LIBS="-L${with_openssl}/lib" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CRYPTO_new_ex_data in -lcrypto" >&5 -$as_echo_n "checking for CRYPTO_new_ex_data in -lcrypto... " >&6; } -if ${ac_cv_lib_crypto_CRYPTO_new_ex_data+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CRYPTO_new_ex_data in -lcrypto" >&5 +printf %s "checking for CRYPTO_new_ex_data in -lcrypto... " >&6; } +if test ${ac_cv_lib_crypto_CRYPTO_new_ex_data+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -16647,44 +17436,42 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char CRYPTO_new_ex_data (); int -main () +main (void) { return CRYPTO_new_ex_data (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_crypto_CRYPTO_new_ex_data=yes -else +else $as_nop ac_cv_lib_crypto_CRYPTO_new_ex_data=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_CRYPTO_new_ex_data" >&5 -$as_echo "$ac_cv_lib_crypto_CRYPTO_new_ex_data" >&6; } -if test "x$ac_cv_lib_crypto_CRYPTO_new_ex_data" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBCRYPTO 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_CRYPTO_new_ex_data" >&5 +printf "%s\n" "$ac_cv_lib_crypto_CRYPTO_new_ex_data" >&6; } +if test "x$ac_cv_lib_crypto_CRYPTO_new_ex_data" = xyes +then : + printf "%s\n" "#define HAVE_LIBCRYPTO 1" >>confdefs.h LIBS="-lcrypto $LIBS" fi if test "$ac_cv_lib_crypto_CRYPTO_new_ex_data" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lssl" >&5 -$as_echo_n "checking for main in -lssl... " >&6; } -if ${ac_cv_lib_ssl_main+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lssl" >&5 +printf %s "checking for main in -lssl... " >&6; } +if test ${ac_cv_lib_ssl_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lssl -lcrypto $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -16692,25 +17479,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext int -main () +main (void) { return main (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_ssl_main=yes -else +else $as_nop ac_cv_lib_ssl_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_main" >&5 -$as_echo "$ac_cv_lib_ssl_main" >&6; } -if test "x$ac_cv_lib_ssl_main" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_main" >&5 +printf "%s\n" "$ac_cv_lib_ssl_main" >&6; } +if test "x$ac_cv_lib_ssl_main" = xyes +then : SSLLIBS="-lssl -lcrypto" fi @@ -16731,24 +17520,23 @@ if test ! "$FOUNDOPENSSL" = "yes" && test ! "$with_gnutls" = "no"; then if test ! "$with_gnutls" = ""; then CPPFLAGS="$CPPFLAGS -I${with_gnutls}/include" fi - for ac_header in gnutls/openssl.h + for ac_header in gnutls/openssl.h do : - ac_fn_c_check_header_mongrel "$LINENO" "gnutls/openssl.h" "ac_cv_header_gnutls_openssl_h" "$ac_includes_default" -if test "x$ac_cv_header_gnutls_openssl_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_GNUTLS_OPENSSL_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "gnutls/openssl.h" "ac_cv_header_gnutls_openssl_h" "$ac_includes_default" +if test "x$ac_cv_header_gnutls_openssl_h" = xyes +then : + printf "%s\n" "#define HAVE_GNUTLS_OPENSSL_H 1" >>confdefs.h FOUNDGNUTLS="yes" fi done - if test "$FOUNDGNUTLS" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgnutls-openssl" >&5 -$as_echo_n "checking for main in -lgnutls-openssl... " >&6; } -if ${ac_cv_lib_gnutls_openssl_main+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lgnutls-openssl" >&5 +printf %s "checking for main in -lgnutls-openssl... " >&6; } +if test ${ac_cv_lib_gnutls_openssl_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lgnutls-openssl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -16756,25 +17544,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext int -main () +main (void) { return main (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_gnutls_openssl_main=yes -else +else $as_nop ac_cv_lib_gnutls_openssl_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_openssl_main" >&5 -$as_echo "$ac_cv_lib_gnutls_openssl_main" >&6; } -if test "x$ac_cv_lib_gnutls_openssl_main" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_openssl_main" >&5 +printf "%s\n" "$ac_cv_lib_gnutls_openssl_main" >&6; } +if test "x$ac_cv_lib_gnutls_openssl_main" = xyes +then : SSLLIBS="-lgnutls-openssl" fi @@ -16786,69 +17576,71 @@ if test "$FOUNDOPENSSL" = "yes" || test "$FOUNDGNUTLS" = "yes"; then -$as_echo "#define HAVE_SSL 1" >>confdefs.h +printf "%s\n" "#define HAVE_SSL 1" >>confdefs.h if test "$FOUNDOPENSSL" = "yes"; then -$as_echo "#define USE_OPENSSL 1" >>confdefs.h +printf "%s\n" "#define USE_OPENSSL 1" >>confdefs.h with_openssl="yes" with_gnutls="no" else -$as_echo "#define USE_GNUTLS 1" >>confdefs.h +printf "%s\n" "#define USE_GNUTLS 1" >>confdefs.h with_gnutls="yes" with_openssl="no" fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL or GnuTLS libs could not be found or were disabled" >&5 -$as_echo "$as_me: WARNING: OpenSSL or GnuTLS libs could not be found or were disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL or GnuTLS libs could not be found or were disabled" >&5 +printf "%s\n" "$as_me: WARNING: OpenSSL or GnuTLS libs could not be found or were disabled" >&2;} with_openssl="no" with_gnutls="no" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 -$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } -if ${ac_cv_header_time+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -int -main () -{ -if ((struct tm *) 0) -return 0; - ; - return 0; -} + + + + for ac_header in $gl_header_list +do : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes" +then : + cat >>confdefs.h <<_ACEOF +#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_time=yes -else - ac_cv_header_time=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 -$as_echo "$ac_cv_header_time" >&6; } -if test $ac_cv_header_time = yes; then - -$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 -$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } -if ${ac_cv_header_sys_wait_h+:} false; then : - $as_echo_n "(cached) " >&6 -else +done + + + + + + : + + + + + +# Obsolete code to be removed. +if test $ac_cv_header_sys_time_h = yes; then + +printf "%s\n" "#define TIME_WITH_SYS_TIME 1" >>confdefs.h + +fi +# End of obsolete code. + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 +printf %s "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } +if test ${ac_cv_header_sys_wait_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16861,7 +17653,7 @@ else #endif int -main () +main (void) { int s; wait (&s); @@ -16870,58 +17662,108 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_header_sys_wait_h=yes -else +else $as_nop ac_cv_header_sys_wait_h=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 -$as_echo "$ac_cv_header_sys_wait_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 +printf "%s\n" "$ac_cv_header_sys_wait_h" >&6; } if test $ac_cv_header_sys_wait_h = yes; then -$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h +printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h fi -for ac_header in signal.h syslog.h uio.h errno.h sys/time.h sys/socket.h sys/un.h sys/poll.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default" +if test "x$ac_cv_header_signal_h" = xyes +then : + printf "%s\n" "#define HAVE_SIGNAL_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default" +if test "x$ac_cv_header_syslog_h" = xyes +then : + printf "%s\n" "#define HAVE_SYSLOG_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "uio.h" "ac_cv_header_uio_h" "$ac_includes_default" +if test "x$ac_cv_header_uio_h" = xyes +then : + printf "%s\n" "#define HAVE_UIO_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" +if test "x$ac_cv_header_errno_h" = xyes +then : + printf "%s\n" "#define HAVE_ERRNO_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_time_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_socket_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_un_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_poll_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_POLL_H 1" >>confdefs.h fi -done +ac_fn_c_check_header_compile "$LINENO" "features.h" "ac_cv_header_features_h" "$ac_includes_default" +if test "x$ac_cv_header_features_h" = xyes +then : + printf "%s\n" "#define HAVE_FEATURES_H 1" >>confdefs.h -for ac_header in features.h stdarg.h sys/unistd.h ctype.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF +fi +ac_fn_c_check_header_compile "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" +if test "x$ac_cv_header_stdarg_h" = xyes +then : + printf "%s\n" "#define HAVE_STDARG_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "sys/unistd.h" "ac_cv_header_sys_unistd_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_unistd_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_UNISTD_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" +if test "x$ac_cv_header_ctype_h" = xyes +then : + printf "%s\n" "#define HAVE_CTYPE_H 1" >>confdefs.h fi -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 -$as_echo_n "checking for an ANSI C-conforming const... " >&6; } -if ${ac_cv_c_const+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 +printf %s "checking for an ANSI C-conforming const... " >&6; } +if test ${ac_cv_c_const+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __cplusplus @@ -16934,7 +17776,7 @@ main () /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; - /* AIX XL C 1.02.0.0 rejects this. + /* IBM XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ @@ -16962,7 +17804,7 @@ main () iptr p = 0; ++p; } - { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying + { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; } bx; struct s *b = &bx; b->j = 5; @@ -16978,33 +17820,35 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_const=yes -else +else $as_nop ac_cv_c_const=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 -$as_echo "$ac_cv_c_const" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 +printf "%s\n" "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then -$as_echo "#define const /**/" >>confdefs.h +printf "%s\n" "#define const /**/" >>confdefs.h fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 -$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } -if ${ac_cv_struct_tm+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 +printf %s "checking whether struct tm is in sys/time.h or time.h... " >&6; } +if test ${ac_cv_struct_tm+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int -main () +main (void) { struct tm tm; int *p = &tm.tm_sec; @@ -17013,141 +17857,171 @@ struct tm tm; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_struct_tm=time.h -else +else $as_nop ac_cv_struct_tm=sys/time.h fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 -$as_echo "$ac_cv_struct_tm" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 +printf "%s\n" "$ac_cv_struct_tm" >&6; } if test $ac_cv_struct_tm = sys/time.h; then -$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h +printf "%s\n" "#define TM_IN_SYS_TIME 1" >>confdefs.h fi -ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" -if test "x$ac_cv_type_pid_t" = xyes; then : -else + ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default +" +if test "x$ac_cv_type_pid_t" = xyes +then : + +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #if defined _WIN64 && !defined __CYGWIN__ + LLP64 + #endif + +int +main (void) +{ + + ; + return 0; +} -cat >>confdefs.h <<_ACEOF -#define pid_t int _ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_pid_type='int' +else $as_nop + ac_pid_type='__int64' +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + +printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h + fi + ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" -if test "x$ac_cv_type_size_t" = xyes; then : +if test "x$ac_cv_type_size_t" = xyes +then : -else +else $as_nop -cat >>confdefs.h <<_ACEOF -#define size_t unsigned int -_ACEOF +printf "%s\n" "#define size_t unsigned int" >>confdefs.h fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 -$as_echo_n "checking return type of signal handlers... " >&6; } -if ${ac_cv_type_signal+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 +printf %s "checking return type of signal handlers... " >&6; } +if test ${ac_cv_type_signal+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int -main () +main (void) { return *(signal (0, 0)) (0) == 1; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_type_signal=int -else +else $as_nop ac_cv_type_signal=void fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 -$as_echo "$ac_cv_type_signal" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 +printf "%s\n" "$ac_cv_type_signal" >&6; } -cat >>confdefs.h <<_ACEOF -#define RETSIGTYPE $ac_cv_type_signal -_ACEOF +printf "%s\n" "#define RETSIGTYPE $ac_cv_type_signal" >>confdefs.h -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 -$as_echo_n "checking for va_copy... " >&6; } -if ${ac_cv_HAVE_VA_COPY+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 +printf %s "checking for va_copy... " >&6; } +if test ${ac_cv_HAVE_VA_COPY+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include va_list ap1,ap2; int -main () +main (void) { va_copy(ap1,ap2); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_HAVE_VA_COPY=yes -else +else $as_nop ac_cv_HAVE_VA_COPY=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_HAVE_VA_COPY" >&5 -$as_echo "$ac_cv_HAVE_VA_COPY" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_HAVE_VA_COPY" >&5 +printf "%s\n" "$ac_cv_HAVE_VA_COPY" >&6; } if test x"$ac_cv_HAVE_VA_COPY" = x"yes"; then -$as_echo "#define HAVE_VA_COPY 1" >>confdefs.h +printf "%s\n" "#define HAVE_VA_COPY 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5 -$as_echo_n "checking for __va_copy... " >&6; } -if ${ac_cv_HAVE___VA_COPY+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5 +printf %s "checking for __va_copy... " >&6; } +if test ${ac_cv_HAVE___VA_COPY+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include va_list ap1,ap2; int -main () +main (void) { __va_copy(ap1,ap2); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_HAVE___VA_COPY=yes -else +else $as_nop ac_cv_HAVE___VA_COPY=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_HAVE___VA_COPY" >&5 -$as_echo "$ac_cv_HAVE___VA_COPY" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_HAVE___VA_COPY" >&5 +printf "%s\n" "$ac_cv_HAVE___VA_COPY" >&6; } if test x"$ac_cv_HAVE___VA_COPY" = x"yes"; then -$as_echo "#define HAVE___VA_COPY 1" >>confdefs.h +printf "%s\n" "#define HAVE___VA_COPY 1" >>confdefs.h fi fi @@ -17156,7 +18030,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { struct timeval *tv; struct timezone *tz; @@ -17164,15 +18038,16 @@ struct timeval *tv; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : -$as_echo "#define HAVE_STRUCT_TIMEVAL 1" >>confdefs.h +printf "%s\n" "#define HAVE_STRUCT_TIMEVAL 1" >>confdefs.h cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { struct timeval *tv; struct timezone *tz; @@ -17181,84 +18056,118 @@ struct timeval *tv; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : -$as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h +printf "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h -else +else $as_nop -$as_echo "#define NEED_GETTIMEOFDAY 1" >>confdefs.h +printf "%s\n" "#define NEED_GETTIMEOFDAY 1" >>confdefs.h fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -for ac_func in memmove select socket strdup strstr strtol strtoul floor -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF +ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove" +if test "x$ac_cv_func_memmove" = xyes +then : + printf "%s\n" "#define HAVE_MEMMOVE 1" >>confdefs.h fi -done - -for ac_func in poll -do : - ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" -if test "x$ac_cv_func_poll" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_POLL 1 -_ACEOF +ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select" +if test "x$ac_cv_func_select" = xyes +then : + printf "%s\n" "#define HAVE_SELECT 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" +if test "x$ac_cv_func_socket" = xyes +then : + printf "%s\n" "#define HAVE_SOCKET 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup" +if test "x$ac_cv_func_strdup" = xyes +then : + printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr" +if test "x$ac_cv_func_strstr" = xyes +then : + printf "%s\n" "#define HAVE_STRSTR 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol" +if test "x$ac_cv_func_strtol" = xyes +then : + printf "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "strtoul" "ac_cv_func_strtoul" +if test "x$ac_cv_func_strtoul" = xyes +then : + printf "%s\n" "#define HAVE_STRTOUL 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor" +if test "x$ac_cv_func_floor" = xyes +then : + printf "%s\n" "#define HAVE_FLOOR 1" >>confdefs.h + +fi + +ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" +if test "x$ac_cv_func_poll" = xyes +then : + printf "%s\n" "#define HAVE_POLL 1" >>confdefs.h fi -done -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of socket size" >&5 -$as_echo_n "checking return type of socket size... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of socket size" >&5 +printf %s "checking return type of socket size... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int -main () +main (void) { int a = send(1, (const void *) buffer, (size_t *) 0, (int *) 0); ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_socket_size_type="size_t" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t" >&5 -$as_echo "size_t" >&6; } -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: size_t" >&5 +printf "%s\n" "size_t" >&6; } +else $as_nop ac_cv_socket_size_type="int" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: int" >&5 -$as_echo "int" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: int" >&5 +printf "%s\n" "int" >&6; } fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -cat >>confdefs.h <<_ACEOF -#define SOCKET_SIZE_TYPE $ac_cv_socket_size_type -_ACEOF +printf "%s\n" "#define SOCKET_SIZE_TYPE $ac_cv_socket_size_type " >>confdefs.h # Extract the first word of "ps", so it can be a program name with args. set dummy ps; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_PS+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_PS+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_PS in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_PS="$PATH_TO_PS" # Let the user override the test with a path. @@ -17268,11 +18177,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_PS="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_PS="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -17284,21 +18197,22 @@ esac fi PATH_TO_PS=$ac_cv_path_PATH_TO_PS if test -n "$PATH_TO_PS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_PS" >&5 -$as_echo "$PATH_TO_PS" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_PS" >&5 +printf "%s\n" "$PATH_TO_PS" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Extract the first word of "env", so it can be a program name with args. set dummy env; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_ENV+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_ENV+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_ENV in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_ENV="$PATH_TO_ENV" # Let the user override the test with a path. @@ -17308,11 +18222,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_ENV="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_ENV="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -17324,38 +18242,42 @@ esac fi PATH_TO_ENV=$ac_cv_path_PATH_TO_ENV if test -n "$PATH_TO_ENV"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_ENV" >&5 -$as_echo "$PATH_TO_ENV" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_ENV" >&5 +printf "%s\n" "$PATH_TO_ENV" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ps syntax" >&5 -$as_echo_n "checking for ps syntax... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ps syntax" >&5 +printf %s "checking for ps syntax... " >&6; } # Check whether --with-ps_command was given. -if test "${with_ps_command+set}" = set; then : +if test ${with_ps_command+y} +then : withval=$with_ps_command; PS_COMMAND=$withval fi # Check whether --with-ps_format was given. -if test "${with_ps_format+set}" = set; then : +if test ${with_ps_format+y} +then : withval=$with_ps_format; PS_FORMAT=$withval fi # Check whether --with-ps_cols was given. -if test "${with_ps_cols+set}" = set; then : +if test ${with_ps_cols+y} +then : withval=$with_ps_cols; PS_COLS=$withval fi # Check whether --with-ps_varlist was given. -if test "${with_ps_varlist+set}" = set; then : +if test ${with_ps_varlist+y} +then : withval=$with_ps_varlist; PS_VARLIST=$withval fi @@ -17365,8 +18287,8 @@ if test -n "$PS_COMMAND" && test -n "$PS_FORMAT" && test -n "$PS_COLS" && test - ac_cv_ps_format="$PS_FORMAT" ac_cv_ps_varlist="$PS_VARLIST" ac_cv_ps_cols="$PS_COLS" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: (command-line) $ac_cv_ps_command" >&5 -$as_echo "(command-line) $ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (command-line) $ac_cv_ps_command" >&5 +printf "%s\n" "(command-line) $ac_cv_ps_command" >&6; } elif test "$ac_cv_uname_s" = "SunOS"; then # @@ -17389,15 +18311,15 @@ elif test "$ac_cv_uname_s" = "SunOS"; then ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" ac_cv_ps_varlist="procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos" ac_cv_ps_cols=9 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: using monitoring-plugins internal ps command (pst3) for solaris" >&5 -$as_echo "using monitoring-plugins internal ps command (pst3) for solaris" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using monitoring-plugins internal ps command (pst3) for solaris" >&5 +printf "%s\n" "using monitoring-plugins internal ps command (pst3) for solaris" >&6; } if test `isainfo -b` = 64 ; then pst3_use_64bit=1 - { $as_echo "$as_me:${as_lineno-$LINENO}: using 64bit pst3" >&5 -$as_echo "$as_me: using 64bit pst3" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using 64bit pst3" >&5 +printf "%s\n" "$as_me: using 64bit pst3" >&6;} else - { $as_echo "$as_me:${as_lineno-$LINENO}: using 32bit pst3" >&5 -$as_echo "$as_me: using 32bit pst3" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using 32bit pst3" >&5 +printf "%s\n" "$as_me: using 32bit pst3" >&6;} fi EXTRAS_ROOT="$EXTRAS_ROOT pst3\$(EXEEXT)" @@ -17405,17 +18327,18 @@ $as_echo "$as_me: using 32bit pst3" >&6;} old_cflags=$CFLAGS CFLAGS="$CFLAGS -m64" pst3_64bit_working=0 - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + if test "$cross_compiling" = yes +then : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See \`config.log' for more details" "$LINENO" 5; } -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { return sizeof(void*) == 8 ? 0 : 1; @@ -17425,19 +18348,20 @@ return sizeof(void*) == 8 ? 0 : 1; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : PST3CFLAGS="-m64" pst3_64bit_working=1 - { $as_echo "$as_me:${as_lineno-$LINENO}: using -m64 for 64bit code" >&5 -$as_echo "$as_me: using -m64 for 64bit code" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using -m64 for 64bit code" >&5 +printf "%s\n" "$as_me: using -m64 for 64bit code" >&6;} -else +else $as_nop pst3_64bit_working=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: compiler do not like -m64" >&5 -$as_echo "$as_me: compiler do not like -m64" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler do not like -m64" >&5 +printf "%s\n" "$as_me: compiler do not like -m64" >&6;} fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -17448,17 +18372,18 @@ fi if test "$pst3_64bit_working" = 0; then old_cflags=$CFLAGS CFLAGS="$CFLAGS -xarch=v9" - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + if test "$cross_compiling" = yes +then : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See \`config.log' for more details" "$LINENO" 5; } -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { return sizeof(void*) == 8 ? 0 : 1; @@ -17468,19 +18393,20 @@ return sizeof(void*) == 8 ? 0 : 1; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : PST3CFLAGS="-xarch=v9" pst3_64bit_working=1 - { $as_echo "$as_me:${as_lineno-$LINENO}: using -xarch=v9 for 64bit code" >&5 -$as_echo "$as_me: using -xarch=v9 for 64bit code" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using -xarch=v9 for 64bit code" >&5 +printf "%s\n" "$as_me: using -xarch=v9 for 64bit code" >&6;} -else +else $as_nop pst3_64bit_working=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: compiler do not like -xarch=v9" >&5 -$as_echo "$as_me: compiler do not like -xarch=v9" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler do not like -xarch=v9" >&5 +printf "%s\n" "$as_me: compiler do not like -xarch=v9" >&6;} fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -17492,17 +18418,18 @@ fi if test "$pst3_64bit_working" = 0; then old_cflags=$CFLAGS CFLAGS="$CFLAGS -xarch=amd64" - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + if test "$cross_compiling" = yes +then : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See \`config.log' for more details" "$LINENO" 5; } -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { return sizeof(void*) == 8 ? 0 : 1; @@ -17512,19 +18439,20 @@ return sizeof(void*) == 8 ? 0 : 1; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : PST3CFLAGS="-xarch=amd64" pst3_64bit_working=1 - { $as_echo "$as_me:${as_lineno-$LINENO}: using -xarch=amd64 for 64bit code" >&5 -$as_echo "$as_me: using -xarch=amd64 for 64bit code" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using -xarch=amd64 for 64bit code" >&5 +printf "%s\n" "$as_me: using -xarch=amd64 for 64bit code" >&6;} -else +else $as_nop pst3_64bit_working=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: compiler do not like -xarch=amd64" >&5 -$as_echo "$as_me: compiler do not like -xarch=amd64" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler do not like -xarch=amd64" >&5 +printf "%s\n" "$as_me: compiler do not like -xarch=amd64" >&6;} fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -17546,8 +18474,8 @@ then ac_cv_ps_command="$PATH_TO_PS axwo 'stat uid pid ppid vsz rss pcpu etime comm args'" ac_cv_ps_format="%s %d %d %d %d %d %f %s %s %n" ac_cv_ps_cols=10 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps axwo 'stat comm vsz rss user uid pid ppid args' 2>/dev/null | \ grep -E -i "^ *STAT +[UCOMAND]+ +VSZ +RSS +USER +UID +PID +PPID +COMMAND" > /dev/null @@ -17556,8 +18484,8 @@ then ac_cv_ps_command="$PATH_TO_PS axwo 'stat uid pid ppid vsz rss pcpu comm args'" ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" ac_cv_ps_cols=9 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps -axwo 'stat comm vsz rss user uid pid ppid args' 2>/dev/null | \ grep -E -i "^ *STAT +[UCOMAND]+ +VSZ +RSS +USER +UID +PID +PPID +COMMAND" > /dev/null @@ -17566,8 +18494,8 @@ then ac_cv_ps_command="$PATH_TO_PS -axwo 'stat uid pid ppid vsz rss pcpu comm args'" ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" ac_cv_ps_cols=9 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps -axwo 'stat uid pid ppid vsz rss pcpu ucomm command' 2>/dev/null | \ grep -E -i "^ *STAT +UID +PID +PPID +VSZ +RSS +%CPU +UCOMM +COMMAND" > /dev/null @@ -17576,8 +18504,8 @@ then ac_cv_ps_command="$PATH_TO_PS -axwo 'stat uid pid ppid vsz rss pcpu ucomm command'" ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" ac_cv_ps_cols=9 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps -weo 'stat comm vsz rss user uid pid ppid etime args' 2>/dev/null | \ grep -E -i "^ *S[TAUES]* +[UCOMDNA]+ +[VSIZE]+ +R[S]+ +U[SER]+ +U[ID]+ +P[ID]+ +P[PID]+ +[ELAPSD]+ +[RGSCOMDNA]+" >/dev/null @@ -17586,8 +18514,8 @@ then ac_cv_ps_command="$PATH_TO_PS -weo 'stat uid pid ppid vsz rss pcpu etime comm args'" ac_cv_ps_format="%s %d %d %d %d %d %f %s %s %n" ac_cv_ps_cols=10 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps waxco 'state command vsz rss uid user pid ppid' 2>/dev/null | \ grep -E -i "^STAT +COMMAND +VSZ +RSS +UID +USER +PID +PPID" >/dev/null @@ -17596,8 +18524,8 @@ then ac_cv_ps_command="$PATH_TO_PS waxco 'state uid pid ppid vsz rss pcpu command command'" ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" ac_cv_ps_cols=9 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps waxno 'state comm vsz rss uid user pid ppid args' 2>/dev/null | \ grep -E -i "^S +COMMAND +VSZ +RSS +UID +USER +PID +PPID +[RGSCOMDNA]+" >/dev/null @@ -17606,8 +18534,8 @@ then ac_cv_ps_command="$PATH_TO_PS waxno 'state uid pid ppid vsz rss pcpu comm args'" ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" ac_cv_ps_cols=9 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps -laxnwww 2>/dev/null | head -1 | \ grep -E -i "^ *F(LAGS)? +UID +PID +PPID +CP +PRI +NI +(SZ)|(VSZ)|(SIZE) +RSS +WCHAN +STAT? +TTY? +TIME +COMMAND" >/dev/null @@ -17616,8 +18544,8 @@ then ac_cv_ps_command="$PATH_TO_PS -laxnwww" ac_cv_ps_format="%*s %d %d %d %*s %*s %*s %d %d %*s %s %*s %*s %n%s" ac_cv_ps_cols=9 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps laxnwww 2>/dev/null | \ grep -E -i "^ *F(LAGS)? +UID +PID +PPID +PRI +NI +(VSZ)|(SIZE) +RSS +WCHAN +STAT? TTY +TIME +COMMAND" >/dev/null @@ -17626,8 +18554,8 @@ then ac_cv_ps_command="$PATH_TO_PS laxnwww" ac_cv_ps_format="%*s %d %d %d %*s %*s %d %d %*s %s %*s %*s %n%s" ac_cv_ps_cols=9 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps -axo 'stat comm vsz rss user uid pid ppid args' 2>/dev/null | \ grep -E -i "^ *S[TAUES]* +[UCOMDNA]+ +[VSIZE]+ +R[S]+ +U[SER]+ +U[ID]+ +P[PID]+ +P[PID]+ +[RGSCOMDNA]+" >/dev/null @@ -17636,8 +18564,8 @@ then ac_cv_ps_command="$PATH_TO_PS -axo 'stat uid pid ppid vsz rss pcpu comm args'" ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" ac_cv_ps_cols=9 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif /sbin/ps -eo 'stat uid pid ppid pcpu etime comm args' 2>/dev/null | \ grep -E -i "^ *S +[UID]+ +[PID]+ +[PID]+ +[%CPU]+ +[ELAPSD]+ +[COMMAND]+ +[COMMAND]+" > /dev/null @@ -17646,8 +18574,8 @@ then ac_cv_ps_command="/sbin/ps -eo 'stat uid pid ppid pcpu etime comm args'" ac_cv_ps_format="%s%*[ +<>] %d %d %d %f %s %s %n" ac_cv_ps_cols=8 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps -eo 's comm vsz rss user uid pid ppid args' 2>/dev/null | \ grep -E -i "^S[TAUES]* +C[OMDNA]+ +[VSIZE]+ +U[SER]+ +U[ID]+ +P[PID]+ +P[PID]+ +[RGSCOMDNA]+" >/dev/null @@ -17656,8 +18584,8 @@ then ac_cv_ps_command="$PATH_TO_PS -eo 's uid pid ppid vsz rss pcpu comm args'" ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" ac_cv_ps_cols=9 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps -eo 'stat uid pid ppid vsz pcpu comm args' 2>/dev/null | \ grep -E -i "^ *S[TAUES]* +UID +PID +PPID +VSZ +%CPU +COMMAND +COMMAND" >/dev/null @@ -17666,8 +18594,8 @@ then ac_cv_ps_command="$PATH_TO_PS -eo 'stat uid pid ppid vsz pcpu comm args'" ac_cv_ps_format="%s %d %d %d %d %f %s %n" ac_cv_ps_cols=8 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command - with no RSS" >&5 -$as_echo "$ac_cv_ps_command - with no RSS" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command - with no RSS" >&5 +printf "%s\n" "$ac_cv_ps_command - with no RSS" >&6; } elif ps -Ao 's comm vsz rss uid user pid ppid args' 2>/dev/null | \ grep -E -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PID +PPID +[RGSCOMDNA]+" >/dev/null @@ -17678,8 +18606,8 @@ then # it will return %n as longer than the line length ac_cv_ps_format="%s %d %d %d %d %d %f %s%n" ac_cv_ps_cols=9 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps -Ao 'status comm vsz rss uid user pid ppid args' 2>/dev/null | \ grep -E -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PID +PPID +[RGSCOMDNA]+" >/dev/null @@ -17688,8 +18616,8 @@ then ac_cv_ps_command="$PATH_TO_PS -Ao 'status uid pid ppid vsz rss pcpu comm args'" ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" ac_cv_ps_cols=9 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps -Ao 'state comm vsz rss uid user pid ppid args' 2>/dev/null | \ grep -E -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PID +PPID +[RGSCOMDNA]+" >/dev/null @@ -17698,8 +18626,8 @@ then ac_cv_ps_command="$PATH_TO_PS -Ao 'state uid pid ppid vsz rss pcpu comm args'" ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" ac_cv_ps_cols=9 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps -ao 'state command vsz rss user pid ppid args' 2>/dev/null | \ grep -E -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PID +PPID +[RGSCOMDNA]+" >/dev/null @@ -17708,8 +18636,8 @@ then ac_cv_ps_command="$PATH_TO_PS -ao 'state uid pid ppid vsz rss pcpu command args'" ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" ac_cv_ps_cols=8 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps -el 2>/dev/null | \ grep -E -i "^ *F +S +UID +PID +PPID +C +PRI +NI +P +SZ +RSS +WCHAN +TTY +TIME +[RGSCOMDNA]+" >/dev/null @@ -17718,8 +18646,8 @@ then ac_cv_ps_command="$PATH_TO_PS -el (IRIX 53)" ac_cv_ps_format="%*s %s %d %d %d %*s %*s %*s %*s %d %d %*s %*s %*s %n%s" ac_cv_ps_cols=8 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps -el 2>/dev/null | \ grep -E -i "^ *F +S +UID +PID +PPID +C +PRI +NI +P +ADDR +SZ +RSS +WCHAN +TTY +TIME +[RGSCOMDNA]+" >/dev/null @@ -17728,8 +18656,8 @@ then ac_cv_ps_command="$PATH_TO_PS -el (IRIX 63)" ac_cv_ps_format="%*s %s %d %d %d %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %n%s" ac_cv_ps_cols=6 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif env UNIX95=1 ps -eo 'state uid ruid user ruser pid ppid vsz pcpu comm args' 2>/dev/null | head -n 1 | \ grep -E -i "^ *S +UID +RUID +USER +RUSER +PID +PPID +VSZ +%CPU +COMMAND +COMMAND" >/dev/null @@ -17738,8 +18666,8 @@ then ac_cv_ps_command="$PATH_TO_ENV UNIX95=1 $PATH_TO_PS -eo 'state uid pid ppid vsz pcpu comm args'" ac_cv_ps_format="%s %d %d %d %d %f %s %n" ac_cv_ps_cols=8 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps -el 2>/dev/null | \ grep -E -i "^ *F +S +UID +PID +PPID +C +PRI +NI +ADDR +SZ +WCHAN +TTY +TIME +[RGSCOMDNA]+" >/dev/null @@ -17748,8 +18676,8 @@ then ac_cv_ps_command="$PATH_TO_PS -el (AIX 4.1 and HP-UX)" ac_cv_ps_format="%*s %s %d %d %d %*s %*s %*s %*s %*s %*s %*s %*s %n%s" ac_cv_ps_cols=6 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps glaxen 2>/dev/null | \ grep -E -i "^ *F +UID +PID +PPID +PRI +NI +VSZ +RSS +WCHAN +STAT +TTY +TIME +COMMAND" >/dev/null @@ -17758,8 +18686,8 @@ then ac_cv_ps_command="$PATH_TO_PS glaxen" ac_cv_ps_format="%*s %d %d %d %*s %*s %d %d %*s %s %*s %*s %n%s" ac_cv_ps_cols=8 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps wwaxo 'state vsz rss uid pid ppid pcpu ucomm command' 2>/dev/null | \ grep -E -i "^STAT +VSZ +RSS +UID +PPID +%CPU +UCOMM +COMMAND" >/dev/null @@ -17768,8 +18696,8 @@ then ac_cv_ps_varlist="procstat,&procvsz,&procrss,&procuid,&procpid,&procppid,&procpcpu,procprog,&pos" ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" ac_cv_ps_cols=8 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } elif ps -Al 2>/dev/null | \ grep -E -i "^ *F +S +UID +PID +PPID +CLS +PRI +NI +C +ADDR +SZ +WCHAN +TTY +TIME +COMD" >/dev/null @@ -17778,55 +18706,48 @@ then ac_cv_ps_command="$PATH_TO_PS -Al" ac_cv_ps_format="%*s %s %d %d %d %*s %*s %*s %*s %*s %*s %*s %*s %*s %n%s" ac_cv_ps_cols=8 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 -$as_echo "$ac_cv_ps_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5 +printf "%s\n" "$ac_cv_ps_command" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to find usable ps syntax - check_procs and check_nagios will not be compiled" >&5 -$as_echo "$as_me: WARNING: unable to find usable ps syntax - check_procs and check_nagios will not be compiled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unable to find usable ps syntax - check_procs and check_nagios will not be compiled" >&5 +printf "%s\n" "$as_me: WARNING: unable to find usable ps syntax - check_procs and check_nagios will not be compiled" >&2;} fi if test -n "$ac_cv_ps_varlist" ; then -cat >>confdefs.h <<_ACEOF -#define PS_VARLIST $ac_cv_ps_varlist -_ACEOF +printf "%s\n" "#define PS_VARLIST $ac_cv_ps_varlist" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PS_COMMAND "$ac_cv_ps_command" -_ACEOF +printf "%s\n" "#define PS_COMMAND \"$ac_cv_ps_command\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PS_FORMAT "$ac_cv_ps_format" -_ACEOF +printf "%s\n" "#define PS_FORMAT \"$ac_cv_ps_format\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PS_COLS $ac_cv_ps_cols -_ACEOF +printf "%s\n" "#define PS_COLS $ac_cv_ps_cols" >>confdefs.h EXTRAS="$EXTRAS check_procs check_nagios\$(EXEEXT)" if echo "$ac_cv_ps_varlist" | grep "procetime" >/dev/null; then -$as_echo "#define PS_USES_PROCETIME \"yes\"" >>confdefs.h +printf "%s\n" "#define PS_USES_PROCETIME \"yes\"" >>confdefs.h fi if echo "$ac_cv_ps_varlist" | grep "procpcpu" >/dev/null; then -$as_echo "#define PS_USES_PROCPCPU \"yes\"" >>confdefs.h +printf "%s\n" "#define PS_USES_PROCPCPU \"yes\"" >>confdefs.h fi fi # Extract the first word of "ping", so it can be a program name with args. set dummy ping; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_PING+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_PING+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_PING in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_PING="$PATH_TO_PING" # Let the user override the test with a path. @@ -17836,11 +18757,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_PING="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_PING="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -17852,21 +18777,22 @@ esac fi PATH_TO_PING=$ac_cv_path_PATH_TO_PING if test -n "$PATH_TO_PING"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_PING" >&5 -$as_echo "$PATH_TO_PING" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_PING" >&5 +printf "%s\n" "$PATH_TO_PING" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Extract the first word of "ping6", so it can be a program name with args. set dummy ping6; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_PING6+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_PING6+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_PING6 in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_PING6="$PATH_TO_PING6" # Let the user override the test with a path. @@ -17876,11 +18802,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_PING6="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_PING6="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -17892,30 +18822,31 @@ esac fi PATH_TO_PING6=$ac_cv_path_PATH_TO_PING6 if test -n "$PATH_TO_PING6"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_PING6" >&5 -$as_echo "$PATH_TO_PING6" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_PING6" >&5 +printf "%s\n" "$PATH_TO_PING6" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-ping_command was given. -if test "${with_ping_command+set}" = set; then : +if test ${with_ping_command+y} +then : withval=$with_ping_command; with_ping_command=$withval fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICMP ping syntax" >&5 -$as_echo_n "checking for ICMP ping syntax... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ICMP ping syntax" >&5 +printf %s "checking for ICMP ping syntax... " >&6; } ac_cv_ping_packets_first=no ac_cv_ping_has_timeout=no if test -n "$with_ping_command" then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: (command-line) $with_ping_command" >&5 -$as_echo "(command-line) $with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (command-line) $with_ping_command" >&5 +printf "%s\n" "(command-line) $with_ping_command" >&6; } if echo "$with_ping_command" | grep '%d.*%d.*%s' >/dev/null then ac_cv_ping_packets_first=yes @@ -17934,8 +18865,8 @@ then with_ping_command="$PATH_TO_PING -n %d -w %d000 %s" ac_cv_ping_packets_first=yes ac_cv_ping_has_timeout=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 -$as_echo "$with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 +printf "%s\n" "$with_ping_command" >&6; } elif [ "z$ac_cv_uname_s" = "zUnixWare" ] && \ $PATH_TO_PING -n -s 127.0.0.1 56 1 2>/dev/null | \ @@ -17943,8 +18874,8 @@ elif [ "z$ac_cv_uname_s" = "zUnixWare" ] && \ then with_ping_command="$PATH_TO_PING -n -U -c %d %s" ac_cv_ping_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 -$as_echo "$with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 +printf "%s\n" "$with_ping_command" >&6; } elif $PATH_TO_PING -4 -n -U -w 10 -c 1 127.0.0.1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null @@ -17953,117 +18884,116 @@ then with_ping_command="$PATH_TO_PING -4 -n -U -w %d -c %d %s" ac_cv_ping_packets_first=yes ac_cv_ping_has_timeout=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 -$as_echo "$with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 +printf "%s\n" "$with_ping_command" >&6; } elif $PATH_TO_PING -n -U -w 10 -c 1 127.0.0.1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping_command="$PATH_TO_PING -n -U -w %d -c %d %s" ac_cv_ping_packets_first=yes ac_cv_ping_has_timeout=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 -$as_echo "$with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 +printf "%s\n" "$with_ping_command" >&6; } elif $PATH_TO_PING -n -U -c 1 127.0.0.1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping_command="$PATH_TO_PING -n -U -c %d %s" ac_cv_ping_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 -$as_echo "$with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 +printf "%s\n" "$with_ping_command" >&6; } elif $PATH_TO_PING -n -c 1 127.0.0.1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping_command="$PATH_TO_PING -n -c %d %s" ac_cv_ping_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 -$as_echo "$with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 +printf "%s\n" "$with_ping_command" >&6; } elif $PATH_TO_PING -n 127.0.0.1 -c 1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping_command="$PATH_TO_PING -n %s -c %d" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 -$as_echo "$with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 +printf "%s\n" "$with_ping_command" >&6; } elif $PATH_TO_PING 127.0.0.1 -n 1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping_command="$PATH_TO_PING %s -n %d" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 -$as_echo "$with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 +printf "%s\n" "$with_ping_command" >&6; } elif $PATH_TO_PING -n -s 127.0.0.1 56 1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping_command="$PATH_TO_PING -n -s %s 56 %d" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 -$as_echo "$with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 +printf "%s\n" "$with_ping_command" >&6; } elif $PATH_TO_PING -n -h 127.0.0.1 -s 56 -c 1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping_command="$PATH_TO_PING -n -h %s -s 56 -c %d" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 -$as_echo "$with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 +printf "%s\n" "$with_ping_command" >&6; } elif $PATH_TO_PING -n -s 56 -c 1 127.0.0.1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping_command="$PATH_TO_PING -n -s 56 -c %d %s" ac_cv_ping_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 -$as_echo "$with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 +printf "%s\n" "$with_ping_command" >&6; } elif $PATH_TO_PING -n -c 1 127.0.0.1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping_command="$PATH_TO_PING -n -c %d %s" ac_cv_ping_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 -$as_echo "$with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 +printf "%s\n" "$with_ping_command" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to find usable ping syntax" >&5 -$as_echo "$as_me: WARNING: unable to find usable ping syntax" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unable to find usable ping syntax" >&5 +printf "%s\n" "$as_me: WARNING: unable to find usable ping syntax" >&2;} fi -cat >>confdefs.h <<_ACEOF -#define PING_COMMAND "$with_ping_command" -_ACEOF +printf "%s\n" "#define PING_COMMAND \"$with_ping_command\"" >>confdefs.h if test "x$ac_cv_ping_packets_first" != "xno" then -$as_echo "#define PING_PACKETS_FIRST 1" >>confdefs.h +printf "%s\n" "#define PING_PACKETS_FIRST 1" >>confdefs.h fi if test "x$ac_cv_ping_has_timeout" != "xno" then -$as_echo "#define PING_HAS_TIMEOUT 1" >>confdefs.h +printf "%s\n" "#define PING_HAS_TIMEOUT 1" >>confdefs.h fi # Check whether --with-ping6_command was given. -if test "${with_ping6_command+set}" = set; then : +if test ${with_ping6_command+y} +then : withval=$with_ping6_command; with_ping6_command=$withval fi if test x"$with_ipv6" != xno ; then -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICMPv6 ping syntax" >&5 -$as_echo_n "checking for ICMPv6 ping syntax... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ICMPv6 ping syntax" >&5 +printf %s "checking for ICMPv6 ping syntax... " >&6; } ac_cv_ping6_packets_first=no if test -n "$with_ping6_command" then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: (command-line) $with_ping6_command" >&5 -$as_echo "(command-line) $with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (command-line) $with_ping6_command" >&5 +printf "%s\n" "(command-line) $with_ping6_command" >&6; } if echo "$with_ping6_command" | grep '%d.*%d.*%s' >/dev/null then ac_cv_ping6_packets_first=yes @@ -18080,8 +19010,8 @@ elif [ "z$ac_cv_uname_o" = "zCygwin" -a "x$PATH_TO_PING" != "x" ]; then with_ping6_command="$PATH_TO_PING -6 -n %d -w %d000 %s" ac_cv_ping6_packets_first=yes ac_cv_ping_has_timeout=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif test "x$PATH_TO_PING6" != "x"; then if [ "z$ac_cv_uname_s" = "zUnixWare" ] && \ $PATH_TO_PING6 -n -s ::1 56 1 2>/dev/null | \ @@ -18089,8 +19019,8 @@ elif test "x$PATH_TO_PING6" != "x"; then then with_ping6_command="$PATH_TO_PING6 -n -U -c %d %s" ac_cv_ping6_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING6 -n -U -w 10 -c 1 ::1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null @@ -18098,68 +19028,68 @@ $as_echo "$with_ping6_command" >&6; } with_ping6_command="$PATH_TO_PING6 -n -U -w %d -c %d %s" ac_cv_ping6_packets_first=yes ac_cv_ping_has_timeout=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING6 -n -U -c 1 ::1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING6 -n -U -c %d %s" ac_cv_ping6_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING6 -n -c 1 ::1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING6 -n -c %d %s" ac_cv_ping6_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING6 -n ::1 -c 1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING6 -n %s -c %d" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING6 ::1 -n 1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING6 %s -n %d" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING6 -n -s ::1 56 1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING6 -n -s %s 56 %d" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING6 -n -h ::1 -s 56 -c 1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING6 -n -h %s -s 56 -c %d" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING6 -n -s 56 -c 1 ::1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING6 -n -s 56 -c %d %s" ac_cv_ping6_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 -$as_echo "$with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 +printf "%s\n" "$with_ping_command" >&6; } elif $PATH_TO_PING6 -n -c 1 ::1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING6 -n -c %d %s" ac_cv_ping6_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } fi @@ -18170,68 +19100,68 @@ elif test "x$PATH_TO_PING" != "x"; then then with_ping6_command="$PATH_TO_PING -A inet6 -n -U -c %d %s" ac_cv_ping6_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING -A inet6 -n -U -c 1 ::1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING -A inet6 -n -U -c %d %s" ac_cv_ping6_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING -A inet6 -n -c 1 ::1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING -A inet6 -n -c %d %s" ac_cv_ping6_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING -A inet6 -n ::1 -c 1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING -A inet6 -n %s -c %d" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING -A inet6 ::1 -n 1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING -A inet6 %s -n %d" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING -A inet6 -n -s ::1 56 1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING -A inet6 -n -s %s 56 %d" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING -A inet6 -n -h ::1 -s 56 -c 1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING -A inet6 -n -h %s -s 56 -c %d" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } elif $PATH_TO_PING -A inet6 -n -s 56 -c 1 ::1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING -A inet6 -n -s 56 -c %d %s" ac_cv_ping6_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 -$as_echo "$with_ping_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping_command" >&5 +printf "%s\n" "$with_ping_command" >&6; } elif $PATH_TO_PING -A inet6 -n -c 1 ::1 2>/dev/null | \ grep -E -i "^round-trip|^rtt" >/dev/null then with_ping6_command="$PATH_TO_PING -A inet6 -n -c %d %s" ac_cv_ping6_packets_first=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 -$as_echo "$with_ping6_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ping6_command" >&5 +printf "%s\n" "$with_ping6_command" >&6; } fi @@ -18239,18 +19169,16 @@ fi if test "x$with_ping6_command" != "x"; then -cat >>confdefs.h <<_ACEOF -#define PING6_COMMAND "$with_ping6_command" -_ACEOF +printf "%s\n" "#define PING6_COMMAND \"$with_ping6_command\"" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -$as_echo "none" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 +printf "%s\n" "none" >&6; } fi if test "x$ac_cv_ping6_packets_first" != "xno"; then -$as_echo "#define PING6_PACKETS_FIRST 1" >>confdefs.h +printf "%s\n" "#define PING6_PACKETS_FIRST 1" >>confdefs.h fi fi @@ -18258,21 +19186,23 @@ fi # Check whether --with-nslookup_command was given. -if test "${with_nslookup_command+set}" = set; then : +if test ${with_nslookup_command+y} +then : withval=$with_nslookup_command; ac_cv_nslookup_command=$withval fi if test -n "$ac_cv_nslookup_command"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using specific nslookup at $ac_cv_nslookup_command" >&5 -$as_echo "$as_me: Using specific nslookup at $ac_cv_nslookup_command" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using specific nslookup at $ac_cv_nslookup_command" >&5 +printf "%s\n" "$as_me: Using specific nslookup at $ac_cv_nslookup_command" >&6;} else # Extract the first word of "nslookup", so it can be a program name with args. set dummy nslookup; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_NSLOOKUP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_NSLOOKUP+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_NSLOOKUP in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_NSLOOKUP="$PATH_TO_NSLOOKUP" # Let the user override the test with a path. @@ -18282,11 +19212,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_NSLOOKUP="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_NSLOOKUP="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -18298,104 +19232,105 @@ esac fi PATH_TO_NSLOOKUP=$ac_cv_path_PATH_TO_NSLOOKUP if test -n "$PATH_TO_NSLOOKUP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_NSLOOKUP" >&5 -$as_echo "$PATH_TO_NSLOOKUP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_NSLOOKUP" >&5 +printf "%s\n" "$PATH_TO_NSLOOKUP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test -n "$PATH_TO_NSLOOKUP" then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nslookup syntax" >&5 -$as_echo_n "checking for nslookup syntax... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nslookup syntax" >&5 +printf %s "checking for nslookup syntax... " >&6; } if $PATH_TO_NSLOOKUP -sil 127.0.0.1 2>&1 | grep "Invalid option: sil" >/dev/null then ac_cv_nslookup_command="$PATH_TO_NSLOOKUP" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_nslookup_command" >&5 -$as_echo "$ac_cv_nslookup_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_nslookup_command" >&5 +printf "%s\n" "$ac_cv_nslookup_command" >&6; } else ac_cv_nslookup_command="$PATH_TO_NSLOOKUP -sil" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_nslookup_command" >&5 -$as_echo "$ac_cv_nslookup_command" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_nslookup_command" >&5 +printf "%s\n" "$ac_cv_nslookup_command" >&6; } fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nslookup command not found" >&5 -$as_echo "$as_me: WARNING: nslookup command not found" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: nslookup command not found" >&5 +printf "%s\n" "$as_me: WARNING: nslookup command not found" >&2;} fi fi if test -n "$ac_cv_nslookup_command"; then EXTRAS="$EXTRAS check_dns\$(EXEEXT)" -cat >>confdefs.h <<_ACEOF -#define NSLOOKUP_COMMAND "$ac_cv_nslookup_command" -_ACEOF +printf "%s\n" "#define NSLOOKUP_COMMAND \"$ac_cv_nslookup_command\"" >>confdefs.h fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for number of online cpus" >&5 -$as_echo_n "checking for number of online cpus... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for number of online cpus" >&5 +printf %s "checking for number of online cpus... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { sysconf(_SC_NPROCESSORS_ONLN) > 0; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : -$as_echo "#define HAVE_SYSCONF__SC_NPROCESSORS_ONLN 1" >>confdefs.h +printf "%s\n" "#define HAVE_SYSCONF__SC_NPROCESSORS_ONLN 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: result: sysconf(_SC_NPROCESSORS_ONLN)" >&5 -$as_echo "sysconf(_SC_NPROCESSORS_ONLN)" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot calculate" >&5 -$as_echo "cannot calculate" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: sysconf(_SC_NPROCESSORS_ONLN)" >&5 +printf "%s\n" "sysconf(_SC_NPROCESSORS_ONLN)" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot calculate" >&5 +printf "%s\n" "cannot calculate" >&6; } fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for number of available cpus" >&5 -$as_echo_n "checking for number of available cpus... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for number of available cpus" >&5 +printf %s "checking for number of available cpus... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { sysconf(_SC_NPROCESSORS_CONF) > 0; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : -$as_echo "#define HAVE_SYSCONF__SC_NPROCESSORS_CONF 1" >>confdefs.h +printf "%s\n" "#define HAVE_SYSCONF__SC_NPROCESSORS_CONF 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: result: sysconf(_SC_NPROCESSORS_CONF)" >&5 -$as_echo "sysconf(_SC_NPROCESSORS_CONF)" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot calculate" >&5 -$as_echo "cannot calculate" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: sysconf(_SC_NPROCESSORS_CONF)" >&5 +printf "%s\n" "sysconf(_SC_NPROCESSORS_CONF)" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot calculate" >&5 +printf "%s\n" "cannot calculate" >&6; } fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext # Extract the first word of "uptime", so it can be a program name with args. set dummy uptime; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_UPTIME+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_UPTIME+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_UPTIME in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_UPTIME="$PATH_TO_UPTIME" # Let the user override the test with a path. @@ -18405,11 +19340,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_UPTIME="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_UPTIME="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -18421,33 +19360,33 @@ esac fi PATH_TO_UPTIME=$ac_cv_path_PATH_TO_UPTIME if test -n "$PATH_TO_UPTIME"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_UPTIME" >&5 -$as_echo "$PATH_TO_UPTIME" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_UPTIME" >&5 +printf "%s\n" "$PATH_TO_UPTIME" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-uptime_command was given. -if test "${with_uptime_command+set}" = set; then : +if test ${with_uptime_command+y} +then : withval=$with_uptime_command; PATH_TO_UPTIME=$withval fi -cat >>confdefs.h <<_ACEOF -#define PATH_TO_UPTIME "$PATH_TO_UPTIME" -_ACEOF +printf "%s\n" "#define PATH_TO_UPTIME \"$PATH_TO_UPTIME\"" >>confdefs.h # Extract the first word of "rpcinfo", so it can be a program name with args. set dummy rpcinfo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_RPCINFO+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_RPCINFO+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_RPCINFO in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_RPCINFO="$PATH_TO_RPCINFO" # Let the user override the test with a path. @@ -18457,11 +19396,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_RPCINFO="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_RPCINFO="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -18473,33 +19416,33 @@ esac fi PATH_TO_RPCINFO=$ac_cv_path_PATH_TO_RPCINFO if test -n "$PATH_TO_RPCINFO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_RPCINFO" >&5 -$as_echo "$PATH_TO_RPCINFO" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_RPCINFO" >&5 +printf "%s\n" "$PATH_TO_RPCINFO" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-rpcinfo_command was given. -if test "${with_rpcinfo_command+set}" = set; then : +if test ${with_rpcinfo_command+y} +then : withval=$with_rpcinfo_command; PATH_TO_RPCINFO=$withval fi -cat >>confdefs.h <<_ACEOF -#define PATH_TO_RPCINFO "$PATH_TO_RPCINFO" -_ACEOF +printf "%s\n" "#define PATH_TO_RPCINFO \"$PATH_TO_RPCINFO\"" >>confdefs.h # Extract the first word of "lmstat", so it can be a program name with args. set dummy lmstat; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_LMSTAT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_LMSTAT+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_LMSTAT in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_LMSTAT="$PATH_TO_LMSTAT" # Let the user override the test with a path. @@ -18509,11 +19452,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_LMSTAT="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_LMSTAT="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -18525,33 +19472,32 @@ esac fi PATH_TO_LMSTAT=$ac_cv_path_PATH_TO_LMSTAT if test -n "$PATH_TO_LMSTAT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_LMSTAT" >&5 -$as_echo "$PATH_TO_LMSTAT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_LMSTAT" >&5 +printf "%s\n" "$PATH_TO_LMSTAT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test -x "$PATH_TO_LMSTAT" then -cat >>confdefs.h <<_ACEOF -#define PATH_TO_LMSTAT "$PATH_TO_LMSTAT" -_ACEOF +printf "%s\n" "#define PATH_TO_LMSTAT \"$PATH_TO_LMSTAT\"" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Get lmstat from Globetrotter Software to monitor flexlm licenses" >&5 -$as_echo "$as_me: WARNING: Get lmstat from Globetrotter Software to monitor flexlm licenses" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Get lmstat from Globetrotter Software to monitor flexlm licenses" >&5 +printf "%s\n" "$as_me: WARNING: Get lmstat from Globetrotter Software to monitor flexlm licenses" >&2;} fi # Extract the first word of "smbclient", so it can be a program name with args. set dummy smbclient; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_SMBCLIENT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_SMBCLIENT+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_SMBCLIENT in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_SMBCLIENT="$PATH_TO_SMBCLIENT" # Let the user override the test with a path. @@ -18561,11 +19507,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_SMBCLIENT="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_SMBCLIENT="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -18577,39 +19527,39 @@ esac fi PATH_TO_SMBCLIENT=$ac_cv_path_PATH_TO_SMBCLIENT if test -n "$PATH_TO_SMBCLIENT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_SMBCLIENT" >&5 -$as_echo "$PATH_TO_SMBCLIENT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_SMBCLIENT" >&5 +printf "%s\n" "$PATH_TO_SMBCLIENT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-smbclient_command was given. -if test "${with_smbclient_command+set}" = set; then : +if test ${with_smbclient_command+y} +then : withval=$with_smbclient_command; PATH_TO_SMBCLIENT=$withval fi if test -n "$PATH_TO_SMBCLIENT" then -cat >>confdefs.h <<_ACEOF -#define PATH_TO_SMBCLIENT "$PATH_TO_SMBCLIENT" -_ACEOF +printf "%s\n" "#define PATH_TO_SMBCLIENT \"$PATH_TO_SMBCLIENT\"" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Get smbclient from Samba.org to monitor SMB shares" >&5 -$as_echo "$as_me: WARNING: Get smbclient from Samba.org to monitor SMB shares" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Get smbclient from Samba.org to monitor SMB shares" >&5 +printf "%s\n" "$as_me: WARNING: Get smbclient from Samba.org to monitor SMB shares" >&2;} fi # Extract the first word of "snmpget", so it can be a program name with args. set dummy snmpget; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_SNMPGET+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_SNMPGET+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_SNMPGET in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_SNMPGET="$PATH_TO_SNMPGET" # Let the user override the test with a path. @@ -18619,11 +19569,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_SNMPGET="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_SNMPGET="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -18635,40 +19589,40 @@ esac fi PATH_TO_SNMPGET=$ac_cv_path_PATH_TO_SNMPGET if test -n "$PATH_TO_SNMPGET"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_SNMPGET" >&5 -$as_echo "$PATH_TO_SNMPGET" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_SNMPGET" >&5 +printf "%s\n" "$PATH_TO_SNMPGET" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-snmpget_command was given. -if test "${with_snmpget_command+set}" = set; then : +if test ${with_snmpget_command+y} +then : withval=$with_snmpget_command; PATH_TO_SNMPGET=$withval fi if test -n "$PATH_TO_SNMPGET" then -cat >>confdefs.h <<_ACEOF -#define PATH_TO_SNMPGET "$PATH_TO_SNMPGET" -_ACEOF +printf "%s\n" "#define PATH_TO_SNMPGET \"$PATH_TO_SNMPGET\"" >>confdefs.h EXTRAS="$EXTRAS check_hpjd check_snmp\$(EXEEXT)" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins" >&5 -$as_echo "$as_me: WARNING: Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins" >&5 +printf "%s\n" "$as_me: WARNING: Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins" >&2;} fi # Extract the first word of "snmpgetnext", so it can be a program name with args. set dummy snmpgetnext; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_SNMPGETNEXT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_SNMPGETNEXT+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_SNMPGETNEXT in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_SNMPGETNEXT="$PATH_TO_SNMPGETNEXT" # Let the user override the test with a path. @@ -18678,11 +19632,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_SNMPGETNEXT="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_SNMPGETNEXT="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -18694,47 +19652,47 @@ esac fi PATH_TO_SNMPGETNEXT=$ac_cv_path_PATH_TO_SNMPGETNEXT if test -n "$PATH_TO_SNMPGETNEXT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_SNMPGETNEXT" >&5 -$as_echo "$PATH_TO_SNMPGETNEXT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_SNMPGETNEXT" >&5 +printf "%s\n" "$PATH_TO_SNMPGETNEXT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-snmpgetnext_command was given. -if test "${with_snmpgetnext_command+set}" = set; then : +if test ${with_snmpgetnext_command+y} +then : withval=$with_snmpgetnext_command; PATH_TO_SNMPGETNEXT=$withval fi if test -n "$PATH_TO_SNMPGETNEXT" then -cat >>confdefs.h <<_ACEOF -#define PATH_TO_SNMPGETNEXT "$PATH_TO_SNMPGETNEXT" -_ACEOF +printf "%s\n" "#define PATH_TO_SNMPGETNEXT \"$PATH_TO_SNMPGETNEXT\"" >>confdefs.h fi if ( $PERL -M"Net::SNMP 3.6" -e 'exit' 2>/dev/null ) then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Net::SNMP perl module" >&5 -$as_echo_n "checking for Net::SNMP perl module... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 -$as_echo "found" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Net::SNMP perl module" >&5 +printf %s "checking for Net::SNMP perl module... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 +printf "%s\n" "found" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Tried $PERL - install Net::SNMP perl module if you want to use the perl snmp plugins" >&5 -$as_echo "$as_me: WARNING: Tried $PERL - install Net::SNMP perl module if you want to use the perl snmp plugins" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Tried $PERL - install Net::SNMP perl module if you want to use the perl snmp plugins" >&5 +printf "%s\n" "$as_me: WARNING: Tried $PERL - install Net::SNMP perl module if you want to use the perl snmp plugins" >&2;} fi # Extract the first word of "quakestat", so it can be a program name with args. set dummy quakestat; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_QUAKESTAT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_QUAKESTAT+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_QUAKESTAT in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_QUAKESTAT="$PATH_TO_QUAKESTAT" # Let the user override the test with a path. @@ -18744,11 +19702,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_QUAKESTAT="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_QUAKESTAT="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -18760,21 +19722,22 @@ esac fi PATH_TO_QUAKESTAT=$ac_cv_path_PATH_TO_QUAKESTAT if test -n "$PATH_TO_QUAKESTAT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_QUAKESTAT" >&5 -$as_echo "$PATH_TO_QUAKESTAT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_QUAKESTAT" >&5 +printf "%s\n" "$PATH_TO_QUAKESTAT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Extract the first word of "qstat", so it can be a program name with args. set dummy qstat; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_QSTAT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_QSTAT+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_QSTAT in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_QSTAT="$PATH_TO_QSTAT" # Let the user override the test with a path. @@ -18784,11 +19747,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_QSTAT="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_QSTAT="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -18800,17 +19767,18 @@ esac fi PATH_TO_QSTAT=$ac_cv_path_PATH_TO_QSTAT if test -n "$PATH_TO_QSTAT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_QSTAT" >&5 -$as_echo "$PATH_TO_QSTAT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_QSTAT" >&5 +printf "%s\n" "$PATH_TO_QSTAT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-qstat_command was given. -if test "${with_qstat_command+set}" = set; then : +if test ${with_qstat_command+y} +then : withval=$with_qstat_command; PATH_TO_QSTAT=$withval fi @@ -18825,26 +19793,25 @@ then ac_cv_path_to_qstat="$PATH_TO_QSTAT" EXTRAS="$EXTRAS check_game\$(EXEEXT)" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin" >&5 -$as_echo "$as_me: WARNING: Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin" >&5 +printf "%s\n" "$as_me: WARNING: Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin" >&2;} fi if test $ac_cv_path_to_qstat then -cat >>confdefs.h <<_ACEOF -#define PATH_TO_QSTAT "$ac_cv_path_to_qstat" -_ACEOF +printf "%s\n" "#define PATH_TO_QSTAT \"$ac_cv_path_to_qstat\"" >>confdefs.h fi # Extract the first word of "fping", so it can be a program name with args. set dummy fping; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_FPING+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_FPING+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_FPING in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_FPING="$PATH_TO_FPING" # Let the user override the test with a path. @@ -18854,11 +19821,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_FPING="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_FPING="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -18870,21 +19841,22 @@ esac fi PATH_TO_FPING=$ac_cv_path_PATH_TO_FPING if test -n "$PATH_TO_FPING"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_FPING" >&5 -$as_echo "$PATH_TO_FPING" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_FPING" >&5 +printf "%s\n" "$PATH_TO_FPING" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Extract the first word of "fping6", so it can be a program name with args. set dummy fping6; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_FPING6+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_FPING6+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_FPING6 in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_FPING6="$PATH_TO_FPING6" # Let the user override the test with a path. @@ -18894,11 +19866,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_FPING6="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_FPING6="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -18910,24 +19886,26 @@ esac fi PATH_TO_FPING6=$ac_cv_path_PATH_TO_FPING6 if test -n "$PATH_TO_FPING6"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_FPING6" >&5 -$as_echo "$PATH_TO_FPING6" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_FPING6" >&5 +printf "%s\n" "$PATH_TO_FPING6" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-fping_command was given. -if test "${with_fping_command+set}" = set; then : +if test ${with_fping_command+y} +then : withval=$with_fping_command; PATH_TO_FPING=$withval fi # Check whether --with-fping6_command was given. -if test "${with_fping6_command+set}" = set; then : +if test ${with_fping6_command+y} +then : withval=$with_fping6_command; PATH_TO_FPING6=$withval fi @@ -18935,30 +19913,27 @@ fi if test -n "$PATH_TO_FPING" then -cat >>confdefs.h <<_ACEOF -#define PATH_TO_FPING "$PATH_TO_FPING" -_ACEOF +printf "%s\n" "#define PATH_TO_FPING \"$PATH_TO_FPING\"" >>confdefs.h EXTRAS="$EXTRAS check_fping\$(EXEEXT)" if test x"$with_ipv6" != xno && test -n "$PATH_TO_FPING6"; then -cat >>confdefs.h <<_ACEOF -#define PATH_TO_FPING6 "$PATH_TO_FPING6" -_ACEOF +printf "%s\n" "#define PATH_TO_FPING6 \"$PATH_TO_FPING6\"" >>confdefs.h fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Get fping from http://www.fping.com in order to make check_fping plugin" >&5 -$as_echo "$as_me: WARNING: Get fping from http://www.fping.com in order to make check_fping plugin" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Get fping from http://www.fping.com in order to make check_fping plugin" >&5 +printf "%s\n" "$as_me: WARNING: Get fping from http://www.fping.com in order to make check_fping plugin" >&2;} fi # Extract the first word of "ssh", so it can be a program name with args. set dummy ssh; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_SSH+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_SSH+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_SSH in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_SSH="$PATH_TO_SSH" # Let the user override the test with a path. @@ -18968,11 +19943,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_SSH="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_SSH="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -18984,40 +19963,40 @@ esac fi PATH_TO_SSH=$ac_cv_path_PATH_TO_SSH if test -n "$PATH_TO_SSH"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_SSH" >&5 -$as_echo "$PATH_TO_SSH" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_SSH" >&5 +printf "%s\n" "$PATH_TO_SSH" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-ssh_command was given. -if test "${with_ssh_command+set}" = set; then : +if test ${with_ssh_command+y} +then : withval=$with_ssh_command; PATH_TO_SSH=$withval fi if test -n "$PATH_TO_SSH" then -cat >>confdefs.h <<_ACEOF -#define SSH_COMMAND "$PATH_TO_SSH" -_ACEOF +printf "%s\n" "#define SSH_COMMAND \"$PATH_TO_SSH\"" >>confdefs.h EXTRAS="$EXTRAS check_by_ssh\$(EXEEXT)" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Get ssh in order to make check_by_ssh plugin" >&5 -$as_echo "$as_me: WARNING: Get ssh in order to make check_by_ssh plugin" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Get ssh in order to make check_by_ssh plugin" >&5 +printf "%s\n" "$as_me: WARNING: Get ssh in order to make check_by_ssh plugin" >&2;} fi # Extract the first word of "sudo", so it can be a program name with args. set dummy sudo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_SUDO+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_SUDO+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_SUDO in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_SUDO="$PATH_TO_SUDO" # Let the user override the test with a path. @@ -19027,11 +20006,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_SUDO="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_SUDO="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -19043,39 +20026,39 @@ esac fi PATH_TO_SUDO=$ac_cv_path_PATH_TO_SUDO if test -n "$PATH_TO_SUDO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_SUDO" >&5 -$as_echo "$PATH_TO_SUDO" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_SUDO" >&5 +printf "%s\n" "$PATH_TO_SUDO" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-sudo_command was given. -if test "${with_sudo_command+set}" = set; then : +if test ${with_sudo_command+y} +then : withval=$with_sudo_command; PATH_TO_SUDO=$withval fi if test -n "$PATH_TO_SUDO" then -cat >>confdefs.h <<_ACEOF -#define PATH_TO_SUDO "$PATH_TO_SUDO" -_ACEOF +printf "%s\n" "#define PATH_TO_SUDO \"$PATH_TO_SUDO\"" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find sudo or eqivalent" >&5 -$as_echo "$as_me: WARNING: Could not find sudo or eqivalent" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Could not find sudo or eqivalent" >&5 +printf "%s\n" "$as_me: WARNING: Could not find sudo or eqivalent" >&2;} fi # Extract the first word of "mailq", so it can be a program name with args. set dummy mailq; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_MAILQ+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_MAILQ+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_MAILQ in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_MAILQ="$PATH_TO_MAILQ" # Let the user override the test with a path. @@ -19085,11 +20068,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_MAILQ="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_MAILQ="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -19101,39 +20088,39 @@ esac fi PATH_TO_MAILQ=$ac_cv_path_PATH_TO_MAILQ if test -n "$PATH_TO_MAILQ"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_MAILQ" >&5 -$as_echo "$PATH_TO_MAILQ" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_MAILQ" >&5 +printf "%s\n" "$PATH_TO_MAILQ" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-mailq_command was given. -if test "${with_mailq_command+set}" = set; then : +if test ${with_mailq_command+y} +then : withval=$with_mailq_command; PATH_TO_MAILQ=$withval fi if test -n "$PATH_TO_MAILQ" then -cat >>confdefs.h <<_ACEOF -#define PATH_TO_MAILQ "$PATH_TO_MAILQ" -_ACEOF +printf "%s\n" "#define PATH_TO_MAILQ \"$PATH_TO_MAILQ\"" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find mailq or eqivalent" >&5 -$as_echo "$as_me: WARNING: Could not find mailq or eqivalent" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Could not find mailq or eqivalent" >&5 +printf "%s\n" "$as_me: WARNING: Could not find mailq or eqivalent" >&2;} fi # Extract the first word of "qmail-qstat", so it can be a program name with args. set dummy qmail-qstat; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_QMAIL_QSTAT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_QMAIL_QSTAT+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_QMAIL_QSTAT in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_QMAIL_QSTAT="$PATH_TO_QMAIL_QSTAT" # Let the user override the test with a path. @@ -19143,11 +20130,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_QMAIL_QSTAT="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_QMAIL_QSTAT="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -19159,39 +20150,39 @@ esac fi PATH_TO_QMAIL_QSTAT=$ac_cv_path_PATH_TO_QMAIL_QSTAT if test -n "$PATH_TO_QMAIL_QSTAT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_QMAIL_QSTAT" >&5 -$as_echo "$PATH_TO_QMAIL_QSTAT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_QMAIL_QSTAT" >&5 +printf "%s\n" "$PATH_TO_QMAIL_QSTAT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-qmail_qstat_command was given. -if test "${with_qmail_qstat_command+set}" = set; then : +if test ${with_qmail_qstat_command+y} +then : withval=$with_qmail_qstat_command; PATH_TO_QMAIL_QSTAT=$withval fi if test -n "$PATH_TO_QMAIL_QSTAT" then -cat >>confdefs.h <<_ACEOF -#define PATH_TO_QMAIL_QSTAT "$PATH_TO_QMAIL_QSTAT" -_ACEOF +printf "%s\n" "#define PATH_TO_QMAIL_QSTAT \"$PATH_TO_QMAIL_QSTAT\"" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find qmail-qstat or eqivalent" >&5 -$as_echo "$as_me: WARNING: Could not find qmail-qstat or eqivalent" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Could not find qmail-qstat or eqivalent" >&5 +printf "%s\n" "$as_me: WARNING: Could not find qmail-qstat or eqivalent" >&2;} fi # Extract the first word of "swap", so it can be a program name with args. set dummy swap; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_SWAP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_SWAP+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_SWAP in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_SWAP="$PATH_TO_SWAP" # Let the user override the test with a path. @@ -19201,11 +20192,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_SWAP="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_SWAP="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -19217,18 +20212,18 @@ esac fi PATH_TO_SWAP=$ac_cv_path_PATH_TO_SWAP if test -n "$PATH_TO_SWAP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_SWAP" >&5 -$as_echo "$PATH_TO_SWAP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_SWAP" >&5 +printf "%s\n" "$PATH_TO_SWAP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if (test -n "$PATH_TO_SWAP") then -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PATH_TO_SWAP format" >&5 -$as_echo_n "checking for $PATH_TO_SWAP format... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $PATH_TO_SWAP format" >&5 +printf %s "checking for $PATH_TO_SWAP format... " >&6; } if $PATH_TO_SWAP -l 2>&1 >/dev/null then ac_cv_have_swap=yes @@ -19239,15 +20234,15 @@ then then ac_cv_swap_format=" %*d %*s %*d,%*d %*d %*d %f %f" ac_cv_swap_conv=2048 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: using IRIX format swap" >&5 -$as_echo "using IRIX format swap" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using IRIX format swap" >&5 +printf "%s\n" "using IRIX format swap" >&6; } elif $PATH_TO_SWAP -l 2>/dev/null | grep -E -i "^path +dev +swaplo +blocks +free" >/dev/null then ac_cv_swap_format="%*s %*[0-9,-] %*d %f %f" ac_cv_swap_conv=2048 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: using Unixware format swap" >&5 -$as_echo "using Unixware format swap" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using Unixware format swap" >&5 +printf "%s\n" "using Unixware format swap" >&6; } else ac_cv_have_swap="" ac_cv_swap_command="" @@ -19257,11 +20252,12 @@ fi # Extract the first word of "swapinfo", so it can be a program name with args. set dummy swapinfo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_SWAPINFO+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_SWAPINFO+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_SWAPINFO in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_SWAPINFO="$PATH_TO_SWAPINFO" # Let the user override the test with a path. @@ -19271,11 +20267,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_SWAPINFO="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_SWAPINFO="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -19287,18 +20287,18 @@ esac fi PATH_TO_SWAPINFO=$ac_cv_path_PATH_TO_SWAPINFO if test -n "$PATH_TO_SWAPINFO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_SWAPINFO" >&5 -$as_echo "$PATH_TO_SWAPINFO" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_SWAPINFO" >&5 +printf "%s\n" "$PATH_TO_SWAPINFO" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if (test -n "$PATH_TO_SWAPINFO") then -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PATH_TO_SWAPINFO format" >&5 -$as_echo_n "checking for $PATH_TO_SWAPINFO format... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $PATH_TO_SWAPINFO format" >&5 +printf %s "checking for $PATH_TO_SWAPINFO format... " >&6; } if $PATH_TO_SWAPINFO -k 2>&1 | grep -E -i "^Device" >/dev/null then ac_cv_have_swap=yes @@ -19308,8 +20308,8 @@ then then ac_cv_swap_format="%*s %f %*d %f" ac_cv_swap_conv=1024 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: using FreeBSD format swapinfo" >&5 -$as_echo "using FreeBSD format swapinfo" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using FreeBSD format swapinfo" >&5 +printf "%s\n" "using FreeBSD format swapinfo" >&6; } fi elif $PATH_TO_SWAPINFO -dfM 2>/dev/null | grep -E -i "^TYPE +AVAIL +USED +FREE" >/dev/null @@ -19318,18 +20318,19 @@ then ac_cv_swap_command="$PATH_TO_SWAPINFO -dfM" ac_cv_swap_format="%*s %f %*d %f" ac_cv_swap_conv=1024 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: using HP-UX format swapinfo" >&5 -$as_echo "using HP-UX format swapinfo" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using HP-UX format swapinfo" >&5 +printf "%s\n" "using HP-UX format swapinfo" >&6; } fi fi # Extract the first word of "lsps", so it can be a program name with args. set dummy lsps; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_LSPS+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_LSPS+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_LSPS in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_LSPS="$PATH_TO_LSPS" # Let the user override the test with a path. @@ -19339,11 +20340,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_LSPS="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_LSPS="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -19355,77 +20360,150 @@ esac fi PATH_TO_LSPS=$ac_cv_path_PATH_TO_LSPS if test -n "$PATH_TO_LSPS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_LSPS" >&5 -$as_echo "$PATH_TO_LSPS" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_LSPS" >&5 +printf "%s\n" "$PATH_TO_LSPS" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if (test -n "$PATH_TO_LSPS") then -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PATH_TO_LSPS format" >&5 -$as_echo_n "checking for $PATH_TO_LSPS format... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $PATH_TO_LSPS format" >&5 +printf %s "checking for $PATH_TO_LSPS format... " >&6; } if $PATH_TO_LSPS -a 2>/dev/null | grep -E -i "^Page Space" > /dev/null then ac_cv_have_swap=yes ac_cv_swap_command="$PATH_TO_LSPS -a" ac_cv_swap_format="%*s %*s %*s %f%*s %f %*s" ac_cv_swap_conv=1 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: using AIX lsps" >&5 -$as_echo "using AIX lsps" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using AIX lsps" >&5 +printf "%s\n" "using AIX lsps" >&6; } fi fi -for ac_header in sys/stat.h sys/param.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_stat_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_param_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h fi -done - -for ac_header in sys/swap.h -do : - ac_fn_c_check_header_compile "$LINENO" "sys/swap.h" "ac_cv_header_sys_swap_h" " +ac_fn_c_check_header_compile "$LINENO" "sys/swap.h" "ac_cv_header_sys_swap_h" " #ifdef HAVE_SYS_PARAM_H #include #endif " -if test "x$ac_cv_header_sys_swap_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SYS_SWAP_H 1 -_ACEOF +if test "x$ac_cv_header_sys_swap_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_SWAP_H 1" >>confdefs.h fi -done +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 +printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } +if test ${ac_cv_c_undeclared_builtin_options+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_save_CFLAGS=$CFLAGS + ac_cv_c_undeclared_builtin_options='cannot detect' + for ac_arg in '' -fno-builtin; do + CFLAGS="$ac_save_CFLAGS $ac_arg" + # This test program should *not* compile successfully. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -ac_fn_c_check_decl "$LINENO" "swapctl" "ac_cv_have_decl_swapctl" " +int +main (void) +{ +(void) strchr; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else $as_nop + # This test program should compile successfully. + # No library function is consistently available on + # freestanding implementations, so test against a dummy + # declaration. Include always-available headers on the + # off chance that they somehow elicit warnings. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +extern void ac_decl (int, char *); + +int +main (void) +{ +(void) ac_decl (0, (char *) 0); + (void) ac_decl; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + if test x"$ac_arg" = x +then : + ac_cv_c_undeclared_builtin_options='none needed' +else $as_nop + ac_cv_c_undeclared_builtin_options=$ac_arg +fi + break +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + done + CFLAGS=$ac_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 +printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } + case $ac_cv_c_undeclared_builtin_options in #( + 'cannot detect') : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot make $CC report undeclared builtins +See \`config.log' for more details" "$LINENO" 5; } ;; #( + 'none needed') : + ac_c_undeclared_builtin_options='' ;; #( + *) : + ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; +esac + +ac_fn_check_decl "$LINENO" "swapctl" "ac_cv_have_decl_swapctl" " #include #include #include #include #include -" -if test "x$ac_cv_have_decl_swapctl" = xyes; then : +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_swapctl" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_SWAPCTL $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_SWAPCTL $ac_have_decl" >>confdefs.h ac_fn_c_check_type "$LINENO" "swaptbl_t" "ac_cv_type_swaptbl_t" " #include @@ -19434,11 +20512,10 @@ ac_fn_c_check_type "$LINENO" "swaptbl_t" "ac_cv_type_swaptbl_t" " #include " -if test "x$ac_cv_type_swaptbl_t" = xyes; then : +if test "x$ac_cv_type_swaptbl_t" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_SWAPTBL_T 1 -_ACEOF +printf "%s\n" "#define HAVE_SWAPTBL_T 1" >>confdefs.h fi @@ -19449,11 +20526,10 @@ ac_fn_c_check_type "$LINENO" "swapent_t" "ac_cv_type_swapent_t" " #include " -if test "x$ac_cv_type_swapent_t" = xyes; then : +if test "x$ac_cv_type_swapent_t" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_SWAPENT_T 1 -_ACEOF +printf "%s\n" "#define HAVE_SWAPENT_T 1" >>confdefs.h fi @@ -19466,11 +20542,10 @@ ac_fn_c_check_member "$LINENO" "struct swapent" "se_nblks" "ac_cv_member_struct_ #include " -if test "x$ac_cv_member_struct_swapent_se_nblks" = xyes; then : +if test "x$ac_cv_member_struct_swapent_se_nblks" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_SWAPENT_SE_NBLKS 1 -_ACEOF +printf "%s\n" "#define HAVE_STRUCT_SWAPENT_SE_NBLKS 1" >>confdefs.h fi @@ -19479,72 +20554,68 @@ fi if test "$ac_cv_have_decl_swapctl" = "yes"; then EXTRAS="$EXTRAS check_swap\$(EXEEXT)" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 2-arg (SVR4) swapctl" >&5 -$as_echo_n "checking for 2-arg (SVR4) swapctl... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 2-arg (SVR4) swapctl" >&5 +printf %s "checking for 2-arg (SVR4) swapctl... " >&6; } if test "$ac_cv_type_swaptbl_t" = "yes" -a \ "$ac_cv_type_swapent_t" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } ac_cv_check_swap_swapctl_svr4="1"; -$as_echo "#define CHECK_SWAP_SWAPCTL_SVR4 1" >>confdefs.h +printf "%s\n" "#define CHECK_SWAP_SWAPCTL_SVR4 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 3-arg (*BSD) swapctl" >&5 -$as_echo_n "checking for 3-arg (*BSD) swapctl... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 3-arg (*BSD) swapctl" >&5 +printf %s "checking for 3-arg (*BSD) swapctl... " >&6; } if test "$ac_cv_member_struct_swapent_se_nblks" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } -$as_echo "#define CHECK_SWAP_SWAPCTL_BSD 1" >>confdefs.h +printf "%s\n" "#define CHECK_SWAP_SWAPCTL_BSD 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for whether swapctl uses blocks or pages" >&5 -$as_echo_n "checking for whether swapctl uses blocks or pages... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for whether swapctl uses blocks or pages" >&5 +printf %s "checking for whether swapctl uses blocks or pages... " >&6; } if test "$ac_cv_check_swap_swapctl_svr4" = "1"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: page" >&5 -$as_echo "page" >&6; } - ac_fn_c_check_decl "$LINENO" "sysconf" "ac_cv_have_decl_sysconf" "$ac_includes_default" -if test "x$ac_cv_have_decl_sysconf" = xyes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: page" >&5 +printf "%s\n" "page" >&6; } + ac_fn_check_decl "$LINENO" "sysconf" "ac_cv_have_decl_sysconf" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_sysconf" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi +printf "%s\n" "#define HAVE_DECL_SYSCONF $ac_have_decl" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_SYSCONF $ac_have_decl -_ACEOF - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for system page size" >&5 -$as_echo_n "checking for system page size... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for system page size" >&5 +printf %s "checking for system page size... " >&6; } if test "$ac_cv_have_decl_sysconf" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: determined by sysconf(3)" >&5 -$as_echo "determined by sysconf(3)" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: determined by sysconf(3)" >&5 +printf "%s\n" "determined by sysconf(3)" >&6; } ac_cv_swap_conv="(1048576/sysconf(_SC_PAGESIZE))" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: don't know. guessing 4096k" >&5 -$as_echo "$as_me: WARNING: don't know. guessing 4096k" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: don't know. guessing 4096k" >&5 +printf "%s\n" "$as_me: WARNING: don't know. guessing 4096k" >&2;} ac_cv_swap_conv=256 fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: blocks (assuming 512b)" >&5 -$as_echo "blocks (assuming 512b)" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: blocks (assuming 512b)" >&5 +printf "%s\n" "blocks (assuming 512b)" >&6; } ac_cv_swap_conv=2048 fi -cat >>confdefs.h <<_ACEOF -#define SWAP_CONVERSION $ac_cv_swap_conv -_ACEOF +printf "%s\n" "#define SWAP_CONVERSION $ac_cv_swap_conv" >>confdefs.h fi @@ -19552,68 +20623,62 @@ fi if test "x$ac_cv_have_swap" != "x" then -$as_echo "#define HAVE_SWAP 1" >>confdefs.h +printf "%s\n" "#define HAVE_SWAP 1" >>confdefs.h EXTRAS="$EXTRAS check_swap\$(EXEEXT)" fi if test "x$ac_cv_swap_command" != "x" then -cat >>confdefs.h <<_ACEOF -#define SWAP_COMMAND "$ac_cv_swap_command" -_ACEOF +printf "%s\n" "#define SWAP_COMMAND \"$ac_cv_swap_command\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define SWAP_FORMAT "$ac_cv_swap_format" -_ACEOF +printf "%s\n" "#define SWAP_FORMAT \"$ac_cv_swap_format\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define SWAP_CONVERSION $ac_cv_swap_conv -_ACEOF +printf "%s\n" "#define SWAP_CONVERSION $ac_cv_swap_conv" >>confdefs.h fi # Check whether --with-proc-meminfo was given. -if test "${with_proc_meminfo+set}" = set; then : +if test ${with_proc_meminfo+y} +then : withval=$with_proc_meminfo; ac_cv_proc_meminfo=$withval fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/meminfo" >&5 -$as_echo_n "checking for /proc/meminfo... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /proc/meminfo" >&5 +printf %s "checking for /proc/meminfo... " >&6; } if test -n "$ac_cv_proc_meminfo"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: (command line) $ac_cv_proc_meminfo" >&5 -$as_echo "(command line) $ac_cv_proc_meminfo" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (command line) $ac_cv_proc_meminfo" >&5 +printf "%s\n" "(command line) $ac_cv_proc_meminfo" >&6; } elif cat /proc/meminfo > /dev/null 2>&1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found /proc/meminfo" >&5 -$as_echo "found /proc/meminfo" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found /proc/meminfo" >&5 +printf "%s\n" "found /proc/meminfo" >&6; } ac_cv_proc_meminfo="/proc/meminfo" else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test -n "$ac_cv_proc_meminfo"; then -$as_echo "#define HAVE_PROC_MEMINFO 1" >>confdefs.h +printf "%s\n" "#define HAVE_PROC_MEMINFO 1" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PROC_MEMINFO "$ac_cv_proc_meminfo" -_ACEOF +printf "%s\n" "#define PROC_MEMINFO \"$ac_cv_proc_meminfo\"" >>confdefs.h EXTRAS="$EXTRAS check_swap\$(EXEEXT)" fi # Extract the first word of "dig", so it can be a program name with args. set dummy dig; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_DIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_DIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_DIG in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_DIG="$PATH_TO_DIG" # Let the user override the test with a path. @@ -19623,11 +20688,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_DIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_DIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -19639,36 +20708,36 @@ esac fi PATH_TO_DIG=$ac_cv_path_PATH_TO_DIG if test -n "$PATH_TO_DIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_DIG" >&5 -$as_echo "$PATH_TO_DIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_DIG" >&5 +printf "%s\n" "$PATH_TO_DIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-dig_command was given. -if test "${with_dig_command+set}" = set; then : +if test ${with_dig_command+y} +then : withval=$with_dig_command; PATH_TO_DIG=$withval fi if test -n "$PATH_TO_DIG"; then EXTRAS="$EXTRAS check_dig\$(EXEEXT)" -cat >>confdefs.h <<_ACEOF -#define PATH_TO_DIG "$PATH_TO_DIG" -_ACEOF +printf "%s\n" "#define PATH_TO_DIG \"$PATH_TO_DIG\"" >>confdefs.h fi # Extract the first word of "apt-get", so it can be a program name with args. set dummy apt-get; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PATH_TO_APTGET+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PATH_TO_APTGET+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PATH_TO_APTGET in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_APTGET="$PATH_TO_APTGET" # Let the user override the test with a path. @@ -19678,11 +20747,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PATH_TO_APTGET="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_TO_APTGET="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -19694,26 +20767,25 @@ esac fi PATH_TO_APTGET=$ac_cv_path_PATH_TO_APTGET if test -n "$PATH_TO_APTGET"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_APTGET" >&5 -$as_echo "$PATH_TO_APTGET" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_APTGET" >&5 +printf "%s\n" "$PATH_TO_APTGET" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Check whether --with-apt-get_command was given. -if test "${with_apt_get_command+set}" = set; then : +if test ${with_apt_get_command+y} +then : withval=$with_apt_get_command; with_apt_get_command=$withval -else +else $as_nop with_apt_get_command=$PATH_TO_APTGET fi -cat >>confdefs.h <<_ACEOF -#define PATH_TO_APTGET "$PATH_TO_APTGET" -_ACEOF +printf "%s\n" "#define PATH_TO_APTGET \"$PATH_TO_APTGET\"" >>confdefs.h if test -n "$PATH_TO_APTGET" ; then EXTRAS="$EXTRAS check_apt\$(EXEEXT)" @@ -19725,38 +20797,33 @@ if test -f $srcdir/plugins/check_nt.c ; then fi -for ac_header in sys/sockio.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_sockio_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SYS_SOCKIO_H 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_sockio_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h fi -done - case $host in *bsd*) -$as_echo "#define __bsd__ 1" >>confdefs.h +printf "%s\n" "#define __bsd__ 1" >>confdefs.h ;; *linux*) -$as_echo "#define __linux__ 1" >>confdefs.h +printf "%s\n" "#define __linux__ 1" >>confdefs.h ;; *sun* | *solaris*) -$as_echo "#define __sun__ 1" >>confdefs.h +printf "%s\n" "#define __sun__ 1" >>confdefs.h ;; *hpux*) -$as_echo "#define __hpux__ 1" >>confdefs.h +printf "%s\n" "#define __hpux__ 1" >>confdefs.h ;; esac @@ -19767,17 +20834,18 @@ esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 -$as_echo_n "checking whether NLS is requested... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +printf %s "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then : +if test ${enable_nls+y} +then : enableval=$enable_nls; USE_NLS=$enableval -else +else $as_nop USE_NLS=yes fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -$as_echo "$USE_NLS" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +printf "%s\n" "$USE_NLS" >&6; } @@ -19816,11 +20884,12 @@ rm -f conf$$.file # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_MSGFMT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_MSGFMT+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$MSGFMT" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. @@ -19848,20 +20917,21 @@ esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 -$as_echo "$MSGFMT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +printf "%s\n" "$MSGFMT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_GMSGFMT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_GMSGFMT+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. @@ -19871,11 +20941,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -19888,11 +20962,11 @@ esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 -$as_echo "$GMSGFMT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +printf "%s\n" "$GMSGFMT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -19938,11 +21012,12 @@ rm -f conf$$.file # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_XGETTEXT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_XGETTEXT+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$XGETTEXT" in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. @@ -19970,11 +21045,11 @@ esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 -$as_echo "$XGETTEXT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +printf "%s\n" "$XGETTEXT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi rm -f messages.po @@ -20015,11 +21090,12 @@ rm -f conf$$.file # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_MSGMERGE+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_MSGMERGE+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$MSGMERGE" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. @@ -20046,11 +21122,11 @@ esac fi MSGMERGE="$ac_cv_path_MSGMERGE" if test "$MSGMERGE" != ":"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 -$as_echo "$MSGMERGE" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +printf "%s\n" "$MSGMERGE" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -20082,9 +21158,10 @@ fi # Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : +if test ${with_gnu_ld+y} +then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else +else $as_nop with_gnu_ld=no fi @@ -20104,8 +21181,8 @@ fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +printf %s "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -20134,15 +21211,16 @@ $as_echo_n "checking for ld used by $CC... " >&6; } ;; esac elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +printf %s "checking for GNU ld... " >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +printf %s "checking for non-GNU ld... " >&6; } fi -if ${acl_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test ${acl_cv_path_LD+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -z "$LD"; then acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do @@ -20171,18 +21249,19 @@ fi LD="$acl_cv_path_LD" if test -n "$LD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -$as_echo "$LD" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +printf "%s\n" "$LD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${acl_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +printf %s "checking if the linker ($LD) is GNU ld... " >&6; } +if test ${acl_cv_prog_gnu_ld+y} +then : + printf %s "(cached) " >&6 +else $as_nop # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &1 &5 -$as_echo "$acl_cv_prog_gnu_ld" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 +printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; } with_gnu_ld=$acl_cv_prog_gnu_ld - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 -$as_echo_n "checking for shared library run path origin... " >&6; } -if ${acl_cv_rpath+:} false; then : - $as_echo_n "(cached) " >&6 -else + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +printf %s "checking for shared library run path origin... " >&6; } +if test ${acl_cv_rpath+y} +then : + printf %s "(cached) " >&6 +else $as_nop CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh @@ -20213,8 +21294,8 @@ else acl_cv_rpath=done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 -$as_echo "$acl_cv_rpath" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +printf "%s\n" "$acl_cv_rpath" >&6; } wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" @@ -20225,9 +21306,10 @@ $as_echo "$acl_cv_rpath" >&6; } acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" # Check whether --enable-rpath was given. -if test "${enable_rpath+set}" = set; then : +if test ${enable_rpath+y} +then : enableval=$enable_rpath; : -else +else $as_nop enable_rpath=yes fi @@ -20238,11 +21320,12 @@ fi acl_libdirstem2= case "$host_os" in solaris*) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 -$as_echo_n "checking for 64-bit host... " >&6; } -if ${gl_cv_solaris_64bit+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 +printf %s "checking for 64-bit host... " >&6; } +if test ${gl_cv_solaris_64bit+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -20252,17 +21335,18 @@ sixtyfour bits _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "sixtyfour bits" >/dev/null 2>&1; then : + $EGREP "sixtyfour bits" >/dev/null 2>&1 +then : gl_cv_solaris_64bit=yes -else +else $as_nop gl_cv_solaris_64bit=no fi -rm -f conftest* +rm -rf conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 -$as_echo "$gl_cv_solaris_64bit" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 +printf "%s\n" "$gl_cv_solaris_64bit" >&6; } if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 case "$host_cpu" in @@ -20321,7 +21405,8 @@ $as_echo "$gl_cv_solaris_64bit" >&6; } # Check whether --with-libiconv-prefix was given. -if test "${with_libiconv_prefix+set}" = set; then : +if test ${with_libiconv_prefix+y} +then : withval=$with_libiconv_prefix; if test "X$withval" = "Xno"; then use_additional=no @@ -20785,72 +21870,76 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 -$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } -if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +printf %s "checking for CFPreferencesCopyAppValue... " >&6; } +if test ${gt_cv_func_CFPreferencesCopyAppValue+y} +then : + printf %s "(cached) " >&6 +else $as_nop gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { CFPreferencesCopyAppValue(NULL, NULL) ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gt_cv_func_CFPreferencesCopyAppValue=yes -else +else $as_nop gt_cv_func_CFPreferencesCopyAppValue=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 -$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then -$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h +printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 -$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } -if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 +printf %s "checking for CFLocaleCopyCurrent... " >&6; } +if test ${gt_cv_func_CFLocaleCopyCurrent+y} +then : + printf %s "(cached) " >&6 +else $as_nop gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { CFLocaleCopyCurrent(); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gt_cv_func_CFLocaleCopyCurrent=yes -else +else $as_nop gt_cv_func_CFLocaleCopyCurrent=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 -$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 +printf "%s\n" "$gt_cv_func_CFLocaleCopyCurrent" >&6; } if test $gt_cv_func_CFLocaleCopyCurrent = yes; then -$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h +printf "%s\n" "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h fi INTL_MACOSX_LIBS= @@ -20895,11 +21984,12 @@ typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; gt_expression_test_code= fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 -$as_echo_n "checking for GNU gettext in libc... " >&6; } -if eval \${$gt_func_gnugettext_libc+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +printf %s "checking for GNU gettext in libc... " >&6; } +if eval test \${$gt_func_gnugettext_libc+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -20909,7 +21999,7 @@ extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; int -main () +main (void) { bindtextdomain ("", ""); @@ -20919,17 +22009,18 @@ return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_b return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$gt_func_gnugettext_libc=yes" -else +else $as_nop eval "$gt_func_gnugettext_libc=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$gt_func_gnugettext_libc - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then @@ -20962,11 +22053,12 @@ $as_echo "$ac_res" >&6; } done - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 -$as_echo_n "checking for iconv... " >&6; } -if ${am_cv_func_iconv+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +printf %s "checking for iconv... " >&6; } +if test ${am_cv_func_iconv+y} +then : + printf %s "(cached) " >&6 +else $as_nop am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no @@ -20977,7 +22069,7 @@ else #include int -main () +main (void) { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); @@ -20986,10 +22078,11 @@ iconv_t cd = iconv_open("",""); return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : am_cv_func_iconv=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" @@ -21001,7 +22094,7 @@ rm -f core conftest.err conftest.$ac_objext \ #include int -main () +main (void) { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); @@ -21010,37 +22103,40 @@ iconv_t cd = iconv_open("",""); return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : am_cv_lib_iconv=yes am_cv_func_iconv=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 -$as_echo "$am_cv_func_iconv" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +printf "%s\n" "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 -$as_echo_n "checking for working iconv... " >&6; } -if ${am_cv_func_iconv_works+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +printf %s "checking for working iconv... " >&6; } +if test ${am_cv_func_iconv_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -21143,9 +22239,10 @@ int main () return result; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : am_cv_func_iconv_works=yes -else +else $as_nop am_cv_func_iconv_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -21155,8 +22252,8 @@ fi LIBS="$am_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 -$as_echo "$am_cv_func_iconv_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +printf "%s\n" "$am_cv_func_iconv_works" >&6; } case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; @@ -21166,14 +22263,14 @@ $as_echo "$am_cv_func_iconv_works" >&6; } fi if test "$am_func_iconv" = yes; then -$as_echo "#define HAVE_ICONV 1" >>confdefs.h +printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 -$as_echo_n "checking how to link with libiconv... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 -$as_echo "$LIBICONV" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +printf %s "checking how to link with libiconv... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +printf "%s\n" "$LIBICONV" >&6; } else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= @@ -21205,7 +22302,8 @@ $as_echo "$LIBICONV" >&6; } # Check whether --with-libintl-prefix was given. -if test "${with_libintl_prefix+set}" = set; then : +if test ${with_libintl_prefix+y} +then : withval=$with_libintl_prefix; if test "X$withval" = "Xno"; then use_additional=no @@ -21644,11 +22742,12 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 -$as_echo_n "checking for GNU gettext in libintl... " >&6; } -if eval \${$gt_func_gnugettext_libintl+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +printf %s "checking for GNU gettext in libintl... " >&6; } +if eval test \${$gt_func_gnugettext_libintl+y} +then : + printf %s "(cached) " >&6 +else $as_nop gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" @@ -21666,7 +22765,7 @@ extern const char *_nl_expand_alias (const char *); int -main () +main (void) { bindtextdomain ("", ""); @@ -21676,12 +22775,13 @@ return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$gt_func_gnugettext_libintl=yes" -else +else $as_nop eval "$gt_func_gnugettext_libintl=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" @@ -21698,7 +22798,7 @@ extern const char *_nl_expand_alias (const char *); int -main () +main (void) { bindtextdomain ("", ""); @@ -21708,21 +22808,22 @@ return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS" fi eval ac_res=\$$gt_func_gnugettext_libintl - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } fi if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ @@ -21749,20 +22850,20 @@ $as_echo "$ac_res" >&6; } if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then -$as_echo "#define ENABLE_NLS 1" >>confdefs.h +printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h else USE_NLS=no fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 -$as_echo_n "checking whether to use NLS... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -$as_echo "$USE_NLS" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +printf %s "checking whether to use NLS... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +printf "%s\n" "$USE_NLS" >&6; } if test "$USE_NLS" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 -$as_echo_n "checking where the gettext function comes from... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +printf %s "checking where the gettext function comes from... " >&6; } if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" @@ -21772,18 +22873,18 @@ $as_echo_n "checking where the gettext function comes from... " >&6; } else gt_source="included intl directory" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 -$as_echo "$gt_source" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +printf "%s\n" "$gt_source" >&6; } fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 -$as_echo_n "checking how to link with libintl... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 -$as_echo "$LIBINTL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +printf %s "checking how to link with libintl... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +printf "%s\n" "$LIBINTL" >&6; } for element in $INCINTL; do haveit= @@ -21810,10 +22911,10 @@ $as_echo "$LIBINTL" >&6; } fi -$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h +printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h -$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h +printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h fi @@ -21832,40 +22933,42 @@ $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h # Check whether --enable-redhat-pthread-workaround was given. -if test "${enable_redhat_pthread_workaround+set}" = set; then : +if test ${enable_redhat_pthread_workaround+y} +then : enableval=$enable_redhat_pthread_workaround; ac_cv_enable_redhat_pthread_workaround=$enableval -else +else $as_nop ac_cv_enable_redhat_pthread_workaround=test fi if test "$ac_cv_enable_redhat_pthread_workaround" = "test" ; then if echo $ac_cv_uname_r | grep -E "\.EL(smp)?$" >/dev/null 2>&1 ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: See https://www.monitoring-plugins.org/doc/faq/configure-hangs.html if this next part takes a long time" >&5 -$as_echo "$as_me: See https://www.monitoring-plugins.org/doc/faq/configure-hangs.html if this next part takes a long time" >&6;} - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redhat spopen problem" >&5 -$as_echo_n "checking for redhat spopen problem... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: See https://www.monitoring-plugins.org/doc/faq/configure-hangs.html if this next part takes a long time" >&5 +printf "%s\n" "$as_me: See https://www.monitoring-plugins.org/doc/faq/configure-hangs.html if this next part takes a long time" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for redhat spopen problem" >&5 +printf %s "checking for redhat spopen problem... " >&6; } ( cd config_test && make && make test ) > /dev/null 2>&1 if test $? -eq 0 ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5 -$as_echo "okay" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: okay" >&5 +printf "%s\n" "okay" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5 -$as_echo "error" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: error" >&5 +printf "%s\n" "error" >&6; } -$as_echo "#define REDHAT_SPOPEN_ERROR 1" >>confdefs.h +printf "%s\n" "#define REDHAT_SPOPEN_ERROR 1" >>confdefs.h fi fi elif test "$ac_cv_enable_redhat_pthread_workaround" = "yes" ; then -$as_echo "#define REDHAT_SPOPEN_ERROR 1" >>confdefs.h +printf "%s\n" "#define REDHAT_SPOPEN_ERROR 1" >>confdefs.h fi # Check whether --enable-perl-modules was given. -if test "${enable_perl_modules+set}" = set; then : +if test ${enable_perl_modules+y} +then : enableval=$enable_perl_modules; enable_perl_modules=$enableval -else +else $as_nop enable_perl_modules=no fi @@ -21882,11 +22985,12 @@ case "$host" in HAVE_LIBPTHREAD=1 ;; *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 -$as_echo_n "checking for main in -lpthread... " >&6; } -if ${ac_cv_lib_pthread_main+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 +printf %s "checking for main in -lpthread... " >&6; } +if test ${ac_cv_lib_pthread_main+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -21894,28 +22998,28 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext int -main () +main (void) { return main (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_pthread_main=yes -else +else $as_nop ac_cv_lib_pthread_main=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5 -$as_echo "$ac_cv_lib_pthread_main" >&6; } -if test "x$ac_cv_lib_pthread_main" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBPTHREAD 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5 +printf "%s\n" "$ac_cv_lib_pthread_main" >&6; } +if test "x$ac_cv_lib_pthread_main" = xyes +then : + printf "%s\n" "#define HAVE_LIBPTHREAD 1" >>confdefs.h LIBS="-lpthread $LIBS" @@ -21934,16 +23038,17 @@ esac # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 -$as_echo_n "checking for working alloca.h... " >&6; } -if ${ac_cv_working_alloca_h+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 +printf %s "checking for working alloca.h... " >&6; } +if test ${ac_cv_working_alloca_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char *p = (char *) alloca (2 * sizeof (int)); if (p) return 0; @@ -21951,52 +23056,52 @@ char *p = (char *) alloca (2 * sizeof (int)); return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_working_alloca_h=yes -else +else $as_nop ac_cv_working_alloca_h=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 -$as_echo "$ac_cv_working_alloca_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 +printf "%s\n" "$ac_cv_working_alloca_h" >&6; } if test $ac_cv_working_alloca_h = yes; then -$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h +printf "%s\n" "#define HAVE_ALLOCA_H 1" >>confdefs.h fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 -$as_echo_n "checking for alloca... " >&6; } -if ${ac_cv_func_alloca_works+:} false; then : - $as_echo_n "(cached) " >&6 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 +printf %s "checking for alloca... " >&6; } +if test ${ac_cv_func_alloca_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test $ac_cv_working_alloca_h = yes; then + ac_cv_func_alloca_works=yes else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#ifdef __GNUC__ -# define alloca __builtin_alloca -#else -# ifdef _MSC_VER +#include +#include +#ifndef alloca +# ifdef __GNUC__ +# define alloca __builtin_alloca +# elif defined _MSC_VER # include # define alloca _alloca # else -# ifdef HAVE_ALLOCA_H -# include -# else -# ifdef _AIX - #pragma alloca -# else -# ifndef alloca /* predefined by HP cc +Olibcalls */ -void *alloca (size_t); -# endif -# endif +# ifdef __cplusplus +extern "C" # endif +void *alloca (size_t); # endif #endif int -main () +main (void) { char *p = (char *) alloca (1); if (p) return 0; @@ -22004,20 +23109,22 @@ char *p = (char *) alloca (1); return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_func_alloca_works=yes -else +else $as_nop ac_cv_func_alloca_works=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 -$as_echo "$ac_cv_func_alloca_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 +printf "%s\n" "$ac_cv_func_alloca_works" >&6; } +fi if test $ac_cv_func_alloca_works = yes; then -$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h +printf "%s\n" "#define HAVE_ALLOCA 1" >>confdefs.h else # The SVR3 libPW and SVR4 libucb both contain incompatible functions @@ -22031,58 +23138,19 @@ else ALLOCA=\${LIBOBJDIR}alloca.$ac_objext -$as_echo "#define C_ALLOCA 1" >>confdefs.h +printf "%s\n" "#define C_ALLOCA 1" >>confdefs.h -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 -$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } -if ${ac_cv_os_cray+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#if defined CRAY && ! defined CRAY2 -webecray -#else -wenotbecray -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "webecray" >/dev/null 2>&1; then : - ac_cv_os_cray=yes -else - ac_cv_os_cray=no -fi -rm -f conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 -$as_echo "$ac_cv_os_cray" >&6; } -if test $ac_cv_os_cray = yes; then - for ac_func in _getb67 GETB67 getb67; do - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - -cat >>confdefs.h <<_ACEOF -#define CRAY_STACKSEG_END $ac_func -_ACEOF - - break -fi - - done -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 -$as_echo_n "checking stack direction for C alloca... " >&6; } -if ${ac_cv_c_stack_direction+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 +printf %s "checking stack direction for C alloca... " >&6; } +if test ${ac_cv_c_stack_direction+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : ac_cv_c_stack_direction=0 -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default @@ -22103,9 +23171,10 @@ main (int argc, char **argv) return find_stack_direction (0, argc + !argv + 20) < 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : ac_cv_c_stack_direction=1 -else +else $as_nop ac_cv_c_stack_direction=-1 fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -22113,11 +23182,9 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 -$as_echo "$ac_cv_c_stack_direction" >&6; } -cat >>confdefs.h <<_ACEOF -#define STACK_DIRECTION $ac_cv_c_stack_direction -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 +printf "%s\n" "$ac_cv_c_stack_direction" >&6; } +printf "%s\n" "#define STACK_DIRECTION $ac_cv_c_stack_direction" >>confdefs.h fi @@ -22134,30 +23201,15 @@ fi - for ac_header in $gl_header_list -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 -$as_echo_n "checking whether the preprocessor supports include_next... " >&6; } -if ${gl_cv_have_include_next+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 +printf %s "checking whether the preprocessor supports include_next... " >&6; } +if test ${gl_cv_have_include_next+y} +then : + printf %s "(cached) " >&6 +else $as_nop rm -rf conftestd1a conftestd1b conftestd2 mkdir conftestd1a conftestd1b conftestd2 cat < conftestd1a/conftest.h @@ -22191,29 +23243,31 @@ EOF /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_have_include_next=yes -else +else $as_nop CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_have_include_next=buggy -else +else $as_nop gl_cv_have_include_next=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CPPFLAGS="$gl_save_CPPFLAGS" rm -rf conftestd1a conftestd1b conftestd2 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 -$as_echo "$gl_cv_have_include_next" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 +printf "%s\n" "$gl_cv_have_include_next" >&6; } PRAGMA_SYSTEM_HEADER= if test $gl_cv_have_include_next = yes; then INCLUDE_NEXT=include_next @@ -22233,11 +23287,12 @@ $as_echo "$gl_cv_have_include_next" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5 -$as_echo_n "checking whether system header files limit the line length... " >&6; } -if ${gl_cv_pragma_columns+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5 +printf %s "checking whether system header files limit the line length... " >&6; } +if test ${gl_cv_pragma_columns+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -22247,17 +23302,18 @@ choke me _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "choke me" >/dev/null 2>&1; then : + $EGREP "choke me" >/dev/null 2>&1 +then : gl_cv_pragma_columns=yes -else +else $as_nop gl_cv_pragma_columns=no fi -rm -f conftest* +rm -rf conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5 -$as_echo "$gl_cv_pragma_columns" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5 +printf "%s\n" "$gl_cv_pragma_columns" >&6; } if test $gl_cv_pragma_columns = yes; then PRAGMA_COLUMNS="#pragma COLUMNS 10000" else @@ -22285,49 +23341,53 @@ $as_echo "$gl_cv_pragma_columns" >&6; } fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 -$as_echo_n "checking for C/C++ restrict keyword... " >&6; } -if ${ac_cv_c_restrict+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 +printf %s "checking for C/C++ restrict keyword... " >&6; } +if test ${ac_cv_c_restrict+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_c_restrict=no - # The order here caters to the fact that C++ does not require restrict. - for ac_kw in __restrict __restrict__ _Restrict restrict; do + # Put '__restrict__' first, to avoid problems with glibc and non-GCC; see: + # https://lists.gnu.org/archive/html/bug-autoconf/2016-02/msg00006.html + # Put 'restrict' last, because C++ lacks it. + for ac_kw in __restrict__ __restrict _Restrict restrict; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -typedef int * int_ptr; - int foo (int_ptr $ac_kw ip) { - return ip[0]; - } +typedef int *int_ptr; + int foo (int_ptr $ac_kw ip) { return ip[0]; } + int bar (int [$ac_kw]); /* Catch GCC bug 14050. */ + int bar (int ip[$ac_kw]) { return ip[0]; } + int -main () +main (void) { int s[1]; - int * $ac_kw t = s; - t[0] = 0; - return foo(t) + int *$ac_kw t = s; + t[0] = 0; + return foo (t) + bar (t); + ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_restrict=$ac_kw fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext test "$ac_cv_c_restrict" != no && break done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 -$as_echo "$ac_cv_c_restrict" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 +printf "%s\n" "$ac_cv_c_restrict" >&6; } case $ac_cv_c_restrict in restrict) ;; - no) $as_echo "#define restrict /**/" >>confdefs.h + no) printf "%s\n" "#define restrict /**/" >>confdefs.h ;; - *) cat >>confdefs.h <<_ACEOF -#define restrict $ac_cv_c_restrict -_ACEOF + *) printf "%s\n" "#define restrict $ac_cv_c_restrict" >>confdefs.h ;; esac @@ -22425,11 +23485,12 @@ _ACEOF REPLACE_WCSWIDTH=0; - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether uses 'inline' correctly" >&5 -$as_echo_n "checking whether uses 'inline' correctly... " >&6; } -if ${gl_cv_header_wchar_h_correct_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether uses 'inline' correctly" >&5 +printf %s "checking whether uses 'inline' correctly... " >&6; } +if test ${gl_cv_header_wchar_h_correct_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop gl_cv_header_wchar_h_correct_inline=yes cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -22450,7 +23511,7 @@ _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then mv conftest.$ac_objext conftest1.$ac_objext cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -22471,7 +23532,7 @@ _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then mv conftest.$ac_objext conftest2.$ac_objext if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then @@ -22484,8 +23545,8 @@ _ACEOF rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5 -$as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5 +printf "%s\n" "$gl_cv_header_wchar_h_correct_inline" >&6; } if test $gl_cv_header_wchar_h_correct_inline = no; then as_fn_error $? " cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in @@ -22502,64 +23563,69 @@ Configuration aborted." "$LINENO" 5 + for ac_func in $gl_func_list do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` + as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +if eval test \"x\$"$as_ac_var"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi + done - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 -$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } -if ${am_cv_langinfo_codeset+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 +printf %s "checking for nl_langinfo and CODESET... " >&6; } +if test ${am_cv_langinfo_codeset+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char* cs = nl_langinfo(CODESET); return !cs; ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : am_cv_langinfo_codeset=yes -else +else $as_nop am_cv_langinfo_codeset=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 -$as_echo "$am_cv_langinfo_codeset" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 +printf "%s\n" "$am_cv_langinfo_codeset" >&6; } if test $am_cv_langinfo_codeset = yes; then -$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h +printf "%s\n" "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 -$as_echo_n "checking for a traditional french locale... " >&6; } -if ${gt_cv_locale_fr+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 +printf %s "checking for a traditional french locale... " >&6; } +if test ${gt_cv_locale_fr+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -22626,7 +23692,7 @@ _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets @@ -22682,17 +23748,18 @@ _ACEOF rm -fr conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 -$as_echo "$gt_cv_locale_fr" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 +printf "%s\n" "$gt_cv_locale_fr" >&6; } LOCALE_FR=$gt_cv_locale_fr - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 -$as_echo_n "checking whether byte ordering is bigendian... " >&6; } -if ${ac_cv_c_bigendian+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +printf %s "checking whether byte ordering is bigendian... " >&6; } +if test ${ac_cv_c_bigendian+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -22703,7 +23770,8 @@ else typedef int dummy; _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : # Check for potential -arch flags. It is not universal unless # there are at least two -arch flags with different values. @@ -22727,7 +23795,7 @@ if ac_fn_c_try_compile "$LINENO"; then : fi done fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -22736,7 +23804,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext #include int -main () +main (void) { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ @@ -22748,7 +23816,8 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -22756,7 +23825,7 @@ if ac_fn_c_try_compile "$LINENO"; then : #include int -main () +main (void) { #if BYTE_ORDER != BIG_ENDIAN not big endian @@ -22766,14 +23835,15 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_bigendian=yes -else +else $as_nop ac_cv_c_bigendian=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). @@ -22782,7 +23852,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext #include int -main () +main (void) { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros @@ -22792,14 +23862,15 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : # It does; now see whether it defined to _BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { #ifndef _BIG_ENDIAN not big endian @@ -22809,31 +23880,33 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_bigendian=yes -else +else $as_nop ac_cv_c_bigendian=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : # Try to guess by grepping values from an object file. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -short int ascii_mm[] = +unsigned short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; - short int ascii_ii[] = + unsigned short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } - short int ebcdic_ii[] = + unsigned short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; - short int ebcdic_mm[] = + unsigned short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; @@ -22841,14 +23914,15 @@ short int ascii_mm[] = extern int foo; int -main () +main (void) { return use_ascii (foo) == use_ebcdic (foo); ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi @@ -22861,13 +23935,13 @@ if ac_fn_c_try_compile "$LINENO"; then : fi fi fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -else +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int -main () +main (void) { /* Are we little or big endian? From Harbison&Steele. */ @@ -22883,9 +23957,10 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : ac_cv_c_bigendian=no -else +else $as_nop ac_cv_c_bigendian=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -22894,17 +23969,17 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 -$as_echo "$ac_cv_c_bigendian" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +printf "%s\n" "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) - $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h + printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h ;; #( no) ;; #( universal) -$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h +printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) @@ -22915,11 +23990,12 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 -$as_echo_n "checking whether // is distinct from /... " >&6; } -if ${gl_cv_double_slash_root+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 +printf %s "checking whether // is distinct from /... " >&6; } +if test ${gl_cv_double_slash_root+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test x"$cross_compiling" = xyes ; then # When cross-compiling, there is no way to tell whether // is special # short of a list of hosts. However, the only known hosts to date @@ -22944,11 +24020,11 @@ else fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 -$as_echo "$gl_cv_double_slash_root" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 +printf "%s\n" "$gl_cv_double_slash_root" >&6; } if test "$gl_cv_double_slash_root" = yes; then -$as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h +printf "%s\n" "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h fi @@ -23097,11 +24173,12 @@ $as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5 -$as_echo_n "checking if environ is properly declared... " >&6; } - if ${gt_cv_var_environ_declaration+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5 +printf %s "checking if environ is properly declared... " >&6; } + if test ${gt_cv_var_environ_declaration+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23113,26 +24190,27 @@ else extern struct { int foo; } environ; int -main () +main (void) { environ.foo = 1; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gt_cv_var_environ_declaration=no -else +else $as_nop gt_cv_var_environ_declaration=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5 -$as_echo "$gt_cv_var_environ_declaration" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5 +printf "%s\n" "$gt_cv_var_environ_declaration" >&6; } if test $gt_cv_var_environ_declaration = yes; then -$as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h +printf "%s\n" "#define HAVE_ENVIRON_DECL 1" >>confdefs.h fi @@ -23143,11 +24221,12 @@ $as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 -$as_echo_n "checking for complete errno.h... " >&6; } -if ${gl_cv_header_errno_h_complete+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 +printf %s "checking for complete errno.h... " >&6; } +if test ${gl_cv_header_errno_h_complete+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23207,17 +24286,18 @@ booboo _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "booboo" >/dev/null 2>&1; then : + $EGREP "booboo" >/dev/null 2>&1 +then : gl_cv_header_errno_h_complete=no -else +else $as_nop gl_cv_header_errno_h_complete=yes fi -rm -f conftest* +rm -rf conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 -$as_echo "$gl_cv_header_errno_h_complete" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 +printf "%s\n" "$gl_cv_header_errno_h_complete" >&6; } if test $gl_cv_header_errno_h_complete = yes; then ERRNO_H='' else @@ -23232,11 +24312,12 @@ $as_echo "$gl_cv_header_errno_h_complete" >&6; } if test $gl_cv_have_include_next = yes; then gl_cv_next_errno_h='<'errno.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_errno_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_errno_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23271,8 +24352,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 -$as_echo "$gl_cv_next_errno_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 +printf "%s\n" "$gl_cv_next_errno_h" >&6; } fi NEXT_ERRNO_H=$gl_cv_next_errno_h @@ -23301,11 +24382,12 @@ fi if test -n "$ERRNO_H"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 -$as_echo_n "checking for EMULTIHOP value... " >&6; } -if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 +printf %s "checking for EMULTIHOP value... " >&6; } +if test ${gl_cv_header_errno_h_EMULTIHOP+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23317,12 +24399,13 @@ yes _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : + $EGREP "yes" >/dev/null 2>&1 +then : gl_cv_header_errno_h_EMULTIHOP=yes -else +else $as_nop gl_cv_header_errno_h_EMULTIHOP=no fi -rm -f conftest* +rm -rf conftest* if test $gl_cv_header_errno_h_EMULTIHOP = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -23336,10 +24419,11 @@ yes _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : + $EGREP "yes" >/dev/null 2>&1 +then : gl_cv_header_errno_h_EMULTIHOP=hidden fi -rm -f conftest* +rm -rf conftest* if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " @@ -23348,7 +24432,8 @@ rm -f conftest* /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include -"; then : +" +then : fi @@ -23356,8 +24441,8 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 -$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 +printf "%s\n" "$gl_cv_header_errno_h_EMULTIHOP" >&6; } case $gl_cv_header_errno_h_EMULTIHOP in yes | no) EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= @@ -23372,11 +24457,12 @@ $as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; } if test -n "$ERRNO_H"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 -$as_echo_n "checking for ENOLINK value... " >&6; } -if ${gl_cv_header_errno_h_ENOLINK+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 +printf %s "checking for ENOLINK value... " >&6; } +if test ${gl_cv_header_errno_h_ENOLINK+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23388,12 +24474,13 @@ yes _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : + $EGREP "yes" >/dev/null 2>&1 +then : gl_cv_header_errno_h_ENOLINK=yes -else +else $as_nop gl_cv_header_errno_h_ENOLINK=no fi -rm -f conftest* +rm -rf conftest* if test $gl_cv_header_errno_h_ENOLINK = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -23407,10 +24494,11 @@ yes _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : + $EGREP "yes" >/dev/null 2>&1 +then : gl_cv_header_errno_h_ENOLINK=hidden fi -rm -f conftest* +rm -rf conftest* if test $gl_cv_header_errno_h_ENOLINK = hidden; then if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " @@ -23419,7 +24507,8 @@ rm -f conftest* /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include -"; then : +" +then : fi @@ -23427,8 +24516,8 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 -$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 +printf "%s\n" "$gl_cv_header_errno_h_ENOLINK" >&6; } case $gl_cv_header_errno_h_ENOLINK in yes | no) ENOLINK_HIDDEN=0; ENOLINK_VALUE= @@ -23443,11 +24532,12 @@ $as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; } if test -n "$ERRNO_H"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 -$as_echo_n "checking for EOVERFLOW value... " >&6; } -if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 +printf %s "checking for EOVERFLOW value... " >&6; } +if test ${gl_cv_header_errno_h_EOVERFLOW+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23459,12 +24549,13 @@ yes _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : + $EGREP "yes" >/dev/null 2>&1 +then : gl_cv_header_errno_h_EOVERFLOW=yes -else +else $as_nop gl_cv_header_errno_h_EOVERFLOW=no fi -rm -f conftest* +rm -rf conftest* if test $gl_cv_header_errno_h_EOVERFLOW = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -23478,10 +24569,11 @@ yes _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : + $EGREP "yes" >/dev/null 2>&1 +then : gl_cv_header_errno_h_EOVERFLOW=hidden fi -rm -f conftest* +rm -rf conftest* if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " @@ -23490,7 +24582,8 @@ rm -f conftest* /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include -"; then : +" +then : fi @@ -23498,8 +24591,8 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 -$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 +printf "%s\n" "$gl_cv_header_errno_h_EOVERFLOW" >&6; } case $gl_cv_header_errno_h_EOVERFLOW in yes | no) EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= @@ -23513,41 +24606,47 @@ $as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; } fi -ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" -if test "x$ac_cv_have_decl_strerror_r" = xyes; then : + + ac_fn_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_strerror_r" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi +printf "%s\n" "#define HAVE_DECL_STRERROR_R $ac_have_decl" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_STRERROR_R $ac_have_decl -_ACEOF -for ac_func in strerror_r -do : - ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" -if test "x$ac_cv_func_strerror_r" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRERROR_R 1 -_ACEOF + + : + + + + + +if test $ac_cv_have_decl_strerror_r = yes; then + # For backward compatibility's sake, define HAVE_STRERROR_R. + # (We used to run AC_CHECK_FUNCS_ONCE for strerror_r, as well + # as AC_CHECK_DECLS_ONCE.) + +printf "%s\n" "#define HAVE_STRERROR_R 1" >>confdefs.h fi -done -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 -$as_echo_n "checking whether strerror_r returns char *... " >&6; } -if ${ac_cv_func_strerror_r_char_p+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 +printf %s "checking whether strerror_r returns char *... " >&6; } +if test ${ac_cv_func_strerror_r_char_p+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_func_strerror_r_char_p=no if test $ac_cv_have_decl_strerror_r = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -$ac_includes_default +#include int -main () +main (void) { char buf[100]; @@ -23559,49 +24658,20 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_func_strerror_r_char_p=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - else - # strerror_r is not declared. Choose between - # systems that have relatively inaccessible declarations for the - # function. BeOS and DEC UNIX 4.0 fall in this category, but the - # former has a strerror_r that returns char*, while the latter - # has a strerror_r that returns `int'. - # This test should segfault on the DEC system. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default - extern char *strerror_r (); -int -main () -{ -char buf[100]; - char x = *strerror_r (0, buf, sizeof buf); - return ! isalpha (x); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - ac_cv_func_strerror_r_char_p=yes -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 -$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 +printf "%s\n" "$ac_cv_func_strerror_r_char_p" >&6; } if test $ac_cv_func_strerror_r_char_p = yes; then -$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h +printf "%s\n" "#define STRERROR_R_CHAR_P 1" >>confdefs.h fi @@ -23917,18 +24987,13 @@ fi if test $ac_cv_header_sys_socket_h = no; then - for ac_header in ws2tcpip.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" -if test "x$ac_cv_header_ws2tcpip_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WS2TCPIP_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" +if test "x$ac_cv_header_ws2tcpip_h" = xyes +then : + printf "%s\n" "#define HAVE_WS2TCPIP_H 1" >>confdefs.h fi -done - fi @@ -23938,78 +25003,78 @@ done case "$host_os" in osf*) -$as_echo "#define _POSIX_PII_SOCKET 1" >>confdefs.h +printf "%s\n" "#define _POSIX_PII_SOCKET 1" >>confdefs.h ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 -$as_echo_n "checking whether is self-contained... " >&6; } -if ${gl_cv_header_sys_socket_h_selfcontained+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 +printf %s "checking whether is self-contained... " >&6; } +if test ${gl_cv_header_sys_socket_h_selfcontained+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_sys_socket_h_selfcontained=yes -else +else $as_nop gl_cv_header_sys_socket_h_selfcontained=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 -$as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 +printf "%s\n" "$gl_cv_header_sys_socket_h_selfcontained" >&6; } if test $gl_cv_header_sys_socket_h_selfcontained = yes; then - for ac_func in shutdown -do : - ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" -if test "x$ac_cv_func_shutdown" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SHUTDOWN 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" +if test "x$ac_cv_func_shutdown" = xyes +then : + printf "%s\n" "#define HAVE_SHUTDOWN 1" >>confdefs.h fi -done if test $ac_cv_func_shutdown = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines the SHUT_* macros" >&5 -$as_echo_n "checking whether defines the SHUT_* macros... " >&6; } -if ${gl_cv_header_sys_socket_h_shut+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether defines the SHUT_* macros" >&5 +printf %s "checking whether defines the SHUT_* macros... " >&6; } +if test ${gl_cv_header_sys_socket_h_shut+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR }; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_sys_socket_h_shut=yes -else +else $as_nop gl_cv_header_sys_socket_h_shut=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5 -$as_echo "$gl_cv_header_sys_socket_h_shut" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5 +printf "%s\n" "$gl_cv_header_sys_socket_h_shut" >&6; } if test $gl_cv_header_sys_socket_h_shut = no; then SYS_SOCKET_H='sys/socket.h' fi @@ -24036,11 +25101,12 @@ $as_echo "$gl_cv_header_sys_socket_h_shut" >&6; } if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_socket_h='<'sys/socket.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_sys_socket_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_sys_socket_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_sys_socket_h = yes; then @@ -24081,8 +25147,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5 -$as_echo "$gl_cv_next_sys_socket_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5 +printf "%s\n" "$gl_cv_next_sys_socket_h" >&6; } fi NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h @@ -24125,11 +25191,10 @@ $as_echo "$gl_cv_next_sys_socket_h" >&6; } #endif " -if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : +if test "x$ac_cv_type_struct_sockaddr_storage" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_SOCKADDR_STORAGE 1 -_ACEOF +printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h fi @@ -24146,11 +25211,10 @@ ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" " #endif " -if test "x$ac_cv_type_sa_family_t" = xyes; then : +if test "x$ac_cv_type_sa_family_t" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_SA_FAMILY_T 1 -_ACEOF +printf "%s\n" "#define HAVE_SA_FAMILY_T 1" >>confdefs.h fi @@ -24171,14 +25235,13 @@ fi #endif " -if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then : +if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 -_ACEOF +printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1" >>confdefs.h -else +else $as_nop HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0 fi @@ -24198,18 +25261,13 @@ fi if test $ac_cv_header_sys_socket_h != yes; then - for ac_header in winsock2.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" -if test "x$ac_cv_header_winsock2_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WINSOCK2_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" +if test "x$ac_cv_header_winsock2_h" = xyes +then : + printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h fi -done - fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 @@ -24223,12 +25281,13 @@ done for gl_func in socket connect accept bind getpeername getsockname getsockopt listen recv send recvfrom sendto setsockopt shutdown accept4; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -24237,7 +25296,7 @@ else #include int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -24245,19 +25304,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -24299,11 +25360,12 @@ fi if test $gl_cv_have_include_next = yes; then gl_cv_next_netdb_h='<'netdb.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_netdb_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_netdb_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_netdb_h = yes; then @@ -24344,8 +25406,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5 -$as_echo "$gl_cv_next_netdb_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5 +printf "%s\n" "$gl_cv_next_netdb_h" >&6; } fi NEXT_NETDB_H=$gl_cv_next_netdb_h @@ -24370,17 +25432,18 @@ $as_echo "$gl_cv_next_netdb_h" >&6; } for gl_func in getaddrinfo freeaddrinfo gai_strerror getnameinfo; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -24388,19 +25451,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -24411,11 +25476,12 @@ fi HOSTENT_LIB= gl_saved_libs="$LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 -$as_echo_n "checking for library containing gethostbyname... " >&6; } -if ${ac_cv_search_gethostbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 +printf %s "checking for library containing gethostbyname... " >&6; } +if test ${ac_cv_search_gethostbyname+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -24423,46 +25489,48 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char gethostbyname (); int -main () +main (void) { return gethostbyname (); ; return 0; } _ACEOF -for ac_lib in '' nsl network net; do +for ac_lib in '' nsl network net +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_gethostbyname=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_gethostbyname+:} false; then : + if test ${ac_cv_search_gethostbyname+y} +then : break fi done -if ${ac_cv_search_gethostbyname+:} false; then : +if test ${ac_cv_search_gethostbyname+y} +then : -else +else $as_nop ac_cv_search_gethostbyname=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 -$as_echo "$ac_cv_search_gethostbyname" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 +printf "%s\n" "$ac_cv_search_gethostbyname" >&6; } ac_res=$ac_cv_search_gethostbyname -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" if test "$ac_cv_search_gethostbyname" != "none required"; then HOSTENT_LIB="$ac_cv_search_gethostbyname" @@ -24471,21 +25539,22 @@ fi LIBS="$gl_saved_libs" if test -z "$HOSTENT_LIB"; then - for ac_func in gethostbyname + + for ac_func in gethostbyname do : ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" -if test "x$ac_cv_func_gethostbyname" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_GETHOSTBYNAME 1 -_ACEOF +if test "x$ac_cv_func_gethostbyname" = xyes +then : + printf "%s\n" "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5 -$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; } -if ${gl_cv_w32_gethostbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5 +printf %s "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; } +if test ${gl_cv_w32_gethostbyname+y} +then : + printf %s "(cached) " >&6 +else $as_nop gl_cv_w32_gethostbyname=no gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" @@ -24498,41 +25567,43 @@ else #include int -main () +main (void) { gethostbyname(NULL); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_cv_w32_gethostbyname=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5 -$as_echo "$gl_cv_w32_gethostbyname" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5 +printf "%s\n" "$gl_cv_w32_gethostbyname" >&6; } if test "$gl_cv_w32_gethostbyname" = "yes"; then HOSTENT_LIB="-lws2_32" fi fi -done +done fi SERVENT_LIB= gl_saved_libs="$LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5 -$as_echo_n "checking for library containing getservbyname... " >&6; } -if ${ac_cv_search_getservbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5 +printf %s "checking for library containing getservbyname... " >&6; } +if test ${ac_cv_search_getservbyname+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -24540,46 +25611,48 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char getservbyname (); int -main () +main (void) { return getservbyname (); ; return 0; } _ACEOF -for ac_lib in '' socket network net; do +for ac_lib in '' socket network net +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_getservbyname=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_getservbyname+:} false; then : + if test ${ac_cv_search_getservbyname+y} +then : break fi done -if ${ac_cv_search_getservbyname+:} false; then : +if test ${ac_cv_search_getservbyname+y} +then : -else +else $as_nop ac_cv_search_getservbyname=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5 -$as_echo "$ac_cv_search_getservbyname" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5 +printf "%s\n" "$ac_cv_search_getservbyname" >&6; } ac_res=$ac_cv_search_getservbyname -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" if test "$ac_cv_search_getservbyname" != "none required"; then SERVENT_LIB="$ac_cv_search_getservbyname" @@ -24588,21 +25661,22 @@ fi LIBS="$gl_saved_libs" if test -z "$SERVENT_LIB"; then - for ac_func in getservbyname + + for ac_func in getservbyname do : ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname" -if test "x$ac_cv_func_getservbyname" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_GETSERVBYNAME 1 -_ACEOF +if test "x$ac_cv_func_getservbyname" = xyes +then : + printf "%s\n" "#define HAVE_GETSERVBYNAME 1" >>confdefs.h -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5 -$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; } -if ${gl_cv_w32_getservbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5 +printf %s "checking for getservbyname in winsock2.h and -lws2_32... " >&6; } +if test ${gl_cv_w32_getservbyname+y} +then : + printf %s "(cached) " >&6 +else $as_nop gl_cv_w32_getservbyname=no gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" @@ -24615,30 +25689,31 @@ else #include int -main () +main (void) { getservbyname(NULL,NULL); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_cv_w32_getservbyname=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5 -$as_echo "$gl_cv_w32_getservbyname" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5 +printf "%s\n" "$gl_cv_w32_getservbyname" >&6; } if test "$gl_cv_w32_getservbyname" = "yes"; then SERVENT_LIB="-lws2_32" fi fi -done +done fi @@ -24662,18 +25737,13 @@ done if test $ac_cv_header_sys_socket_h != yes; then - for ac_header in winsock2.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" -if test "x$ac_cv_header_winsock2_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WINSOCK2_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" +if test "x$ac_cv_header_winsock2_h" = xyes +then : + printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h fi -done - fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 @@ -24685,17 +25755,15 @@ done if test $HAVE_WINSOCK2_H = 1; then - ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include -" -if test "x$ac_cv_have_decl_inet_ntop" = xyes; then : + ac_fn_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_inet_ntop" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_INET_NTOP $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_INET_NTOP $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_inet_ntop = yes; then REPLACE_INET_NTOP=1 @@ -24706,11 +25774,12 @@ _ACEOF fi else gl_save_LIBS=$LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 -$as_echo_n "checking for library containing inet_ntop... " >&6; } -if ${ac_cv_search_inet_ntop+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 +printf %s "checking for library containing inet_ntop... " >&6; } +if test ${ac_cv_search_inet_ntop+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -24718,59 +25787,57 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char inet_ntop (); int -main () +main (void) { return inet_ntop (); ; return 0; } _ACEOF -for ac_lib in '' nsl resolv; do +for ac_lib in '' nsl resolv +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_inet_ntop=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_inet_ntop+:} false; then : + if test ${ac_cv_search_inet_ntop+y} +then : break fi done -if ${ac_cv_search_inet_ntop+:} false; then : +if test ${ac_cv_search_inet_ntop+y} +then : -else +else $as_nop ac_cv_search_inet_ntop=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 -$as_echo "$ac_cv_search_inet_ntop" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 +printf "%s\n" "$ac_cv_search_inet_ntop" >&6; } ac_res=$ac_cv_search_inet_ntop -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -else - for ac_func in inet_ntop -do : +else $as_nop ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop" -if test "x$ac_cv_func_inet_ntop" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_INET_NTOP 1 -_ACEOF +if test "x$ac_cv_func_inet_ntop" = xyes +then : + printf "%s\n" "#define HAVE_INET_NTOP 1" >>confdefs.h fi -done if test $ac_cv_func_inet_ntop = no; then HAVE_INET_NTOP=0 @@ -24792,21 +25859,19 @@ fi - ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include + ac_fn_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include #if HAVE_NETDB_H # include #endif -" -if test "x$ac_cv_have_decl_inet_ntop" = xyes; then : +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_inet_ntop" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_INET_NTOP $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_INET_NTOP $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_inet_ntop = no; then HAVE_DECL_INET_NTOP=0 @@ -24829,11 +25894,12 @@ _ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv4 sockets" >&5 -$as_echo_n "checking for IPv4 sockets... " >&6; } - if ${gl_cv_socket_ipv4+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv4 sockets" >&5 +printf %s "checking for IPv4 sockets... " >&6; } + if test ${gl_cv_socket_ipv4+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -24847,7 +25913,7 @@ else #include #endif int -main () +main (void) { int x = AF_INET; struct in_addr y; struct sockaddr_in z; if (&x && &y && &z) return 0; @@ -24855,27 +25921,29 @@ int x = AF_INET; struct in_addr y; struct sockaddr_in z; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_socket_ipv4=yes -else +else $as_nop gl_cv_socket_ipv4=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv4" >&5 -$as_echo "$gl_cv_socket_ipv4" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv4" >&5 +printf "%s\n" "$gl_cv_socket_ipv4" >&6; } if test $gl_cv_socket_ipv4 = yes; then -$as_echo "#define HAVE_IPV4 1" >>confdefs.h +printf "%s\n" "#define HAVE_IPV4 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 sockets" >&5 -$as_echo_n "checking for IPv6 sockets... " >&6; } - if ${gl_cv_socket_ipv6+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv6 sockets" >&5 +printf %s "checking for IPv6 sockets... " >&6; } + if test ${gl_cv_socket_ipv6+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -24892,7 +25960,7 @@ else #include #endif int -main () +main (void) { int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z; if (&x && &y && &z) return 0; @@ -24900,19 +25968,20 @@ int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_socket_ipv6=yes -else +else $as_nop gl_cv_socket_ipv6=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv6" >&5 -$as_echo "$gl_cv_socket_ipv6" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv6" >&5 +printf "%s\n" "$gl_cv_socket_ipv6" >&6; } if test $gl_cv_socket_ipv6 = yes; then -$as_echo "#define HAVE_IPV6 1" >>confdefs.h +printf "%s\n" "#define HAVE_IPV6 1" >>confdefs.h fi @@ -25021,11 +26090,12 @@ $as_echo "#define HAVE_IPV6 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_getopt_h='<'getopt.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_getopt_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_getopt_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_getopt_h = yes; then @@ -25066,8 +26136,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5 -$as_echo "$gl_cv_next_getopt_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5 +printf "%s\n" "$gl_cv_next_getopt_h" >&6; } fi NEXT_GETOPT_H=$gl_cv_next_getopt_h @@ -25093,52 +26163,52 @@ $as_echo "$gl_cv_next_getopt_h" >&6; } gl_replace_getopt= if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then - for ac_header in getopt.h + for ac_header in getopt.h do : - ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" -if test "x$ac_cv_header_getopt_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_GETOPT_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" +if test "x$ac_cv_header_getopt_h" = xyes +then : + printf "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h -else +else $as_nop gl_replace_getopt=yes fi done - fi if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then - for ac_func in getopt_long_only + + for ac_func in getopt_long_only do : ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" -if test "x$ac_cv_func_getopt_long_only" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_GETOPT_LONG_ONLY 1 -_ACEOF +if test "x$ac_cv_func_getopt_long_only" = xyes +then : + printf "%s\n" "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h -else +else $as_nop gl_replace_getopt=yes fi -done +done fi if test -z "$gl_replace_getopt"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5 -$as_echo_n "checking whether getopt is POSIX compatible... " >&6; } -if ${gl_cv_func_getopt_posix+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5 +printf %s "checking whether getopt is POSIX compatible... " >&6; } +if test ${gl_cv_func_getopt_posix+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $cross_compiling = no; then - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + if test "$cross_compiling" = yes +then : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See \`config.log' for more details" "$LINENO" 5; } -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -25168,9 +26238,10 @@ main () } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_getopt_posix=maybe -else +else $as_nop gl_cv_func_getopt_posix=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -25178,12 +26249,13 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ fi if test $gl_cv_func_getopt_posix = maybe; then - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + if test "$cross_compiling" = yes +then : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See \`config.log' for more details" "$LINENO" 5; } -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -25227,9 +26299,10 @@ main () } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_getopt_posix=maybe -else +else $as_nop gl_cv_func_getopt_posix=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -25238,12 +26311,13 @@ fi fi if test $gl_cv_func_getopt_posix = maybe; then - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + if test "$cross_compiling" = yes +then : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See \`config.log' for more details" "$LINENO" 5; } -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -25269,9 +26343,10 @@ main () } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_getopt_posix=yes -else +else $as_nop gl_cv_func_getopt_posix=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -25287,19 +26362,20 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5 -$as_echo "$gl_cv_func_getopt_posix" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5 +printf "%s\n" "$gl_cv_func_getopt_posix" >&6; } case "$gl_cv_func_getopt_posix" in *no) gl_replace_getopt=yes ;; esac fi if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 -$as_echo_n "checking for working GNU getopt function... " >&6; } -if ${gl_cv_func_getopt_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 +printf %s "checking for working GNU getopt function... " >&6; } +if test ${gl_cv_func_getopt_gnu+y} +then : + printf %s "(cached) " >&6 +else $as_nop # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the # optstring is necessary for programs like m4 that have POSIX-mandated # semantics for supporting options interspersed with files. @@ -25314,10 +26390,11 @@ else esac POSIXLY_CORRECT=1 export POSIXLY_CORRECT - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : gl_cv_func_getopt_gnu="guessing no" -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -25438,7 +26515,7 @@ nocrash_init (void) int -main () +main (void) { int result = 0; @@ -25516,9 +26593,10 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_getopt_gnu=yes -else +else $as_nop gl_cv_func_getopt_gnu=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -25532,23 +26610,25 @@ fi esac fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5 -$as_echo "$gl_cv_func_getopt_gnu" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5 +printf "%s\n" "$gl_cv_func_getopt_gnu" >&6; } if test "$gl_cv_func_getopt_gnu" != yes; then gl_replace_getopt=yes else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt_long function" >&5 -$as_echo_n "checking for working GNU getopt_long function... " >&6; } -if ${gl_cv_func_getopt_long_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt_long function" >&5 +printf %s "checking for working GNU getopt_long function... " >&6; } +if test ${gl_cv_func_getopt_long_gnu+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : case "$host_os" in openbsd*) gl_cv_func_getopt_long_gnu="guessing no";; *) gl_cv_func_getopt_long_gnu="guessing yes";; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -25556,7 +26636,7 @@ else #include int -main () +main (void) { static const struct option long_options[] = { @@ -25582,9 +26662,10 @@ static const struct option long_options[] = return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_getopt_long_gnu=yes -else +else $as_nop gl_cv_func_getopt_long_gnu=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -25593,8 +26674,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_long_gnu" >&5 -$as_echo "$gl_cv_func_getopt_long_gnu" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_long_gnu" >&5 +printf "%s\n" "$gl_cv_func_getopt_long_gnu" >&6; } case "$gl_cv_func_getopt_long_gnu" in *yes) ;; *) gl_replace_getopt=yes ;; @@ -25616,23 +26697,21 @@ $as_echo "$gl_cv_func_getopt_long_gnu" >&6; } GETOPT_H=getopt.h -$as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h +printf "%s\n" "#define __GETOPT_PREFIX rpl_" >>confdefs.h fi - ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" -if test "x$ac_cv_have_decl_getenv" = xyes; then : + ac_fn_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_getenv" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_GETENV $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_GETENV $ac_have_decl" >>confdefs.h @@ -25709,34 +26788,36 @@ _ACEOF case "$host_os" in mingw*) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit off_t" >&5 -$as_echo_n "checking for 64-bit off_t... " >&6; } -if ${gl_cv_type_off_t_64+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit off_t" >&5 +printf %s "checking for 64-bit off_t... " >&6; } +if test ${gl_cv_type_off_t_64+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1]; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_type_off_t_64=yes -else +else $as_nop gl_cv_type_off_t_64=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_off_t_64" >&5 -$as_echo "$gl_cv_type_off_t_64" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_off_t_64" >&5 +printf "%s\n" "$gl_cv_type_off_t_64" >&6; } if test $gl_cv_type_off_t_64 = no; then WINDOWS_64_BIT_OFF_T=1 else @@ -25772,14 +26853,16 @@ $as_echo "$gl_cv_type_off_t_64" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 -$as_echo_n "checking for working fcntl.h... " >&6; } -if ${gl_cv_header_working_fcntl_h+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 +printf %s "checking for working fcntl.h... " >&6; } +if test ${gl_cv_header_working_fcntl_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : gl_cv_header_working_fcntl_h=cross-compiling -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -25805,7 +26888,7 @@ else }; int -main () +main (void) { int result = !constants; @@ -25875,9 +26958,10 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_header_working_fcntl_h=yes -else +else $as_nop case $? in #( 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( @@ -25890,17 +26974,15 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5 -$as_echo "$gl_cv_header_working_fcntl_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5 +printf "%s\n" "$gl_cv_header_working_fcntl_h" >&6; } case $gl_cv_header_working_fcntl_h in #( *O_NOATIME* | no | cross-compiling) ac_val=0;; #( *) ac_val=1;; esac -cat >>confdefs.h <<_ACEOF -#define HAVE_WORKING_O_NOATIME $ac_val -_ACEOF +printf "%s\n" "#define HAVE_WORKING_O_NOATIME $ac_val" >>confdefs.h case $gl_cv_header_working_fcntl_h in #( @@ -25908,30 +26990,27 @@ _ACEOF *) ac_val=1;; esac -cat >>confdefs.h <<_ACEOF -#define HAVE_WORKING_O_NOFOLLOW $ac_val -_ACEOF +printf "%s\n" "#define HAVE_WORKING_O_NOFOLLOW $ac_val" >>confdefs.h - ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" -if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : + ac_fn_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_getc_unlocked" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_GETC_UNLOCKED $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_GETC_UNLOCKED $ac_have_decl" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5 -$as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; } -if ${ac_cv_gnu_library_2_1+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5 +printf %s "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; } +if test ${ac_cv_gnu_library_2_1+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -25947,18 +27026,19 @@ else _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "Lucky" >/dev/null 2>&1; then : + $EGREP "Lucky" >/dev/null 2>&1 +then : ac_cv_gnu_library_2_1=yes -else +else $as_nop ac_cv_gnu_library_2_1=no fi -rm -f conftest* +rm -rf conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5 -$as_echo "$ac_cv_gnu_library_2_1" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5 +printf "%s\n" "$ac_cv_gnu_library_2_1" >&6; } GLIBC21="$ac_cv_gnu_library_2_1" @@ -25978,35 +27058,37 @@ $as_echo "$ac_cv_gnu_library_2_1" >&6; } HAVE_WCHAR_T=1; - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 -$as_echo_n "checking for wchar_t... " >&6; } -if ${gt_cv_c_wchar_t+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 +printf %s "checking for wchar_t... " >&6; } +if test ${gt_cv_c_wchar_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include wchar_t foo = (wchar_t)'\0'; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gt_cv_c_wchar_t=yes -else +else $as_nop gt_cv_c_wchar_t=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 -$as_echo "$gt_cv_c_wchar_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 +printf "%s\n" "$gt_cv_c_wchar_t" >&6; } if test $gt_cv_c_wchar_t = yes; then -$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h +printf "%s\n" "#define HAVE_WCHAR_T 1" >>confdefs.h fi @@ -26018,33 +27100,35 @@ $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h HAVE_WCHAR_T=0 STDDEF_H=stddef.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 -$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; } -if ${gl_cv_decl_null_works+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 +printf %s "checking whether NULL can be used in arbitrary expressions... " >&6; } +if test ${gl_cv_decl_null_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int test[2 * (sizeof NULL == sizeof (void *)) -1]; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_decl_null_works=yes -else +else $as_nop gl_cv_decl_null_works=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 -$as_echo "$gl_cv_decl_null_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 +printf "%s\n" "$gl_cv_decl_null_works" >&6; } if test $gl_cv_decl_null_works = no; then REPLACE_NULL=1 STDDEF_H=stddef.h @@ -26070,11 +27154,12 @@ fi if test $gl_cv_have_include_next = yes; then gl_cv_next_stddef_h='<'stddef.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_stddef_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_stddef_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26109,8 +27194,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 -$as_echo "$gl_cv_next_stddef_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 +printf "%s\n" "$gl_cv_next_stddef_h" >&6; } fi NEXT_STDDEF_H=$gl_cv_next_stddef_h @@ -26141,31 +27226,34 @@ $as_echo "$gl_cv_next_stddef_h" >&6; } LIBMULTITHREAD= LTLIBMULTITHREAD= if test "$gl_use_threads" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5 -$as_echo_n "checking whether imported symbols can be declared weak... " >&6; } -if ${gl_cv_have_weak+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5 +printf %s "checking whether imported symbols can be declared weak... " >&6; } +if test ${gl_cv_have_weak+y} +then : + printf %s "(cached) " >&6 +else $as_nop gl_cv_have_weak=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern void xyzzy (); #pragma weak xyzzy int -main () +main (void) { xyzzy(); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_cv_have_weak=maybe fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test $gl_cv_have_weak = maybe; then - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __ELF__ @@ -26174,15 +27262,16 @@ rm -f core conftest.err conftest.$ac_objext \ _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "Extensible Linking Format" >/dev/null 2>&1; then : + $EGREP "Extensible Linking Format" >/dev/null 2>&1 +then : gl_cv_have_weak="guessing yes" -else +else $as_nop gl_cv_have_weak="guessing no" fi -rm -f conftest* +rm -rf conftest* -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26193,9 +27282,10 @@ int main () return (fputs == NULL); } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_have_weak=yes -else +else $as_nop gl_cv_have_weak=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -26205,19 +27295,19 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5 -$as_echo "$gl_cv_have_weak" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5 +printf "%s\n" "$gl_cv_have_weak" >&6; } if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that # it groks . It's added above, in gl_THREADLIB_EARLY_BODY. - ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" -if test "x$ac_cv_header_pthread_h" = xyes; then : + ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" +if test "x$ac_cv_header_pthread_h" = xyes +then : gl_have_pthread_h=yes -else +else $as_nop gl_have_pthread_h=no fi - if test "$gl_have_pthread_h" = yes; then # Other possible tests: # -lpthreads (FSU threads, PCthreads) @@ -26230,7 +27320,7 @@ fi /* end confdefs.h. */ #include int -main () +main (void) { pthread_mutex_lock((pthread_mutex_t*)0); pthread_mutexattr_init((pthread_mutexattr_t*)0); @@ -26238,21 +27328,23 @@ pthread_mutex_lock((pthread_mutex_t*)0); return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_have_pthread=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext # Test for libpthread by looking for pthread_kill. (Not pthread_self, # since it is defined as a macro on OSF/1.) if test -n "$gl_have_pthread"; then # The program links fine without libpthread. But it may actually # need to link with libpthread in order to create multiple threads. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 -$as_echo_n "checking for pthread_kill in -lpthread... " >&6; } -if ${ac_cv_lib_pthread_pthread_kill+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 +printf %s "checking for pthread_kill in -lpthread... " >&6; } +if test ${ac_cv_lib_pthread_pthread_kill+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -26261,30 +27353,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char pthread_kill (); int -main () +main (void) { return pthread_kill (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_pthread_pthread_kill=yes -else +else $as_nop ac_cv_lib_pthread_pthread_kill=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 -$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } -if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 +printf "%s\n" "$ac_cv_lib_pthread_pthread_kill" >&6; } +if test "x$ac_cv_lib_pthread_pthread_kill" = xyes +then : LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread # On Solaris and HP-UX, most pthread functions exist also in libc. # Therefore pthread_in_use() needs to actually try to create a @@ -26293,7 +27384,7 @@ if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : case "$host_os" in solaris* | hpux*) -$as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h +printf "%s\n" "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h esac @@ -26301,11 +27392,12 @@ fi else # Some library is needed. Try libpthread and libc_r. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 -$as_echo_n "checking for pthread_kill in -lpthread... " >&6; } -if ${ac_cv_lib_pthread_pthread_kill+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 +printf %s "checking for pthread_kill in -lpthread... " >&6; } +if test ${ac_cv_lib_pthread_pthread_kill+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -26314,30 +27406,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char pthread_kill (); int -main () +main (void) { return pthread_kill (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_pthread_pthread_kill=yes -else +else $as_nop ac_cv_lib_pthread_pthread_kill=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 -$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } -if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 +printf "%s\n" "$ac_cv_lib_pthread_pthread_kill" >&6; } +if test "x$ac_cv_lib_pthread_pthread_kill" = xyes +then : gl_have_pthread=yes LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread @@ -26345,11 +27436,12 @@ fi if test -z "$gl_have_pthread"; then # For FreeBSD 4. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 -$as_echo_n "checking for pthread_kill in -lc_r... " >&6; } -if ${ac_cv_lib_c_r_pthread_kill+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 +printf %s "checking for pthread_kill in -lc_r... " >&6; } +if test ${ac_cv_lib_c_r_pthread_kill+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lc_r $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -26358,30 +27450,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char pthread_kill (); int -main () +main (void) { return pthread_kill (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_c_r_pthread_kill=yes -else +else $as_nop ac_cv_lib_c_r_pthread_kill=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5 -$as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; } -if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5 +printf "%s\n" "$ac_cv_lib_c_r_pthread_kill" >&6; } +if test "x$ac_cv_lib_c_r_pthread_kill" = xyes +then : gl_have_pthread=yes LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r @@ -26392,12 +27483,12 @@ fi if test -n "$gl_have_pthread"; then gl_threads_api=posix -$as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h +printf "%s\n" "#define USE_POSIX_THREADS 1" >>confdefs.h if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then -$as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h +printf "%s\n" "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h LIBTHREAD= LTLIBTHREAD= @@ -26418,17 +27509,18 @@ $as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h #include int -main () +main (void) { thr_self(); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_have_solaristhread=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" if test -n "$gl_have_solaristhread"; then @@ -26438,11 +27530,11 @@ rm -f core conftest.err conftest.$ac_objext \ LIBMULTITHREAD="$LIBTHREAD" LTLIBMULTITHREAD="$LTLIBTHREAD" -$as_echo "#define USE_SOLARIS_THREADS 1" >>confdefs.h +printf "%s\n" "#define USE_SOLARIS_THREADS 1" >>confdefs.h if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then -$as_echo "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h +printf "%s\n" "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h LIBTHREAD= LTLIBTHREAD= @@ -26457,11 +27549,12 @@ $as_echo "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5 -$as_echo_n "checking how to link with libpth... " >&6; } -if ${ac_cv_libpth_libs+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5 +printf %s "checking how to link with libpth... " >&6; } +if test ${ac_cv_libpth_libs+y} +then : + printf %s "(cached) " >&6 +else $as_nop @@ -26485,7 +27578,8 @@ else # Check whether --with-libpth-prefix was given. -if test "${with_libpth_prefix+set}" = set; then : +if test ${with_libpth_prefix+y} +then : withval=$with_libpth_prefix; if test "X$withval" = "Xno"; then use_additional=no @@ -26930,8 +28024,8 @@ fi ac_cv_libpth_prefix="$LIBPTH_PREFIX" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5 -$as_echo "$ac_cv_libpth_libs" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5 +printf "%s\n" "$ac_cv_libpth_libs" >&6; } LIBPTH="$ac_cv_libpth_libs" LTLIBPTH="$ac_cv_libpth_ltlibs" INCPTH="$ac_cv_libpth_cppflags" @@ -26973,17 +28067,18 @@ $as_echo "$ac_cv_libpth_libs" >&6; } /* end confdefs.h. */ #include int -main () +main (void) { pth_self(); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_have_pth=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" if test -n "$gl_have_pth"; then @@ -26993,12 +28088,12 @@ rm -f core conftest.err conftest.$ac_objext \ LIBMULTITHREAD="$LIBTHREAD" LTLIBMULTITHREAD="$LTLIBTHREAD" -$as_echo "#define USE_PTH_THREADS 1" >>confdefs.h +printf "%s\n" "#define USE_PTH_THREADS 1" >>confdefs.h if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then -$as_echo "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h +printf "%s\n" "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h LIBTHREAD= LTLIBTHREAD= @@ -27018,17 +28113,17 @@ $as_echo "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h }; then gl_threads_api=windows -$as_echo "#define USE_WINDOWS_THREADS 1" >>confdefs.h +printf "%s\n" "#define USE_WINDOWS_THREADS 1" >>confdefs.h fi ;; esac fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5 -$as_echo_n "checking for multithread API to use... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5 -$as_echo "$gl_threads_api" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5 +printf %s "checking for multithread API to use... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5 +printf "%s\n" "$gl_threads_api" >&6; } @@ -27039,17 +28134,18 @@ $as_echo "$gl_threads_api" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5 -$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } -if ${gl_cv_func_malloc_posix+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5 +printf %s "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } +if test ${gl_cv_func_malloc_posix+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ choke me @@ -27059,95 +28155,82 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_func_malloc_posix=yes -else +else $as_nop gl_cv_func_malloc_posix=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5 -$as_echo "$gl_cv_func_malloc_posix" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5 +printf "%s\n" "$gl_cv_func_malloc_posix" >&6; } - - for ac_header in stdlib.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" -if test "x$ac_cv_header_stdlib_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STDLIB_H 1 -_ACEOF - -fi - -done - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 -$as_echo_n "checking for GNU libc compatible malloc... " >&6; } -if ${ac_cv_func_malloc_0_nonnull+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - case "$host_os" in - # Guess yes on platforms where we know the result. - *-gnu* | freebsd* | netbsd* | openbsd* \ - | hpux* | solaris* | cygwin* | mingw*) - ac_cv_func_malloc_0_nonnull=yes ;; - # If we don't know, assume the worst. - *) ac_cv_func_malloc_0_nonnull=no ;; - esac - -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 +printf %s "checking for GNU libc compatible malloc... " >&6; } +if test ${ac_cv_func_malloc_0_nonnull+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : + case "$host_os" in # (( + # Guess yes on platforms where we know the result. + *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ + | hpux* | solaris* | cygwin* | mingw* | msys* ) + ac_cv_func_malloc_0_nonnull=yes ;; + # If we don't know, assume the worst. + *) ac_cv_func_malloc_0_nonnull=no ;; + esac +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#if defined STDC_HEADERS || defined HAVE_STDLIB_H - # include - #else - char *malloc (); - #endif +#include int -main () +main (void) { -return ! malloc (0); +void *p = malloc (0); + int result = !p; + free (p); + return result; ; return 0; } - _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : ac_cv_func_malloc_0_nonnull=yes -else +else $as_nop ac_cv_func_malloc_0_nonnull=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi - fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 -$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } - if test $ac_cv_func_malloc_0_nonnull = yes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 +printf "%s\n" "$ac_cv_func_malloc_0_nonnull" >&6; } +if test $ac_cv_func_malloc_0_nonnull = yes +then : gl_cv_func_malloc_0_nonnull=1 -else +else $as_nop gl_cv_func_malloc_0_nonnull=0 fi -cat >>confdefs.h <<_ACEOF -#define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull -_ACEOF +printf "%s\n" "#define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 -$as_echo_n "checking for unsigned long long int... " >&6; } -if ${ac_cv_type_unsigned_long_long_int+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 +printf %s "checking for unsigned long long int... " >&6; } +if test ${ac_cv_type_unsigned_long_long_int+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_type_unsigned_long_long_int=yes if test "x${ac_cv_prog_cc_c99-no}" = xno; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -27168,7 +28251,7 @@ else ? 1 : -1)]; int i = 63; int -main () +main (void) { /* Test availability of runtime routines for shift and division. */ long long int llmax = 9223372036854775807ll; @@ -27182,37 +28265,40 @@ main () } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : -else +else $as_nop ac_cv_type_unsigned_long_long_int=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 -$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 +printf "%s\n" "$ac_cv_type_unsigned_long_long_int" >&6; } if test $ac_cv_type_unsigned_long_long_int = yes; then -$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h +printf "%s\n" "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 -$as_echo_n "checking for long long int... " >&6; } -if ${ac_cv_type_long_long_int+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 +printf %s "checking for long long int... " >&6; } +if test ${ac_cv_type_long_long_int+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_type_long_long_int=yes if test "x${ac_cv_prog_cc_c99-no}" = xno; then ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int if test $ac_cv_type_long_long_int = yes; then - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -27222,7 +28308,7 @@ else # define LLONG_MAX (HALF - 1 + HALF) #endif int -main () +main (void) { long long int n = 1; int i; @@ -27239,9 +28325,10 @@ long long int n = 1; return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : -else +else $as_nop ac_cv_type_long_long_int=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -27251,11 +28338,11 @@ fi fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 -$as_echo "$ac_cv_type_long_long_int" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 +printf "%s\n" "$ac_cv_type_long_long_int" >&6; } if test $ac_cv_type_long_long_int = yes; then -$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h +printf "%s\n" "#define HAVE_LONG_LONG_INT 1" >>confdefs.h fi @@ -27266,11 +28353,12 @@ $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 -$as_echo_n "checking for mbstate_t... " >&6; } -if ${ac_cv_type_mbstate_t+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 +printf %s "checking for mbstate_t... " >&6; } +if test ${ac_cv_type_mbstate_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default @@ -27283,29 +28371,30 @@ $ac_includes_default #include #include int -main () +main (void) { mbstate_t x; return sizeof x; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_type_mbstate_t=yes -else +else $as_nop ac_cv_type_mbstate_t=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 -$as_echo "$ac_cv_type_mbstate_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 +printf "%s\n" "$ac_cv_type_mbstate_t" >&6; } if test $ac_cv_type_mbstate_t = yes; then -$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h +printf "%s\n" "#define HAVE_MBSTATE_T 1" >>confdefs.h else -$as_echo "#define mbstate_t int" >>confdefs.h +printf "%s\n" "#define mbstate_t int" >>confdefs.h fi @@ -27322,11 +28411,12 @@ $as_echo "#define mbstate_t int" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 -$as_echo_n "checking for a traditional japanese locale... " >&6; } -if ${gt_cv_locale_ja+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 +printf %s "checking for a traditional japanese locale... " >&6; } +if test ${gt_cv_locale_ja+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27395,7 +28485,7 @@ _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets @@ -27453,19 +28543,20 @@ _ACEOF rm -fr conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 -$as_echo "$gt_cv_locale_ja" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 +printf "%s\n" "$gt_cv_locale_ja" >&6; } LOCALE_JA=$gt_cv_locale_ja - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 -$as_echo_n "checking for a transitional chinese locale... " >&6; } -if ${gt_cv_locale_zh_CN+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 +printf %s "checking for a transitional chinese locale... " >&6; } +if test ${gt_cv_locale_zh_CN+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27535,7 +28626,7 @@ _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets @@ -27586,18 +28677,19 @@ _ACEOF rm -fr conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 -$as_echo "$gt_cv_locale_zh_CN" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 +printf "%s\n" "$gt_cv_locale_zh_CN" >&6; } LOCALE_ZH_CN=$gt_cv_locale_zh_CN - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 -$as_echo_n "checking for a french Unicode locale... " >&6; } -if ${gt_cv_locale_fr_utf8+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 +printf %s "checking for a french Unicode locale... " >&6; } +if test ${gt_cv_locale_fr_utf8+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27668,7 +28760,7 @@ _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets @@ -27714,8 +28806,8 @@ _ACEOF rm -fr conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 -$as_echo "$gt_cv_locale_fr_utf8" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 +printf "%s\n" "$gt_cv_locale_fr_utf8" >&6; } LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 @@ -27812,9 +28904,10 @@ $as_echo "$gt_cv_locale_fr_utf8" >&6; } # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is # irrelevant for anonymous mappings. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" -if test "x$ac_cv_func_mmap" = xyes; then : +if test "x$ac_cv_func_mmap" = xyes +then : gl_have_mmap=yes -else +else $as_nop gl_have_mmap=no fi @@ -27822,8 +28915,8 @@ fi # Try to allow MAP_ANONYMOUS. gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 -$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 +printf %s "checking for MAP_ANONYMOUS... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27834,10 +28927,11 @@ $as_echo_n "checking for MAP_ANONYMOUS... " >&6; } _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "I cannot identify this map" >/dev/null 2>&1; then : + $EGREP "I cannot identify this map" >/dev/null 2>&1 +then : gl_have_mmap_anonymous=yes fi -rm -f conftest* +rm -rf conftest* if test $gl_have_mmap_anonymous != yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -27850,20 +28944,21 @@ rm -f conftest* _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "I cannot identify this map" >/dev/null 2>&1; then : + $EGREP "I cannot identify this map" >/dev/null 2>&1 +then : -$as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h +printf "%s\n" "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h gl_have_mmap_anonymous=yes fi -rm -f conftest* +rm -rf conftest* fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 -$as_echo "$gl_have_mmap_anonymous" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 +printf "%s\n" "$gl_have_mmap_anonymous" >&6; } if test $gl_have_mmap_anonymous = yes; then -$as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h +printf "%s\n" "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h fi fi @@ -27893,14 +28988,16 @@ $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 # Assume that memchr works on platforms that lack mprotect. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 -$as_echo_n "checking whether memchr works... " >&6; } -if ${gl_cv_func_memchr_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 +printf %s "checking whether memchr works... " >&6; } +if test ${gl_cv_func_memchr_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : gl_cv_func_memchr_works="guessing no" -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27916,7 +29013,7 @@ else #endif int -main () +main (void) { int result = 0; @@ -27956,9 +29053,10 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_memchr_works=yes -else +else $as_nop gl_cv_func_memchr_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -27966,8 +29064,8 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5 -$as_echo "$gl_cv_func_memchr_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5 +printf "%s\n" "$gl_cv_func_memchr_works" >&6; } if test "$gl_cv_func_memchr_works" != yes; then REPLACE_MEMCHR=1 fi @@ -27989,16 +29087,14 @@ $as_echo "$gl_cv_func_memchr_works" >&6; } REPLACE_TIMEGM=GNULIB_PORTCHECK; - ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default" -if test "x$ac_cv_have_decl_alarm" = xyes; then : + ac_fn_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_alarm" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_ALARM $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_ALARM $ac_have_decl" >>confdefs.h @@ -28011,7 +29107,8 @@ _ACEOF typedef int dummy; _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : arch= prev= @@ -28035,7 +29132,7 @@ if ac_fn_c_try_compile "$LINENO"; then : done fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test $gl_cv_c_multiarch = yes; then APPLE_UNIVERSAL_BUILD=1 else @@ -28058,32 +29155,34 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 -$as_echo_n "checking for inline... " >&6; } -if ${ac_cv_c_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 +printf %s "checking for inline... " >&6; } +if test ${ac_cv_c_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; -static $ac_kw foo_t static_foo () {return 0; } -$ac_kw foo_t foo () {return 0; } +static $ac_kw foo_t static_foo (void) {return 0; } +$ac_kw foo_t foo (void) {return 0; } #endif _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_inline=$ac_kw fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 -$as_echo "$ac_cv_c_inline" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 +printf "%s\n" "$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; @@ -28116,16 +29215,17 @@ esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 -$as_echo_n "checking for ssize_t... " >&6; } -if ${gt_cv_ssize_t+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 +printf %s "checking for ssize_t... " >&6; } +if test ${gt_cv_ssize_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { int x = sizeof (ssize_t *) + sizeof (ssize_t); return !x; @@ -28133,32 +29233,31 @@ int x = sizeof (ssize_t *) + sizeof (ssize_t); return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gt_cv_ssize_t=yes -else +else $as_nop gt_cv_ssize_t=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 -$as_echo "$gt_cv_ssize_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 +printf "%s\n" "$gt_cv_ssize_t" >&6; } if test $gt_cv_ssize_t = no; then -$as_echo "#define ssize_t int" >>confdefs.h +printf "%s\n" "#define ssize_t int" >>confdefs.h fi - ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default" -if test "x$ac_cv_have_decl_setenv" = xyes; then : + ac_fn_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_setenv" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_SETENV $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_SETENV $ac_have_decl" >>confdefs.h @@ -28195,28 +29294,19 @@ _ACEOF - for ac_header in search.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default" -if test "x$ac_cv_header_search_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SEARCH_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default" +if test "x$ac_cv_header_search_h" = xyes +then : + printf "%s\n" "#define HAVE_SEARCH_H 1" >>confdefs.h fi -done - - for ac_func in tsearch -do : ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch" -if test "x$ac_cv_func_tsearch" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_TSEARCH 1 -_ACEOF +if test "x$ac_cv_func_tsearch" = xyes +then : + printf "%s\n" "#define HAVE_TSEARCH 1" >>confdefs.h fi -done @@ -28340,13 +29430,15 @@ done - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5 -$as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; } -if ${gl_cv_func_snprintf_retval_c99+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5 +printf %s "checking whether snprintf returns a byte count as in C99... " >&6; } +if test ${gl_cv_func_snprintf_retval_c99+y} +then : + printf %s "(cached) " >&6 +else $as_nop - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : case "$host_os" in # Guess yes on glibc systems. @@ -28377,7 +29469,7 @@ else *) gl_cv_func_snprintf_retval_c99="guessing no";; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28410,9 +29502,10 @@ int main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_snprintf_retval_c99=yes -else +else $as_nop gl_cv_func_snprintf_retval_c99=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -28421,27 +29514,26 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5 -$as_echo "$gl_cv_func_snprintf_retval_c99" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5 +printf "%s\n" "$gl_cv_func_snprintf_retval_c99" >&6; } - ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default" -if test "x$ac_cv_have_decl_snprintf" = xyes; then : + ac_fn_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_snprintf" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_SNPRINTF $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_SNPRINTF $ac_have_decl" >>confdefs.h -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 -$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } -if ${ac_cv_header_stdbool_h+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 +printf %s "checking for stdbool.h that conforms to C99... " >&6; } +if test ${ac_cv_header_stdbool_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28490,7 +29582,7 @@ else _Bool *pq = &q; int -main () +main (void) { bool e = &s; @@ -28504,21 +29596,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_header_stdbool_h=yes -else +else $as_nop ac_cv_header_stdbool_h=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 -$as_echo "$ac_cv_header_stdbool_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 +printf "%s\n" "$ac_cv_header_stdbool_h" >&6; } ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" -if test "x$ac_cv_type__Bool" = xyes; then : +if test "x$ac_cv_type__Bool" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE__BOOL 1 -_ACEOF +printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h fi @@ -28597,11 +29689,12 @@ fi if test $gl_cv_have_include_next = yes; then gl_cv_next_stdint_h='<'stdint.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_stdint_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_stdint_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_stdint_h = yes; then @@ -28642,8 +29735,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 -$as_echo "$gl_cv_next_stdint_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 +printf "%s\n" "$gl_cv_next_stdint_h" >&6; } fi NEXT_STDINT_H=$gl_cv_next_stdint_h @@ -28667,11 +29760,12 @@ $as_echo "$gl_cv_next_stdint_h" >&6; } if test $ac_cv_header_stdint_h = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 -$as_echo_n "checking whether stdint.h conforms to C99... " >&6; } -if ${gl_cv_header_working_stdint_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 +printf %s "checking whether stdint.h conforms to C99... " >&6; } +if test ${gl_cv_header_working_stdint_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop gl_cv_header_working_stdint_h=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28829,18 +29923,20 @@ struct s { }; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - if test "$cross_compiling" = yes; then : +if ac_fn_c_try_compile "$LINENO" +then : + if test "$cross_compiling" = yes +then : gl_cv_header_working_stdint_h=yes -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28894,7 +29990,7 @@ static const char *macro_values[] = }; int -main () +main (void) { const char **mv; @@ -28916,7 +30012,8 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_header_working_stdint_h=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -28925,27 +30022,27 @@ fi fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 -$as_echo "$gl_cv_header_working_stdint_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 +printf "%s\n" "$gl_cv_header_working_stdint_h" >&6; } fi if test "$gl_cv_header_working_stdint_h" = yes; then STDINT_H= else - for ac_header in sys/inttypes.h sys/bitypes.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "sys/inttypes.h" "ac_cv_header_sys_inttypes_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_inttypes_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_INTTYPES_H 1" >>confdefs.h fi +ac_fn_c_check_header_compile "$LINENO" "sys/bitypes.h" "ac_cv_header_sys_bitypes_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_bitypes_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_BITYPES_H 1" >>confdefs.h -done +fi if test $ac_cv_header_sys_inttypes_h = yes; then HAVE_SYS_INTTYPES_H=1 @@ -28966,11 +30063,12 @@ done for gltype in ptrdiff_t size_t ; do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 -$as_echo_n "checking for bit size of $gltype... " >&6; } -if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 +printf %s "checking for bit size of $gltype... " >&6; } +if eval test \${gl_cv_bitsizeof_${gltype}+y} +then : + printf %s "(cached) " >&6 +else $as_nop if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " /* BSD/OS 4.0.1 has a bug: , and must be included before . */ @@ -28982,9 +30080,10 @@ else # include #endif -#include "; then : +#include " +then : -else +else $as_nop result=unknown fi @@ -28992,16 +30091,14 @@ fi fi eval ac_res=\$gl_cv_bitsizeof_${gltype} - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval result=\$gl_cv_bitsizeof_${gltype} if test $result = unknown; then result=0 fi GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` - cat >>confdefs.h <<_ACEOF -#define BITSIZEOF_${GLTYPE} $result -_ACEOF + printf "%s\n" "#define BITSIZEOF_${GLTYPE} $result" >>confdefs.h eval BITSIZEOF_${GLTYPE}=\$result done @@ -29011,11 +30108,12 @@ _ACEOF for gltype in sig_atomic_t wchar_t wint_t ; do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 -$as_echo_n "checking for bit size of $gltype... " >&6; } -if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 +printf %s "checking for bit size of $gltype... " >&6; } +if eval test \${gl_cv_bitsizeof_${gltype}+y} +then : + printf %s "(cached) " >&6 +else $as_nop if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " /* BSD/OS 4.0.1 has a bug: , and must be included before . */ @@ -29027,9 +30125,10 @@ else # include #endif -#include "; then : +#include " +then : -else +else $as_nop result=unknown fi @@ -29037,16 +30136,14 @@ fi fi eval ac_res=\$gl_cv_bitsizeof_${gltype} - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval result=\$gl_cv_bitsizeof_${gltype} if test $result = unknown; then result=0 fi GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` - cat >>confdefs.h <<_ACEOF -#define BITSIZEOF_${GLTYPE} $result -_ACEOF + printf "%s\n" "#define BITSIZEOF_${GLTYPE} $result" >>confdefs.h eval BITSIZEOF_${GLTYPE}=\$result done @@ -29055,11 +30152,12 @@ _ACEOF for gltype in sig_atomic_t wchar_t wint_t ; do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 -$as_echo_n "checking whether $gltype is signed... " >&6; } -if eval \${gl_cv_type_${gltype}_signed+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 +printf %s "checking whether $gltype is signed... " >&6; } +if eval test \${gl_cv_type_${gltype}_signed+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29075,31 +30173,30 @@ else int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : result=yes -else +else $as_nop result=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext eval gl_cv_type_${gltype}_signed=\$result fi eval ac_res=\$gl_cv_type_${gltype}_signed - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval result=\$gl_cv_type_${gltype}_signed GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` if test "$result" = yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_SIGNED_${GLTYPE} 1 -_ACEOF + printf "%s\n" "#define HAVE_SIGNED_${GLTYPE} 1" >>confdefs.h eval HAVE_SIGNED_${GLTYPE}=1 else @@ -29114,11 +30211,12 @@ _ACEOF for gltype in ptrdiff_t size_t ; do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 -$as_echo_n "checking for $gltype integer literal suffix... " >&6; } -if eval \${gl_cv_type_${gltype}_suffix+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 +printf %s "checking for $gltype integer literal suffix... " >&6; } +if eval test \${gl_cv_type_${gltype}_suffix+y} +then : + printf %s "(cached) " >&6 +else $as_nop eval gl_cv_type_${gltype}_suffix=no eval result=\$gl_cv_type_${gltype}_signed if test "$result" = yes; then @@ -29153,31 +30251,30 @@ else extern $gltype foo; extern $gltype1 foo; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval gl_cv_type_${gltype}_suffix=\$glsuf fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext eval result=\$gl_cv_type_${gltype}_suffix test "$result" != no && break done fi eval ac_res=\$gl_cv_type_${gltype}_suffix - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` eval result=\$gl_cv_type_${gltype}_suffix test "$result" = no && result= eval ${GLTYPE}_SUFFIX=\$result - cat >>confdefs.h <<_ACEOF -#define ${GLTYPE}_SUFFIX $result -_ACEOF + printf "%s\n" "#define ${GLTYPE}_SUFFIX $result" >>confdefs.h done @@ -29186,11 +30283,12 @@ _ACEOF for gltype in sig_atomic_t wchar_t wint_t ; do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 -$as_echo_n "checking for $gltype integer literal suffix... " >&6; } -if eval \${gl_cv_type_${gltype}_suffix+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 +printf %s "checking for $gltype integer literal suffix... " >&6; } +if eval test \${gl_cv_type_${gltype}_suffix+y} +then : + printf %s "(cached) " >&6 +else $as_nop eval gl_cv_type_${gltype}_suffix=no eval result=\$gl_cv_type_${gltype}_signed if test "$result" = yes; then @@ -29225,31 +30323,30 @@ else extern $gltype foo; extern $gltype1 foo; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval gl_cv_type_${gltype}_suffix=\$glsuf fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext eval result=\$gl_cv_type_${gltype}_suffix test "$result" != no && break done fi eval ac_res=\$gl_cv_type_${gltype}_suffix - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` eval result=\$gl_cv_type_${gltype}_suffix test "$result" = no && result= eval ${GLTYPE}_SUFFIX=\$result - cat >>confdefs.h <<_ACEOF -#define ${GLTYPE}_SUFFIX $result -_ACEOF + printf "%s\n" "#define ${GLTYPE}_SUFFIX $result" >>confdefs.h done @@ -29283,16 +30380,12 @@ fi - for ac_func in strcasestr -do : ac_fn_c_check_func "$LINENO" "strcasestr" "ac_cv_func_strcasestr" -if test "x$ac_cv_func_strcasestr" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRCASESTR 1 -_ACEOF +if test "x$ac_cv_func_strcasestr" = xyes +then : + printf "%s\n" "#define HAVE_STRCASESTR 1" >>confdefs.h fi -done if test $ac_cv_func_strcasestr = no; then HAVE_STRCASESTR=0 @@ -29300,12 +30393,14 @@ done if test "$gl_cv_func_memchr_works" != yes; then REPLACE_STRCASESTR=1 else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strcasestr works" >&5 -$as_echo_n "checking whether strcasestr works... " >&6; } -if ${gl_cv_func_strcasestr_works_always+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strcasestr works" >&5 +printf %s "checking whether strcasestr works... " >&6; } +if test ${gl_cv_func_strcasestr_works_always+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29326,15 +30421,16 @@ else _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "Lucky user" >/dev/null 2>&1; then : + $EGREP "Lucky user" >/dev/null 2>&1 +then : gl_cv_func_strcasestr_works_always="guessing yes" -else +else $as_nop gl_cv_func_strcasestr_works_always="guessing no" fi -rm -f conftest* +rm -rf conftest* -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29344,7 +30440,7 @@ else #define NEEDLE P P P P P int -main () +main (void) { return !!strcasestr (HAYSTACK, NEEDLE); @@ -29352,9 +30448,10 @@ return !!strcasestr (HAYSTACK, NEEDLE); return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_strcasestr_works_always=yes -else +else $as_nop gl_cv_func_strcasestr_works_always=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -29363,8 +30460,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strcasestr_works_always" >&5 -$as_echo "$gl_cv_func_strcasestr_works_always" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strcasestr_works_always" >&5 +printf "%s\n" "$gl_cv_func_strcasestr_works_always" >&6; } case "$gl_cv_func_strcasestr_works_always" in *yes) ;; *) @@ -29376,12 +30473,14 @@ $as_echo "$gl_cv_func_strcasestr_works_always" >&6; } REPLACE_STRERROR_0=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5 -$as_echo_n "checking whether strerror(0) succeeds... " >&6; } -if ${gl_cv_func_strerror_0_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5 +printf %s "checking whether strerror(0) succeeds... " >&6; } +if test ${gl_cv_func_strerror_0_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : case "$host_os" in # Guess yes on glibc systems. *-gnu*) gl_cv_func_strerror_0_works="guessing yes" ;; @@ -29389,14 +30488,14 @@ else *) gl_cv_func_strerror_0_works="guessing no" ;; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int -main () +main (void) { int result = 0; char *str; @@ -29411,9 +30510,10 @@ int result = 0; return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_strerror_0_works=yes -else +else $as_nop gl_cv_func_strerror_0_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -29422,14 +30522,14 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5 -$as_echo "$gl_cv_func_strerror_0_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5 +printf "%s\n" "$gl_cv_func_strerror_0_works" >&6; } case "$gl_cv_func_strerror_0_works" in *yes) ;; *) REPLACE_STRERROR_0=1 -$as_echo "#define REPLACE_STRERROR_0 1" >>confdefs.h +printf "%s\n" "#define REPLACE_STRERROR_0 1" >>confdefs.h ;; esac @@ -29448,11 +30548,12 @@ $as_echo "#define REPLACE_STRERROR_0 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_string_h='<'string.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_string_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_string_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29487,8 +30588,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 -$as_echo "$gl_cv_next_string_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 +printf "%s\n" "$gl_cv_next_string_h" >&6; } fi NEXT_STRING_H=$gl_cv_next_string_h @@ -29507,18 +30608,19 @@ $as_echo "$gl_cv_next_string_h" >&6; } for gl_func in ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r strsignal strverscmp; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -29526,19 +30628,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -29572,11 +30676,12 @@ fi if test $gl_cv_have_include_next = yes; then gl_cv_next_strings_h='<'strings.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_strings_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_strings_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_strings_h = yes; then @@ -29617,8 +30722,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_strings_h" >&5 -$as_echo "$gl_cv_next_strings_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_strings_h" >&5 +printf "%s\n" "$gl_cv_next_strings_h" >&6; } fi NEXT_STRINGS_H=$gl_cv_next_strings_h @@ -29643,12 +30748,13 @@ $as_echo "$gl_cv_next_strings_h" >&6; } for gl_func in ffs strcasecmp strncasecmp; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29658,7 +30764,7 @@ else #include int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -29666,19 +30772,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -29687,16 +30795,14 @@ fi - ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" -if test "x$ac_cv_have_decl_strndup" = xyes; then : + ac_fn_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_strndup" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_STRNDUP $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_STRNDUP $ac_have_decl" >>confdefs.h @@ -29705,28 +30811,25 @@ _ACEOF - ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" -if test "x$ac_cv_have_decl_strnlen" = xyes; then : + ac_fn_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_strnlen" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_STRNLEN $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_STRNLEN $ac_have_decl" >>confdefs.h ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" -if test "x$ac_cv_type_mode_t" = xyes; then : +if test "x$ac_cv_type_mode_t" = xyes +then : -else +else $as_nop -cat >>confdefs.h <<_ACEOF -#define mode_t int -_ACEOF +printf "%s\n" "#define mode_t int" >>confdefs.h fi @@ -29749,11 +30852,12 @@ fi if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_types_h='<'sys/types.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_sys_types_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_sys_types_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29788,8 +30892,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5 -$as_echo "$gl_cv_next_sys_types_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5 +printf "%s\n" "$gl_cv_next_sys_types_h" >&6; } fi NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h @@ -29816,11 +30920,6 @@ $as_echo "$gl_cv_next_sys_types_h" >&6; } - - - - - @@ -29832,32 +30931,34 @@ $as_echo "$gl_cv_next_sys_types_h" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 -$as_echo_n "checking for struct timespec in ... " >&6; } -if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 +printf %s "checking for struct timespec in ... " >&6; } +if test ${gl_cv_sys_struct_timespec_in_time_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_sys_struct_timespec_in_time_h=yes -else +else $as_nop gl_cv_sys_struct_timespec_in_time_h=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5 -$as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5 +printf "%s\n" "$gl_cv_sys_struct_timespec_in_time_h" >&6; } TIME_H_DEFINES_STRUCT_TIMESPEC=0 SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 @@ -29865,61 +30966,65 @@ $as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; } if test $gl_cv_sys_struct_timespec_in_time_h = yes; then TIME_H_DEFINES_STRUCT_TIMESPEC=1 else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 -$as_echo_n "checking for struct timespec in ... " >&6; } -if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 +printf %s "checking for struct timespec in ... " >&6; } +if test ${gl_cv_sys_struct_timespec_in_sys_time_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_sys_struct_timespec_in_sys_time_h=yes -else +else $as_nop gl_cv_sys_struct_timespec_in_sys_time_h=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5 -$as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5 +printf "%s\n" "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 -$as_echo_n "checking for struct timespec in ... " >&6; } -if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 +printf %s "checking for struct timespec in ... " >&6; } +if test ${gl_cv_sys_struct_timespec_in_pthread_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_sys_struct_timespec_in_pthread_h=yes -else +else $as_nop gl_cv_sys_struct_timespec_in_pthread_h=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5 -$as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5 +printf "%s\n" "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; } if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 fi @@ -29943,11 +31048,12 @@ $as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; } if test $gl_cv_have_include_next = yes; then gl_cv_next_time_h='<'time.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_time_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_time_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29982,8 +31088,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5 -$as_echo "$gl_cv_next_time_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5 +printf "%s\n" "$gl_cv_next_time_h" >&6; } fi NEXT_TIME_H=$gl_cv_next_time_h @@ -30012,16 +31118,14 @@ $as_echo "$gl_cv_next_time_h" >&6; } - ac_fn_c_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default" -if test "x$ac_cv_have_decl_unsetenv" = xyes; then : + ac_fn_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_unsetenv" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_UNSETENV $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_UNSETENV $ac_have_decl" >>confdefs.h @@ -30030,11 +31134,12 @@ _ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 -$as_echo_n "checking for wint_t... " >&6; } -if ${gt_cv_c_wint_t+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 +printf %s "checking for wint_t... " >&6; } +if test ${gt_cv_c_wint_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -30048,34 +31153,36 @@ else #include wint_t foo = (wchar_t)'\0'; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gt_cv_c_wint_t=yes -else +else $as_nop gt_cv_c_wint_t=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 -$as_echo "$gt_cv_c_wint_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 +printf "%s\n" "$gt_cv_c_wint_t" >&6; } if test $gt_cv_c_wint_t = yes; then -$as_echo "#define HAVE_WINT_T 1" >>confdefs.h +printf "%s\n" "#define HAVE_WINT_T 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 -$as_echo_n "checking for inttypes.h... " >&6; } -if ${gl_cv_header_inttypes_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 +printf %s "checking for inttypes.h... " >&6; } +if test ${gl_cv_header_inttypes_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -30083,73 +31190,73 @@ else #include int -main () +main (void) { uintmax_t i = (uintmax_t) -1; return !i; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_inttypes_h=yes -else +else $as_nop gl_cv_header_inttypes_h=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5 -$as_echo "$gl_cv_header_inttypes_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5 +printf "%s\n" "$gl_cv_header_inttypes_h" >&6; } if test $gl_cv_header_inttypes_h = yes; then -cat >>confdefs.h <<_ACEOF -#define HAVE_INTTYPES_H_WITH_UINTMAX 1 -_ACEOF +printf "%s\n" "#define HAVE_INTTYPES_H_WITH_UINTMAX 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 -$as_echo_n "checking for stdint.h... " >&6; } -if ${gl_cv_header_stdint_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 +printf %s "checking for stdint.h... " >&6; } +if test ${gl_cv_header_stdint_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int -main () +main (void) { uintmax_t i = (uintmax_t) -1; return !i; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_stdint_h=yes -else +else $as_nop gl_cv_header_stdint_h=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5 -$as_echo "$gl_cv_header_stdint_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5 +printf "%s\n" "$gl_cv_header_stdint_h" >&6; } if test $gl_cv_header_stdint_h = yes; then -cat >>confdefs.h <<_ACEOF -#define HAVE_STDINT_H_WITH_UINTMAX 1 -_ACEOF +printf "%s\n" "#define HAVE_STDINT_H_WITH_UINTMAX 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 -$as_echo_n "checking for intmax_t... " >&6; } -if ${gt_cv_c_intmax_t+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 +printf %s "checking for intmax_t... " >&6; } +if test ${gt_cv_c_intmax_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -30163,25 +31270,26 @@ else #endif int -main () +main (void) { intmax_t x = -1; return !x; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gt_cv_c_intmax_t=yes -else +else $as_nop gt_cv_c_intmax_t=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 -$as_echo "$gt_cv_c_intmax_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 +printf "%s\n" "$gt_cv_c_intmax_t" >&6; } if test $gt_cv_c_intmax_t = yes; then -$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h +printf "%s\n" "#define HAVE_INTMAX_T 1" >>confdefs.h else @@ -30189,20 +31297,20 @@ $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h && ac_type='long long' \ || ac_type='long' -cat >>confdefs.h <<_ACEOF -#define intmax_t $ac_type -_ACEOF +printf "%s\n" "#define intmax_t $ac_type" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5 -$as_echo_n "checking where to find the exponent in a 'double'... " >&6; } -if ${gl_cv_cc_double_expbit0+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5 +printf %s "checking where to find the exponent in a 'double'... " >&6; } +if test ${gl_cv_cc_double_expbit0+y} +then : + printf %s "(cached) " >&6 +else $as_nop - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -30213,14 +31321,16 @@ else _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "mixed_endianness" >/dev/null 2>&1; then : + $EGREP "mixed_endianness" >/dev/null 2>&1 +then : gl_cv_cc_double_expbit0="unknown" -else +else $as_nop : -if ${ac_cv_c_bigendian+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test ${ac_cv_c_bigendian+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30231,7 +31341,8 @@ else typedef int dummy; _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : # Check for potential -arch flags. It is not universal unless # there are at least two -arch flags with different values. @@ -30255,7 +31366,7 @@ if ac_fn_c_try_compile "$LINENO"; then : fi done fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30264,7 +31375,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext #include int -main () +main (void) { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ @@ -30276,7 +31387,8 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -30284,7 +31396,7 @@ if ac_fn_c_try_compile "$LINENO"; then : #include int -main () +main (void) { #if BYTE_ORDER != BIG_ENDIAN not big endian @@ -30294,14 +31406,15 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_bigendian=yes -else +else $as_nop ac_cv_c_bigendian=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). @@ -30310,7 +31423,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext #include int -main () +main (void) { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros @@ -30320,14 +31433,15 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : # It does; now see whether it defined to _BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { #ifndef _BIG_ENDIAN not big endian @@ -30337,31 +31451,33 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_bigendian=yes -else +else $as_nop ac_cv_c_bigendian=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : # Try to guess by grepping values from an object file. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -short int ascii_mm[] = +unsigned short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; - short int ascii_ii[] = + unsigned short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } - short int ebcdic_ii[] = + unsigned short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; - short int ebcdic_mm[] = + unsigned short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; @@ -30369,14 +31485,15 @@ short int ascii_mm[] = extern int foo; int -main () +main (void) { return use_ascii (foo) == use_ebcdic (foo); ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi @@ -30389,13 +31506,13 @@ if ac_fn_c_try_compile "$LINENO"; then : fi fi fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -else +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int -main () +main (void) { /* Are we little or big endian? From Harbison&Steele. */ @@ -30411,9 +31528,10 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : ac_cv_c_bigendian=no -else +else $as_nop ac_cv_c_bigendian=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -30430,7 +31548,7 @@ fi gl_cv_cc_double_expbit0="word 1 bit 20" ;; #( universal) -$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h +printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) @@ -30439,10 +31557,10 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h fi -rm -f conftest* +rm -rf conftest* -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -30510,9 +31628,10 @@ int main () } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_cc_double_expbit0=`cat conftest.out` -else +else $as_nop gl_cv_cc_double_expbit0="unknown" fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -30522,21 +31641,17 @@ fi rm -f conftest.out fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5 -$as_echo "$gl_cv_cc_double_expbit0" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5 +printf "%s\n" "$gl_cv_cc_double_expbit0" >&6; } case "$gl_cv_cc_double_expbit0" in word*bit*) word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'` -cat >>confdefs.h <<_ACEOF -#define DBL_EXPBIT0_WORD $word -_ACEOF +printf "%s\n" "#define DBL_EXPBIT0_WORD $word" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define DBL_EXPBIT0_BIT $bit -_ACEOF +printf "%s\n" "#define DBL_EXPBIT0_BIT $bit" >>confdefs.h ;; esac @@ -30546,51 +31661,72 @@ _ACEOF - for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" +if test "x$ac_cv_func_snprintf" = xyes +then : + printf "%s\n" "#define HAVE_SNPRINTF 1" >>confdefs.h fi -done +ac_fn_c_check_func "$LINENO" "strnlen" "ac_cv_func_strnlen" +if test "x$ac_cv_func_strnlen" = xyes +then : + printf "%s\n" "#define HAVE_STRNLEN 1" >>confdefs.h - ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include -" -if test "x$ac_cv_have_decl__snprintf" = xyes; then : +fi +ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen" +if test "x$ac_cv_func_wcslen" = xyes +then : + printf "%s\n" "#define HAVE_WCSLEN 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "wcsnlen" "ac_cv_func_wcsnlen" +if test "x$ac_cv_func_wcsnlen" = xyes +then : + printf "%s\n" "#define HAVE_WCSNLEN 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "mbrtowc" "ac_cv_func_mbrtowc" +if test "x$ac_cv_func_mbrtowc" = xyes +then : + printf "%s\n" "#define HAVE_MBRTOWC 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "wcrtomb" "ac_cv_func_wcrtomb" +if test "x$ac_cv_func_wcrtomb" = xyes +then : + printf "%s\n" "#define HAVE_WCRTOMB 1" >>confdefs.h + +fi + + ac_fn_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl__snprintf" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL__SNPRINTF $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL__SNPRINTF $ac_have_decl" >>confdefs.h case "$gl_cv_func_snprintf_retval_c99" in *yes) -$as_echo "#define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h +printf "%s\n" "#define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h ;; esac - ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default" -if test "x$ac_cv_have_decl_vsnprintf" = xyes; then : + ac_fn_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_vsnprintf" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VSNPRINTF $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_VSNPRINTF $ac_have_decl" >>confdefs.h @@ -30650,11 +31786,12 @@ fi # Define an additional variable used in the Makefile substitution. if test $ac_cv_working_alloca_h = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 -$as_echo_n "checking for alloca as a compiler built-in... " >&6; } -if ${gl_cv_rpl_alloca+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 +printf %s "checking for alloca as a compiler built-in... " >&6; } +if test ${gl_cv_rpl_alloca+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -30665,20 +31802,21 @@ else _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "Need own alloca" >/dev/null 2>&1; then : + $EGREP "Need own alloca" >/dev/null 2>&1 +then : gl_cv_rpl_alloca=yes -else +else $as_nop gl_cv_rpl_alloca=no fi -rm -f conftest* +rm -rf conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5 -$as_echo "$gl_cv_rpl_alloca" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5 +printf "%s\n" "$gl_cv_rpl_alloca" >&6; } if test $gl_cv_rpl_alloca = yes; then -$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h +printf "%s\n" "#define HAVE_ALLOCA 1" >>confdefs.h ALLOCA_H=alloca.h else @@ -30731,11 +31869,12 @@ fi if test $gl_cv_have_include_next = yes; then gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_arpa_inet_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_arpa_inet_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_arpa_inet_h = yes; then @@ -30776,8 +31915,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_arpa_inet_h" >&5 -$as_echo "$gl_cv_next_arpa_inet_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_arpa_inet_h" >&5 +printf "%s\n" "$gl_cv_next_arpa_inet_h" >&6; } fi NEXT_ARPA_INET_H=$gl_cv_next_arpa_inet_h @@ -30798,12 +31937,13 @@ $as_echo "$gl_cv_next_arpa_inet_h" >&6; } for gl_func in inet_ntop inet_pton; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -30817,7 +31957,7 @@ else #include int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -30825,19 +31965,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -30870,13 +32012,15 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5 -$as_echo_n "checking whether btowc(0) is correct... " >&6; } -if ${gl_cv_func_btowc_nul+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5 +printf %s "checking whether btowc(0) is correct... " >&6; } +if test ${gl_cv_func_btowc_nul+y} +then : + printf %s "(cached) " >&6 +else $as_nop - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : case "$host_os" in # Guess no on Cygwin. @@ -30885,7 +32029,7 @@ else *) gl_cv_func_btowc_nul="guessing yes" ;; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -30905,9 +32049,10 @@ int main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_btowc_nul=yes -else +else $as_nop gl_cv_func_btowc_nul=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -30916,14 +32061,15 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_nul" >&5 -$as_echo "$gl_cv_func_btowc_nul" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_nul" >&5 +printf "%s\n" "$gl_cv_func_btowc_nul" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5 -$as_echo_n "checking whether btowc(EOF) is correct... " >&6; } -if ${gl_cv_func_btowc_eof+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5 +printf %s "checking whether btowc(EOF) is correct... " >&6; } +if test ${gl_cv_func_btowc_eof+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$host_os" in # Guess no on IRIX. @@ -30932,9 +32078,10 @@ else *) gl_cv_func_btowc_eof="guessing yes" ;; esac if test $LOCALE_FR != none; then - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -30958,9 +32105,10 @@ int main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_btowc_eof=yes -else +else $as_nop gl_cv_func_btowc_eof=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -30970,8 +32118,8 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5 -$as_echo "$gl_cv_func_btowc_eof" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5 +printf "%s\n" "$gl_cv_func_btowc_eof" >&6; } case "$gl_cv_func_btowc_nul" in *yes) ;; @@ -31009,7 +32157,7 @@ $as_echo "$gl_cv_func_btowc_eof" >&6; } -$as_echo "#define GNULIB_TEST_BTOWC 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_BTOWC 1" >>confdefs.h @@ -31059,9 +32207,7 @@ $as_echo "#define GNULIB_TEST_BTOWC 1" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define GNULIB_DIRNAME 1 -_ACEOF +printf "%s\n" "#define GNULIB_DIRNAME 1" >>confdefs.h @@ -31070,11 +32216,12 @@ _ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 -$as_echo_n "checking whether // is distinct from /... " >&6; } -if ${gl_cv_double_slash_root+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 +printf %s "checking whether // is distinct from /... " >&6; } +if test ${gl_cv_double_slash_root+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test x"$cross_compiling" = xyes ; then # When cross-compiling, there is no way to tell whether // is special # short of a list of hosts. However, the only known hosts to date @@ -31099,11 +32246,11 @@ else fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 -$as_echo "$gl_cv_double_slash_root" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 +printf "%s\n" "$gl_cv_double_slash_root" >&6; } if test "$gl_cv_double_slash_root" = yes; then -$as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h +printf "%s\n" "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h fi @@ -31119,38 +32266,40 @@ $as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h -$as_echo "#define GNULIB_TEST_ENVIRON 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_ENVIRON 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 -$as_echo_n "checking for error_at_line... " >&6; } -if ${ac_cv_lib_error_at_line+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 +printf %s "checking for error_at_line... " >&6; } +if test ${ac_cv_lib_error_at_line+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { error_at_line (0, 0, "", 0, "an error occurred"); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_error_at_line=yes -else +else $as_nop ac_cv_lib_error_at_line=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 -$as_echo "$ac_cv_lib_error_at_line" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 +printf "%s\n" "$ac_cv_lib_error_at_line" >&6; } if test $ac_cv_lib_error_at_line = no; then @@ -31201,12 +32350,13 @@ $as_echo "$ac_cv_lib_error_at_line" >&6; } #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : + $EGREP "yes" >/dev/null 2>&1 +then : -else +else $as_nop FLOAT_H=float.h fi -rm -f conftest* +rm -rf conftest* ;; esac @@ -31228,13 +32378,15 @@ rm -f conftest* esac REPLACE_ITOLD=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether conversion from 'int' to 'long double' works" >&5 -$as_echo_n "checking whether conversion from 'int' to 'long double' works... " >&6; } -if ${gl_cv_func_itold_works+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether conversion from 'int' to 'long double' works" >&5 +printf %s "checking whether conversion from 'int' to 'long double' works... " >&6; } +if test ${gl_cv_func_itold_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : case "$host" in sparc*-*-linux*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31244,18 +32396,19 @@ else #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : + $EGREP "yes" >/dev/null 2>&1 +then : gl_cv_func_itold_works="guessing no" -else +else $as_nop gl_cv_func_itold_works="guessing yes" fi -rm -f conftest* +rm -rf conftest* ;; *) gl_cv_func_itold_works="guessing yes" ;; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -31269,9 +32422,10 @@ int main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_itold_works=yes -else +else $as_nop gl_cv_func_itold_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -31280,8 +32434,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_itold_works" >&5 -$as_echo "$gl_cv_func_itold_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_itold_works" >&5 +printf "%s\n" "$gl_cv_func_itold_works" >&6; } case "$gl_cv_func_itold_works" in *no) REPLACE_ITOLD=1 @@ -31301,11 +32455,12 @@ $as_echo "$gl_cv_func_itold_works" >&6; } if test $gl_cv_have_include_next = yes; then gl_cv_next_float_h='<'float.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_float_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_float_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -31340,8 +32495,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5 -$as_echo "$gl_cv_next_float_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5 +printf "%s\n" "$gl_cv_next_float_h" >&6; } fi NEXT_FLOAT_H=$gl_cv_next_float_h @@ -31397,26 +32552,25 @@ fi - ac_fn_c_check_decl "$LINENO" "floorf" "ac_cv_have_decl_floorf" "#include -" -if test "x$ac_cv_have_decl_floorf" = xyes; then : + ac_fn_check_decl "$LINENO" "floorf" "ac_cv_have_decl_floorf" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_floorf" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_FLOORF $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_FLOORF $ac_have_decl" >>confdefs.h if test "$ac_cv_have_decl_floorf" = yes; then saved_as_echo_n="$as_echo_n" as_echo_n=':' - if ${gl_cv_func_floorf_libm+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${gl_cv_func_floorf_libm+y} +then : + printf %s "(cached) " >&6 +else $as_nop gl_cv_func_floorf_libm=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31428,17 +32582,18 @@ else float (*funcptr) (float) = floorf; float x; int -main () +main (void) { x = funcptr(x) + floorf(x); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_cv_func_floorf_libm= fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$gl_cv_func_floorf_libm" = "?"; then save_LIBS="$LIBS" @@ -31452,17 +32607,18 @@ rm -f core conftest.err conftest.$ac_objext \ float (*funcptr) (float) = floorf; float x; int -main () +main (void) { x = funcptr(x) + floorf(x); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_cv_func_floorf_libm="-lm" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$save_LIBS" fi @@ -31508,7 +32664,7 @@ fi -$as_echo "#define GNULIB_TEST_FLOORF 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_FLOORF 1" >>confdefs.h @@ -31530,27 +32686,22 @@ $as_echo "#define GNULIB_TEST_FLOORF 1" >>confdefs.h - for ac_header in sys/mount.h -do : ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default #if HAVE_SYS_PARAM_H #include #endif " -if test "x$ac_cv_header_sys_mount_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SYS_MOUNT_H 1 -_ACEOF +if test "x$ac_cv_header_sys_mount_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h fi -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get file system space usage" >&5 -$as_echo "$as_me: checking how to get file system space usage" >&6;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to get file system space usage" >&5 +printf "%s\n" "$as_me: checking how to get file system space usage" >&6;} ac_fsusage_space=no # Perform only the link test since it seems there are no variants of the @@ -31562,11 +32713,12 @@ ac_fsusage_space=no if test $ac_fsusage_space = no; then # glibc/{Hurd,kFreeBSD}, FreeBSD >= 5.0, NetBSD >= 3.0, # OpenBSD >= 4.4, AIX, HP-UX, IRIX, Solaris, Cygwin, Interix, BeOS. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs function (SVR4)" >&5 -$as_echo_n "checking for statvfs function (SVR4)... " >&6; } -if ${fu_cv_sys_stat_statvfs+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statvfs function (SVR4)" >&5 +printf %s "checking for statvfs function (SVR4)... " >&6; } +if test ${fu_cv_sys_stat_statvfs+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -31589,33 +32741,35 @@ int check_f_blocks_size[sizeof fsd.f_blocks * CHAR_BIT <= 32 ? -1 : 1]; #endif int -main () +main (void) { statvfs (0, &fsd); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : fu_cv_sys_stat_statvfs=yes -else +else $as_nop fu_cv_sys_stat_statvfs=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statvfs" >&5 -$as_echo "$fu_cv_sys_stat_statvfs" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statvfs" >&5 +printf "%s\n" "$fu_cv_sys_stat_statvfs" >&6; } if test $fu_cv_sys_stat_statvfs = yes; then ac_fsusage_space=yes # AIX >= 5.2 has statvfs64 that has a wider f_blocks field than statvfs. # glibc, HP-UX, IRIX, Solaris have statvfs64 as well, but on these systems # statvfs with large-file support is already equivalent to statvfs64. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use statvfs64" >&5 -$as_echo_n "checking whether to use statvfs64... " >&6; } -if ${fu_cv_sys_stat_statvfs64+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use statvfs64" >&5 +printf %s "checking whether to use statvfs64... " >&6; } +if test ${fu_cv_sys_stat_statvfs64+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -31627,31 +32781,32 @@ else ? 1 : -1]; int -main () +main (void) { statvfs64 (0, &fsd); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : fu_cv_sys_stat_statvfs64=yes -else +else $as_nop fu_cv_sys_stat_statvfs64=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statvfs64" >&5 -$as_echo "$fu_cv_sys_stat_statvfs64" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statvfs64" >&5 +printf "%s\n" "$fu_cv_sys_stat_statvfs64" >&6; } if test $fu_cv_sys_stat_statvfs64 = yes; then -$as_echo "#define STAT_STATVFS64 1" >>confdefs.h +printf "%s\n" "#define STAT_STATVFS64 1" >>confdefs.h else -$as_echo "#define STAT_STATVFS 1" >>confdefs.h +printf "%s\n" "#define STAT_STATVFS 1" >>confdefs.h fi fi @@ -31659,14 +32814,16 @@ fi # Check for this unconditionally so we have a # good fallback on glibc/Linux > 2.6 < 2.6.36 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with statfs.f_frsize member" >&5 -$as_echo_n "checking for two-argument statfs with statfs.f_frsize member... " >&6; } -if ${fu_cv_sys_stat_statfs2_frsize+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with statfs.f_frsize member" >&5 +printf %s "checking for two-argument statfs with statfs.f_frsize member... " >&6; } +if test ${fu_cv_sys_stat_statfs2_frsize+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : fu_cv_sys_stat_statfs2_frsize=no -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -31687,9 +32844,10 @@ else return statfs (".", &fsd) != 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : fu_cv_sys_stat_statfs2_frsize=yes -else +else $as_nop fu_cv_sys_stat_statfs2_frsize=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -31698,25 +32856,27 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs2_frsize" >&5 -$as_echo "$fu_cv_sys_stat_statfs2_frsize" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs2_frsize" >&5 +printf "%s\n" "$fu_cv_sys_stat_statfs2_frsize" >&6; } if test $fu_cv_sys_stat_statfs2_frsize = yes; then ac_fsusage_space=yes -$as_echo "#define STAT_STATFS2_FRSIZE 1" >>confdefs.h +printf "%s\n" "#define STAT_STATFS2_FRSIZE 1" >>confdefs.h fi if test $ac_fsusage_space = no; then # DEC Alpha running OSF/1 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 3-argument statfs function (DEC OSF/1)" >&5 -$as_echo_n "checking for 3-argument statfs function (DEC OSF/1)... " >&6; } - if ${fu_cv_sys_stat_statfs3_osf1+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 3-argument statfs function (DEC OSF/1)" >&5 +printf %s "checking for 3-argument statfs function (DEC OSF/1)... " >&6; } + if test ${fu_cv_sys_stat_statfs3_osf1+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : fu_cv_sys_stat_statfs3_osf1=no -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -31731,9 +32891,10 @@ else return statfs (".", &fsd, sizeof (struct statfs)) != 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : fu_cv_sys_stat_statfs3_osf1=yes -else +else $as_nop fu_cv_sys_stat_statfs3_osf1=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -31742,12 +32903,12 @@ fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs3_osf1" >&5 -$as_echo "$fu_cv_sys_stat_statfs3_osf1" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs3_osf1" >&5 +printf "%s\n" "$fu_cv_sys_stat_statfs3_osf1" >&6; } if test $fu_cv_sys_stat_statfs3_osf1 = yes; then ac_fsusage_space=yes -$as_echo "#define STAT_STATFS3_OSF1 1" >>confdefs.h +printf "%s\n" "#define STAT_STATFS3_OSF1 1" >>confdefs.h fi fi @@ -31759,14 +32920,16 @@ if test $ac_fsusage_space = no; then # (On IRIX you need to include , not only and # .) # (On Solaris, statfs has 4 arguments.) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with statfs.f_bsize member (AIX, 4.3BSD)" >&5 -$as_echo_n "checking for two-argument statfs with statfs.f_bsize member (AIX, 4.3BSD)... " >&6; } - if ${fu_cv_sys_stat_statfs2_bsize+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with statfs.f_bsize member (AIX, 4.3BSD)" >&5 +printf %s "checking for two-argument statfs with statfs.f_bsize member (AIX, 4.3BSD)... " >&6; } + if test ${fu_cv_sys_stat_statfs2_bsize+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : fu_cv_sys_stat_statfs2_bsize=no -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -31787,9 +32950,10 @@ else return statfs (".", &fsd) != 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : fu_cv_sys_stat_statfs2_bsize=yes -else +else $as_nop fu_cv_sys_stat_statfs2_bsize=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -31798,12 +32962,12 @@ fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs2_bsize" >&5 -$as_echo "$fu_cv_sys_stat_statfs2_bsize" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs2_bsize" >&5 +printf "%s\n" "$fu_cv_sys_stat_statfs2_bsize" >&6; } if test $fu_cv_sys_stat_statfs2_bsize = yes; then ac_fsusage_space=yes -$as_echo "#define STAT_STATFS2_BSIZE 1" >>confdefs.h +printf "%s\n" "#define STAT_STATFS2_BSIZE 1" >>confdefs.h fi fi @@ -31811,14 +32975,16 @@ fi if test $ac_fsusage_space = no; then # SVR3 # (Solaris already handled above.) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for four-argument statfs (AIX-3.2.5, SVR3)" >&5 -$as_echo_n "checking for four-argument statfs (AIX-3.2.5, SVR3)... " >&6; } - if ${fu_cv_sys_stat_statfs4+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for four-argument statfs (AIX-3.2.5, SVR3)" >&5 +printf %s "checking for four-argument statfs (AIX-3.2.5, SVR3)... " >&6; } + if test ${fu_cv_sys_stat_statfs4+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : fu_cv_sys_stat_statfs4=no -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -31831,9 +32997,10 @@ else return statfs (".", &fsd, sizeof fsd, 0) != 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : fu_cv_sys_stat_statfs4=yes -else +else $as_nop fu_cv_sys_stat_statfs4=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -31842,12 +33009,12 @@ fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs4" >&5 -$as_echo "$fu_cv_sys_stat_statfs4" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs4" >&5 +printf "%s\n" "$fu_cv_sys_stat_statfs4" >&6; } if test $fu_cv_sys_stat_statfs4 = yes; then ac_fsusage_space=yes -$as_echo "#define STAT_STATFS4 1" >>confdefs.h +printf "%s\n" "#define STAT_STATFS4 1" >>confdefs.h fi fi @@ -31858,14 +33025,16 @@ if test $ac_fsusage_space = no; then # (On AIX, you need to include , not only .) # (On Solaris, statfs has 4 arguments and 'struct statfs' is not declared in # .) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with statfs.f_fsize member (4.4BSD and NetBSD)" >&5 -$as_echo_n "checking for two-argument statfs with statfs.f_fsize member (4.4BSD and NetBSD)... " >&6; } - if ${fu_cv_sys_stat_statfs2_fsize+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with statfs.f_fsize member (4.4BSD and NetBSD)" >&5 +printf %s "checking for two-argument statfs with statfs.f_fsize member (4.4BSD and NetBSD)... " >&6; } + if test ${fu_cv_sys_stat_statfs2_fsize+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : fu_cv_sys_stat_statfs2_fsize=no -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -31884,9 +33053,10 @@ else return statfs (".", &fsd) != 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : fu_cv_sys_stat_statfs2_fsize=yes -else +else $as_nop fu_cv_sys_stat_statfs2_fsize=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -31895,26 +33065,28 @@ fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs2_fsize" >&5 -$as_echo "$fu_cv_sys_stat_statfs2_fsize" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs2_fsize" >&5 +printf "%s\n" "$fu_cv_sys_stat_statfs2_fsize" >&6; } if test $fu_cv_sys_stat_statfs2_fsize = yes; then ac_fsusage_space=yes -$as_echo "#define STAT_STATFS2_FSIZE 1" >>confdefs.h +printf "%s\n" "#define STAT_STATFS2_FSIZE 1" >>confdefs.h fi fi if test $ac_fsusage_space = no; then # Ultrix - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with struct fs_data (Ultrix)" >&5 -$as_echo_n "checking for two-argument statfs with struct fs_data (Ultrix)... " >&6; } - if ${fu_cv_sys_stat_fs_data+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with struct fs_data (Ultrix)" >&5 +printf %s "checking for two-argument statfs with struct fs_data (Ultrix)... " >&6; } + if test ${fu_cv_sys_stat_fs_data+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : fu_cv_sys_stat_fs_data=no -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -31937,9 +33109,10 @@ else return statfs (".", &fsd) != 1; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : fu_cv_sys_stat_fs_data=yes -else +else $as_nop fu_cv_sys_stat_fs_data=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -31948,12 +33121,12 @@ fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_fs_data" >&5 -$as_echo "$fu_cv_sys_stat_fs_data" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_fs_data" >&5 +printf "%s\n" "$fu_cv_sys_stat_fs_data" >&6; } if test $fu_cv_sys_stat_fs_data = yes; then ac_fsusage_space=yes -$as_echo "#define STAT_STATFS2_FS_DATA 1" >>confdefs.h +printf "%s\n" "#define STAT_STATFS2_FS_DATA 1" >>confdefs.h fi fi @@ -31966,18 +33139,20 @@ if test $ac_fsusage_space = no; then #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : -$as_echo "#define STAT_READ_FILSYS 1" >>confdefs.h +printf "%s\n" "#define STAT_READ_FILSYS 1" >>confdefs.h ac_fsusage_space=yes fi rm -f conftest.err conftest.i conftest.$ac_ext fi -if test $ac_fsusage_space = yes; then : +if test $ac_fsusage_space = yes +then : gl_cv_fs_space=yes -else +else $as_nop gl_cv_fs_space=no fi @@ -31995,25 +33170,38 @@ fi gl_LIBOBJS="$gl_LIBOBJS fsusage.$ac_objext" - for ac_header in dustat.h sys/fs/s5param.h sys/filsys.h sys/statfs.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "dustat.h" "ac_cv_header_dustat_h" "$ac_includes_default" +if test "x$ac_cv_header_dustat_h" = xyes +then : + printf "%s\n" "#define HAVE_DUSTAT_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "sys/fs/s5param.h" "ac_cv_header_sys_fs_s5param_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_fs_s5param_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_FS_S5PARAM_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "sys/filsys.h" "ac_cv_header_sys_filsys_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_filsys_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_FILSYS_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_statfs_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h fi -done - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs that truncates block counts" >&5 -$as_echo_n "checking for statfs that truncates block counts... " >&6; } - if ${fu_cv_sys_truncating_statfs+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statfs that truncates block counts" >&5 +printf %s "checking for statfs that truncates block counts... " >&6; } + if test ${fu_cv_sys_truncating_statfs+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32023,7 +33211,7 @@ choke -- this is a workaround for a Sun-specific problem #include #include int -main () +main (void) { struct statfs t; long c = *(t.f_spare); if (c) return 0; @@ -32031,35 +33219,37 @@ struct statfs t; long c = *(t.f_spare); return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : fu_cv_sys_truncating_statfs=yes -else +else $as_nop fu_cv_sys_truncating_statfs=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $fu_cv_sys_truncating_statfs = yes; then -$as_echo "#define STATFS_TRUNCATES_BLOCK_COUNTS 1" >>confdefs.h +printf "%s\n" "#define STATFS_TRUNCATES_BLOCK_COUNTS 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_truncating_statfs" >&5 -$as_echo "$fu_cv_sys_truncating_statfs" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_truncating_statfs" >&5 +printf "%s\n" "$fu_cv_sys_truncating_statfs" >&6; } fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&5 -$as_echo "$as_me: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&5 +printf "%s\n" "$as_me: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&6;} GETADDRINFO_LIB= gai_saved_LIBS="$LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 -$as_echo_n "checking for library containing getaddrinfo... " >&6; } -if ${ac_cv_search_getaddrinfo+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 +printf %s "checking for library containing getaddrinfo... " >&6; } +if test ${ac_cv_search_getaddrinfo+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32067,46 +33257,48 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char getaddrinfo (); int -main () +main (void) { return getaddrinfo (); ; return 0; } _ACEOF -for ac_lib in '' socket network net; do +for ac_lib in '' socket network net +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_getaddrinfo=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_getaddrinfo+:} false; then : + if test ${ac_cv_search_getaddrinfo+y} +then : break fi done -if ${ac_cv_search_getaddrinfo+:} false; then : +if test ${ac_cv_search_getaddrinfo+y} +then : -else +else $as_nop ac_cv_search_getaddrinfo=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 -$as_echo "$ac_cv_search_getaddrinfo" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 +printf "%s\n" "$ac_cv_search_getaddrinfo" >&6; } ac_res=$ac_cv_search_getaddrinfo -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" if test "$ac_cv_search_getaddrinfo" != "none required"; then GETADDRINFO_LIB="$ac_cv_search_getaddrinfo" @@ -32116,11 +33308,12 @@ fi LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" HAVE_GETADDRINFO=1 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5 -$as_echo_n "checking for getaddrinfo... " >&6; } -if ${gl_cv_func_getaddrinfo+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5 +printf %s "checking for getaddrinfo... " >&6; } +if test ${gl_cv_func_getaddrinfo+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32135,29 +33328,31 @@ else #include int -main () +main (void) { getaddrinfo("", "", NULL, NULL); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_cv_func_getaddrinfo=yes -else +else $as_nop gl_cv_func_getaddrinfo=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getaddrinfo" >&5 -$as_echo "$gl_cv_func_getaddrinfo" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getaddrinfo" >&5 +printf "%s\n" "$gl_cv_func_getaddrinfo" >&6; } if test $gl_cv_func_getaddrinfo = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in ws2tcpip.h and -lws2_32" >&5 -$as_echo_n "checking for getaddrinfo in ws2tcpip.h and -lws2_32... " >&6; } -if ${gl_cv_w32_getaddrinfo+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in ws2tcpip.h and -lws2_32" >&5 +printf %s "checking for getaddrinfo in ws2tcpip.h and -lws2_32... " >&6; } +if test ${gl_cv_w32_getaddrinfo+y} +then : + printf %s "(cached) " >&6 +else $as_nop gl_cv_w32_getaddrinfo=no am_save_LIBS="$LIBS" @@ -32171,23 +33366,24 @@ else #include int -main () +main (void) { getaddrinfo(NULL, NULL, NULL, NULL); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_cv_w32_getaddrinfo=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getaddrinfo" >&5 -$as_echo "$gl_cv_w32_getaddrinfo" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getaddrinfo" >&5 +printf "%s\n" "$gl_cv_w32_getaddrinfo" >&6; } if test "$gl_cv_w32_getaddrinfo" = "yes"; then GETADDRINFO_LIB="-lws2_32" LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" @@ -32199,7 +33395,7 @@ $as_echo "$gl_cv_w32_getaddrinfo" >&6; } # We can't use AC_REPLACE_FUNCS here because gai_strerror may be an # inline function declared in ws2tcpip.h, so we need to get that # header included somehow. - ac_fn_c_check_decl "$LINENO" "gai_strerror" "ac_cv_have_decl_gai_strerror" " + ac_fn_check_decl "$LINENO" "gai_strerror" "ac_cv_have_decl_gai_strerror" " #include #ifdef HAVE_SYS_SOCKET_H #include @@ -32212,19 +33408,17 @@ $as_echo "$gl_cv_w32_getaddrinfo" >&6; } #endif #include -" -if test "x$ac_cv_have_decl_gai_strerror" = xyes; then : +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_gai_strerror" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_GAI_STRERROR $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_GAI_STRERROR $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_gai_strerror = yes; then - ac_fn_c_check_decl "$LINENO" "gai_strerrorA" "ac_cv_have_decl_gai_strerrorA" " + ac_fn_check_decl "$LINENO" "gai_strerrorA" "ac_cv_have_decl_gai_strerrorA" " #include #ifdef HAVE_SYS_SOCKET_H #include @@ -32237,22 +33431,21 @@ _ACEOF #endif #include -" -if test "x$ac_cv_have_decl_gai_strerrorA" = xyes; then : +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_gai_strerrorA" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi +printf "%s\n" "#define HAVE_DECL_GAI_STRERRORA $ac_have_decl" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_GAI_STRERRORA $ac_have_decl -_ACEOF - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gai_strerror with POSIX signature" >&5 -$as_echo_n "checking for gai_strerror with POSIX signature... " >&6; } -if ${gl_cv_func_gai_strerror_posix_signature+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gai_strerror with POSIX signature" >&5 +printf %s "checking for gai_strerror with POSIX signature... " >&6; } +if test ${gl_cv_func_gai_strerror_posix_signature+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32274,15 +33467,16 @@ extern #endif const char *gai_strerror(int); _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_func_gai_strerror_posix_signature=yes -else +else $as_nop gl_cv_func_gai_strerror_posix_signature=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gai_strerror_posix_signature" >&5 -$as_echo "$gl_cv_func_gai_strerror_posix_signature" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gai_strerror_posix_signature" >&5 +printf "%s\n" "$gl_cv_func_gai_strerror_posix_signature" >&6; } if test $gl_cv_func_gai_strerror_posix_signature = no; then REPLACE_GAI_STRERROR=1 fi @@ -32302,11 +33496,10 @@ $as_echo "$gl_cv_func_gai_strerror_posix_signature" >&6; } #include " -if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then : +if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_SOCKADDR_SA_LEN 1 -_ACEOF +printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_SA_LEN 1" >>confdefs.h fi @@ -32320,7 +33513,7 @@ fi - ac_fn_c_check_decl "$LINENO" "getaddrinfo" "ac_cv_have_decl_getaddrinfo" " + ac_fn_check_decl "$LINENO" "getaddrinfo" "ac_cv_have_decl_getaddrinfo" " /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ @@ -32335,17 +33528,15 @@ fi #include #endif -" -if test "x$ac_cv_have_decl_getaddrinfo" = xyes; then : +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_getaddrinfo" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_GETADDRINFO $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "freeaddrinfo" "ac_cv_have_decl_freeaddrinfo" " +printf "%s\n" "#define HAVE_DECL_GETADDRINFO $ac_have_decl" >>confdefs.h +ac_fn_check_decl "$LINENO" "freeaddrinfo" "ac_cv_have_decl_freeaddrinfo" " /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ @@ -32360,17 +33551,15 @@ ac_fn_c_check_decl "$LINENO" "freeaddrinfo" "ac_cv_have_decl_freeaddrinfo" " #include #endif -" -if test "x$ac_cv_have_decl_freeaddrinfo" = xyes; then : +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_freeaddrinfo" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_FREEADDRINFO $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "getnameinfo" "ac_cv_have_decl_getnameinfo" " +printf "%s\n" "#define HAVE_DECL_FREEADDRINFO $ac_have_decl" >>confdefs.h +ac_fn_check_decl "$LINENO" "getnameinfo" "ac_cv_have_decl_getnameinfo" " /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ @@ -32385,16 +33574,14 @@ ac_fn_c_check_decl "$LINENO" "getnameinfo" "ac_cv_have_decl_getnameinfo" " #include #endif -" -if test "x$ac_cv_have_decl_getnameinfo" = xyes; then : +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_getnameinfo" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_GETNAMEINFO $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_GETNAMEINFO $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_getaddrinfo = no; then HAVE_DECL_GETADDRINFO=0 @@ -32422,11 +33609,10 @@ _ACEOF #endif " -if test "x$ac_cv_type_struct_addrinfo" = xyes; then : +if test "x$ac_cv_type_struct_addrinfo" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_ADDRINFO 1 -_ACEOF +printf "%s\n" "#define HAVE_STRUCT_ADDRINFO 1" >>confdefs.h fi @@ -32488,7 +33674,7 @@ fi -$as_echo "#define GNULIB_TEST_GETADDRINFO 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_GETADDRINFO 1" >>confdefs.h @@ -32505,18 +33691,13 @@ $as_echo "#define GNULIB_TEST_GETADDRINFO 1" >>confdefs.h if test $ac_cv_header_sys_socket_h != yes; then - for ac_header in winsock2.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" -if test "x$ac_cv_header_winsock2_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WINSOCK2_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" +if test "x$ac_cv_header_winsock2_h" = xyes +then : + printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h fi -done - fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 @@ -32529,21 +33710,22 @@ done GETHOSTNAME_LIB= + for ac_func in gethostname do : ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname" -if test "x$ac_cv_func_gethostname" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_GETHOSTNAME 1 -_ACEOF +if test "x$ac_cv_func_gethostname" = xyes +then : + printf "%s\n" "#define HAVE_GETHOSTNAME 1" >>confdefs.h -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in winsock2.h and -lws2_32" >&5 -$as_echo_n "checking for gethostname in winsock2.h and -lws2_32... " >&6; } -if ${gl_cv_w32_gethostname+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostname in winsock2.h and -lws2_32" >&5 +printf %s "checking for gethostname in winsock2.h and -lws2_32... " >&6; } +if test ${gl_cv_w32_gethostname+y} +then : + printf %s "(cached) " >&6 +else $as_nop gl_cv_w32_gethostname=no gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" @@ -32556,30 +33738,31 @@ else #include int -main () +main (void) { gethostname(NULL, 0); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_cv_w32_gethostname=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostname" >&5 -$as_echo "$gl_cv_w32_gethostname" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostname" >&5 +printf "%s\n" "$gl_cv_w32_gethostname" >&6; } if test "$gl_cv_w32_gethostname" = "yes"; then GETHOSTNAME_LIB="-lws2_32" fi fi -done +done if test "$ac_cv_func_gethostname" = no; then @@ -32608,11 +33791,12 @@ done - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HOST_NAME_MAX" >&5 -$as_echo_n "checking for HOST_NAME_MAX... " >&6; } -if ${gl_cv_decl_HOST_NAME_MAX+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for HOST_NAME_MAX" >&5 +printf %s "checking for HOST_NAME_MAX... " >&6; } +if test ${gl_cv_decl_HOST_NAME_MAX+y} +then : + printf %s "(cached) " >&6 +else $as_nop gl_cv_decl_HOST_NAME_MAX= cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32625,10 +33809,11 @@ lucky _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "lucky" >/dev/null 2>&1; then : + $EGREP "lucky" >/dev/null 2>&1 +then : gl_cv_decl_HOST_NAME_MAX=yes fi -rm -f conftest* +rm -rf conftest* if test -z "$gl_cv_decl_HOST_NAME_MAX"; then if test "$gl_cv_w32_gethostname" = yes; then @@ -32645,25 +33830,23 @@ rm -f conftest* #if HAVE_NETDB_H # include #endif -"; then : +" +then : -else +else $as_nop gl_cv_decl_HOST_NAME_MAX=256 fi - fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_HOST_NAME_MAX" >&5 -$as_echo "$gl_cv_decl_HOST_NAME_MAX" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_HOST_NAME_MAX" >&5 +printf "%s\n" "$gl_cv_decl_HOST_NAME_MAX" >&6; } if test "$gl_cv_decl_HOST_NAME_MAX" != yes; then -cat >>confdefs.h <<_ACEOF -#define HOST_NAME_MAX $gl_cv_decl_HOST_NAME_MAX -_ACEOF +printf "%s\n" "#define HOST_NAME_MAX $gl_cv_decl_HOST_NAME_MAX" >>confdefs.h fi @@ -32681,16 +33864,12 @@ _ACEOF if test "$gl_cv_w32_gethostname" != "yes"; then - for ac_func in uname -do : - ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname" -if test "x$ac_cv_func_uname" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_UNAME 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname" +if test "x$ac_cv_func_uname" = xyes +then : + printf "%s\n" "#define HAVE_UNAME 1" >>confdefs.h fi -done fi @@ -32706,7 +33885,7 @@ done -$as_echo "#define GNULIB_TEST_GETHOSTNAME 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_GETHOSTNAME 1" >>confdefs.h @@ -32721,9 +33900,10 @@ gl_save_LIBS=$LIBS # NetBSD >= 0.9, OpenBSD >= 2.0, Solaris >= 7. HAVE_GETLOADAVG=1 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" -if test "x$ac_cv_func_getloadavg" = xyes; then : +if test "x$ac_cv_func_getloadavg" = xyes +then : -else +else $as_nop gl_func_getloadavg_done=no # Some systems with -lutil have (and need) -lkvm as well, some do not. @@ -32732,11 +33912,12 @@ else # For kstat on solaris, we need to test for libelf and libkvm to force the # definition of SVR4 below. if test $gl_func_getloadavg_done = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 -$as_echo_n "checking for elf_begin in -lelf... " >&6; } -if ${ac_cv_lib_elf_elf_begin+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 +printf %s "checking for elf_begin in -lelf... " >&6; } +if test ${ac_cv_lib_elf_elf_begin+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lelf $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32745,38 +33926,38 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char elf_begin (); int -main () +main (void) { return elf_begin (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_elf_elf_begin=yes -else +else $as_nop ac_cv_lib_elf_elf_begin=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 -$as_echo "$ac_cv_lib_elf_elf_begin" >&6; } -if test "x$ac_cv_lib_elf_elf_begin" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 +printf "%s\n" "$ac_cv_lib_elf_elf_begin" >&6; } +if test "x$ac_cv_lib_elf_elf_begin" = xyes +then : LIBS="-lelf $LIBS" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 -$as_echo_n "checking for kvm_open in -lkvm... " >&6; } -if ${ac_cv_lib_kvm_kvm_open+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 +printf %s "checking for kvm_open in -lkvm... " >&6; } +if test ${ac_cv_lib_kvm_kvm_open+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lkvm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32785,39 +33966,39 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char kvm_open (); int -main () +main (void) { return kvm_open (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_kvm_kvm_open=yes -else +else $as_nop ac_cv_lib_kvm_kvm_open=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 -$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } -if test "x$ac_cv_lib_kvm_kvm_open" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 +printf "%s\n" "$ac_cv_lib_kvm_kvm_open" >&6; } +if test "x$ac_cv_lib_kvm_kvm_open" = xyes +then : LIBS="-lkvm $LIBS" fi # Check for the 4.4BSD definition of getloadavg. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 -$as_echo_n "checking for getloadavg in -lutil... " >&6; } -if ${ac_cv_lib_util_getloadavg+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 +printf %s "checking for getloadavg in -lutil... " >&6; } +if test ${ac_cv_lib_util_getloadavg+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lutil $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32826,30 +34007,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char getloadavg (); int -main () +main (void) { return getloadavg (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_util_getloadavg=yes -else +else $as_nop ac_cv_lib_util_getloadavg=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 -$as_echo "$ac_cv_lib_util_getloadavg" >&6; } -if test "x$ac_cv_lib_util_getloadavg" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 +printf "%s\n" "$ac_cv_lib_util_getloadavg" >&6; } +if test "x$ac_cv_lib_util_getloadavg" = xyes +then : LIBS="-lutil $LIBS" gl_func_getloadavg_done=yes fi @@ -32860,11 +34040,12 @@ fi # Since it is not a standard part of AIX, it might be installed locally. gl_getloadavg_LIBS=$LIBS LIBS="-L/usr/local/lib $LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 -$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } -if ${ac_cv_lib_getloadavg_getloadavg+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 +printf %s "checking for getloadavg in -lgetloadavg... " >&6; } +if test ${ac_cv_lib_getloadavg_getloadavg+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lgetloadavg $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32873,32 +34054,31 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char getloadavg (); int -main () +main (void) { return getloadavg (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_getloadavg_getloadavg=yes -else +else $as_nop ac_cv_lib_getloadavg_getloadavg=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 -$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } -if test "x$ac_cv_lib_getloadavg_getloadavg" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 +printf "%s\n" "$ac_cv_lib_getloadavg_getloadavg" >&6; } +if test "x$ac_cv_lib_getloadavg_getloadavg" = xyes +then : LIBS="-lgetloadavg $LIBS" gl_func_getloadavg_done=yes -else +else $as_nop LIBS=$gl_getloadavg_LIBS fi @@ -32909,11 +34089,12 @@ fi HAVE_GETLOADAVG=0 # Solaris has libkstat which does not require root. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 -$as_echo_n "checking for kstat_open in -lkstat... " >&6; } -if ${ac_cv_lib_kstat_kstat_open+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 +printf %s "checking for kstat_open in -lkstat... " >&6; } +if test ${ac_cv_lib_kstat_kstat_open+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lkstat $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32922,33 +34103,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char kstat_open (); int -main () +main (void) { return kstat_open (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_kstat_kstat_open=yes -else +else $as_nop ac_cv_lib_kstat_kstat_open=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 -$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } -if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBKSTAT 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 +printf "%s\n" "$ac_cv_lib_kstat_kstat_open" >&6; } +if test "x$ac_cv_lib_kstat_kstat_open" = xyes +then : + printf "%s\n" "#define HAVE_LIBKSTAT 1" >>confdefs.h LIBS="-lkstat $LIBS" @@ -32958,11 +34136,12 @@ fi # AIX has libperfstat which does not require root if test $gl_func_getloadavg_done = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perfstat_cpu_total in -lperfstat" >&5 -$as_echo_n "checking for perfstat_cpu_total in -lperfstat... " >&6; } -if ${ac_cv_lib_perfstat_perfstat_cpu_total+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for perfstat_cpu_total in -lperfstat" >&5 +printf %s "checking for perfstat_cpu_total in -lperfstat... " >&6; } +if test ${ac_cv_lib_perfstat_perfstat_cpu_total+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lperfstat $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32971,33 +34150,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char perfstat_cpu_total (); int -main () +main (void) { return perfstat_cpu_total (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_perfstat_perfstat_cpu_total=yes -else +else $as_nop ac_cv_lib_perfstat_perfstat_cpu_total=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_perfstat_perfstat_cpu_total" >&5 -$as_echo "$ac_cv_lib_perfstat_perfstat_cpu_total" >&6; } -if test "x$ac_cv_lib_perfstat_perfstat_cpu_total" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBPERFSTAT 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_perfstat_perfstat_cpu_total" >&5 +printf "%s\n" "$ac_cv_lib_perfstat_perfstat_cpu_total" >&6; } +if test "x$ac_cv_lib_perfstat_perfstat_cpu_total" = xyes +then : + printf "%s\n" "#define HAVE_LIBPERFSTAT 1" >>confdefs.h LIBS="-lperfstat $LIBS" @@ -33007,17 +34183,19 @@ fi fi if test $gl_func_getloadavg_done = no; then - ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes; then : + ac_fn_c_check_header_compile "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes +then : gl_func_getloadavg_done=yes -$as_echo "#define DGUX 1" >>confdefs.h +printf "%s\n" "#define DGUX 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 -$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } -if ${ac_cv_lib_dgc_dg_sys_info+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 +printf %s "checking for dg_sys_info in -ldgc... " >&6; } +if test ${ac_cv_lib_dgc_dg_sys_info+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldgc $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -33026,33 +34204,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dg_sys_info (); int -main () +main (void) { return dg_sys_info (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dgc_dg_sys_info=yes -else +else $as_nop ac_cv_lib_dgc_dg_sys_info=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 -$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } -if test "x$ac_cv_lib_dgc_dg_sys_info" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBDGC 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 +printf "%s\n" "$ac_cv_lib_dgc_dg_sys_info" >&6; } +if test "x$ac_cv_lib_dgc_dg_sys_info" = xyes +then : + printf "%s\n" "#define HAVE_LIBDGC 1" >>confdefs.h LIBS="-ldgc $LIBS" @@ -33060,7 +34235,6 @@ fi fi - fi fi fi @@ -33076,35 +34250,30 @@ LIBS=$gl_save_LIBS # Test whether the system declares getloadavg. Solaris has the function # but declares it in , not . -for ac_header in sys/loadavg.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_loadavg_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SYS_LOADAVG_H 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_loadavg_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_LOADAVG_H 1" >>confdefs.h fi -done - if test $ac_cv_header_sys_loadavg_h = yes; then HAVE_SYS_LOADAVG_H=1 else HAVE_SYS_LOADAVG_H=0 fi -ac_fn_c_check_decl "$LINENO" "getloadavg" "ac_cv_have_decl_getloadavg" "#if HAVE_SYS_LOADAVG_H +ac_fn_check_decl "$LINENO" "getloadavg" "ac_cv_have_decl_getloadavg" "#if HAVE_SYS_LOADAVG_H # include #endif #include -" -if test "x$ac_cv_have_decl_getloadavg" = xyes; then : +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_getloadavg" = xyes +then : -else +else $as_nop HAVE_DECL_GETLOADAVG=0 fi - if test $HAVE_GETLOADAVG = 0; then @@ -33129,17 +34298,17 @@ fi # On HPUX9, an unprivileged user can get load averages this way. if test $gl_func_getloadavg_done = no; then + for ac_func in pstat_getdynamic do : ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" -if test "x$ac_cv_func_pstat_getdynamic" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_PSTAT_GETDYNAMIC 1 -_ACEOF +if test "x$ac_cv_func_pstat_getdynamic" = xyes +then : + printf "%s\n" "#define HAVE_PSTAT_GETDYNAMIC 1" >>confdefs.h gl_func_getloadavg_done=yes fi -done +done fi # We cannot check for , because Solaris 2 does not use dwarf (it @@ -33149,64 +34318,57 @@ if test $gl_func_getloadavg_done = no && test "$ac_cv_lib_elf_elf_begin" = yes \ && test "$ac_cv_lib_kvm_kvm_open" = yes; then gl_func_getloadavg_done=yes -$as_echo "#define SVR4 1" >>confdefs.h +printf "%s\n" "#define SVR4 1" >>confdefs.h fi if test $gl_func_getloadavg_done = no; then - ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" -if test "x$ac_cv_header_inq_stats_cpustats_h" = xyes; then : + ac_fn_c_check_header_compile "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" +if test "x$ac_cv_header_inq_stats_cpustats_h" = xyes +then : gl_func_getloadavg_done=yes -$as_echo "#define UMAX 1" >>confdefs.h +printf "%s\n" "#define UMAX 1" >>confdefs.h -$as_echo "#define UMAX4_3 1" >>confdefs.h +printf "%s\n" "#define UMAX4_3 1" >>confdefs.h fi - fi if test $gl_func_getloadavg_done = no; then - ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_cpustats_h" = xyes; then : - gl_func_getloadavg_done=yes; $as_echo "#define UMAX 1" >>confdefs.h + ac_fn_c_check_header_compile "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_cpustats_h" = xyes +then : + gl_func_getloadavg_done=yes; printf "%s\n" "#define UMAX 1" >>confdefs.h fi - fi if test $gl_func_getloadavg_done = no; then - for ac_header in mach/mach.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" -if test "x$ac_cv_header_mach_mach_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MACH_MACH_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" +if test "x$ac_cv_header_mach_mach_h" = xyes +then : + printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h fi -done - fi -for ac_header in nlist.h + for ac_header in nlist.h do : - ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" -if test "x$ac_cv_header_nlist_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_NLIST_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" +if test "x$ac_cv_header_nlist_h" = xyes +then : + printf "%s\n" "#define HAVE_NLIST_H 1" >>confdefs.h ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include " -if test "x$ac_cv_member_struct_nlist_n_un_n_name" = xyes; then : +if test "x$ac_cv_member_struct_nlist_n_un_n_name" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 -_ACEOF +printf "%s\n" "#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1" >>confdefs.h fi @@ -33215,7 +34377,7 @@ fi /* end confdefs.h. */ #include int -main () +main (void) { struct nlist x; #ifdef HAVE_STRUCT_NLIST_N_UN_N_NAME @@ -33227,18 +34389,18 @@ struct nlist x; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : -$as_echo "#define N_NAME_POINTER 1" >>confdefs.h +printf "%s\n" "#define N_NAME_POINTER 1" >>confdefs.h fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi done - fi @@ -33251,7 +34413,7 @@ done -$as_echo "#define GNULIB_TEST_GETLOADAVG 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_GETLOADAVG 1" >>confdefs.h @@ -33295,7 +34457,7 @@ $as_echo "#define GNULIB_TEST_GETLOADAVG 1" >>confdefs.h -$as_echo "#define GNULIB_TEST_GETOPT_GNU 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_GETOPT_GNU 1" >>confdefs.h @@ -33312,7 +34474,7 @@ $as_echo "#define GNULIB_TEST_GETOPT_GNU 1" >>confdefs.h GETOPT_H=getopt.h -$as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h +printf "%s\n" "#define __GETOPT_PREFIX rpl_" >>confdefs.h @@ -33357,11 +34519,12 @@ $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h HOSTENT_LIB= gl_saved_libs="$LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 -$as_echo_n "checking for library containing gethostbyname... " >&6; } -if ${ac_cv_search_gethostbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 +printf %s "checking for library containing gethostbyname... " >&6; } +if test ${ac_cv_search_gethostbyname+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33369,46 +34532,48 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char gethostbyname (); int -main () +main (void) { return gethostbyname (); ; return 0; } _ACEOF -for ac_lib in '' nsl network net; do +for ac_lib in '' nsl network net +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_gethostbyname=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_gethostbyname+:} false; then : + if test ${ac_cv_search_gethostbyname+y} +then : break fi done -if ${ac_cv_search_gethostbyname+:} false; then : +if test ${ac_cv_search_gethostbyname+y} +then : -else +else $as_nop ac_cv_search_gethostbyname=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 -$as_echo "$ac_cv_search_gethostbyname" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 +printf "%s\n" "$ac_cv_search_gethostbyname" >&6; } ac_res=$ac_cv_search_gethostbyname -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" if test "$ac_cv_search_gethostbyname" != "none required"; then HOSTENT_LIB="$ac_cv_search_gethostbyname" @@ -33417,21 +34582,22 @@ fi LIBS="$gl_saved_libs" if test -z "$HOSTENT_LIB"; then - for ac_func in gethostbyname + + for ac_func in gethostbyname do : ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" -if test "x$ac_cv_func_gethostbyname" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_GETHOSTBYNAME 1 -_ACEOF +if test "x$ac_cv_func_gethostbyname" = xyes +then : + printf "%s\n" "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5 -$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; } -if ${gl_cv_w32_gethostbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5 +printf %s "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; } +if test ${gl_cv_w32_gethostbyname+y} +then : + printf %s "(cached) " >&6 +else $as_nop gl_cv_w32_gethostbyname=no gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" @@ -33444,30 +34610,31 @@ else #include int -main () +main (void) { gethostbyname(NULL); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_cv_w32_gethostbyname=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5 -$as_echo "$gl_cv_w32_gethostbyname" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5 +printf "%s\n" "$gl_cv_w32_gethostbyname" >&6; } if test "$gl_cv_w32_gethostbyname" = "yes"; then HOSTENT_LIB="-lws2_32" fi fi -done +done fi @@ -33539,18 +34706,13 @@ done if test $ac_cv_header_sys_socket_h != yes; then - for ac_header in winsock2.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" -if test "x$ac_cv_header_winsock2_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WINSOCK2_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" +if test "x$ac_cv_header_winsock2_h" = xyes +then : + printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h fi -done - fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 @@ -33562,17 +34724,15 @@ done if test $HAVE_WINSOCK2_H = 1; then - ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include -" -if test "x$ac_cv_have_decl_inet_ntop" = xyes; then : + ac_fn_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_inet_ntop" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_INET_NTOP $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_INET_NTOP $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_inet_ntop = yes; then REPLACE_INET_NTOP=1 @@ -33583,11 +34743,12 @@ _ACEOF fi else gl_save_LIBS=$LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 -$as_echo_n "checking for library containing inet_ntop... " >&6; } -if ${ac_cv_search_inet_ntop+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 +printf %s "checking for library containing inet_ntop... " >&6; } +if test ${ac_cv_search_inet_ntop+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33595,59 +34756,57 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char inet_ntop (); int -main () +main (void) { return inet_ntop (); ; return 0; } _ACEOF -for ac_lib in '' nsl resolv; do +for ac_lib in '' nsl resolv +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_inet_ntop=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_inet_ntop+:} false; then : + if test ${ac_cv_search_inet_ntop+y} +then : break fi done -if ${ac_cv_search_inet_ntop+:} false; then : +if test ${ac_cv_search_inet_ntop+y} +then : -else +else $as_nop ac_cv_search_inet_ntop=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 -$as_echo "$ac_cv_search_inet_ntop" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 +printf "%s\n" "$ac_cv_search_inet_ntop" >&6; } ac_res=$ac_cv_search_inet_ntop -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -else - for ac_func in inet_ntop -do : +else $as_nop ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop" -if test "x$ac_cv_func_inet_ntop" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_INET_NTOP 1 -_ACEOF +if test "x$ac_cv_func_inet_ntop" = xyes +then : + printf "%s\n" "#define HAVE_INET_NTOP 1" >>confdefs.h fi -done if test $ac_cv_func_inet_ntop = no; then HAVE_INET_NTOP=0 @@ -33669,21 +34828,19 @@ fi - ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include + ac_fn_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include #if HAVE_NETDB_H # include #endif -" -if test "x$ac_cv_have_decl_inet_ntop" = xyes; then : +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_inet_ntop" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_INET_NTOP $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_INET_NTOP $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_inet_ntop = no; then HAVE_DECL_INET_NTOP=0 @@ -33739,11 +34896,12 @@ _ACEOF if test $gl_cv_have_include_next = yes; then gl_cv_next_langinfo_h='<'langinfo.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_langinfo_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_langinfo_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_langinfo_h = yes; then @@ -33784,8 +34942,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5 -$as_echo "$gl_cv_next_langinfo_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5 +printf "%s\n" "$gl_cv_next_langinfo_h" >&6; } fi NEXT_LANGINFO_H=$gl_cv_next_langinfo_h @@ -33815,127 +34973,135 @@ $as_echo "$gl_cv_next_langinfo_h" >&6; } if test $ac_cv_header_langinfo_h = yes; then HAVE_LANGINFO_H=1 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5 -$as_echo_n "checking whether langinfo.h defines CODESET... " >&6; } -if ${gl_cv_header_langinfo_codeset+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5 +printf %s "checking whether langinfo.h defines CODESET... " >&6; } +if test ${gl_cv_header_langinfo_codeset+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int a = CODESET; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_langinfo_codeset=yes -else +else $as_nop gl_cv_header_langinfo_codeset=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_codeset" >&5 -$as_echo "$gl_cv_header_langinfo_codeset" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_codeset" >&5 +printf "%s\n" "$gl_cv_header_langinfo_codeset" >&6; } if test $gl_cv_header_langinfo_codeset = yes; then HAVE_LANGINFO_CODESET=1 fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5 -$as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; } -if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5 +printf %s "checking whether langinfo.h defines T_FMT_AMPM... " >&6; } +if test ${gl_cv_header_langinfo_t_fmt_ampm+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int a = T_FMT_AMPM; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_langinfo_t_fmt_ampm=yes -else +else $as_nop gl_cv_header_langinfo_t_fmt_ampm=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_t_fmt_ampm" >&5 -$as_echo "$gl_cv_header_langinfo_t_fmt_ampm" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_t_fmt_ampm" >&5 +printf "%s\n" "$gl_cv_header_langinfo_t_fmt_ampm" >&6; } if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then HAVE_LANGINFO_T_FMT_AMPM=1 fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5 -$as_echo_n "checking whether langinfo.h defines ERA... " >&6; } -if ${gl_cv_header_langinfo_era+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5 +printf %s "checking whether langinfo.h defines ERA... " >&6; } +if test ${gl_cv_header_langinfo_era+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int a = ERA; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_langinfo_era=yes -else +else $as_nop gl_cv_header_langinfo_era=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_era" >&5 -$as_echo "$gl_cv_header_langinfo_era" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_era" >&5 +printf "%s\n" "$gl_cv_header_langinfo_era" >&6; } if test $gl_cv_header_langinfo_era = yes; then HAVE_LANGINFO_ERA=1 fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5 -$as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; } -if ${gl_cv_header_langinfo_yesexpr+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5 +printf %s "checking whether langinfo.h defines YESEXPR... " >&6; } +if test ${gl_cv_header_langinfo_yesexpr+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int a = YESEXPR; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_langinfo_yesexpr=yes -else +else $as_nop gl_cv_header_langinfo_yesexpr=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_yesexpr" >&5 -$as_echo "$gl_cv_header_langinfo_yesexpr" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_yesexpr" >&5 +printf "%s\n" "$gl_cv_header_langinfo_yesexpr" >&6; } if test $gl_cv_header_langinfo_yesexpr = yes; then HAVE_LANGINFO_YESEXPR=1 fi @@ -33950,18 +35116,19 @@ $as_echo "$gl_cv_header_langinfo_yesexpr" >&6; } for gl_func in nl_langinfo; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -33969,19 +35136,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -34017,38 +35186,40 @@ fi case "$host_os" in solaris*) -$as_echo "#define _LCONV_C99 1" >>confdefs.h +printf "%s\n" "#define _LCONV_C99 1" >>confdefs.h ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5 -$as_echo_n "checking whether locale.h conforms to POSIX:2001... " >&6; } -if ${gl_cv_header_locale_h_posix2001+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5 +printf %s "checking whether locale.h conforms to POSIX:2001... " >&6; } +if test ${gl_cv_header_locale_h_posix2001+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = LC_MESSAGES; int y = sizeof (((struct lconv *) 0)->decimal_point); int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_locale_h_posix2001=yes -else +else $as_nop gl_cv_header_locale_h_posix2001=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_h_posix2001" >&5 -$as_echo "$gl_cv_header_locale_h_posix2001" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_h_posix2001" >&5 +printf "%s\n" "$gl_cv_header_locale_h_posix2001" >&6; } : @@ -34059,33 +35230,35 @@ $as_echo "$gl_cv_header_locale_h_posix2001" >&6; } if test $ac_cv_header_xlocale_h = yes; then HAVE_XLOCALE_H=1 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5 -$as_echo_n "checking whether locale.h defines locale_t... " >&6; } -if ${gl_cv_header_locale_has_locale_t+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5 +printf %s "checking whether locale.h defines locale_t... " >&6; } +if test ${gl_cv_header_locale_has_locale_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include locale_t x; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_locale_has_locale_t=yes -else +else $as_nop gl_cv_header_locale_has_locale_t=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_has_locale_t" >&5 -$as_echo "$gl_cv_header_locale_has_locale_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_has_locale_t" >&5 +printf "%s\n" "$gl_cv_header_locale_has_locale_t" >&6; } if test $gl_cv_header_locale_has_locale_t = yes; then gl_cv_header_locale_h_needs_xlocale_h=no else @@ -34097,11 +35270,12 @@ $as_echo "$gl_cv_header_locale_has_locale_t" >&6; } fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct lconv is properly defined" >&5 -$as_echo_n "checking whether struct lconv is properly defined... " >&6; } -if ${gl_cv_sys_struct_lconv_ok+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct lconv is properly defined" >&5 +printf %s "checking whether struct lconv is properly defined... " >&6; } +if test ${gl_cv_sys_struct_lconv_ok+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -34109,23 +35283,24 @@ else int x = sizeof (l.decimal_point); int y = sizeof (l.int_p_cs_precedes); int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_sys_struct_lconv_ok=yes -else +else $as_nop gl_cv_sys_struct_lconv_ok=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_lconv_ok" >&5 -$as_echo "$gl_cv_sys_struct_lconv_ok" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_lconv_ok" >&5 +printf "%s\n" "$gl_cv_sys_struct_lconv_ok" >&6; } if test $gl_cv_sys_struct_lconv_ok = no; then REPLACE_STRUCT_LCONV=1 fi @@ -34141,11 +35316,12 @@ $as_echo "$gl_cv_sys_struct_lconv_ok" >&6; } if test $gl_cv_have_include_next = yes; then gl_cv_next_locale_h='<'locale.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_locale_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_locale_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34180,8 +35356,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_locale_h" >&5 -$as_echo "$gl_cv_next_locale_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_locale_h" >&5 +printf "%s\n" "$gl_cv_next_locale_h" >&6; } fi NEXT_LOCALE_H=$gl_cv_next_locale_h @@ -34200,12 +35376,13 @@ $as_echo "$gl_cv_next_locale_h" >&6; } for gl_func in setlocale duplocale; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -34215,7 +35392,7 @@ else #endif int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -34223,19 +35400,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -34265,11 +35444,10 @@ fi ac_fn_c_check_member "$LINENO" "struct lconv" "decimal_point" "ac_cv_member_struct_lconv_decimal_point" "#include " -if test "x$ac_cv_member_struct_lconv_decimal_point" = xyes; then : +if test "x$ac_cv_member_struct_lconv_decimal_point" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_LCONV_DECIMAL_POINT 1 -_ACEOF +printf "%s\n" "#define HAVE_STRUCT_LCONV_DECIMAL_POINT 1" >>confdefs.h fi @@ -34287,7 +35465,7 @@ fi -$as_echo "#define GNULIB_TEST_LOCALECONV 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_LOCALECONV 1" >>confdefs.h @@ -34298,9 +35476,10 @@ $as_echo "#define GNULIB_TEST_LOCALECONV 1" >>confdefs.h # pthread_rwlock_* functions. ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include " -if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then : +if test "x$ac_cv_type_pthread_rwlock_t" = xyes +then : -$as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h +printf "%s\n" "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h fi @@ -34310,7 +35489,7 @@ fi #include int -main () +main (void) { #if __FreeBSD__ == 4 @@ -34327,89 +35506,75 @@ return !x; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : -$as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h +printf "%s\n" "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi : -cat >>confdefs.h <<_ACEOF -#define GNULIB_LOCK 1 -_ACEOF +printf "%s\n" "#define GNULIB_LOCK 1" >>confdefs.h - - for ac_header in stdlib.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" -if test "x$ac_cv_header_stdlib_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STDLIB_H 1 -_ACEOF - -fi - -done - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 -$as_echo_n "checking for GNU libc compatible malloc... " >&6; } -if ${ac_cv_func_malloc_0_nonnull+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - case "$host_os" in - # Guess yes on platforms where we know the result. - *-gnu* | freebsd* | netbsd* | openbsd* \ - | hpux* | solaris* | cygwin* | mingw*) - ac_cv_func_malloc_0_nonnull=yes ;; - # If we don't know, assume the worst. - *) ac_cv_func_malloc_0_nonnull=no ;; - esac - -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 +printf %s "checking for GNU libc compatible malloc... " >&6; } +if test ${ac_cv_func_malloc_0_nonnull+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : + case "$host_os" in # (( + # Guess yes on platforms where we know the result. + *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ + | hpux* | solaris* | cygwin* | mingw* | msys* ) + ac_cv_func_malloc_0_nonnull=yes ;; + # If we don't know, assume the worst. + *) ac_cv_func_malloc_0_nonnull=no ;; + esac +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#if defined STDC_HEADERS || defined HAVE_STDLIB_H - # include - #else - char *malloc (); - #endif +#include int -main () +main (void) { -return ! malloc (0); +void *p = malloc (0); + int result = !p; + free (p); + return result; ; return 0; } - _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : ac_cv_func_malloc_0_nonnull=yes -else +else $as_nop ac_cv_func_malloc_0_nonnull=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi - fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 -$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } - if test $ac_cv_func_malloc_0_nonnull = yes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 +printf "%s\n" "$ac_cv_func_malloc_0_nonnull" >&6; } +if test $ac_cv_func_malloc_0_nonnull = yes +then : -$as_echo "#define HAVE_MALLOC_GNU 1" >>confdefs.h +printf "%s\n" "#define HAVE_MALLOC_GNU 1" >>confdefs.h -else - $as_echo "#define HAVE_MALLOC_GNU 0" >>confdefs.h +else $as_nop + printf "%s\n" "#define HAVE_MALLOC_GNU 0" >>confdefs.h REPLACE_MALLOC=1 @@ -34430,9 +35595,7 @@ fi fi -cat >>confdefs.h <<_ACEOF -#define GNULIB_MALLOC_GNU 1 -_ACEOF +printf "%s\n" "#define GNULIB_MALLOC_GNU 1" >>confdefs.h @@ -34440,7 +35603,7 @@ _ACEOF if test $gl_cv_func_malloc_posix = yes; then -$as_echo "#define HAVE_MALLOC_POSIX 1" >>confdefs.h +printf "%s\n" "#define HAVE_MALLOC_POSIX 1" >>confdefs.h else REPLACE_MALLOC=1 @@ -34469,7 +35632,7 @@ $as_echo "#define HAVE_MALLOC_POSIX 1" >>confdefs.h -$as_echo "#define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h @@ -34497,11 +35660,12 @@ $as_echo "#define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_math_h='<'math.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_math_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_math_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_math_h = yes; then @@ -34542,8 +35706,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_math_h" >&5 -$as_echo "$gl_cv_next_math_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_math_h" >&5 +printf "%s\n" "$gl_cv_next_math_h" >&6; } fi NEXT_MATH_H=$gl_cv_next_math_h @@ -34560,16 +35724,17 @@ $as_echo "$gl_cv_next_math_h" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NAN macro works" >&5 -$as_echo_n "checking whether NAN macro works... " >&6; } -if ${gl_cv_header_math_nan_works+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NAN macro works" >&5 +printf %s "checking whether NAN macro works... " >&6; } +if test ${gl_cv_header_math_nan_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { /* Solaris 10 has a broken definition of NAN. Other platforms fail to provide NAN, or provide it only in C99 mode; this @@ -34583,28 +35748,30 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_math_nan_works=yes -else +else $as_nop gl_cv_header_math_nan_works=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_nan_works" >&5 -$as_echo "$gl_cv_header_math_nan_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_nan_works" >&5 +printf "%s\n" "$gl_cv_header_math_nan_works" >&6; } if test $gl_cv_header_math_nan_works = no; then REPLACE_NAN=1 fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether HUGE_VAL works" >&5 -$as_echo_n "checking whether HUGE_VAL works... " >&6; } -if ${gl_cv_header_math_huge_val_works+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether HUGE_VAL works" >&5 +printf %s "checking whether HUGE_VAL works... " >&6; } +if test ${gl_cv_header_math_huge_val_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { /* Solaris 10 has a broken definition of HUGE_VAL. */ double d = HUGE_VAL; @@ -34613,32 +35780,34 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_math_huge_val_works=yes -else +else $as_nop gl_cv_header_math_huge_val_works=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_huge_val_works" >&5 -$as_echo "$gl_cv_header_math_huge_val_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_huge_val_works" >&5 +printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } if test $gl_cv_header_math_huge_val_works = no; then REPLACE_HUGE_VAL=1 fi for gl_func in acosf acosl asinf asinl atanf atanl cbrt cbrtf cbrtl ceilf ceill copysign copysignf copysignl cosf cosl coshf expf expl exp2 exp2f exp2l expm1 expm1f expm1l fabsf fabsl floorf floorl fma fmaf fmal fmod fmodf fmodl frexpf frexpl hypotf hypotl ilogb ilogbf ilogbl ldexpf ldexpl log logf logl log10 log10f log10l log1p log1pf log1pl log2 log2f log2l logb logbf logbl modf modff modfl powf remainder remainderf remainderl rint rintf rintl round roundf roundl sinf sinl sinhf sqrtf sqrtl tanf tanl tanhf trunc truncf truncl; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -34646,19 +35815,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -34692,11 +35863,12 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 -$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } -if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +printf %s "checking whether mbrtowc handles incomplete characters... " >&6; } +if test ${gl_cv_func_mbrtowc_incomplete_state+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$host_os" in # Guess no on AIX and OSF/1. @@ -34705,9 +35877,10 @@ else *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; esac if test $LOCALE_JA != none; then - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34737,9 +35910,10 @@ int main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_mbrtowc_incomplete_state=yes -else +else $as_nop gl_cv_func_mbrtowc_incomplete_state=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -34749,17 +35923,18 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 -$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +printf "%s\n" "$gl_cv_func_mbrtowc_incomplete_state" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 -$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } -if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +printf %s "checking whether mbrtowc works as well as mbtowc... " >&6; } +if test ${gl_cv_func_mbrtowc_sanitycheck+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$host_os" in # Guess no on Solaris 8. @@ -34768,9 +35943,10 @@ else *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; esac if test $LOCALE_ZH_CN != none; then - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34804,9 +35980,10 @@ int main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_mbrtowc_sanitycheck=yes -else +else $as_nop gl_cv_func_mbrtowc_sanitycheck=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -34816,8 +35993,8 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 -$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +printf "%s\n" "$gl_cv_func_mbrtowc_sanitycheck" >&6; } REPLACE_MBSTATE_T=0 case "$gl_cv_func_mbrtowc_incomplete_state" in @@ -34842,7 +36019,7 @@ $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } if test $ac_cv_func_mbrtowc = no; then HAVE_MBRTOWC=0 - ac_fn_c_check_decl "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" " + ac_fn_check_decl "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" " /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be @@ -34852,16 +36029,14 @@ $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } #include #include -" -if test "x$ac_cv_have_decl_mbrtowc" = xyes; then : +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_mbrtowc" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_MBRTOWC $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_MBRTOWC $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_mbrtowc = yes; then REPLACE_MBRTOWC=1 @@ -34873,11 +36048,12 @@ _ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5 -$as_echo_n "checking whether mbrtowc handles a NULL pwc argument... " >&6; } -if ${gl_cv_func_mbrtowc_null_arg1+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5 +printf %s "checking whether mbrtowc handles a NULL pwc argument... " >&6; } +if test ${gl_cv_func_mbrtowc_null_arg1+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$host_os" in # Guess no on Solaris. @@ -34886,9 +36062,10 @@ else *) gl_cv_func_mbrtowc_null_arg1="guessing yes" ;; esac if test $LOCALE_FR_UTF8 != none; then - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34932,9 +36109,10 @@ int main () return result; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_mbrtowc_null_arg1=yes -else +else $as_nop gl_cv_func_mbrtowc_null_arg1=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -34944,17 +36122,18 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5 -$as_echo "$gl_cv_func_mbrtowc_null_arg1" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5 +printf "%s\n" "$gl_cv_func_mbrtowc_null_arg1" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5 -$as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; } -if ${gl_cv_func_mbrtowc_null_arg2+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5 +printf %s "checking whether mbrtowc handles a NULL string argument... " >&6; } +if test ${gl_cv_func_mbrtowc_null_arg2+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$host_os" in # Guess no on OSF/1. @@ -34963,9 +36142,10 @@ else *) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;; esac if test $LOCALE_FR_UTF8 != none; then - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34997,9 +36177,10 @@ int main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_mbrtowc_null_arg2=yes -else +else $as_nop gl_cv_func_mbrtowc_null_arg2=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -35009,19 +36190,20 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5 -$as_echo "$gl_cv_func_mbrtowc_null_arg2" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5 +printf "%s\n" "$gl_cv_func_mbrtowc_null_arg2" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5 -$as_echo_n "checking whether mbrtowc has a correct return value... " >&6; } -if ${gl_cv_func_mbrtowc_retval+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5 +printf %s "checking whether mbrtowc has a correct return value... " >&6; } +if test ${gl_cv_func_mbrtowc_retval+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$host_os" in # Guess no on HP-UX, Solaris, native Windows. @@ -35031,9 +36213,10 @@ else esac if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \ || { case "$host_os" in mingw*) true;; *) false;; esac; }; then - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -35132,9 +36315,10 @@ int main () return (found_some_locale ? result : 77); } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_mbrtowc_retval=yes -else +else $as_nop if test $? != 77; then gl_cv_func_mbrtowc_retval=no fi @@ -35147,17 +36331,18 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5 -$as_echo "$gl_cv_func_mbrtowc_retval" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5 +printf "%s\n" "$gl_cv_func_mbrtowc_retval" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5 -$as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; } -if ${gl_cv_func_mbrtowc_nul_retval+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5 +printf %s "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; } +if test ${gl_cv_func_mbrtowc_nul_retval+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$host_os" in # Guess no on Solaris 8 and 9. @@ -35166,9 +36351,10 @@ else *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; esac if test $LOCALE_ZH_CN != none; then - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -35197,9 +36383,10 @@ int main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_mbrtowc_nul_retval=yes -else +else $as_nop gl_cv_func_mbrtowc_nul_retval=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -35209,13 +36396,13 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5 -$as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5 +printf "%s\n" "$gl_cv_func_mbrtowc_nul_retval" >&6; } case "$gl_cv_func_mbrtowc_null_arg1" in *yes) ;; *) -$as_echo "#define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h +printf "%s\n" "#define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; @@ -35223,7 +36410,7 @@ $as_echo "#define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h case "$gl_cv_func_mbrtowc_null_arg2" in *yes) ;; *) -$as_echo "#define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h +printf "%s\n" "#define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; @@ -35231,7 +36418,7 @@ $as_echo "#define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h case "$gl_cv_func_mbrtowc_retval" in *yes) ;; *) -$as_echo "#define MBRTOWC_RETVAL_BUG 1" >>confdefs.h +printf "%s\n" "#define MBRTOWC_RETVAL_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; @@ -35239,7 +36426,7 @@ $as_echo "#define MBRTOWC_RETVAL_BUG 1" >>confdefs.h case "$gl_cv_func_mbrtowc_nul_retval" in *yes) ;; *) -$as_echo "#define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h +printf "%s\n" "#define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; @@ -35273,7 +36460,7 @@ $as_echo "#define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h -$as_echo "#define GNULIB_TEST_MBRTOWC 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_MBRTOWC 1" >>confdefs.h @@ -35304,11 +36491,12 @@ $as_echo "#define GNULIB_TEST_MBRTOWC 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 -$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } -if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +printf %s "checking whether mbrtowc handles incomplete characters... " >&6; } +if test ${gl_cv_func_mbrtowc_incomplete_state+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$host_os" in # Guess no on AIX and OSF/1. @@ -35317,9 +36505,10 @@ else *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; esac if test $LOCALE_JA != none; then - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -35349,9 +36538,10 @@ int main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_mbrtowc_incomplete_state=yes -else +else $as_nop gl_cv_func_mbrtowc_incomplete_state=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -35361,17 +36551,18 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 -$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +printf "%s\n" "$gl_cv_func_mbrtowc_incomplete_state" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 -$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } -if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +printf %s "checking whether mbrtowc works as well as mbtowc... " >&6; } +if test ${gl_cv_func_mbrtowc_sanitycheck+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$host_os" in # Guess no on Solaris 8. @@ -35380,9 +36571,10 @@ else *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; esac if test $LOCALE_ZH_CN != none; then - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -35416,9 +36608,10 @@ int main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_mbrtowc_sanitycheck=yes -else +else $as_nop gl_cv_func_mbrtowc_sanitycheck=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -35428,8 +36621,8 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 -$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +printf "%s\n" "$gl_cv_func_mbrtowc_sanitycheck" >&6; } REPLACE_MBSTATE_T=0 case "$gl_cv_func_mbrtowc_incomplete_state" in @@ -35454,7 +36647,7 @@ $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } if test $ac_cv_func_mbsinit = no; then HAVE_MBSINIT=0 - ac_fn_c_check_decl "$LINENO" "mbsinit" "ac_cv_have_decl_mbsinit" " + ac_fn_check_decl "$LINENO" "mbsinit" "ac_cv_have_decl_mbsinit" " /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be @@ -35464,16 +36657,14 @@ $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } #include #include -" -if test "x$ac_cv_have_decl_mbsinit" = xyes; then : +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_mbsinit" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_MBSINIT $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_MBSINIT $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_mbsinit = yes; then REPLACE_MBSINIT=1 @@ -35514,7 +36705,7 @@ _ACEOF -$as_echo "#define GNULIB_TEST_MBSINIT 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_MBSINIT 1" >>confdefs.h @@ -35551,7 +36742,7 @@ $as_echo "#define GNULIB_TEST_MBSINIT 1" >>confdefs.h -$as_echo "#define GNULIB_TEST_MBTOWC 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_MBTOWC 1" >>confdefs.h @@ -35568,18 +36759,13 @@ $as_echo "#define GNULIB_TEST_MBTOWC 1" >>confdefs.h gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext" - for ac_header in bp-sym.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" -if test "x$ac_cv_header_bp_sym_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_BP_SYM_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" +if test "x$ac_cv_header_bp_sym_h" = xyes +then : + printf "%s\n" "#define HAVE_BP_SYM_H 1" >>confdefs.h fi -done - fi @@ -35593,7 +36779,7 @@ done -$as_echo "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h @@ -35621,14 +36807,16 @@ $as_echo "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h # But we need a configuration result that is valid in both modes. gl_cv_func_working_mktime=no fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 -$as_echo_n "checking for working mktime... " >&6; } -if ${gl_cv_func_working_mktime+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 +printf %s "checking for working mktime... " >&6; } +if test ${gl_cv_func_working_mktime+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : gl_cv_func_working_mktime=no -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Test program from Paul Eggert and Tony Leneis. */ @@ -35829,9 +37017,10 @@ main () return result; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_working_mktime=yes -else +else $as_nop gl_cv_func_working_mktime=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -35840,8 +37029,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mktime" >&5 -$as_echo "$gl_cv_func_working_mktime" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mktime" >&5 +printf "%s\n" "$gl_cv_func_working_mktime" >&6; } if test $gl_cv_func_working_mktime = no; then REPLACE_MKTIME=1 @@ -35873,7 +37062,7 @@ $as_echo "$gl_cv_func_working_mktime" >&6; } -$as_echo "#define GNULIB_TEST_MKTIME 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_MKTIME 1" >>confdefs.h @@ -35881,12 +37070,13 @@ $as_echo "#define GNULIB_TEST_MKTIME 1" >>confdefs.h if test $REPLACE_MKTIME = 0; then ac_fn_c_check_func "$LINENO" "__mktime_internal" "ac_cv_func___mktime_internal" -if test "x$ac_cv_func___mktime_internal" = xyes; then : +if test "x$ac_cv_func___mktime_internal" = xyes +then : -$as_echo "#define mktime_internal __mktime_internal" >>confdefs.h +printf "%s\n" "#define mktime_internal __mktime_internal" >>confdefs.h -else +else $as_nop REPLACE_MKTIME=1 fi @@ -35908,17 +37098,18 @@ fi fi -for ac_func in listmntent getmntinfo -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF +ac_fn_c_check_func "$LINENO" "listmntent" "ac_cv_func_listmntent" +if test "x$ac_cv_func_listmntent" = xyes +then : + printf "%s\n" "#define HAVE_LISTMNTENT 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "getmntinfo" "ac_cv_func_getmntinfo" +if test "x$ac_cv_func_getmntinfo" = xyes +then : + printf "%s\n" "#define HAVE_GETMNTINFO 1" >>confdefs.h fi -done : @@ -35933,49 +37124,39 @@ done # We must include grp.h before ucred.h on OSF V4.0, since ucred.h uses # NGROUPS (as the array dimension for a struct member) without a definition. -for ac_header in sys/ucred.h -do : - ac_fn_c_check_header_compile "$LINENO" "sys/ucred.h" "ac_cv_header_sys_ucred_h" "#include +ac_fn_c_check_header_compile "$LINENO" "sys/ucred.h" "ac_cv_header_sys_ucred_h" "#include " -if test "x$ac_cv_header_sys_ucred_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SYS_UCRED_H 1 -_ACEOF +if test "x$ac_cv_header_sys_ucred_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_UCRED_H 1" >>confdefs.h fi -done - -for ac_header in sys/mount.h -do : - ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default +ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default #if HAVE_SYS_PARAM_H #include #endif " -if test "x$ac_cv_header_sys_mount_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SYS_MOUNT_H 1 -_ACEOF +if test "x$ac_cv_header_sys_mount_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h fi -done - -for ac_header in mntent.h sys/fs_types.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default" +if test "x$ac_cv_header_mntent_h" = xyes +then : + printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h fi +ac_fn_c_check_header_compile "$LINENO" "sys/fs_types.h" "ac_cv_header_sys_fs_types_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_fs_types_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_FS_TYPES_H 1" >>confdefs.h -done +fi getfsstat_includes="\ $ac_includes_default @@ -35995,11 +37176,10 @@ $ac_includes_default " ac_fn_c_check_member "$LINENO" "struct fsstat" "f_fstypename" "ac_cv_member_struct_fsstat_f_fstypename" "$getfsstat_includes " -if test "x$ac_cv_member_struct_fsstat_f_fstypename" = xyes; then : +if test "x$ac_cv_member_struct_fsstat_f_fstypename" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_FSSTAT_F_FSTYPENAME 1 -_ACEOF +printf "%s\n" "#define HAVE_STRUCT_FSSTAT_F_FSTYPENAME 1" >>confdefs.h fi @@ -36012,11 +37192,12 @@ ac_list_mounted_fs= # make sure LIBS contains the appropriate -l option. # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4, # -lseq on Dynix/PTX, -lgen on Unixware. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5 -$as_echo_n "checking for library containing getmntent... " >&6; } -if ${ac_cv_search_getmntent+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5 +printf %s "checking for library containing getmntent... " >&6; } +if test ${ac_cv_search_getmntent+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -36024,60 +37205,58 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char getmntent (); int -main () +main (void) { return getmntent (); ; return 0; } _ACEOF -for ac_lib in '' sun seq gen; do +for ac_lib in '' sun seq gen +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_getmntent=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_getmntent+:} false; then : + if test ${ac_cv_search_getmntent+y} +then : break fi done -if ${ac_cv_search_getmntent+:} false; then : +if test ${ac_cv_search_getmntent+y} +then : -else +else $as_nop ac_cv_search_getmntent=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5 -$as_echo "$ac_cv_search_getmntent" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5 +printf "%s\n" "$ac_cv_search_getmntent" >&6; } ac_res=$ac_cv_search_getmntent -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi -for ac_func in getmntent -do : - ac_fn_c_check_func "$LINENO" "getmntent" "ac_cv_func_getmntent" -if test "x$ac_cv_func_getmntent" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_GETMNTENT 1 -_ACEOF +ac_fn_c_check_func "$LINENO" "getmntent" "ac_cv_func_getmntent" +if test "x$ac_cv_func_getmntent" = xyes +then : + printf "%s\n" "#define HAVE_GETMNTENT 1" >>confdefs.h fi -done @@ -36092,11 +37271,12 @@ done if test -z "$ac_list_mounted_fs"; then # Cray UNICOS 9 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for listmntent of Cray/Unicos-9" >&5 -$as_echo_n "checking for listmntent of Cray/Unicos-9... " >&6; } - if ${fu_cv_sys_mounted_cray_listmntent+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for listmntent of Cray/Unicos-9" >&5 +printf %s "checking for listmntent of Cray/Unicos-9... " >&6; } + if test ${fu_cv_sys_mounted_cray_listmntent+y} +then : + printf %s "(cached) " >&6 +else $as_nop fu_cv_sys_mounted_cray_listmntent=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -36106,52 +37286,55 @@ yes _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : + $EGREP "yes" >/dev/null 2>&1 +then : test $ac_cv_func_listmntent = yes \ && fu_cv_sys_mounted_cray_listmntent=yes fi -rm -f conftest* +rm -rf conftest* fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_cray_listmntent" >&5 -$as_echo "$fu_cv_sys_mounted_cray_listmntent" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_cray_listmntent" >&5 +printf "%s\n" "$fu_cv_sys_mounted_cray_listmntent" >&6; } if test $fu_cv_sys_mounted_cray_listmntent = yes; then ac_list_mounted_fs=found -$as_echo "#define MOUNTED_LISTMNTENT 1" >>confdefs.h +printf "%s\n" "#define MOUNTED_LISTMNTENT 1" >>confdefs.h fi fi if test -z "$ac_list_mounted_fs"; then # AIX. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mntctl function and struct vmount" >&5 -$as_echo_n "checking for mntctl function and struct vmount... " >&6; } - if ${fu_cv_sys_mounted_vmount+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mntctl function and struct vmount" >&5 +printf %s "checking for mntctl function and struct vmount... " >&6; } + if test ${fu_cv_sys_mounted_vmount+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : fu_cv_sys_mounted_vmount=yes -else +else $as_nop fu_cv_sys_mounted_vmount=no fi rm -f conftest.err conftest.i conftest.$ac_ext fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_vmount" >&5 -$as_echo "$fu_cv_sys_mounted_vmount" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_vmount" >&5 +printf "%s\n" "$fu_cv_sys_mounted_vmount" >&6; } if test $fu_cv_sys_mounted_vmount = yes; then ac_list_mounted_fs=found -$as_echo "#define MOUNTED_VMOUNT 1" >>confdefs.h +printf "%s\n" "#define MOUNTED_VMOUNT 1" >>confdefs.h fi fi @@ -36163,11 +37346,12 @@ if test $ac_cv_func_getmntent = yes; then if test -z "$ac_list_mounted_fs"; then # 4.3BSD, SunOS, HP-UX, Dynix, Irix - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for one-argument getmntent function" >&5 -$as_echo_n "checking for one-argument getmntent function... " >&6; } - if ${fu_cv_sys_mounted_getmntent1+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for one-argument getmntent function" >&5 +printf %s "checking for one-argument getmntent function... " >&6; } + if test ${fu_cv_sys_mounted_getmntent1+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -36188,7 +37372,7 @@ else #endif int -main () +main (void) { struct mntent *mnt = 0; char *table = MOUNTED; if (sizeof mnt && sizeof table) return 0; @@ -36196,63 +37380,62 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : fu_cv_sys_mounted_getmntent1=yes -else +else $as_nop fu_cv_sys_mounted_getmntent1=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntent1" >&5 -$as_echo "$fu_cv_sys_mounted_getmntent1" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntent1" >&5 +printf "%s\n" "$fu_cv_sys_mounted_getmntent1" >&6; } if test $fu_cv_sys_mounted_getmntent1 = yes; then ac_list_mounted_fs=found -$as_echo "#define MOUNTED_GETMNTENT1 1" >>confdefs.h +printf "%s\n" "#define MOUNTED_GETMNTENT1 1" >>confdefs.h fi fi if test -z "$ac_list_mounted_fs"; then # SVR4 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument getmntent function" >&5 -$as_echo_n "checking for two-argument getmntent function... " >&6; } - if ${fu_cv_sys_mounted_getmntent2+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for two-argument getmntent function" >&5 +printf %s "checking for two-argument getmntent function... " >&6; } + if test ${fu_cv_sys_mounted_getmntent2+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "getmntent" >/dev/null 2>&1; then : + $EGREP "getmntent" >/dev/null 2>&1 +then : fu_cv_sys_mounted_getmntent2=yes -else +else $as_nop fu_cv_sys_mounted_getmntent2=no fi -rm -f conftest* +rm -rf conftest* fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntent2" >&5 -$as_echo "$fu_cv_sys_mounted_getmntent2" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntent2" >&5 +printf "%s\n" "$fu_cv_sys_mounted_getmntent2" >&6; } if test $fu_cv_sys_mounted_getmntent2 = yes; then ac_list_mounted_fs=found -$as_echo "#define MOUNTED_GETMNTENT2 1" >>confdefs.h +printf "%s\n" "#define MOUNTED_GETMNTENT2 1" >>confdefs.h - for ac_func in hasmntopt -do : - ac_fn_c_check_func "$LINENO" "hasmntopt" "ac_cv_func_hasmntopt" -if test "x$ac_cv_func_hasmntopt" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_HASMNTOPT 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "hasmntopt" "ac_cv_func_hasmntopt" +if test "x$ac_cv_func_hasmntopt" = xyes +then : + printf "%s\n" "#define HAVE_HASMNTOPT 1" >>confdefs.h fi -done fi fi @@ -36263,11 +37446,12 @@ if test -z "$ac_list_mounted_fs"; then # DEC Alpha running OSF/1, and Apple Darwin 1.3. # powerpc-apple-darwin1.3.7 needs sys/param.h sys/ucred.h sys/fs_types.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getfsstat function" >&5 -$as_echo_n "checking for getfsstat function... " >&6; } - if ${fu_cv_sys_mounted_getfsstat+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getfsstat function" >&5 +printf %s "checking for getfsstat function... " >&6; } + if test ${fu_cv_sys_mounted_getfsstat+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -36280,7 +37464,7 @@ else $getfsstat_includes int -main () +main (void) { struct statfs *stats; int numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT); @@ -36289,32 +37473,34 @@ struct statfs *stats; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : fu_cv_sys_mounted_getfsstat=yes -else +else $as_nop fu_cv_sys_mounted_getfsstat=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getfsstat" >&5 -$as_echo "$fu_cv_sys_mounted_getfsstat" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getfsstat" >&5 +printf "%s\n" "$fu_cv_sys_mounted_getfsstat" >&6; } if test $fu_cv_sys_mounted_getfsstat = yes; then ac_list_mounted_fs=found -$as_echo "#define MOUNTED_GETFSSTAT 1" >>confdefs.h +printf "%s\n" "#define MOUNTED_GETFSSTAT 1" >>confdefs.h fi fi if test -z "$ac_list_mounted_fs"; then # SVR3 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIXME existence of three headers" >&5 -$as_echo_n "checking for FIXME existence of three headers... " >&6; } - if ${fu_cv_sys_mounted_fread_fstyp+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FIXME existence of three headers" >&5 +printf %s "checking for FIXME existence of three headers... " >&6; } + if test ${fu_cv_sys_mounted_fread_fstyp+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -36322,31 +37508,33 @@ else #include #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : fu_cv_sys_mounted_fread_fstyp=yes -else +else $as_nop fu_cv_sys_mounted_fread_fstyp=no fi rm -f conftest.err conftest.i conftest.$ac_ext fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_fread_fstyp" >&5 -$as_echo "$fu_cv_sys_mounted_fread_fstyp" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_fread_fstyp" >&5 +printf "%s\n" "$fu_cv_sys_mounted_fread_fstyp" >&6; } if test $fu_cv_sys_mounted_fread_fstyp = yes; then ac_list_mounted_fs=found -$as_echo "#define MOUNTED_FREAD_FSTYP 1" >>confdefs.h +printf "%s\n" "#define MOUNTED_FREAD_FSTYP 1" >>confdefs.h fi fi if test -z "$ac_list_mounted_fs"; then # 4.4BSD and DEC OSF/1. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getmntinfo function" >&5 -$as_echo_n "checking for getmntinfo function... " >&6; } - if ${fu_cv_sys_mounted_getmntinfo+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getmntinfo function" >&5 +printf %s "checking for getmntinfo function... " >&6; } + if test ${fu_cv_sys_mounted_getmntinfo+y} +then : + printf %s "(cached) " >&6 +else $as_nop test "$ac_cv_func_getmntinfo" = yes \ && fu_cv_sys_mounted_getmntinfo=yes \ @@ -36354,14 +37542,15 @@ else fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntinfo" >&5 -$as_echo "$fu_cv_sys_mounted_getmntinfo" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntinfo" >&5 +printf "%s\n" "$fu_cv_sys_mounted_getmntinfo" >&6; } if test $fu_cv_sys_mounted_getmntinfo = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getmntinfo returns statvfs structures" >&5 -$as_echo_n "checking whether getmntinfo returns statvfs structures... " >&6; } - if ${fu_cv_sys_mounted_getmntinfo2+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getmntinfo returns statvfs structures" >&5 +printf %s "checking whether getmntinfo returns statvfs structures... " >&6; } + if test ${fu_cv_sys_mounted_getmntinfo2+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -36383,33 +37572,34 @@ extern int getmntinfo (struct statfs **, int); int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : fu_cv_sys_mounted_getmntinfo2=no -else +else $as_nop fu_cv_sys_mounted_getmntinfo2=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntinfo2" >&5 -$as_echo "$fu_cv_sys_mounted_getmntinfo2" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntinfo2" >&5 +printf "%s\n" "$fu_cv_sys_mounted_getmntinfo2" >&6; } if test $fu_cv_sys_mounted_getmntinfo2 = no; then ac_list_mounted_fs=found -$as_echo "#define MOUNTED_GETMNTINFO 1" >>confdefs.h +printf "%s\n" "#define MOUNTED_GETMNTINFO 1" >>confdefs.h else ac_list_mounted_fs=found -$as_echo "#define MOUNTED_GETMNTINFO2 1" >>confdefs.h +printf "%s\n" "#define MOUNTED_GETMNTINFO2 1" >>confdefs.h fi fi @@ -36417,63 +37607,61 @@ fi if test -z "$ac_list_mounted_fs"; then # Ultrix - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getmnt function" >&5 -$as_echo_n "checking for getmnt function... " >&6; } - if ${fu_cv_sys_mounted_getmnt+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getmnt function" >&5 +printf %s "checking for getmnt function... " >&6; } + if test ${fu_cv_sys_mounted_getmnt+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : fu_cv_sys_mounted_getmnt=yes -else +else $as_nop fu_cv_sys_mounted_getmnt=no fi rm -f conftest.err conftest.i conftest.$ac_ext fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmnt" >&5 -$as_echo "$fu_cv_sys_mounted_getmnt" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmnt" >&5 +printf "%s\n" "$fu_cv_sys_mounted_getmnt" >&6; } if test $fu_cv_sys_mounted_getmnt = yes; then ac_list_mounted_fs=found -$as_echo "#define MOUNTED_GETMNT 1" >>confdefs.h +printf "%s\n" "#define MOUNTED_GETMNT 1" >>confdefs.h fi fi if test -z "$ac_list_mounted_fs"; then # BeOS - for ac_func in next_dev fs_stat_dev -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "next_dev" "ac_cv_func_next_dev" +if test "x$ac_cv_func_next_dev" = xyes +then : + printf "%s\n" "#define HAVE_NEXT_DEV 1" >>confdefs.h fi -done - - for ac_header in fs_info.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "fs_info.h" "ac_cv_header_fs_info_h" "$ac_includes_default" -if test "x$ac_cv_header_fs_info_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FS_INFO_H 1 -_ACEOF +ac_fn_c_check_func "$LINENO" "fs_stat_dev" "ac_cv_func_fs_stat_dev" +if test "x$ac_cv_func_fs_stat_dev" = xyes +then : + printf "%s\n" "#define HAVE_FS_STAT_DEV 1" >>confdefs.h fi -done + ac_fn_c_check_header_compile "$LINENO" "fs_info.h" "ac_cv_header_fs_info_h" "$ac_includes_default" +if test "x$ac_cv_header_fs_info_h" = xyes +then : + printf "%s\n" "#define HAVE_FS_INFO_H 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BEOS mounted file system support functions" >&5 -$as_echo_n "checking for BEOS mounted file system support functions... " >&6; } +fi + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BEOS mounted file system support functions" >&5 +printf %s "checking for BEOS mounted file system support functions... " >&6; } if test $ac_cv_header_fs_info_h = yes \ && test $ac_cv_func_next_dev = yes \ && test $ac_cv_func_fs_stat_dev = yes; then @@ -36481,41 +37669,43 @@ $as_echo_n "checking for BEOS mounted file system support functions... " >&6; } else fu_result=no fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_result" >&5 -$as_echo "$fu_result" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_result" >&5 +printf "%s\n" "$fu_result" >&6; } if test $fu_result = yes; then ac_list_mounted_fs=found -$as_echo "#define MOUNTED_FS_STAT_DEV 1" >>confdefs.h +printf "%s\n" "#define MOUNTED_FS_STAT_DEV 1" >>confdefs.h fi fi if test -z "$ac_list_mounted_fs"; then # SVR2 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is possible to resort to fread on /etc/mnttab" >&5 -$as_echo_n "checking whether it is possible to resort to fread on /etc/mnttab... " >&6; } - if ${fu_cv_sys_mounted_fread+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is possible to resort to fread on /etc/mnttab" >&5 +printf %s "checking whether it is possible to resort to fread on /etc/mnttab... " >&6; } + if test ${fu_cv_sys_mounted_fread+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : fu_cv_sys_mounted_fread=yes -else +else $as_nop fu_cv_sys_mounted_fread=no fi rm -f conftest.err conftest.i conftest.$ac_ext fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_fread" >&5 -$as_echo "$fu_cv_sys_mounted_fread" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_fread" >&5 +printf "%s\n" "$fu_cv_sys_mounted_fread" >&6; } if test $fu_cv_sys_mounted_fread = yes; then ac_list_mounted_fs=found -$as_echo "#define MOUNTED_FREAD 1" >>confdefs.h +printf "%s\n" "#define MOUNTED_FREAD 1" >>confdefs.h fi fi @@ -36525,21 +37715,17 @@ if test -z "$ac_list_mounted_fs"; then # the code is really interix specific, so make sure, we're on it. case "$host" in *-interix*) - for ac_func in statvfs -do : - ac_fn_c_check_func "$LINENO" "statvfs" "ac_cv_func_statvfs" -if test "x$ac_cv_func_statvfs" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STATVFS 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "statvfs" "ac_cv_func_statvfs" +if test "x$ac_cv_func_statvfs" = xyes +then : + printf "%s\n" "#define HAVE_STATVFS 1" >>confdefs.h fi -done if test $ac_cv_func_statvfs = yes; then ac_list_mounted_fs=found -$as_echo "#define MOUNTED_INTERIX_STATVFS 1" >>confdefs.h +printf "%s\n" "#define MOUNTED_INTERIX_STATVFS 1" >>confdefs.h fi ;; @@ -36552,9 +37738,10 @@ if test -z "$ac_list_mounted_fs"; then # Can't build mountlist.c or anything that needs its functions fi -if test $ac_list_mounted_fs = found; then : +if test $ac_list_mounted_fs = found +then : gl_cv_list_mounted_fs=yes -else +else $as_nop gl_cv_list_mounted_fs=no fi @@ -36572,18 +37759,13 @@ fi gl_LIBOBJS="$gl_LIBOBJS mountlist.$ac_objext" - for ac_header in sys/mntent.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "sys/mntent.h" "ac_cv_header_sys_mntent_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_mntent_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SYS_MNTENT_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "sys/mntent.h" "ac_cv_header_sys_mntent_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_mntent_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_MNTENT_H 1" >>confdefs.h fi -done - ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" " #include @@ -36591,11 +37773,10 @@ done #include " -if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes; then : +if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_STATFS_F_FSTYPENAME 1 -_ACEOF +printf "%s\n" "#define HAVE_STRUCT_STATFS_F_FSTYPENAME 1" >>confdefs.h fi @@ -36614,7 +37795,7 @@ fi if test $ac_cv_func__set_invalid_parameter_handler = yes; then HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 -$as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h +printf "%s\n" "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h else HAVE_MSVC_INVALID_PARAMETER_HANDLER=0 @@ -36669,11 +37850,12 @@ $as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_netdb_h='<'netdb.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_netdb_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_netdb_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_netdb_h = yes; then @@ -36714,8 +37896,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5 -$as_echo "$gl_cv_next_netdb_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5 +printf "%s\n" "$gl_cv_next_netdb_h" >&6; } fi NEXT_NETDB_H=$gl_cv_next_netdb_h @@ -36740,17 +37922,18 @@ $as_echo "$gl_cv_next_netdb_h" >&6; } for gl_func in getaddrinfo freeaddrinfo gai_strerror getnameinfo; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -36758,19 +37941,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -36779,49 +37964,46 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 -$as_echo_n "checking whether is self-contained... " >&6; } -if ${gl_cv_header_netinet_in_h_selfcontained+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 +printf %s "checking whether is self-contained... " >&6; } +if test ${gl_cv_header_netinet_in_h_selfcontained+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_netinet_in_h_selfcontained=yes -else +else $as_nop gl_cv_header_netinet_in_h_selfcontained=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_netinet_in_h_selfcontained" >&5 -$as_echo "$gl_cv_header_netinet_in_h_selfcontained" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_netinet_in_h_selfcontained" >&5 +printf "%s\n" "$gl_cv_header_netinet_in_h_selfcontained" >&6; } if test $gl_cv_header_netinet_in_h_selfcontained = yes; then NETINET_IN_H='' else NETINET_IN_H='netinet/in.h' - for ac_header in netinet/in.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" -if test "x$ac_cv_header_netinet_in_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_NETINET_IN_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" +if test "x$ac_cv_header_netinet_in_h" = xyes +then : + printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h fi -done - @@ -36840,11 +38022,12 @@ done if test $gl_cv_have_include_next = yes; then gl_cv_next_netinet_in_h='<'netinet/in.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_netinet_in_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_netinet_in_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_netinet_in_h = yes; then @@ -36885,8 +38068,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netinet_in_h" >&5 -$as_echo "$gl_cv_next_netinet_in_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netinet_in_h" >&5 +printf "%s\n" "$gl_cv_next_netinet_in_h" >&6; } fi NEXT_NETINET_IN_H=$gl_cv_next_netinet_in_h @@ -36932,12 +38115,14 @@ fi if test $ac_cv_func_nl_langinfo = yes; then # On Irix 6.5, YESEXPR is defined, but nl_langinfo(YESEXPR) is broken. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether YESEXPR works" >&5 -$as_echo_n "checking whether YESEXPR works... " >&6; } -if ${gl_cv_func_nl_langinfo_yesexpr_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether YESEXPR works" >&5 +printf %s "checking whether YESEXPR works... " >&6; } +if test ${gl_cv_func_nl_langinfo_yesexpr_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : case "$host_os" in # Guess no on irix systems. @@ -36946,13 +38131,13 @@ else *) gl_cv_func_nl_langinfo_yesexpr_works="guessing yes";; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { return !*nl_langinfo(YESEXPR); @@ -36960,9 +38145,10 @@ return !*nl_langinfo(YESEXPR); return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_nl_langinfo_yesexpr_works=yes -else +else $as_nop gl_cv_func_nl_langinfo_yesexpr_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -36971,16 +38157,14 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_nl_langinfo_yesexpr_works" >&5 -$as_echo "$gl_cv_func_nl_langinfo_yesexpr_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_nl_langinfo_yesexpr_works" >&5 +printf "%s\n" "$gl_cv_func_nl_langinfo_yesexpr_works" >&6; } case $gl_cv_func_nl_langinfo_yesexpr_works in *yes) FUNC_NL_LANGINFO_YESEXPR_WORKS=1 ;; *) FUNC_NL_LANGINFO_YESEXPR_WORKS=0 ;; esac -cat >>confdefs.h <<_ACEOF -#define FUNC_NL_LANGINFO_YESEXPR_WORKS $FUNC_NL_LANGINFO_YESEXPR_WORKS -_ACEOF +printf "%s\n" "#define FUNC_NL_LANGINFO_YESEXPR_WORKS $FUNC_NL_LANGINFO_YESEXPR_WORKS" >>confdefs.h if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1 \ && test $FUNC_NL_LANGINFO_YESEXPR_WORKS = 1; then @@ -36988,7 +38172,7 @@ _ACEOF else REPLACE_NL_LANGINFO=1 -$as_echo "#define REPLACE_NL_LANGINFO 1" >>confdefs.h +printf "%s\n" "#define REPLACE_NL_LANGINFO 1" >>confdefs.h fi else @@ -37018,7 +38202,7 @@ $as_echo "#define REPLACE_NL_LANGINFO 1" >>confdefs.h -$as_echo "#define GNULIB_TEST_NL_LANGINFO 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_NL_LANGINFO 1" >>confdefs.h @@ -37054,14 +38238,15 @@ $as_echo "#define GNULIB_TEST_NL_LANGINFO 1" >>confdefs.h -$as_echo "#define GNULIB_TEST_READ 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_READ 1" >>confdefs.h # Check whether --with-included-regex was given. -if test "${with_included_regex+set}" = set; then : +if test ${with_included_regex+y} +then : withval=$with_included_regex; fi @@ -37081,14 +38266,16 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5 -$as_echo_n "checking for working re_compile_pattern... " >&6; } -if ${gl_cv_func_re_compile_pattern_working+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5 +printf %s "checking for working re_compile_pattern... " >&6; } +if test ${gl_cv_func_re_compile_pattern_working+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : gl_cv_func_re_compile_pattern_working=no -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -37102,7 +38289,7 @@ else #endif int -main () +main (void) { int result = 0; static struct re_pattern_buffer regex; @@ -37272,9 +38459,10 @@ int result = 0; return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_re_compile_pattern_working=yes -else +else $as_nop gl_cv_func_re_compile_pattern_working=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -37282,8 +38470,8 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_re_compile_pattern_working" >&5 -$as_echo "$gl_cv_func_re_compile_pattern_working" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_re_compile_pattern_working" >&5 +printf "%s\n" "$gl_cv_func_re_compile_pattern_working" >&6; } case $gl_cv_func_re_compile_pattern_working in #( yes) ac_use_included_regex=no;; #( no) ac_use_included_regex=yes;; @@ -37295,55 +38483,55 @@ $as_echo "$gl_cv_func_re_compile_pattern_working" >&6; } if test $ac_use_included_regex = yes; then -$as_echo "#define _REGEX_INCLUDE_LIMITS_H 1" >>confdefs.h +printf "%s\n" "#define _REGEX_INCLUDE_LIMITS_H 1" >>confdefs.h -$as_echo "#define _REGEX_LARGE_OFFSETS 1" >>confdefs.h +printf "%s\n" "#define _REGEX_LARGE_OFFSETS 1" >>confdefs.h -$as_echo "#define re_syntax_options rpl_re_syntax_options" >>confdefs.h +printf "%s\n" "#define re_syntax_options rpl_re_syntax_options" >>confdefs.h -$as_echo "#define re_set_syntax rpl_re_set_syntax" >>confdefs.h +printf "%s\n" "#define re_set_syntax rpl_re_set_syntax" >>confdefs.h -$as_echo "#define re_compile_pattern rpl_re_compile_pattern" >>confdefs.h +printf "%s\n" "#define re_compile_pattern rpl_re_compile_pattern" >>confdefs.h -$as_echo "#define re_compile_fastmap rpl_re_compile_fastmap" >>confdefs.h +printf "%s\n" "#define re_compile_fastmap rpl_re_compile_fastmap" >>confdefs.h -$as_echo "#define re_search rpl_re_search" >>confdefs.h +printf "%s\n" "#define re_search rpl_re_search" >>confdefs.h -$as_echo "#define re_search_2 rpl_re_search_2" >>confdefs.h +printf "%s\n" "#define re_search_2 rpl_re_search_2" >>confdefs.h -$as_echo "#define re_match rpl_re_match" >>confdefs.h +printf "%s\n" "#define re_match rpl_re_match" >>confdefs.h -$as_echo "#define re_match_2 rpl_re_match_2" >>confdefs.h +printf "%s\n" "#define re_match_2 rpl_re_match_2" >>confdefs.h -$as_echo "#define re_set_registers rpl_re_set_registers" >>confdefs.h +printf "%s\n" "#define re_set_registers rpl_re_set_registers" >>confdefs.h -$as_echo "#define re_comp rpl_re_comp" >>confdefs.h +printf "%s\n" "#define re_comp rpl_re_comp" >>confdefs.h -$as_echo "#define re_exec rpl_re_exec" >>confdefs.h +printf "%s\n" "#define re_exec rpl_re_exec" >>confdefs.h -$as_echo "#define regcomp rpl_regcomp" >>confdefs.h +printf "%s\n" "#define regcomp rpl_regcomp" >>confdefs.h -$as_echo "#define regexec rpl_regexec" >>confdefs.h +printf "%s\n" "#define regexec rpl_regexec" >>confdefs.h -$as_echo "#define regerror rpl_regerror" >>confdefs.h +printf "%s\n" "#define regerror rpl_regerror" >>confdefs.h -$as_echo "#define regfree rpl_regfree" >>confdefs.h +printf "%s\n" "#define regfree rpl_regfree" >>confdefs.h fi @@ -37365,18 +38553,13 @@ $as_echo "#define regfree rpl_regfree" >>confdefs.h - for ac_header in libintl.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" -if test "x$ac_cv_header_libintl_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBINTL_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" +if test "x$ac_cv_header_libintl_h" = xyes +then : + printf "%s\n" "#define HAVE_LIBINTL_H 1" >>confdefs.h fi -done - : @@ -37390,17 +38573,15 @@ done - ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include -" -if test "x$ac_cv_have_decl_isblank" = xyes; then : + ac_fn_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_isblank" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_ISBLANK $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_ISBLANK $ac_have_decl" >>confdefs.h fi @@ -37410,11 +38591,12 @@ _ACEOF SERVENT_LIB= gl_saved_libs="$LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5 -$as_echo_n "checking for library containing getservbyname... " >&6; } -if ${ac_cv_search_getservbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5 +printf %s "checking for library containing getservbyname... " >&6; } +if test ${ac_cv_search_getservbyname+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37422,46 +38604,48 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char getservbyname (); int -main () +main (void) { return getservbyname (); ; return 0; } _ACEOF -for ac_lib in '' socket network net; do +for ac_lib in '' socket network net +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_getservbyname=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_getservbyname+:} false; then : + if test ${ac_cv_search_getservbyname+y} +then : break fi done -if ${ac_cv_search_getservbyname+:} false; then : +if test ${ac_cv_search_getservbyname+y} +then : -else +else $as_nop ac_cv_search_getservbyname=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5 -$as_echo "$ac_cv_search_getservbyname" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5 +printf "%s\n" "$ac_cv_search_getservbyname" >&6; } ac_res=$ac_cv_search_getservbyname -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" if test "$ac_cv_search_getservbyname" != "none required"; then SERVENT_LIB="$ac_cv_search_getservbyname" @@ -37470,21 +38654,22 @@ fi LIBS="$gl_saved_libs" if test -z "$SERVENT_LIB"; then - for ac_func in getservbyname + + for ac_func in getservbyname do : ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname" -if test "x$ac_cv_func_getservbyname" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_GETSERVBYNAME 1 -_ACEOF +if test "x$ac_cv_func_getservbyname" = xyes +then : + printf "%s\n" "#define HAVE_GETSERVBYNAME 1" >>confdefs.h -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5 -$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; } -if ${gl_cv_w32_getservbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5 +printf %s "checking for getservbyname in winsock2.h and -lws2_32... " >&6; } +if test ${gl_cv_w32_getservbyname+y} +then : + printf %s "(cached) " >&6 +else $as_nop gl_cv_w32_getservbyname=no gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" @@ -37497,30 +38682,31 @@ else #include int -main () +main (void) { getservbyname(NULL,NULL); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_cv_w32_getservbyname=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5 -$as_echo "$gl_cv_w32_getservbyname" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5 +printf "%s\n" "$gl_cv_w32_getservbyname" >&6; } if test "$gl_cv_w32_getservbyname" = "yes"; then SERVENT_LIB="-lws2_32" fi fi -done +done fi @@ -37529,12 +38715,14 @@ done if test $ac_cv_func_setenv = no; then HAVE_SETENV=0 else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setenv validates arguments" >&5 -$as_echo_n "checking whether setenv validates arguments... " >&6; } -if ${gl_cv_func_setenv_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether setenv validates arguments" >&5 +printf %s "checking whether setenv validates arguments... " >&6; } +if test ${gl_cv_func_setenv_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : case "$host_os" in # Guess yes on glibc systems. *-gnu*) gl_cv_func_setenv_works="guessing yes" ;; @@ -37542,7 +38730,7 @@ else *) gl_cv_func_setenv_works="guessing no" ;; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37551,7 +38739,7 @@ else #include int -main () +main (void) { int result = 0; @@ -37573,9 +38761,10 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_setenv_works=yes -else +else $as_nop gl_cv_func_setenv_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -37583,8 +38772,8 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_setenv_works" >&5 -$as_echo "$gl_cv_func_setenv_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_setenv_works" >&5 +printf "%s\n" "$gl_cv_func_setenv_works" >&6; } case "$gl_cv_func_setenv_works" in *yes) ;; *) @@ -37616,28 +38805,24 @@ $as_echo "$gl_cv_func_setenv_works" >&6; } -$as_echo "#define GNULIB_TEST_SETENV 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_SETENV 1" >>confdefs.h - for ac_header in stdint.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" -if test "x$ac_cv_header_stdint_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STDINT_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" +if test "x$ac_cv_header_stdint_h" = xyes +then : + printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h fi -done - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 -$as_echo_n "checking for SIZE_MAX... " >&6; } -if ${gl_cv_size_max+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 +printf %s "checking for SIZE_MAX... " >&6; } +if test ${gl_cv_size_max+y} +then : + printf %s "(cached) " >&6 +else $as_nop gl_cv_size_max= cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -37653,22 +38838,25 @@ Found it _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "Found it" >/dev/null 2>&1; then : + $EGREP "Found it" >/dev/null 2>&1 +then : gl_cv_size_max=yes fi -rm -f conftest* +rm -rf conftest* if test -z "$gl_cv_size_max"; then if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include -#include "; then : +#include " +then : -else +else $as_nop size_t_bits_minus_1= fi - if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include "; then : + if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include " +then : -else +else $as_nop fits_in_uint= fi @@ -37681,17 +38869,18 @@ fi extern unsigned long foo; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : fits_in_uint=0 fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $fits_in_uint = 1; then gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" @@ -37704,13 +38893,11 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5 -$as_echo "$gl_cv_size_max" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5 +printf "%s\n" "$gl_cv_size_max" >&6; } if test "$gl_cv_size_max" != yes; then -cat >>confdefs.h <<_ACEOF -#define SIZE_MAX $gl_cv_size_max -_ACEOF +printf "%s\n" "#define SIZE_MAX $gl_cv_size_max" >>confdefs.h fi @@ -37718,30 +38905,28 @@ _ACEOF gl_cv_func_snprintf_usable=no - for ac_func in snprintf -do : ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" -if test "x$ac_cv_func_snprintf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SNPRINTF 1 -_ACEOF +if test "x$ac_cv_func_snprintf" = xyes +then : + printf "%s\n" "#define HAVE_SNPRINTF 1" >>confdefs.h fi -done if test $ac_cv_func_snprintf = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 -$as_echo_n "checking whether snprintf respects a size of 1... " >&6; } -if ${gl_cv_func_snprintf_size1+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 +printf %s "checking whether snprintf respects a size of 1... " >&6; } +if test ${gl_cv_func_snprintf_size1+y} +then : + printf %s "(cached) " >&6 +else $as_nop - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : gl_cv_func_snprintf_size1="guessing yes" -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37767,9 +38952,10 @@ int main() return buf[1] != 'E'; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_snprintf_size1=yes -else +else $as_nop gl_cv_func_snprintf_size1=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -37778,8 +38964,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5 -$as_echo "$gl_cv_func_snprintf_size1" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5 +printf "%s\n" "$gl_cv_func_snprintf_size1" >&6; } case "$gl_cv_func_snprintf_size1" in *yes) @@ -37788,13 +38974,15 @@ $as_echo "$gl_cv_func_snprintf_size1" >&6; } *yes) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5 -$as_echo_n "checking whether printf supports POSIX/XSI format strings with positions... " >&6; } -if ${gl_cv_func_printf_positions+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5 +printf %s "checking whether printf supports POSIX/XSI format strings with positions... " >&6; } +if test ${gl_cv_func_printf_positions+y} +then : + printf %s "(cached) " >&6 +else $as_nop - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : case "$host_os" in netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*) @@ -37804,7 +38992,7 @@ else *) gl_cv_func_printf_positions="guessing yes";; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37820,9 +39008,10 @@ int main () return (strcmp (buf, "55 33") != 0); } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_printf_positions=yes -else +else $as_nop gl_cv_func_printf_positions=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -37831,8 +39020,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_positions" >&5 -$as_echo "$gl_cv_func_printf_positions" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_positions" >&5 +printf "%s\n" "$gl_cv_func_printf_positions" >&6; } case "$gl_cv_func_printf_positions" in *yes) @@ -37885,15 +39074,13 @@ $as_echo "$gl_cv_func_printf_positions" >&6; } -$as_echo "#define GNULIB_TEST_SNPRINTF 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_SNPRINTF 1" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define GNULIB_SNPRINTF 1 -_ACEOF +printf "%s\n" "#define GNULIB_SNPRINTF 1" >>confdefs.h @@ -37908,18 +39095,13 @@ _ACEOF if test $ac_cv_header_sys_socket_h != yes; then - for ac_header in winsock2.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" -if test "x$ac_cv_header_winsock2_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WINSOCK2_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" +if test "x$ac_cv_header_winsock2_h" = xyes +then : + printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h fi -done - fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 @@ -37931,11 +39113,12 @@ done LIBSOCKET= if test $HAVE_WINSOCK2_H = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5 -$as_echo_n "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; } -if ${gl_cv_func_wsastartup+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5 +printf %s "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; } +if test ${gl_cv_func_wsastartup+y} +then : + printf %s "(cached) " >&6 +else $as_nop gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" @@ -37946,7 +39129,7 @@ else # include #endif int -main () +main (void) { WORD wVersionRequested = MAKEWORD(1, 1); @@ -37957,30 +39140,32 @@ main () return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_cv_func_wsastartup=yes -else +else $as_nop gl_cv_func_wsastartup=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5 -$as_echo "$gl_cv_func_wsastartup" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5 +printf "%s\n" "$gl_cv_func_wsastartup" >&6; } if test "$gl_cv_func_wsastartup" = "yes"; then -$as_echo "#define WINDOWS_SOCKETS 1" >>confdefs.h +printf "%s\n" "#define WINDOWS_SOCKETS 1" >>confdefs.h LIBSOCKET='-lws2_32' fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5 -$as_echo_n "checking for library containing setsockopt... " >&6; } -if ${gl_cv_lib_socket+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5 +printf %s "checking for library containing setsockopt... " >&6; } +if test ${gl_cv_lib_socket+y} +then : + printf %s "(cached) " >&6 +else $as_nop gl_cv_lib_socket= cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -37991,16 +39176,17 @@ extern #endif char setsockopt(); int -main () +main (void) { setsockopt(); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : -else +else $as_nop gl_save_LIBS="$LIBS" LIBS="$gl_save_LIBS -lsocket" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -38011,17 +39197,18 @@ extern #endif char setsockopt(); int -main () +main (void) { setsockopt(); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_cv_lib_socket="-lsocket" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test -z "$gl_cv_lib_socket"; then LIBS="$gl_save_LIBS -lnetwork" @@ -38033,17 +39220,18 @@ extern #endif char setsockopt(); int -main () +main (void) { setsockopt(); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_cv_lib_socket="-lnetwork" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test -z "$gl_cv_lib_socket"; then LIBS="$gl_save_LIBS -lnet" @@ -38055,32 +39243,33 @@ extern #endif char setsockopt(); int -main () +main (void) { setsockopt(); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : gl_cv_lib_socket="-lnet" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi fi LIBS="$gl_save_LIBS" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test -z "$gl_cv_lib_socket"; then gl_cv_lib_socket="none needed" fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5 -$as_echo "$gl_cv_lib_socket" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5 +printf "%s\n" "$gl_cv_lib_socket" >&6; } if test "$gl_cv_lib_socket" != "none needed"; then LIBSOCKET="$gl_cv_lib_socket" fi @@ -38106,14 +39295,16 @@ $as_echo "$gl_cv_lib_socket" >&6; } #endif " -if test "x$ac_cv_type_socklen_t" = xyes; then : +if test "x$ac_cv_type_socklen_t" = xyes +then : -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5 -$as_echo_n "checking for socklen_t equivalent... " >&6; } - if ${gl_cv_socklen_t_equiv+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5 +printf %s "checking for socklen_t equivalent... " >&6; } + if test ${gl_cv_socklen_t_equiv+y} +then : + printf %s "(cached) " >&6 +else $as_nop # Systems have either "struct sockaddr *" or # "void *" as the second argument to getpeername gl_cv_socklen_t_equiv= @@ -38126,7 +39317,7 @@ else int getpeername (int, $arg2 *, $t *); int -main () +main (void) { $t len; getpeername (0, 0, &len); @@ -38134,10 +39325,11 @@ $t len; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_socklen_t_equiv="$t" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext test "$gl_cv_socklen_t_equiv" != "" && break done test "$gl_cv_socklen_t_equiv" != "" && break @@ -38148,26 +39340,25 @@ fi if test "$gl_cv_socklen_t_equiv" = ""; then as_fn_error $? "Cannot find a type to use in place of socklen_t" "$LINENO" 5 fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socklen_t_equiv" >&5 -$as_echo "$gl_cv_socklen_t_equiv" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socklen_t_equiv" >&5 +printf "%s\n" "$gl_cv_socklen_t_equiv" >&6; } -cat >>confdefs.h <<_ACEOF -#define socklen_t $gl_cv_socklen_t_equiv -_ACEOF +printf "%s\n" "#define socklen_t $gl_cv_socklen_t_equiv" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 -$as_echo_n "checking for ssize_t... " >&6; } -if ${gt_cv_ssize_t+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 +printf %s "checking for ssize_t... " >&6; } +if test ${gt_cv_ssize_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { int x = sizeof (ssize_t *) + sizeof (ssize_t); return !x; @@ -38175,27 +39366,29 @@ int x = sizeof (ssize_t *) + sizeof (ssize_t); return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gt_cv_ssize_t=yes -else +else $as_nop gt_cv_ssize_t=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 -$as_echo "$gt_cv_ssize_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 +printf "%s\n" "$gt_cv_ssize_t" >&6; } if test $gt_cv_ssize_t = no; then -$as_echo "#define ssize_t int" >>confdefs.h +printf "%s\n" "#define ssize_t int" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working stdalign.h" >&5 -$as_echo_n "checking for working stdalign.h... " >&6; } -if ${gl_cv_header_working_stdalign_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working stdalign.h" >&5 +printf %s "checking for working stdalign.h... " >&6; } +if test ${gl_cv_header_working_stdalign_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -38225,22 +39418,23 @@ else #endif int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_working_stdalign_h=yes -else +else $as_nop gl_cv_header_working_stdalign_h=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdalign_h" >&5 -$as_echo "$gl_cv_header_working_stdalign_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdalign_h" >&5 +printf "%s\n" "$gl_cv_header_working_stdalign_h" >&6; } if test $gl_cv_header_working_stdalign_h = yes; then STDALIGN_H='' @@ -38293,33 +39487,35 @@ fi HAVE_WCHAR_T=0 STDDEF_H=stddef.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 -$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; } -if ${gl_cv_decl_null_works+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 +printf %s "checking whether NULL can be used in arbitrary expressions... " >&6; } +if test ${gl_cv_decl_null_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int test[2 * (sizeof NULL == sizeof (void *)) -1]; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_decl_null_works=yes -else +else $as_nop gl_cv_decl_null_works=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 -$as_echo "$gl_cv_decl_null_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 +printf "%s\n" "$gl_cv_decl_null_works" >&6; } if test $gl_cv_decl_null_works = no; then REPLACE_NULL=1 STDDEF_H=stddef.h @@ -38345,11 +39541,12 @@ fi if test $gl_cv_have_include_next = yes; then gl_cv_next_stddef_h='<'stddef.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_stddef_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_stddef_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38384,8 +39581,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 -$as_echo "$gl_cv_next_stddef_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 +printf "%s\n" "$gl_cv_next_stddef_h" >&6; } fi NEXT_STDDEF_H=$gl_cv_next_stddef_h @@ -38417,11 +39614,12 @@ $as_echo "$gl_cv_next_stddef_h" >&6; } if test $gl_cv_have_include_next = yes; then gl_cv_next_stdio_h='<'stdio.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_stdio_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_stdio_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38456,8 +39654,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5 -$as_echo "$gl_cv_next_stdio_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5 +printf "%s\n" "$gl_cv_next_stdio_h" >&6; } fi NEXT_STDIO_H=$gl_cv_next_stdio_h @@ -38477,17 +39675,13 @@ $as_echo "$gl_cv_next_stdio_h" >&6; } GNULIB_FSCANF=1 -cat >>confdefs.h <<_ACEOF -#define GNULIB_FSCANF 1 -_ACEOF +printf "%s\n" "#define GNULIB_FSCANF 1" >>confdefs.h GNULIB_SCANF=1 -cat >>confdefs.h <<_ACEOF -#define GNULIB_SCANF 1 -_ACEOF +printf "%s\n" "#define GNULIB_SCANF 1" >>confdefs.h GNULIB_FGETC=1 @@ -38512,18 +39706,19 @@ _ACEOF for gl_func in dprintf fpurge fseeko ftello getdelim getline gets pclose popen renameat snprintf tmpfile vdprintf vsnprintf; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -38531,19 +39726,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -38564,11 +39761,12 @@ fi if test $gl_cv_have_include_next = yes; then gl_cv_next_stdlib_h='<'stdlib.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_stdlib_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_stdlib_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38603,8 +39801,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 -$as_echo "$gl_cv_next_stdlib_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 +printf "%s\n" "$gl_cv_next_stdlib_h" >&6; } fi NEXT_STDLIB_H=$gl_cv_next_stdlib_h @@ -38623,12 +39821,13 @@ $as_echo "$gl_cv_next_stdlib_h" >&6; } for gl_func in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt initstate initstate_r mkdtemp mkostemp mkostemps mkstemp mkstemps posix_openpt ptsname ptsname_r random random_r realpath rpmatch secure_getenv setenv setstate setstate_r srandom srandom_r strtod strtoll strtoull unlockpt unsetenv; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -38640,7 +39839,7 @@ else #endif int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -38648,19 +39847,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -38671,16 +39872,12 @@ fi - for ac_func in strcasecmp -do : ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" -if test "x$ac_cv_func_strcasecmp" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRCASECMP 1 -_ACEOF +if test "x$ac_cv_func_strcasecmp" = xyes +then : + printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h fi -done if test $ac_cv_func_strcasecmp = no; then HAVE_STRCASECMP=0 @@ -38688,32 +39885,26 @@ done - for ac_func in strncasecmp -do : ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp" -if test "x$ac_cv_func_strncasecmp" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRNCASECMP 1 -_ACEOF +if test "x$ac_cv_func_strncasecmp" = xyes +then : + printf "%s\n" "#define HAVE_STRNCASECMP 1" >>confdefs.h fi -done if test $ac_cv_func_strncasecmp = yes; then HAVE_STRNCASECMP=1 else HAVE_STRNCASECMP=0 fi - ac_fn_c_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "$ac_includes_default" -if test "x$ac_cv_have_decl_strncasecmp" = xyes; then : + ac_fn_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_strncasecmp" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_STRNCASECMP $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_STRNCASECMP $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_strncasecmp = no; then HAVE_DECL_STRNCASECMP=0 @@ -38753,12 +39944,14 @@ _ACEOF if test $HAVE_STRCASESTR = 1 && test $REPLACE_STRCASESTR = 0; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strcasestr works in linear time" >&5 -$as_echo_n "checking whether strcasestr works in linear time... " >&6; } -if ${gl_cv_func_strcasestr_linear+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strcasestr works in linear time" >&5 +printf %s "checking whether strcasestr works in linear time... " >&6; } +if test ${gl_cv_func_strcasestr_linear+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38778,15 +39971,16 @@ else _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "Lucky user" >/dev/null 2>&1; then : + $EGREP "Lucky user" >/dev/null 2>&1 +then : gl_cv_func_strcasestr_linear="guessing yes" -else +else $as_nop gl_cv_func_strcasestr_linear="guessing no" fi -rm -f conftest* +rm -rf conftest* -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38797,7 +39991,7 @@ else static void quit (int sig) { exit (sig + 128); } int -main () +main (void) { int result = 0; @@ -38826,9 +40020,10 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_strcasestr_linear=yes -else +else $as_nop gl_cv_func_strcasestr_linear=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -38837,8 +40032,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strcasestr_linear" >&5 -$as_echo "$gl_cv_func_strcasestr_linear" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strcasestr_linear" >&5 +printf "%s\n" "$gl_cv_func_strcasestr_linear" >&6; } case "$gl_cv_func_strcasestr_linear" in *yes) ;; *) @@ -38868,16 +40063,12 @@ $as_echo "$gl_cv_func_strcasestr_linear" >&6; } - for ac_func in strcasestr -do : ac_fn_c_check_func "$LINENO" "strcasestr" "ac_cv_func_strcasestr" -if test "x$ac_cv_func_strcasestr" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRCASESTR 1 -_ACEOF +if test "x$ac_cv_func_strcasestr" = xyes +then : + printf "%s\n" "#define HAVE_STRCASESTR 1" >>confdefs.h fi -done if test $ac_cv_func_strcasestr = no; then HAVE_STRCASESTR=0 @@ -38885,12 +40076,14 @@ done if test "$gl_cv_func_memchr_works" != yes; then REPLACE_STRCASESTR=1 else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strcasestr works" >&5 -$as_echo_n "checking whether strcasestr works... " >&6; } -if ${gl_cv_func_strcasestr_works_always+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strcasestr works" >&5 +printf %s "checking whether strcasestr works... " >&6; } +if test ${gl_cv_func_strcasestr_works_always+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38911,15 +40104,16 @@ else _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "Lucky user" >/dev/null 2>&1; then : + $EGREP "Lucky user" >/dev/null 2>&1 +then : gl_cv_func_strcasestr_works_always="guessing yes" -else +else $as_nop gl_cv_func_strcasestr_works_always="guessing no" fi -rm -f conftest* +rm -rf conftest* -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38929,7 +40123,7 @@ else #define NEEDLE P P P P P int -main () +main (void) { return !!strcasestr (HAYSTACK, NEEDLE); @@ -38937,9 +40131,10 @@ return !!strcasestr (HAYSTACK, NEEDLE); return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_strcasestr_works_always=yes -else +else $as_nop gl_cv_func_strcasestr_works_always=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -38948,8 +40143,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strcasestr_works_always" >&5 -$as_echo "$gl_cv_func_strcasestr_works_always" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strcasestr_works_always" >&5 +printf "%s\n" "$gl_cv_func_strcasestr_works_always" >&6; } case "$gl_cv_func_strcasestr_works_always" in *yes) ;; *) @@ -38985,7 +40180,7 @@ $as_echo "$gl_cv_func_strcasestr_works_always" >&6; } -$as_echo "#define GNULIB_TEST_STRCASESTR 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_STRCASESTR 1" >>confdefs.h @@ -38995,12 +40190,14 @@ $as_echo "#define GNULIB_TEST_STRCASESTR 1" >>confdefs.h if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 -$as_echo_n "checking for working strerror function... " >&6; } -if ${gl_cv_func_working_strerror+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 +printf %s "checking for working strerror function... " >&6; } +if test ${gl_cv_func_working_strerror+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : case "$host_os" in # Guess yes on glibc systems. *-gnu*) gl_cv_func_working_strerror="guessing yes" ;; @@ -39008,22 +40205,23 @@ else *) gl_cv_func_working_strerror="guessing no" ;; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { if (!*strerror (-2)) return 1; ; return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_working_strerror=yes -else +else $as_nop gl_cv_func_working_strerror=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -39032,8 +40230,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 -$as_echo "$gl_cv_func_working_strerror" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 +printf "%s\n" "$gl_cv_func_working_strerror" >&6; } case "$gl_cv_func_working_strerror" in *yes) ;; *) @@ -39059,9 +40257,7 @@ $as_echo "$gl_cv_func_working_strerror" >&6; } fi -cat >>confdefs.h <<_ACEOF -#define GNULIB_STRERROR 1 -_ACEOF +printf "%s\n" "#define GNULIB_STRERROR 1" >>confdefs.h @@ -39075,7 +40271,7 @@ _ACEOF -$as_echo "#define GNULIB_TEST_STRERROR 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_STRERROR 1" >>confdefs.h @@ -39103,18 +40299,13 @@ $as_echo "#define GNULIB_TEST_STRERROR 1" >>confdefs.h if test $ac_cv_header_sys_socket_h != yes; then - for ac_header in winsock2.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" -if test "x$ac_cv_header_winsock2_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WINSOCK2_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" +if test "x$ac_cv_header_winsock2_h" = xyes +then : + printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h fi -done - fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 @@ -39157,26 +40348,28 @@ done if test $ac_cv_func_strndup = yes; then HAVE_STRNDUP=1 # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5 -$as_echo_n "checking for working strndup... " >&6; } -if ${gl_cv_func_strndup_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5 +printf %s "checking for working strndup... " >&6; } +if test ${gl_cv_func_strndup_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : case $host_os in aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";; *) gl_cv_func_strndup_works="guessing yes";; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int -main () +main (void) { #if !HAVE_DECL_STRNDUP @@ -39195,9 +40388,10 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_strndup_works=yes -else +else $as_nop gl_cv_func_strndup_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -39205,8 +40399,8 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strndup_works" >&5 -$as_echo "$gl_cv_func_strndup_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strndup_works" >&5 +printf "%s\n" "$gl_cv_func_strndup_works" >&6; } case $gl_cv_func_strndup_works in *no) REPLACE_STRNDUP=1 ;; esac @@ -39237,7 +40431,7 @@ $as_echo "$gl_cv_func_strndup_works" >&6; } -$as_echo "#define GNULIB_TEST_STRNDUP 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_STRNDUP 1" >>confdefs.h @@ -39257,23 +40451,25 @@ $as_echo "#define GNULIB_TEST_STRNDUP 1" >>confdefs.h HAVE_DECL_STRNLEN=0 else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 -$as_echo_n "checking for working strnlen... " >&6; } -if ${ac_cv_func_strnlen_working+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 +printf %s "checking for working strnlen... " >&6; } +if test ${ac_cv_func_strnlen_working+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : # Guess no on AIX systems, yes otherwise. case "$host_os" in aix*) ac_cv_func_strnlen_working=no;; *) ac_cv_func_strnlen_working=yes;; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int -main () +main (void) { #define S "foobar" @@ -39295,9 +40491,10 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : ac_cv_func_strnlen_working=yes -else +else $as_nop ac_cv_func_strnlen_working=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -39305,8 +40502,8 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5 -$as_echo "$ac_cv_func_strnlen_working" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5 +printf "%s\n" "$ac_cv_func_strnlen_working" >&6; } test $ac_cv_func_strnlen_working = no && : @@ -39339,7 +40536,7 @@ test $ac_cv_func_strnlen_working = no && : -$as_echo "#define GNULIB_TEST_STRNLEN 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_STRNLEN 1" >>confdefs.h @@ -39349,16 +40546,12 @@ $as_echo "#define GNULIB_TEST_STRNLEN 1" >>confdefs.h - for ac_func in strsep -do : ac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep" -if test "x$ac_cv_func_strsep" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRSEP 1 -_ACEOF +if test "x$ac_cv_func_strsep" = xyes +then : + printf "%s\n" "#define HAVE_STRSEP 1" >>confdefs.h fi -done if test $ac_cv_func_strsep = no; then HAVE_STRSEP=0 @@ -39388,7 +40581,7 @@ done -$as_echo "#define GNULIB_TEST_STRSEP 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_STRSEP 1" >>confdefs.h @@ -39398,12 +40591,14 @@ $as_echo "#define GNULIB_TEST_STRSEP 1" >>confdefs.h if test "$gl_cv_func_memchr_works" != yes; then REPLACE_STRSTR=1 else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5 -$as_echo_n "checking whether strstr works... " >&6; } -if ${gl_cv_func_strstr_works_always+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5 +printf %s "checking whether strstr works... " >&6; } +if test ${gl_cv_func_strstr_works_always+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -39424,15 +40619,16 @@ else _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "Lucky user" >/dev/null 2>&1; then : + $EGREP "Lucky user" >/dev/null 2>&1 +then : gl_cv_func_strstr_works_always="guessing yes" -else +else $as_nop gl_cv_func_strstr_works_always="guessing no" fi -rm -f conftest* +rm -rf conftest* -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -39442,7 +40638,7 @@ else #define NEEDLE P P P P P int -main () +main (void) { return !!strstr (HAYSTACK, NEEDLE); @@ -39450,9 +40646,10 @@ return !!strstr (HAYSTACK, NEEDLE); return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_strstr_works_always=yes -else +else $as_nop gl_cv_func_strstr_works_always=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -39461,8 +40658,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strstr_works_always" >&5 -$as_echo "$gl_cv_func_strstr_works_always" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strstr_works_always" >&5 +printf "%s\n" "$gl_cv_func_strstr_works_always" >&6; } case "$gl_cv_func_strstr_works_always" in *yes) ;; *) @@ -39494,7 +40691,7 @@ $as_echo "$gl_cv_func_strstr_works_always" >&6; } -$as_echo "#define GNULIB_TEST_STRSTR 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_STRSTR 1" >>confdefs.h @@ -39505,78 +40702,78 @@ $as_echo "#define GNULIB_TEST_STRSTR 1" >>confdefs.h case "$host_os" in osf*) -$as_echo "#define _POSIX_PII_SOCKET 1" >>confdefs.h +printf "%s\n" "#define _POSIX_PII_SOCKET 1" >>confdefs.h ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 -$as_echo_n "checking whether is self-contained... " >&6; } -if ${gl_cv_header_sys_socket_h_selfcontained+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 +printf %s "checking whether is self-contained... " >&6; } +if test ${gl_cv_header_sys_socket_h_selfcontained+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_sys_socket_h_selfcontained=yes -else +else $as_nop gl_cv_header_sys_socket_h_selfcontained=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 -$as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 +printf "%s\n" "$gl_cv_header_sys_socket_h_selfcontained" >&6; } if test $gl_cv_header_sys_socket_h_selfcontained = yes; then - for ac_func in shutdown -do : - ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" -if test "x$ac_cv_func_shutdown" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SHUTDOWN 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" +if test "x$ac_cv_func_shutdown" = xyes +then : + printf "%s\n" "#define HAVE_SHUTDOWN 1" >>confdefs.h fi -done if test $ac_cv_func_shutdown = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines the SHUT_* macros" >&5 -$as_echo_n "checking whether defines the SHUT_* macros... " >&6; } -if ${gl_cv_header_sys_socket_h_shut+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether defines the SHUT_* macros" >&5 +printf %s "checking whether defines the SHUT_* macros... " >&6; } +if test ${gl_cv_header_sys_socket_h_shut+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR }; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_header_sys_socket_h_shut=yes -else +else $as_nop gl_cv_header_sys_socket_h_shut=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5 -$as_echo "$gl_cv_header_sys_socket_h_shut" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5 +printf "%s\n" "$gl_cv_header_sys_socket_h_shut" >&6; } if test $gl_cv_header_sys_socket_h_shut = no; then SYS_SOCKET_H='sys/socket.h' fi @@ -39603,11 +40800,12 @@ $as_echo "$gl_cv_header_sys_socket_h_shut" >&6; } if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_socket_h='<'sys/socket.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_sys_socket_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_sys_socket_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_sys_socket_h = yes; then @@ -39648,8 +40846,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5 -$as_echo "$gl_cv_next_sys_socket_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5 +printf "%s\n" "$gl_cv_next_sys_socket_h" >&6; } fi NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h @@ -39692,11 +40890,10 @@ $as_echo "$gl_cv_next_sys_socket_h" >&6; } #endif " -if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : +if test "x$ac_cv_type_struct_sockaddr_storage" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_SOCKADDR_STORAGE 1 -_ACEOF +printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h fi @@ -39713,11 +40910,10 @@ ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" " #endif " -if test "x$ac_cv_type_sa_family_t" = xyes; then : +if test "x$ac_cv_type_sa_family_t" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_SA_FAMILY_T 1 -_ACEOF +printf "%s\n" "#define HAVE_SA_FAMILY_T 1" >>confdefs.h fi @@ -39738,14 +40934,13 @@ fi #endif " -if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then : +if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 -_ACEOF +printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1" >>confdefs.h -else +else $as_nop HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0 fi @@ -39765,18 +40960,13 @@ fi if test $ac_cv_header_sys_socket_h != yes; then - for ac_header in winsock2.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" -if test "x$ac_cv_header_winsock2_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WINSOCK2_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" +if test "x$ac_cv_header_winsock2_h" = xyes +then : + printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h fi -done - fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 @@ -39790,12 +40980,13 @@ done for gl_func in socket connect accept bind getpeername getsockname getsockopt listen recv send recvfrom sendto setsockopt shutdown accept4; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -39804,7 +40995,7 @@ else #include int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -39812,19 +41003,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -39855,11 +41048,12 @@ fi if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_uio_h='<'sys/uio.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_sys_uio_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_sys_uio_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_sys_uio_h = yes; then @@ -39900,8 +41094,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_uio_h" >&5 -$as_echo "$gl_cv_next_sys_uio_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_uio_h" >&5 +printf "%s\n" "$gl_cv_next_sys_uio_h" >&6; } fi NEXT_SYS_UIO_H=$gl_cv_next_sys_uio_h @@ -39938,17 +41132,15 @@ $as_echo "$gl_cv_next_sys_uio_h" >&6; } - ac_fn_c_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "#include -" -if test "x$ac_cv_have_decl_localtime_r" = xyes; then : + ac_fn_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_localtime_r" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_LOCALTIME_R $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_LOCALTIME_R $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_localtime_r = no; then HAVE_DECL_LOCALTIME_R=0 @@ -39963,16 +41155,17 @@ _ACEOF if test $ac_cv_func_localtime_r = yes; then HAVE_LOCALTIME_R=1 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5 -$as_echo_n "checking whether localtime_r is compatible with its POSIX signature... " >&6; } -if ${gl_cv_time_r_posix+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5 +printf %s "checking whether localtime_r is compatible with its POSIX signature... " >&6; } +if test ${gl_cv_time_r_posix+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { /* We don't need to append 'restrict's to the argument types, even though the POSIX signature has the 'restrict's, @@ -39987,16 +41180,17 @@ main () } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_time_r_posix=yes -else +else $as_nop gl_cv_time_r_posix=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_time_r_posix" >&5 -$as_echo "$gl_cv_time_r_posix" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_time_r_posix" >&5 +printf "%s\n" "$gl_cv_time_r_posix" >&6; } if test $gl_cv_time_r_posix = yes; then REPLACE_LOCALTIME_R=0 else @@ -40032,7 +41226,7 @@ $as_echo "$gl_cv_time_r_posix" >&6; } -$as_echo "#define GNULIB_TEST_TIME_R 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_TIME_R 1" >>confdefs.h @@ -40082,7 +41276,7 @@ $as_echo "#define GNULIB_TEST_TIME_R 1" >>confdefs.h -$as_echo "#define GNULIB_TEST_TIMEGM 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_TIMEGM 1" >>confdefs.h @@ -40107,11 +41301,12 @@ $as_echo "#define GNULIB_TEST_TIMEGM 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_unistd_h='<'unistd.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_unistd_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_unistd_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_unistd_h = yes; then @@ -40152,8 +41347,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 -$as_echo "$gl_cv_next_unistd_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 +printf "%s\n" "$gl_cv_next_unistd_h" >&6; } fi NEXT_UNISTD_H=$gl_cv_next_unistd_h @@ -40182,12 +41377,13 @@ $as_echo "$gl_cv_next_unistd_h" >&6; } for gl_func in chdir chown dup dup2 dup3 environ euidaccess faccessat fchdir fchownat fdatasync fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getusershell setusershell endusershell group_member isatty lchown link linkat lseek pipe pipe2 pread pwrite readlink readlinkat rmdir sethostname sleep symlink symlinkat ttyname_r unlink unlinkat usleep; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -40205,7 +41401,7 @@ else #endif int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -40213,19 +41409,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -40245,26 +41443,23 @@ fi if test $ac_cv_have_decl_unsetenv = no; then HAVE_DECL_UNSETENV=0 fi - for ac_func in unsetenv -do : ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" -if test "x$ac_cv_func_unsetenv" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_UNSETENV 1 -_ACEOF +if test "x$ac_cv_func_unsetenv" = xyes +then : + printf "%s\n" "#define HAVE_UNSETENV 1" >>confdefs.h fi -done if test $ac_cv_func_unsetenv = no; then HAVE_UNSETENV=0 else HAVE_UNSETENV=1 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5 -$as_echo_n "checking for unsetenv() return type... " >&6; } -if ${gt_cv_func_unsetenv_ret+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5 +printf %s "checking for unsetenv() return type... " >&6; } +if test ${gt_cv_func_unsetenv_ret+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -40278,35 +41473,38 @@ extern int unsetenv (const char *name); int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gt_cv_func_unsetenv_ret='int' -else +else $as_nop gt_cv_func_unsetenv_ret='void' fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_unsetenv_ret" >&5 -$as_echo "$gt_cv_func_unsetenv_ret" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_unsetenv_ret" >&5 +printf "%s\n" "$gt_cv_func_unsetenv_ret" >&6; } if test $gt_cv_func_unsetenv_ret = 'void'; then -$as_echo "#define VOID_UNSETENV 1" >>confdefs.h +printf "%s\n" "#define VOID_UNSETENV 1" >>confdefs.h REPLACE_UNSETENV=1 fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5 -$as_echo_n "checking whether unsetenv obeys POSIX... " >&6; } -if ${gl_cv_func_unsetenv_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5 +printf %s "checking whether unsetenv obeys POSIX... " >&6; } +if test ${gl_cv_func_unsetenv_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : case "$host_os" in # Guess yes on glibc systems. *-gnu*) gl_cv_func_unsetenv_works="guessing yes" ;; @@ -40314,7 +41512,7 @@ else *) gl_cv_func_unsetenv_works="guessing no" ;; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -40323,7 +41521,7 @@ else extern char **environ; int -main () +main (void) { char entry1[] = "a=1"; @@ -40346,9 +41544,10 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_unsetenv_works=yes -else +else $as_nop gl_cv_func_unsetenv_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -40356,8 +41555,8 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unsetenv_works" >&5 -$as_echo "$gl_cv_func_unsetenv_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unsetenv_works" >&5 +printf "%s\n" "$gl_cv_func_unsetenv_works" >&6; } case "$gl_cv_func_unsetenv_works" in *yes) ;; *) @@ -40399,7 +41598,7 @@ $as_echo "$gl_cv_func_unsetenv_works" >&6; } -$as_echo "#define GNULIB_TEST_UNSETENV 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_UNSETENV 1" >>confdefs.h @@ -40462,7 +41661,7 @@ $as_echo "#define GNULIB_TEST_UNSETENV 1" >>confdefs.h if test $ac_cv_func_vasnprintf = yes; then -$as_echo "#define REPLACE_VASNPRINTF 1" >>confdefs.h +printf "%s\n" "#define REPLACE_VASNPRINTF 1" >>confdefs.h fi @@ -40477,11 +41676,12 @@ $as_echo "#define REPLACE_VASNPRINTF 1" >>confdefs.h ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" -if test "x$ac_cv_type_ptrdiff_t" = xyes; then : +if test "x$ac_cv_type_ptrdiff_t" = xyes +then : -else +else $as_nop -$as_echo "#define ptrdiff_t long" >>confdefs.h +printf "%s\n" "#define ptrdiff_t long" >>confdefs.h fi @@ -40495,16 +41695,12 @@ fi fi - for ac_func in vasprintf -do : ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" -if test "x$ac_cv_func_vasprintf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_VASPRINTF 1 -_ACEOF +if test "x$ac_cv_func_vasprintf" = xyes +then : + printf "%s\n" "#define HAVE_VASPRINTF 1" >>confdefs.h fi -done if test $ac_cv_func_vasprintf = no; then @@ -40555,7 +41751,7 @@ done -$as_echo "#define GNULIB_TEST_VASPRINTF 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_VASPRINTF 1" >>confdefs.h @@ -40570,30 +41766,28 @@ $as_echo "#define GNULIB_TEST_VASPRINTF 1" >>confdefs.h gl_cv_func_vsnprintf_usable=no - for ac_func in vsnprintf -do : ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" -if test "x$ac_cv_func_vsnprintf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_VSNPRINTF 1 -_ACEOF +if test "x$ac_cv_func_vsnprintf" = xyes +then : + printf "%s\n" "#define HAVE_VSNPRINTF 1" >>confdefs.h fi -done if test $ac_cv_func_vsnprintf = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 -$as_echo_n "checking whether snprintf respects a size of 1... " >&6; } -if ${gl_cv_func_snprintf_size1+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 +printf %s "checking whether snprintf respects a size of 1... " >&6; } +if test ${gl_cv_func_snprintf_size1+y} +then : + printf %s "(cached) " >&6 +else $as_nop - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : gl_cv_func_snprintf_size1="guessing yes" -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -40619,9 +41813,10 @@ int main() return buf[1] != 'E'; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_snprintf_size1=yes -else +else $as_nop gl_cv_func_snprintf_size1=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -40630,8 +41825,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5 -$as_echo "$gl_cv_func_snprintf_size1" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5 +printf "%s\n" "$gl_cv_func_snprintf_size1" >&6; } case "$gl_cv_func_snprintf_size1" in *yes) @@ -40640,13 +41835,15 @@ $as_echo "$gl_cv_func_snprintf_size1" >&6; } *yes) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5 -$as_echo_n "checking whether printf supports POSIX/XSI format strings with positions... " >&6; } -if ${gl_cv_func_printf_positions+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5 +printf %s "checking whether printf supports POSIX/XSI format strings with positions... " >&6; } +if test ${gl_cv_func_printf_positions+y} +then : + printf %s "(cached) " >&6 +else $as_nop - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : case "$host_os" in netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*) @@ -40656,7 +41853,7 @@ else *) gl_cv_func_printf_positions="guessing yes";; esac -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -40672,9 +41869,10 @@ int main () return (strcmp (buf, "55 33") != 0); } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_printf_positions=yes -else +else $as_nop gl_cv_func_printf_positions=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -40683,8 +41881,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_positions" >&5 -$as_echo "$gl_cv_func_printf_positions" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_positions" >&5 +printf "%s\n" "$gl_cv_func_printf_positions" >&6; } case "$gl_cv_func_printf_positions" in *yes) @@ -40737,7 +41935,7 @@ $as_echo "$gl_cv_func_printf_positions" >&6; } -$as_echo "#define GNULIB_TEST_VSNPRINTF 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_VSNPRINTF 1" >>confdefs.h @@ -40762,11 +41960,12 @@ $as_echo "#define GNULIB_TEST_VSNPRINTF 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_wchar_h='<'wchar.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_wchar_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_wchar_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_wchar_h = yes; then @@ -40807,8 +42006,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 -$as_echo "$gl_cv_next_wchar_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 +printf "%s\n" "$gl_cv_next_wchar_h" >&6; } fi NEXT_WCHAR_H=$gl_cv_next_wchar_h @@ -40843,12 +42042,13 @@ $as_echo "$gl_cv_next_wchar_h" >&6; } for gl_func in btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb wcsrtombs wcsnrtombs wcwidth wmemchr wmemcmp wmemcpy wmemmove wmemset wcslen wcsnlen wcscpy wcpcpy wcsncpy wcpncpy wcscat wcsncat wcscmp wcsncmp wcscasecmp wcsncasecmp wcscoll wcsxfrm wcsdup wcschr wcsrchr wcscspn wcsspn wcspbrk wcsstr wcstok wcswidth ; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -40864,7 +42064,7 @@ else #include int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -40872,19 +42072,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -40918,11 +42120,12 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 -$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } -if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +printf %s "checking whether mbrtowc handles incomplete characters... " >&6; } +if test ${gl_cv_func_mbrtowc_incomplete_state+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$host_os" in # Guess no on AIX and OSF/1. @@ -40931,9 +42134,10 @@ else *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; esac if test $LOCALE_JA != none; then - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -40963,9 +42167,10 @@ int main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_mbrtowc_incomplete_state=yes -else +else $as_nop gl_cv_func_mbrtowc_incomplete_state=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -40975,17 +42180,18 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 -$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +printf "%s\n" "$gl_cv_func_mbrtowc_incomplete_state" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 -$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } -if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +printf %s "checking whether mbrtowc works as well as mbtowc... " >&6; } +if test ${gl_cv_func_mbrtowc_sanitycheck+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$host_os" in # Guess no on Solaris 8. @@ -40994,9 +42200,10 @@ else *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; esac if test $LOCALE_ZH_CN != none; then - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -41030,9 +42237,10 @@ int main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_mbrtowc_sanitycheck=yes -else +else $as_nop gl_cv_func_mbrtowc_sanitycheck=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -41042,8 +42250,8 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 -$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +printf "%s\n" "$gl_cv_func_mbrtowc_sanitycheck" >&6; } REPLACE_MBSTATE_T=0 case "$gl_cv_func_mbrtowc_incomplete_state" in @@ -41068,7 +42276,7 @@ $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } if test $ac_cv_func_wcrtomb = no; then HAVE_WCRTOMB=0 - ac_fn_c_check_decl "$LINENO" "wcrtomb" "ac_cv_have_decl_wcrtomb" " + ac_fn_check_decl "$LINENO" "wcrtomb" "ac_cv_have_decl_wcrtomb" " /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be @@ -41078,16 +42286,14 @@ $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } #include #include -" -if test "x$ac_cv_have_decl_wcrtomb" = xyes; then : +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_wcrtomb" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_WCRTOMB $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_WCRTOMB $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_wcrtomb = yes; then REPLACE_WCRTOMB=1 @@ -41101,11 +42307,12 @@ _ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5 -$as_echo_n "checking whether wcrtomb return value is correct... " >&6; } -if ${gl_cv_func_wcrtomb_retval+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5 +printf %s "checking whether wcrtomb return value is correct... " >&6; } +if test ${gl_cv_func_wcrtomb_retval+y} +then : + printf %s "(cached) " >&6 +else $as_nop case "$host_os" in # Guess no on AIX 4, OSF/1 and Solaris. @@ -41114,9 +42321,10 @@ else *) gl_cv_func_wcrtomb_retval="guessing yes" ;; esac if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : : -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -41156,9 +42364,10 @@ int main () return result; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_wcrtomb_retval=yes -else +else $as_nop gl_cv_func_wcrtomb_retval=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -41168,8 +42377,8 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_retval" >&5 -$as_echo "$gl_cv_func_wcrtomb_retval" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_retval" >&5 +printf "%s\n" "$gl_cv_func_wcrtomb_retval" >&6; } case "$gl_cv_func_wcrtomb_retval" in *yes) ;; *) REPLACE_WCRTOMB=1 ;; @@ -41203,7 +42412,7 @@ $as_echo "$gl_cv_func_wcrtomb_retval" >&6; } -$as_echo "#define GNULIB_TEST_WCRTOMB 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_WCRTOMB 1" >>confdefs.h @@ -41251,11 +42460,12 @@ $as_echo "#define GNULIB_TEST_WCRTOMB 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_wctype_h='<'wctype.h'>' else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -$as_echo_n "checking absolute name of ... " >&6; } -if ${gl_cv_next_wctype_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_wctype_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test $ac_cv_header_wctype_h = yes; then @@ -41296,8 +42506,8 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5 -$as_echo "$gl_cv_next_wctype_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5 +printf "%s\n" "$gl_cv_next_wctype_h" >&6; } fi NEXT_WCTYPE_H=$gl_cv_next_wctype_h @@ -41315,13 +42525,15 @@ $as_echo "$gl_cv_next_wctype_h" >&6; } if test $ac_cv_header_wctype_h = yes; then if test $ac_cv_func_iswcntrl = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5 -$as_echo_n "checking whether iswcntrl works... " >&6; } -if ${gl_cv_func_iswcntrl_works+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5 +printf %s "checking whether iswcntrl works... " >&6; } +if test ${gl_cv_func_iswcntrl_works+y} +then : + printf %s "(cached) " >&6 +else $as_nop - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -41329,21 +42541,22 @@ else Linux libc5 i18n is broken. #endif int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_func_iswcntrl_works="guessing yes" -else +else $as_nop gl_cv_func_iswcntrl_works="guessing no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -41359,9 +42572,10 @@ else int main () { return iswprint ('x') == 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : gl_cv_func_iswcntrl_works=yes -else +else $as_nop gl_cv_func_iswcntrl_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -41370,8 +42584,8 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5 -$as_echo "$gl_cv_func_iswcntrl_works" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5 +printf "%s\n" "$gl_cv_func_iswcntrl_works" >&6; } fi HAVE_WCTYPE_H=1 else @@ -41392,21 +42606,17 @@ $as_echo "$gl_cv_func_iswcntrl_works" >&6; } if test $REPLACE_ISWCNTRL = 1; then REPLACE_TOWLOWER=1 else - for ac_func in towlower -do : - ac_fn_c_check_func "$LINENO" "towlower" "ac_cv_func_towlower" -if test "x$ac_cv_func_towlower" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_TOWLOWER 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "towlower" "ac_cv_func_towlower" +if test "x$ac_cv_func_towlower" = xyes +then : + printf "%s\n" "#define HAVE_TOWLOWER 1" >>confdefs.h fi -done if test $ac_cv_func_towlower = yes; then REPLACE_TOWLOWER=0 else - ac_fn_c_check_decl "$LINENO" "towlower" "ac_cv_have_decl_towlower" "/* Tru64 with Desktop Toolkit C has a bug: must be + ac_fn_check_decl "$LINENO" "towlower" "ac_cv_have_decl_towlower" "/* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ @@ -41418,16 +42628,14 @@ done # include #endif -" -if test "x$ac_cv_have_decl_towlower" = xyes; then : +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_towlower" = xyes +then : ac_have_decl=1 -else +else $as_nop ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_TOWLOWER $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_TOWLOWER $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_towlower = yes; then REPLACE_TOWLOWER=1 @@ -41442,11 +42650,12 @@ _ACEOF : fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5 -$as_echo_n "checking for wctype_t... " >&6; } -if ${gl_cv_type_wctype_t+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5 +printf %s "checking for wctype_t... " >&6; } +if test ${gl_cv_type_wctype_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Tru64 with Desktop Toolkit C has a bug: must be @@ -41463,32 +42672,34 @@ else wctype_t a; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_type_wctype_t=yes -else +else $as_nop gl_cv_type_wctype_t=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5 -$as_echo "$gl_cv_type_wctype_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5 +printf "%s\n" "$gl_cv_type_wctype_t" >&6; } if test $gl_cv_type_wctype_t = no; then HAVE_WCTYPE_T=0 fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5 -$as_echo_n "checking for wctrans_t... " >&6; } -if ${gl_cv_type_wctrans_t+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5 +printf %s "checking for wctrans_t... " >&6; } +if test ${gl_cv_type_wctrans_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Tru64 with Desktop Toolkit C has a bug: must be @@ -41503,35 +42714,37 @@ else wctrans_t a; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : gl_cv_type_wctrans_t=yes -else +else $as_nop gl_cv_type_wctrans_t=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5 -$as_echo "$gl_cv_type_wctrans_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5 +printf "%s\n" "$gl_cv_type_wctrans_t" >&6; } if test $gl_cv_type_wctrans_t = no; then HAVE_WCTRANS_T=0 fi for gl_func in wctype iswctype wctrans towctrans ; do - as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -if eval \${$as_gl_Symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_gl_Symbol=`printf "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +printf %s "checking whether $gl_func is declared without a macro... " >&6; } +if eval test \${$as_gl_Symbol+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -41548,7 +42761,7 @@ else #include int -main () +main (void) { #undef $gl_func (void) $gl_func; @@ -41556,19 +42769,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$as_gl_Symbol=yes" -else +else $as_nop eval "$as_gl_Symbol=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$as_gl_Symbol - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 _ACEOF eval ac_cv_have_decl_$gl_func=yes @@ -41579,18 +42794,13 @@ fi : - for ac_header in stdint.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" -if test "x$ac_cv_header_stdint_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STDINT_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" +if test "x$ac_cv_header_stdint_h" = xyes +then : + printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h fi -done - @@ -41670,8 +42880,8 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -41701,15 +42911,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; /^ac_cv_env_/b end t clear :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +printf "%s\n" "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -41723,8 +42933,8 @@ $as_echo "$as_me: updating cache $cache_file" >&6;} fi fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -41741,7 +42951,7 @@ U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" @@ -41752,14 +42962,14 @@ LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 -$as_echo_n "checking that generated files are newer than configure... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 +printf %s "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 -$as_echo "done" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 +printf "%s\n" "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' @@ -41879,8 +43089,8 @@ fi ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL @@ -41903,14 +43113,16 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -41920,46 +43132,46 @@ esac fi + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi +IFS=" "" $as_nl" + +PS1='$ ' +PS2='> ' +PS4='+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || @@ -41968,13 +43180,6 @@ if test "${PATH_SEPARATOR+set}" != set; then fi -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( @@ -41983,8 +43188,12 @@ case $0 in #(( for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS @@ -41996,30 +43205,10 @@ if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] @@ -42032,13 +43221,14 @@ as_fn_error () as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -42065,18 +43255,20 @@ as_fn_unset () { eval $1=; unset $1;} } as_unset=as_fn_unset + # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=\$2 }' -else +else $as_nop as_fn_append () { eval $1=\$$1\$2 @@ -42088,12 +43280,13 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` @@ -42124,7 +43317,7 @@ as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -42146,6 +43339,10 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBSTed +# for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) @@ -42159,6 +43356,12 @@ case `echo -n x` in #((((( ECHO_N='-n';; esac +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo='printf %s\n' +as_echo_n='printf %s' + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -42200,7 +43403,7 @@ as_fn_mkdir_p () as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -42209,7 +43412,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -42271,8 +43474,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by monitoring-plugins $as_me 2.3.2, which was -generated by GNU Autoconf 2.69. Invocation command line was +This file was extended by monitoring-plugins $as_me 2.3.3, which was +generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -42334,14 +43537,16 @@ $config_commands Report bugs to the package provider." _ACEOF +ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` +ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -monitoring-plugins config.status 2.3.2 -configured by $0, generated by GNU Autoconf 2.69, +monitoring-plugins config.status 2.3.3 +configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -42381,15 +43586,15 @@ do -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; + printf "%s\n" "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; + printf "%s\n" "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" @@ -42397,7 +43602,7 @@ do --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; @@ -42406,7 +43611,7 @@ do as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; + printf "%s\n" "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; @@ -42434,7 +43639,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" @@ -42448,7 +43653,7 @@ exec 5>>config.log sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - $as_echo "$ac_log" + printf "%s\n" "$ac_log" } >&5 _ACEOF @@ -42779,9 +43984,9 @@ done # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands + test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files + test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers + test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree @@ -43117,7 +44322,7 @@ do esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done @@ -43125,17 +44330,17 @@ do # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +printf "%s\n" "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | + ac_sed_conf_input=`printf "%s\n" "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac @@ -43152,7 +44357,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | +printf "%s\n" X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -43176,9 +44381,9 @@ $as_echo X"$ac_file" | case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -43240,8 +44445,8 @@ ac_sed_dataroot=' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' @@ -43285,9 +44490,9 @@ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" @@ -43303,20 +44508,20 @@ which seems to be undefined. Please make sure it is defined" >&2;} # if test x"$ac_file" != x-; then { - $as_echo "/* $configure_input */" \ + printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else - $as_echo "/* $configure_input */" \ + printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi @@ -43336,7 +44541,7 @@ $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$_am_arg" | +printf "%s\n" X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -43356,8 +44561,8 @@ $as_echo X"$_am_arg" | s/.*/./; q'`/stamp-h$_am_stamp_count ;; - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} + :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +printf "%s\n" "$as_me: executing $ac_file commands" >&6;} ;; esac @@ -43383,7 +44588,7 @@ esac for am_mf do # Strip MF so we end up with the name of the file. - am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` + am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line @@ -43395,7 +44600,7 @@ $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$am_mf" : 'X\(//\)[^/]' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$am_mf" | +printf "%s\n" X"$am_mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -43417,7 +44622,7 @@ $as_echo X"$am_mf" | $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$am_mf" | +printf "%s\n" X/"$am_mf" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -43442,8 +44647,8 @@ $as_echo X/"$am_mf" | (exit $ac_status); } || am_rc=$? done if test $am_rc -ne 0; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "Something went wrong bootstrapping makefile fragments for automatic dependency tracking. If GNU make was not used, consider re-running the configure script with MAKE=\"gmake\" (or whatever is @@ -43915,6 +45120,7 @@ _LT_EOF esac + ltmain="$ac_aux_dir/ltmain.sh" @@ -44079,8 +45285,8 @@ else fi if test x"$_lt_function_replace_fail" = x":"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 -$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 +printf "%s\n" "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} fi @@ -44237,8 +45443,8 @@ if test "$no_create" != yes; then $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi @@ -44260,3 +45466,4 @@ echo " --with-trusted-path: $with_trusted_path" echo " --enable-libtap: $enable_libtap" echo " --with-libcurl: $with_libcurl" echo " --with-uriparser: $with_uriparser" + diff --git a/configure.ac b/configure.ac index 1f57911..272a0f4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(monitoring-plugins,2.3.2) +AC_INIT(monitoring-plugins,2.3.3) AC_CONFIG_SRCDIR(NPTest.pm) AC_CONFIG_FILES([gl/Makefile]) AC_CONFIG_AUX_DIR(build-aux) diff --git a/gl/Makefile.in b/gl/Makefile.in index 0219288..5fc1d32 100644 --- a/gl/Makefile.in +++ b/gl/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.3 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -359,8 +359,6 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp \ @@ -415,6 +413,8 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ DBILIBS = @DBILIBS@ DEFS = @DEFS@ @@ -434,6 +434,7 @@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ EXTRAS = @EXTRAS@ EXTRAS_ROOT = @EXTRAS_ROOT@ @@ -1930,7 +1931,6 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/lib/Makefile.in b/lib/Makefile.in index 4969c7a..5cdf10b 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.3 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -293,8 +293,6 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp \ @@ -349,6 +347,8 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ DBILIBS = @DBILIBS@ DEFS = @DEFS@ @@ -368,6 +368,7 @@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ EXTRAS = @EXTRAS@ EXTRAS_ROOT = @EXTRAS_ROOT@ @@ -1660,7 +1661,6 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/lib/tests/Makefile.in b/lib/tests/Makefile.in index bc90142..dd3f1d3 100644 --- a/lib/tests/Makefile.in +++ b/lib/tests/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.3 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -319,8 +319,6 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags am__tty_colors_dummy = \ mgn= red= grn= lgn= blu= brg= std=; \ am__color_tests=no @@ -553,6 +551,8 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ DBILIBS = @DBILIBS@ DEFS = @DEFS@ @@ -572,6 +572,7 @@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ EXTRAS = @EXTRAS@ EXTRAS_ROOT = @EXTRAS_ROOT@ @@ -2038,7 +2039,6 @@ recheck: all $(check_PROGRAMS) @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/lib/utils_disk.c b/lib/utils_disk.c index c7c9126..4f16068 100644 --- a/lib/utils_disk.c +++ b/lib/utils_disk.c @@ -28,6 +28,7 @@ #include "common.h" #include "utils_disk.h" +#include "gl/fsusage.h" void np_add_name (struct name_list **list, const char *name) @@ -127,9 +128,12 @@ np_set_best_match(struct parameter_list *desired, struct mount_entry *mount_list size_t name_len = strlen(d->name); size_t best_match_len = 0; struct mount_entry *best_match = NULL; + struct fs_usage fsp; /* set best match if path name exactly matches a mounted device name */ for (me = mount_list; me; me = me->me_next) { + if (get_fs_usage(me->me_mountdir, me->me_devname, &fsp) < 0) + continue; /* skip if permissions do not suffice for accessing device */ if (strcmp(me->me_devname, d->name)==0) best_match = me; } @@ -137,6 +141,8 @@ np_set_best_match(struct parameter_list *desired, struct mount_entry *mount_list /* set best match by directory name if no match was found by devname */ if (! best_match) { for (me = mount_list; me; me = me->me_next) { + if (get_fs_usage(me->me_mountdir, me->me_devname, &fsp) < 0) + continue; /* skip if permissions do not suffice for accessing device */ size_t len = strlen (me->me_mountdir); if ((exact == FALSE && (best_match_len <= len && len <= name_len && (len == 1 || strncmp (me->me_mountdir, d->name, len) == 0))) diff --git a/pkg/solaris/pkginfo b/pkg/solaris/pkginfo index c6f6ccb..2dc1f08 100644 --- a/pkg/solaris/pkginfo +++ b/pkg/solaris/pkginfo @@ -2,11 +2,11 @@ PKG="NGOSplugin" NAME="monitoring-plugins" DESC="Network Monitoring Plugins for Nagios and compatible" ARCH="unknown" -VERSION="2.3.2,REV=2022.10.19.14.57" +VERSION="2.3.3,REV=2023.02.01.13.46" CATEGORY="application" VENDOR="Monitoring Plugins Development Team" EMAIL="devel@monitoring-plugins.org" -PSTAMP="nag20221019145705" +PSTAMP="nag20230201134644" BASEDIR="/" CLASSES="none" diff --git a/plugins-root/Makefile.in b/plugins-root/Makefile.in index 7af912e..6a9c5f1 100644 --- a/plugins-root/Makefile.in +++ b/plugins-root/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.3 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -276,8 +276,6 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags am__tty_colors_dummy = \ mgn= red= grn= lgn= blu= brg= std=; \ am__color_tests=no @@ -511,6 +509,8 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ DBILIBS = @DBILIBS@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @@ -530,6 +530,7 @@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ EXTRAS = @EXTRAS@ EXTRAS_ROOT = @EXTRAS_ROOT@ @@ -1985,7 +1986,6 @@ recheck: all @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index f8f1535..1f87b75 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c @@ -451,6 +451,14 @@ main(int argc, char **argv) packets = 5; } + /* support "--help" and "--version" */ + if(argc == 2) { + if(!strcmp(argv[1], "--help")) + strcpy(argv[1], "-h"); + if(!strcmp(argv[1], "--version")) + strcpy(argv[1], "-V"); + } + /* Parse protocol arguments first */ for(i = 1; i < argc; i++) { while((arg = getopt(argc, argv, opts_str)) != EOF) { @@ -555,14 +563,6 @@ main(int argc, char **argv) /* Parse extra opts if any */ argv=np_extra_opts(&argc, argv, progname); - /* support "--help" and "--version" */ - if(argc == 2) { - if(!strcmp(argv[1], "--help")) - strcpy(argv[1], "-h"); - if(!strcmp(argv[1], "--version")) - strcpy(argv[1], "-V"); - } - argv = &argv[optind]; while(*argv) { add_target(*argv); diff --git a/plugins-scripts/Makefile.in b/plugins-scripts/Makefile.in index 6dabd8a..dc71f9e 100644 --- a/plugins-scripts/Makefile.in +++ b/plugins-scripts/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.3 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -448,6 +448,8 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ DBILIBS = @DBILIBS@ DEFS = @DEFS@ @@ -467,6 +469,7 @@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ EXTRAS = @EXTRAS@ EXTRAS_ROOT = @EXTRAS_ROOT@ @@ -1828,7 +1831,6 @@ recheck: all @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh index fdb5741..c623a8d 100755 --- a/plugins-scripts/check_log.sh +++ b/plugins-scripts/check_log.sh @@ -18,7 +18,7 @@ # On the first run of the plugin, it will return an OK state with a message # of "Log check data initialized". On successive runs, it will return an OK # state if *no* pattern matches have been found in the *difference* between the -# log file and the older copy of the log file. If the plugin detects any +# log file and the older copy of the log file. If the plugin detects any # pattern matches in the log diff, it will return a CRITICAL state and print # out a message is the following format: "(x) last_match", where "x" is the # total number of pattern matches found in the file and "last_match" is the @@ -76,6 +76,7 @@ print_usage() { echo "" echo "Other parameters:" echo " -a|--all : Print all matching lines" + echo " --exclude: Exclude a pattern (-p or -e also applies here when used)" echo " -p|--perl-regex : Use perl style regular expressions in the query" echo " -e|--extended-regex : Use extended style regular expressions in the query (not necessary for GNU grep)" } @@ -99,82 +100,46 @@ if [ $# -lt 1 ]; then fi # Grab the command line arguments - -#logfile=$1 -#oldlog=$2 -#query=$3 exitstatus=$STATE_WARNING #default while test -n "$1"; do case "$1" in - --help) + -h | --help) print_help exit "$STATE_OK" ;; - -h) - print_help - exit "$STATE_OK" - ;; - --version) + -V | --version) print_revision "$PROGNAME" "$REVISION" exit "$STATE_OK" ;; - -V) - print_revision "$PROGNAME" "$REVISION" - exit "$STATE_OK" - ;; - --filename) + -F | --filename) logfile=$2 shift 2 ;; - -F) - logfile=$2 - shift 2 - ;; - --oldlog) + -O | --oldlog) oldlog=$2 shift 2 ;; - -O) - oldlog=$2 - shift 2 - ;; - --query) + -q | --query) query=$2 shift 2 ;; - -q) - query=$2 + --exclude) + exclude=$2 shift 2 ;; - -x) + -x | --exitstatus) exitstatus=$2 shift 2 ;; - --exitstatus) - exitstatus=$2 - shift 2 - ;; - --extended-regex) + -e | --extended-regex) ERE=1 shift ;; - -e) - ERE=1 - shift - ;; - --perl-regex) + -p | --perl-regex) PRE=1 shift ;; - -p) - PRE=1 - shift - ;; - --all) - ALL=1 - shift - ;; - -a) + -a | --all) ALL=1 shift ;; @@ -188,18 +153,18 @@ done # Parameter sanity check if [ $ERE ] && [ $PRE ] ; then - echo "Can not use extended and perl regex at the same time" - exit "$STATE_UNKNOWN" + echo "Can not use extended and perl regex at the same time" + exit "$STATE_UNKNOWN" fi GREP="grep" if [ $ERE ]; then - GREP="grep -E" + GREP="grep -E" fi if [ $PRE ]; then - GREP="grep -P" + GREP="grep -P" fi # If the source log file doesn't exist, exit @@ -213,8 +178,8 @@ elif [ ! -r "$logfile" ] ; then fi # If no oldlog was given this can not work properly, abort then if [ -z "$oldlog" ]; then - echo "Oldlog parameter is needed" - exit $STATE_UNKNOWN + echo "Oldlog parameter is needed" + exit $STATE_UNKNOWN fi # If the old log file doesn't exist, this must be the first time @@ -245,18 +210,24 @@ diff "$logfile" "$oldlog" | grep -v "^>" > "$tempdiff" if [ $ALL ]; then - # Get the last matching entry in the diff file - entry=$($GREP "$query" "$tempdiff") - - # Count the number of matching log entries we have - count=$(echo "$entry" | wc -l) + # Get all matching entries in the diff file + if [ -n "$exclude" ]; then + entry=$($GREP "$query" "$tempdiff" | $GREP -v "$exclude") + count=$($GREP "$query" "$tempdiff" | $GREP -vc "$exclude") + else + entry=$($GREP "$query" "$tempdiff") + count=$($GREP -c "$query" "$tempdiff") + fi else - # Count the number of matching log entries we have - count=$($GREP -c "$query" "$tempdiff") - - # Get the last matching entry in the diff file - entry=$($GREP "$query" "$tempdiff" | tail -1) + # Get the last matching entry in the diff file + if [ -n "$exclude" ]; then + entry=$($GREP "$query" "$tempdiff" | $GREP -v "$exclude" | tail -1) + count=$($GREP "$query" "$tempdiff" | $GREP -vc "$exclude") + else + entry=$($GREP "$query" "$tempdiff" | tail -1) + count=$($GREP -c "$query" "$tempdiff") + fi fi rm -f "$tempdiff" diff --git a/plugins-scripts/check_mailq.pl b/plugins-scripts/check_mailq.pl index 4c72332..27073d3 100755 --- a/plugins-scripts/check_mailq.pl +++ b/plugins-scripts/check_mailq.pl @@ -537,9 +537,9 @@ elsif ( $mailq eq "nullmailer" ) { } while () { - #2006-06-22 16:00:00 282 bytes + #2022-08-25 01:30:40 502 bytes from - if (/^[1-9][0-9]*-[01][0-9]-[0-3][0-9]\s[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]\s+[0-9]+\sbytes/) { + if (/^\d{4}-\d{2}-\d{2}\s+\d{2}\:\d{2}\:\d{2}\s+\d+\sbytes/) { $msg_q++ ; } } diff --git a/plugins-scripts/t/check_log.t b/plugins-scripts/t/check_log.t new file mode 100644 index 0000000..b66e0fd --- /dev/null +++ b/plugins-scripts/t/check_log.t @@ -0,0 +1,82 @@ +#!/usr/bin/perl -w -I .. +# +# check_log tests +# +# + +use strict; +use Test::More; +use NPTest; + +my $tests = 18; +plan tests => $tests; + +my $firstTimeOutput ='/^Log check data initialized/'; +my $okOutput = '/^Log check ok - 0 pattern matches found/'; +my $criticalOutput = '/^\(\d+\) < /'; +my $multilineOutput = '/\(3\) <.*\n.*\n.*$/'; +my $unknownOutput = '/^Usage: /'; +my $unknownArgOutput = '/^Unknown argument: /'; +my $bothRegexOutput = '/^Can not use extended and perl regex/'; + +my $result; +my $temp_file = "/tmp/check_log.tmp"; +my $oldlog = "/tmp/oldlog.tmp"; + +open(FH, '>', $temp_file) or die $!; +close(FH); + +$result = NPTest->testCmd("./check_log"); +cmp_ok( $result->return_code, '==', 3, "Missing parameters" ); +like ( $result->output, $unknownOutput, "Output for unknown correct" ); + +$result = NPTest->testCmd("./check_log -f"); +cmp_ok( $result->return_code, '==', 3, "Wrong parameters" ); +like ( $result->output, $unknownArgOutput, "Output for unknown correct" ); + +$result = NPTest->testCmd("./check_log -F ".$temp_file." -O ".$oldlog." -q 'Simple match' -e -p"); +cmp_ok( $result->return_code, '==', 3, "Both regex parameters" ); +like ( $result->output, $bothRegexOutput, "Output for unknown correct" ); + +$result = NPTest->testCmd("./check_log -F ".$temp_file." -O ".$oldlog." -q 'Simple match'"); +cmp_ok( $result->return_code, '==', 0, "First time executing" ); +like ( $result->output, $firstTimeOutput, "Output for first time executing correct" ); + +open(FH, '>>', $temp_file) or die $!; +print FH "This is some text, that should not match\n"; +close(FH); + +$result = NPTest->testCmd("./check_log -F ".$temp_file." -O ".$oldlog." -q 'No match'"); +cmp_ok( $result->return_code, '==', 0, "No match" ); +like ( $result->output, $okOutput, "Output for no match correct" ); + +open(FH, '>>', $temp_file) or die $!; +print FH "This text should match\n"; +close(FH); + +$result = NPTest->testCmd("./check_log -F ".$temp_file." -O ".$oldlog." -q 'should match'"); +cmp_ok( $result->return_code, '==', 2, "Pattern match" ); +like ( $result->output, $criticalOutput, "Output for match correct" ); + +open(FH, '>>', $temp_file) or die $!; +print FH "This text should not match, because it is excluded\n"; +close(FH); + +$result = NPTest->testCmd("./check_log -F ".$temp_file." -O ".$oldlog." -q 'match' --exclude 'because'"); +cmp_ok( $result->return_code, '==', 0, "Exclude a pattern" ); +like ( $result->output, $okOutput, "Output for no match correct" ); + +open(FH, '>>', $temp_file) or die $!; +print FH "Trying\nwith\nmultiline\nignore me\n"; +close(FH); + +$result = NPTest->testCmd("./check_log -F ".$temp_file." -O ".$oldlog." -q 'Trying\\|with\\|multiline\\|ignore' --exclude 'me' --all"); +cmp_ok( $result->return_code, '==', 2, "Multiline pattern match with --all" ); +like ( $result->output, $multilineOutput, "Output for multiline match correct" ); + +$result = NPTest->testCmd("./check_log -F ".$temp_file." -O ".$oldlog." -q 'match' -a"); +cmp_ok( $result->return_code, '==', 0, "Non matching --all" ); +like ( $result->output, $okOutput, "Output for no match correct" ); + +unlink($oldlog); +unlink($temp_file); diff --git a/plugins/Makefile.in b/plugins/Makefile.in index 1fd7907..c6914e4 100644 --- a/plugins/Makefile.in +++ b/plugins/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.3 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -515,8 +515,6 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags am__tty_colors_dummy = \ mgn= red= grn= lgn= blu= brg= std=; \ am__color_tests=no @@ -775,6 +773,8 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ DBILIBS = @DBILIBS@ # gettext docs say to use AM_CPPFLAGS, but per module_CPPFLAGS override this @@ -795,6 +795,7 @@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ EXTRAS = @EXTRAS@ EXTRAS_ROOT = @EXTRAS_ROOT@ @@ -2608,7 +2609,6 @@ recheck: all @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/plugins/check_apt.c b/plugins/check_apt.c index d7be575..fa982ae 100644 --- a/plugins/check_apt.c +++ b/plugins/check_apt.c @@ -1,32 +1,32 @@ /***************************************************************************** -* +* * Monitoring check_apt plugin -* +* * License: GPL * Copyright (c) 2006-2008 Monitoring Plugins Development Team -* +* * Original author: Sean Finney -* +* * Description: -* +* * This file contains the check_apt plugin -* +* * Check for available updates in apt package management systems -* -* +* +* * 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 . -* +* *****************************************************************************/ const char *progname = "check_apt"; @@ -76,9 +76,9 @@ int cmpstringp(const void *p1, const void *p2); /* configuration variables */ static int verbose = 0; /* -v */ -static int list = 0; /* list packages available for upgrade */ -static int do_update = 0; /* whether to call apt-get update */ -static int only_critical = 0; /* whether to warn about non-critical updates */ +static bool list = false; /* list packages available for upgrade */ +static bool do_update = false; /* whether to call apt-get update */ +static bool only_critical = false; /* whether to warn about non-critical updates */ static upgrade_type upgrade = UPGRADE; /* which type of upgrade to do */ static char *upgrade_opts = NULL; /* options to override defaults for upgrade */ static char *update_opts = NULL; /* options to override defaults for update */ @@ -119,7 +119,7 @@ int main (int argc, char **argv) { if(sec_count > 0){ result = max_state(result, STATE_CRITICAL); - } else if(packages_available >= packages_warning && only_critical == 0){ + } else if(packages_available >= packages_warning && only_critical == false){ result = max_state(result, STATE_WARNING); } else if(result > STATE_UNKNOWN){ result = STATE_UNKNOWN; @@ -144,7 +144,7 @@ int main (int argc, char **argv) { for(i = 0; i < sec_count; i++) printf("%s (security)\n", secpackages_list[i]); - if (only_critical == 0) { + if (only_critical == false) { for(i = 0; i < packages_available - sec_count; i++) printf("%s\n", packages_list[i]); } @@ -166,7 +166,7 @@ int process_arguments (int argc, char **argv) { {"upgrade", optional_argument, 0, 'U'}, {"no-upgrade", no_argument, 0, 'n'}, {"dist-upgrade", optional_argument, 0, 'd'}, - {"list", no_argument, 0, 'l'}, + {"list", no_argument, false, 'l'}, {"include", required_argument, 0, 'i'}, {"exclude", required_argument, 0, 'e'}, {"critical", required_argument, 0, 'c'}, @@ -212,14 +212,14 @@ int process_arguments (int argc, char **argv) { upgrade=NO_UPGRADE; break; case 'u': - do_update=1; + do_update=true; if(optarg!=NULL){ update_opts=strdup(optarg); if(update_opts==NULL) die(STATE_UNKNOWN, "strdup failed"); } break; case 'l': - list=1; + list=true; break; case 'i': do_include=add_to_regexp(do_include, optarg); @@ -231,7 +231,7 @@ int process_arguments (int argc, char **argv) { do_critical=add_to_regexp(do_critical, optarg); break; case 'o': - only_critical=1; + only_critical=true; break; case INPUT_FILE_OPT: input_filename = optarg; @@ -269,7 +269,7 @@ int run_upgrade(int *pkgcount, int *secpkgcount, char ***pkglist, char ***secpkg die(STATE_UNKNOWN, _("%s: Error compiling regexp: %s"), progname, rerrbuf); } } - + if(do_exclude!=NULL){ regres=regcomp(&ereg, do_exclude, REG_EXTENDED); if(regres!=0) { @@ -278,7 +278,7 @@ int run_upgrade(int *pkgcount, int *secpkgcount, char ***pkglist, char ***secpkg progname, rerrbuf); } } - + const char *crit_ptr = (do_critical != NULL) ? do_critical : SECURITY_RE; regres=regcomp(&sreg, crit_ptr, REG_EXTENDED); if(regres!=0) { @@ -295,7 +295,7 @@ int run_upgrade(int *pkgcount, int *secpkgcount, char ***pkglist, char ***secpkg /* run the upgrade */ result = np_runcmd(cmdline, &chld_out, &chld_err, 0); } - + /* apt-get upgrade only changes exit status if there is an * internal error when run in dry-run mode. therefore we will * treat such an error as UNKNOWN */ @@ -371,7 +371,7 @@ int run_update(void){ struct output chld_out, chld_err; char *cmdline; - /* run the upgrade */ + /* run the update */ cmdline = construct_cmdline(NO_UPGRADE, update_opts); result = np_runcmd(cmdline, &chld_out, &chld_err, 0); /* apt-get update changes exit status if it can't fetch packages. @@ -501,16 +501,6 @@ print_help (void) printf(UT_PLUG_TIMEOUT, timeout_interval); - printf (" %s\n", "-U, --upgrade=OPTS"); - printf (" %s\n", _("[Default] Perform an upgrade. If an optional OPTS argument is provided,")); - printf (" %s\n", _("apt-get will be run with these command line options instead of the")); - printf (" %s", _("default ")); - printf ("(%s).\n", UPGRADE_DEFAULT_OPTS); - printf (" %s\n", _("Note that you may be required to have root privileges if you do not use")); - printf (" %s\n", _("the default options.")); - printf (" %s\n", "-d, --dist-upgrade=OPTS"); - printf (" %s\n", _("Perform a dist-upgrade instead of normal upgrade. Like with -U OPTS")); - printf (" %s\n", _("can be provided to override the default options.")); printf (" %s\n", "-n, --no-upgrade"); printf (" %s\n", _("Do not run the upgrade. Probably not useful (without -u at least).")); printf (" %s\n", "-l, --list"); @@ -530,7 +520,7 @@ print_help (void) printf (" %s\n", _("this REGEXP, the plugin will return CRITICAL status. Can be specified")); printf (" %s\n", _("multiple times like above. Default is a regexp matching security")); printf (" %s\n", _("upgrades for Debian and Ubuntu:")); - printf (" \t\%s\n", SECURITY_RE); + printf (" \t%s\n", SECURITY_RE); printf (" %s\n", _("Note that the package must first match the include list before its")); printf (" %s\n", _("information is compared against the critical list.")); printf (" %s\n", "-o, --only-critical"); @@ -538,7 +528,7 @@ print_help (void) printf (" %s\n", _("of upgrades will be printed, but any non-critical upgrades will not cause")); printf (" %s\n", _("the plugin to return WARNING status.")); printf (" %s\n", "-w, --packages-warning"); - printf (" %s\n", _("Minumum number of packages available for upgrade to return WARNING status.")); + printf (" %s\n", _("Minimum number of packages available for upgrade to return WARNING status.")); printf (" %s\n\n", _("Default is 1 package.")); printf ("%s\n\n", _("The following options require root privileges and should be used with care:")); @@ -547,6 +537,16 @@ print_help (void) printf (" %s\n", _("the default options. Note: you may also need to adjust the global")); printf (" %s\n", _("timeout (with -t) to prevent the plugin from timing out if apt-get")); printf (" %s\n", _("upgrade is expected to take longer than the default timeout.")); + printf (" %s\n", "-U, --upgrade=OPTS"); + printf (" %s\n", _("Perform an upgrade. If an optional OPTS argument is provided,")); + printf (" %s\n", _("apt-get will be run with these command line options instead of the")); + printf (" %s", _("default ")); + printf ("(%s).\n", UPGRADE_DEFAULT_OPTS); + printf (" %s\n", _("Note that you may be required to have root privileges if you do not use")); + printf (" %s\n", _("the default options, which will only run a simulation and NOT perform the upgrade")); + printf (" %s\n", "-d, --dist-upgrade=OPTS"); + printf (" %s\n", _("Perform a dist-upgrade instead of normal upgrade. Like with -U OPTS")); + printf (" %s\n", _("can be provided to override the default options.")); printf(UT_SUPPORT); } diff --git a/plugins/check_curl.c b/plugins/check_curl.c index a69854a..c6593df 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c @@ -476,6 +476,18 @@ check_http (void) printf ("* curl CURLOPT_RESOLVE: %s\n", dnscache); } + // If server_address is an IPv6 address it must be surround by square brackets + struct in6_addr tmp_in_addr; + if (inet_pton(AF_INET6, server_address, &tmp_in_addr) == 1) { + char *new_server_address = malloc(strlen(server_address) + 3); + if (new_server_address == NULL) { + die(STATE_UNKNOWN, "HTTP UNKNOWN - Unable to allocate memory\n"); + } + snprintf(new_server_address, strlen(server_address)+3, "[%s]", server_address); + free(server_address); + server_address = new_server_address; + } + /* compose URL: use the address we want to connect to, set Host: header later */ snprintf (url, DEFAULT_BUFFER_SIZE, "%s://%s:%d%s", use_ssl ? "https" : "http", @@ -999,10 +1011,12 @@ GOT_FIRST_CERT: result = max_state_alt(get_status(total_time, thlds), result); /* Cut-off trailing characters */ - if(msg[strlen(msg)-2] == ',') - msg[strlen(msg)-2] = '\0'; - else - msg[strlen(msg)-3] = '\0'; + if (strlen(msg) >= 2) { + if(msg[strlen(msg)-2] == ',') + msg[strlen(msg)-2] = '\0'; + else + msg[strlen(msg)-3] = '\0'; + } /* TODO: separate _() msg and status code: die (result, "HTTP %s: %s\n", state_text(result), msg); */ die (result, "HTTP %s: %s %d %s%s%s - %d bytes in %.3f second response time %s|%s\n%s%s", @@ -1666,7 +1680,7 @@ process_arguments (int argc, char **argv) curl_http_version = CURL_HTTP_VERSION_NONE; #endif /* LIBCURL_VERSION_NUM >= MAKE_LIBCURL_VERSION(7, 33, 0) */ } else { - fprintf (stderr, "unkown http-version parameter: %s\n", optarg); + fprintf (stderr, "unknown http-version parameter: %s\n", optarg); exit (STATE_WARNING); } break; @@ -2010,9 +2024,12 @@ curlhelp_buffer_write_callback (void *buffer, size_t size, size_t nmemb, void *s curlhelp_write_curlbuf *buf = (curlhelp_write_curlbuf *)stream; while (buf->bufsize < buf->buflen + size * nmemb + 1) { - buf->bufsize *= buf->bufsize * 2; + buf->bufsize = buf->bufsize * 2; buf->buf = (char *)realloc (buf->buf, buf->bufsize); - if (buf->buf == NULL) return -1; + if (buf->buf == NULL) { + fprintf(stderr, "malloc failed (%d) %s\n", errno, strerror(errno)); + return -1; + } } memcpy (buf->buf + buf->buflen, buffer, size * nmemb); diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 7018c6f..6de17f8 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c @@ -951,7 +951,7 @@ void print_usage (void) { printf ("%s\n", _("Usage:")); - printf (" %s -w limit -c limit [-W limit] [-K limit] {-p path | -x device}\n", progname); + printf (" %s {-w absolute_limit |-w percentage_limit% | -W inode_percentage_limit } {-c absolute_limit|-c percentage_limit% | -K inode_percentage_limit } {-p path | -x device}\n", progname); printf ("[-C] [-E] [-e] [-f] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ]\n"); printf ("[-t timeout] [-u unit] [-v] [-X type] [-N type]\n"); } diff --git a/plugins/check_fping.c b/plugins/check_fping.c index be9362a..db43316 100644 --- a/plugins/check_fping.c +++ b/plugins/check_fping.c @@ -492,7 +492,7 @@ void print_help (void) { printf (" %s\n", "-c, --critical=THRESHOLD"); printf (" %s\n", _("critical threshold pair")); printf (" %s\n", "-a, --alive"); - printf (" %s\n", _("Return OK after first successfull reply")); + printf (" %s\n", _("Return OK after first successful reply")); printf (" %s\n", "-b, --bytes=INTEGER"); printf (" %s (default: %d)\n", _("size of ICMP packet"),PACKET_SIZE); printf (" %s\n", "-n, --number=INTEGER"); diff --git a/plugins/check_http.c b/plugins/check_http.c index ff39c59..5fa310f 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c @@ -31,13 +31,14 @@ * *****************************************************************************/ -/* splint -I. -I../../plugins -I../../lib/ -I/usr/kerberos/include/ ../../plugins/check_http.c */ - const char *progname = "check_http"; -const char *copyright = "1999-2013"; +const char *copyright = "1999-2022"; const char *email = "devel@monitoring-plugins.org"; +// Do NOT sort those headers, it will break the build +// TODO: Fix this #include "common.h" +#include "base64.h" #include "netutils.h" #include "utils.h" #include "base64.h" @@ -57,8 +58,8 @@ enum { }; #ifdef HAVE_SSL -int check_cert = FALSE; -int continue_after_check_cert = FALSE; +bool check_cert = false; +bool continue_after_check_cert = false; int ssl_version = 0; int days_till_exp_warn, days_till_exp_crit; char *randbuff; @@ -69,7 +70,7 @@ X509 *server_cert; # define my_recv(buf, len) read(sd, buf, len) # define my_send(buf, len) send(sd, buf, len, 0) #endif /* HAVE_SSL */ -int no_body = FALSE; +bool no_body = false; int maximum_age = -1; enum { @@ -91,7 +92,7 @@ struct timeval tv_temp; #define HTTP_URL "/" #define CRLF "\r\n" -int specify_port = FALSE; +bool specify_port = false; int server_port = HTTP_PORT; int virtual_port = 0; char server_port_text[6] = ""; @@ -106,23 +107,21 @@ int server_expect_yn = 0; char server_expect[MAX_INPUT_BUFFER] = HTTP_EXPECT; char header_expect[MAX_INPUT_BUFFER] = ""; char string_expect[MAX_INPUT_BUFFER] = ""; -char output_header_search[30] = ""; -char output_string_search[30] = ""; char *warning_thresholds = NULL; char *critical_thresholds = NULL; thresholds *thlds; char user_auth[MAX_INPUT_BUFFER] = ""; char proxy_auth[MAX_INPUT_BUFFER] = ""; -int display_html = FALSE; +bool display_html = false; char **http_opt_headers; int http_opt_headers_count = 0; int onredirect = STATE_OK; int followsticky = STICKY_NONE; -int use_ssl = FALSE; -int use_sni = FALSE; -int verbose = FALSE; -int show_extended_perfdata = FALSE; -int show_body = FALSE; +bool use_ssl = false; +bool use_sni = false; +bool verbose = false; +bool show_extended_perfdata = false; +bool show_body = false; int sd; int min_page_len = 0; int max_page_len = 0; @@ -136,10 +135,11 @@ char buffer[MAX_INPUT_BUFFER]; char *client_cert = NULL; char *client_privkey = NULL; -int process_arguments (int, char **); +// Forward function declarations +bool process_arguments (int, char **); int check_http (void); void redir (char *pos, char *status_line); -int server_type_check(const char *type); +bool server_type_check(const char *type); int server_port_check(int ssl_flag); char *perfd_time (double microsec); char *perfd_time_connect (double microsec); @@ -150,6 +150,7 @@ char *perfd_time_transfer (double microsec); char *perfd_size (int page_len); void print_help (void); void print_usage (void); +char *unchunk_content(const char *content); int main (int argc, char **argv) @@ -169,10 +170,10 @@ main (int argc, char **argv) /* Parse extra opts if any */ argv=np_extra_opts (&argc, argv, progname); - if (process_arguments (argc, argv) == ERROR) + if (process_arguments (argc, argv) == false) usage4 (_("Could not parse arguments")); - if (display_html == TRUE) + if (display_html == true) printf ("", use_ssl ? "https" : "http", host_name ? host_name : server_address, server_port, server_url); @@ -195,9 +196,11 @@ test_file (char *path) usage2 (_("file does not exist or is not readable"), path); } -/* process command-line arguments */ -int -process_arguments (int argc, char **argv) +/* + * process command-line arguments + * returns true on succes, false otherwise + */ +bool process_arguments (int argc, char **argv) { int c = 1; char *p; @@ -252,7 +255,7 @@ process_arguments (int argc, char **argv) }; if (argc < 2) - return ERROR; + return false; for (c = 1; c < argc; c++) { if (strcmp ("-to", argv[c]) == 0) @@ -308,10 +311,10 @@ process_arguments (int argc, char **argv) /* xasprintf (&http_opt_headers, "%s", optarg); */ break; case 'L': /* show html link */ - display_html = TRUE; + display_html = true; break; case 'n': /* do not show html link */ - display_html = FALSE; + display_html = false; break; case 'C': /* Check SSL cert validity */ #ifdef HAVE_SSL @@ -332,12 +335,12 @@ process_arguments (int argc, char **argv) usage2 (_("Invalid certificate expiration period"), optarg); days_till_exp_warn = atoi (optarg); } - check_cert = TRUE; + check_cert = true; goto enable_ssl; #endif case CONTINUE_AFTER_CHECK_CERT: /* don't stop after the certificate is checked */ #ifdef HAVE_SSL - continue_after_check_cert = TRUE; + continue_after_check_cert = true; break; #endif case 'J': /* use client certificate */ @@ -357,7 +360,7 @@ process_arguments (int argc, char **argv) enable_ssl: /* ssl_version initialized to 0 as a default. Only set if it's non-zero. This helps when we include multiple parameters, like -S and -C combinations */ - use_ssl = TRUE; + use_ssl = true; if (c=='S' && optarg != NULL) { int got_plus = strchr(optarg, '+') != NULL; @@ -374,7 +377,7 @@ process_arguments (int argc, char **argv) else usage4 (_("Invalid option - Valid SSL/TLS versions: 2, 3, 1, 1.1, 1.2 (with optional '+' suffix)")); } - if (specify_port == FALSE) + if (specify_port == false) server_port = HTTPS_PORT; #else /* -C -J and -K fall through to here without SSL */ @@ -382,7 +385,7 @@ process_arguments (int argc, char **argv) #endif break; case SNI_OPTION: - use_sni = TRUE; + use_sni = true; break; case MAX_REDIRS_OPTION: if (!is_intnonneg (optarg)) @@ -420,7 +423,7 @@ process_arguments (int argc, char **argv) host_name_length = strlen (host_name) - strlen (p) - 1; free (host_name); host_name = strndup (optarg, host_name_length); - if (specify_port == FALSE) + if (specify_port == false) server_port = virtual_port; } } else if ((p = strchr (host_name, ':')) != NULL @@ -430,7 +433,7 @@ process_arguments (int argc, char **argv) host_name_length = strlen (host_name) - strlen (p) - 1; free (host_name); host_name = strndup (optarg, host_name_length); - if (specify_port == FALSE) + if (specify_port == false) server_port = virtual_port; } break; @@ -446,7 +449,7 @@ process_arguments (int argc, char **argv) usage2 (_("Invalid port number"), optarg); else { server_port = atoi (optarg); - specify_port = TRUE; + specify_port = true; } break; case 'a': /* authorization info */ @@ -502,7 +505,7 @@ process_arguments (int argc, char **argv) if (errcode != 0) { (void) regerror (errcode, &preg, errbuf, MAX_INPUT_BUFFER); printf (_("Could Not Compile Regular Expression: %s"), errbuf); - return ERROR; + return false; } break; case INVERT_REGEX: @@ -519,7 +522,7 @@ process_arguments (int argc, char **argv) #endif break; case 'v': /* verbose */ - verbose = TRUE; + verbose = true; break; case 'm': /* min_page_length */ { @@ -544,7 +547,7 @@ process_arguments (int argc, char **argv) break; } case 'N': /* no-body */ - no_body = TRUE; + no_body = true; break; case 'M': /* max-age */ { @@ -565,10 +568,10 @@ process_arguments (int argc, char **argv) } break; case 'E': /* show extended perfdata */ - show_extended_perfdata = TRUE; + show_extended_perfdata = true; break; case 'B': /* print body content after status line */ - show_body = TRUE; + show_body = true; break; } } @@ -605,7 +608,7 @@ process_arguments (int argc, char **argv) if (virtual_port == 0) virtual_port = server_port; - return TRUE; + return true; } @@ -945,7 +948,7 @@ check_http (void) /* @20100414, public[at]frank4dd.com, http://www.frank4dd.com/howto */ if ( server_address != NULL && strcmp(http_method, "CONNECT") == 0 - && host_name != NULL && use_ssl == TRUE) { + && host_name != NULL && use_ssl == true) { if (verbose) printf ("Entering CONNECT tunnel mode with proxy %s:%d to dst %s:%d\n", server_address, server_port, host_name, HTTPS_PORT); asprintf (&buf, "%s %s:%d HTTP/1.1\r\n%s\r\n", http_method, host_name, HTTPS_PORT, user_agent); @@ -979,7 +982,7 @@ check_http (void) } #ifdef HAVE_SSL elapsed_time_connect = (double)microsec_connect / 1.0e6; - if (use_ssl == TRUE) { + if (use_ssl == true) { gettimeofday (&tv_temp, NULL); result = np_net_ssl_init_with_hostname_version_and_cert(sd, (use_sni ? host_name : NULL), ssl_version, client_cert, client_privkey); if (verbose) printf ("SSL initialized\n"); @@ -987,9 +990,9 @@ check_http (void) die (STATE_CRITICAL, NULL); microsec_ssl = deltime (tv_temp); elapsed_time_ssl = (double)microsec_ssl / 1.0e6; - if (check_cert == TRUE) { + if (check_cert == true) { result = np_net_ssl_check_cert(days_till_exp_warn, days_till_exp_crit); - if (continue_after_check_cert == FALSE) { + if (continue_after_check_cert == false) { if (sd) close(sd); np_net_ssl_cleanup(); return result; @@ -999,7 +1002,7 @@ check_http (void) #endif /* HAVE_SSL */ if ( server_address != NULL && strcmp(http_method, "CONNECT") == 0 - && host_name != NULL && use_ssl == TRUE) + && host_name != NULL && use_ssl == true) asprintf (&buf, "%s %s %s\r\n%s\r\n", http_method_proxy, server_url, host_name ? "HTTP/1.1" : "HTTP/1.0", user_agent); else asprintf (&buf, "%s %s %s\r\n%s\r\n", http_method, server_url, host_name ? "HTTP/1.1" : "HTTP/1.0", user_agent); @@ -1027,10 +1030,10 @@ check_http (void) * 14.23). Some server applications/configurations cause trouble if the * (default) port is explicitly specified in the "Host:" header line. */ - if ((use_ssl == FALSE && virtual_port == HTTP_PORT) || - (use_ssl == TRUE && virtual_port == HTTPS_PORT) || + if ((use_ssl == false && virtual_port == HTTP_PORT) || + (use_ssl == true && virtual_port == HTTPS_PORT) || (server_address != NULL && strcmp(http_method, "CONNECT") == 0 - && host_name != NULL && use_ssl == TRUE)) + && host_name != NULL && use_ssl == true)) xasprintf (&buf, "%sHost: %s\r\n", buf, host_name); else xasprintf (&buf, "%sHost: %s:%d\r\n", buf, host_name, virtual_port); @@ -1070,9 +1073,8 @@ check_http (void) } xasprintf (&buf, "%sContent-Length: %i\r\n\r\n", buf, (int)strlen (http_post_data)); - xasprintf (&buf, "%s%s%s", buf, http_post_data, CRLF); - } - else { + xasprintf (&buf, "%s%s", buf, http_post_data); + } else { /* or just a newline so the server knows we're done with the request */ xasprintf (&buf, "%s%s", buf, CRLF); } @@ -1096,9 +1098,14 @@ check_http (void) *pos = ' '; } buffer[i] = '\0'; - xasprintf (&full_page_new, "%s%s", full_page, buffer); - free (full_page); + + if ((full_page_new = realloc(full_page, pagesize + i + 1)) == NULL) + die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate memory for full_page\n")); + + memmove(&full_page_new[pagesize], buffer, i + 1); + full_page = full_page_new; + pagesize += i; if (no_body && document_headers_done (full_page)) { @@ -1110,25 +1117,7 @@ check_http (void) elapsed_time_transfer = (double)microsec_transfer / 1.0e6; if (i < 0 && errno != ECONNRESET) { -#ifdef HAVE_SSL - /* - if (use_ssl) { - sslerr=SSL_get_error(ssl, i); - if ( sslerr == SSL_ERROR_SSL ) { - die (STATE_WARNING, _("HTTP WARNING - Client Certificate Required\n")); - } else { - die (STATE_CRITICAL, _("HTTP CRITICAL - Error on receive\n")); - } - } - else { - */ -#endif - die (STATE_CRITICAL, _("HTTP CRITICAL - Error on receive\n")); -#ifdef HAVE_SSL - /* XXX - } - */ -#endif + die(STATE_CRITICAL, _("HTTP CRITICAL - Error on receive\n")); } /* return a CRITICAL status if we couldn't read any data */ @@ -1253,32 +1242,73 @@ check_http (void) } /* Page and Header content checks go here */ - if (strlen (header_expect)) { - if (!strstr (header, header_expect)) { - strncpy(&output_header_search[0],header_expect,sizeof(output_header_search)); - if(output_header_search[sizeof(output_header_search)-1]!='\0') { - bcopy("...",&output_header_search[sizeof(output_header_search)-4],4); + if (strlen(header_expect) > 0) { + if (strstr(header, header_expect) == NULL) { + // We did not find the header, the rest is for building the output and setting the state + char output_header_search[30] = ""; + + strncpy(&output_header_search[0], header_expect, + sizeof(output_header_search)); + + if (output_header_search[sizeof(output_header_search) - 1] != '\0') { + bcopy("...", + &output_header_search[sizeof(output_header_search) - 4], + 4); } - xasprintf (&msg, _("%sheader '%s' not found on '%s://%s:%d%s', "), msg, output_header_search, use_ssl ? "https" : "http", host_name ? host_name : server_address, server_port, server_url); + + xasprintf (&msg, + _("%sheader '%s' not found on '%s://%s:%d%s', "), + msg, + output_header_search, use_ssl ? "https" : "http", + host_name ? host_name : server_address, server_port, + server_url); + result = STATE_CRITICAL; } } + // At this point we should test if the content is chunked and unchunk it, so + // it can be searched (and possibly printed) + const char *chunked_header_regex_string = "Transfer-Encoding: *chunked *"; + regex_t chunked_header_regex; - if (strlen (string_expect)) { - if (!strstr (page, string_expect)) { - strncpy(&output_string_search[0],string_expect,sizeof(output_string_search)); - if(output_string_search[sizeof(output_string_search)-1]!='\0') { - bcopy("...",&output_string_search[sizeof(output_string_search)-4],4); + if (regcomp(&chunked_header_regex, chunked_header_regex_string, REG_ICASE)) { + die(STATE_UNKNOWN, "HTTP %s: %s\n", state_text(STATE_UNKNOWN), "Failed to compile chunked_header_regex regex"); + } + + regmatch_t chre_pmatch[1]; // We actually do not care about this, since we only want to know IF it was found + + if (regexec(&chunked_header_regex, header, 1, chre_pmatch, 0) == 0) { + if (verbose) { + printf("Found chunked content\n"); + } + // We actually found the chunked header + char *tmp = unchunk_content(page); + if (tmp == NULL) { + die(STATE_UNKNOWN, "HTTP %s: %s\n", state_text(STATE_UNKNOWN), "Failed to unchunk message body"); + } + page = tmp; + } + + if (strlen(string_expect) > 0) { + if (!strstr(page, string_expect)) { + // We found the string the body, the rest is for building the output + char output_string_search[30] = ""; + strncpy(&output_string_search[0], string_expect, + sizeof(output_string_search)); + if (output_string_search[sizeof(output_string_search) - 1] != '\0') { + bcopy("...", &output_string_search[sizeof(output_string_search) - 4], + 4); } xasprintf (&msg, _("%sstring '%s' not found on '%s://%s:%d%s', "), msg, output_string_search, use_ssl ? "https" : "http", host_name ? host_name : server_address, server_port, server_url); result = STATE_CRITICAL; } } - if (strlen (regexp)) { - errcode = regexec (&preg, page, REGS, pmatch, 0); - if ((errcode == 0 && invert_regex == 0) || (errcode == REG_NOMATCH && invert_regex == 1)) { + if (strlen(regexp) > 0) { + errcode = regexec(&preg, page, REGS, pmatch, 0); + if ((errcode == 0 && invert_regex == 0) || + (errcode == REG_NOMATCH && invert_regex == 1)) { /* OK - No-op to avoid changing the logic around it */ result = max_state_alt(STATE_OK, result); } @@ -1330,7 +1360,7 @@ check_http (void) perfd_time (elapsed_time), perfd_size (page_len), perfd_time_connect (elapsed_time_connect), - use_ssl == TRUE ? perfd_time_ssl (elapsed_time_ssl) : "", + use_ssl == true ? perfd_time_ssl (elapsed_time_ssl) : "", perfd_time_headers (elapsed_time_headers), perfd_time_firstbyte (elapsed_time_firstbyte), perfd_time_transfer (elapsed_time_transfer)); @@ -1352,7 +1382,89 @@ check_http (void) return STATE_UNKNOWN; } +/* Receivces a pointer to the beginning of the body of a HTTP message + * which is chunked and returns a pointer to a freshly allocated memory + * region containing the unchunked body or NULL if something failed. + * The result must be freed by the caller. + */ +char *unchunk_content(const char *content) { + // https://en.wikipedia.org/wiki/Chunked_transfer_encoding + // https://www.rfc-editor.org/rfc/rfc7230#section-4.1 + char *result = NULL; + size_t content_length = strlen(content); + char *start_of_chunk; + char* end_of_chunk; + long size_of_chunk; + const char *pointer = content; + char *endptr; + long length_of_chunk = 0; + size_t overall_size = 0; + while (true) { + size_of_chunk = strtol(pointer, &endptr, 16); + if (size_of_chunk == LONG_MIN || size_of_chunk == LONG_MAX) { + // Apparently underflow or overflow, should not happen + if (verbose) { + printf("Got an underflow or overflow from strtol at: %u\n", __LINE__); + } + return NULL; + } + if (endptr == pointer) { + // Apparently this was not a number + if (verbose) { + printf("Chunked content did not start with a number at all (Line: %u)\n", __LINE__); + } + return NULL; + } + + // So, we got the length of the chunk + if (*endptr == ';') { + // Chunk extension starts here + while (*endptr != '\r') { + endptr++; + } + } + + start_of_chunk = endptr + 2; + end_of_chunk = start_of_chunk + size_of_chunk; + length_of_chunk = (long)(end_of_chunk - start_of_chunk); + pointer = end_of_chunk + 2; //Next number should be here + + if (length_of_chunk == 0) { + // Chunk length is 0, so this is the last one + break; + } + + overall_size += length_of_chunk; + + if (result == NULL) { + // Size of the chunk plus the ending NULL byte + result = (char *)malloc(length_of_chunk +1); + if (result == NULL) { + if (verbose) { + printf("Failed to allocate memory for unchunked body\n"); + } + return NULL; + } + } else { + // Enlarge memory to the new size plus the ending NULL byte + void *tmp = realloc(result, overall_size +1); + if (tmp == NULL) { + if (verbose) { + printf("Failed to allocate memory for unchunked body\n"); + } + return NULL; + } else { + result = tmp; + } + } + + memcpy(result + (overall_size - size_of_chunk), start_of_chunk, size_of_chunk); + } + + result[overall_size] = '\0'; + return result; +} /* per RFC 2396 */ #define URI_HTTP "%5[HTPShtps]" @@ -1525,13 +1637,13 @@ redir (char *pos, char *status_line) } -int +bool server_type_check (const char *type) { if (strcmp (type, "https")) - return FALSE; + return false; else - return TRUE; + return true; } int @@ -1546,42 +1658,42 @@ server_port_check (int ssl_flag) char *perfd_time (double elapsed_time) { return fperfdata ("time", elapsed_time, "s", - thlds->warning?TRUE:FALSE, thlds->warning?thlds->warning->end:0, - thlds->critical?TRUE:FALSE, thlds->critical?thlds->critical->end:0, - TRUE, 0, TRUE, socket_timeout); + thlds->warning?true:false, thlds->warning?thlds->warning->end:0, + thlds->critical?true:false, thlds->critical?thlds->critical->end:0, + true, 0, true, socket_timeout); } char *perfd_time_connect (double elapsed_time_connect) { - return fperfdata ("time_connect", elapsed_time_connect, "s", FALSE, 0, FALSE, 0, FALSE, 0, TRUE, socket_timeout); + return fperfdata ("time_connect", elapsed_time_connect, "s", false, 0, false, 0, false, 0, true, socket_timeout); } char *perfd_time_ssl (double elapsed_time_ssl) { - return fperfdata ("time_ssl", elapsed_time_ssl, "s", FALSE, 0, FALSE, 0, FALSE, 0, TRUE, socket_timeout); + return fperfdata ("time_ssl", elapsed_time_ssl, "s", false, 0, false, 0, false, 0, true, socket_timeout); } char *perfd_time_headers (double elapsed_time_headers) { - return fperfdata ("time_headers", elapsed_time_headers, "s", FALSE, 0, FALSE, 0, FALSE, 0, TRUE, socket_timeout); + return fperfdata ("time_headers", elapsed_time_headers, "s", false, 0, false, 0, false, 0, true, socket_timeout); } char *perfd_time_firstbyte (double elapsed_time_firstbyte) { - return fperfdata ("time_firstbyte", elapsed_time_firstbyte, "s", FALSE, 0, FALSE, 0, FALSE, 0, TRUE, socket_timeout); + return fperfdata ("time_firstbyte", elapsed_time_firstbyte, "s", false, 0, false, 0, false, 0, true, socket_timeout); } char *perfd_time_transfer (double elapsed_time_transfer) { - return fperfdata ("time_transfer", elapsed_time_transfer, "s", FALSE, 0, FALSE, 0, FALSE, 0, TRUE, socket_timeout); + return fperfdata ("time_transfer", elapsed_time_transfer, "s", false, 0, false, 0, false, 0, true, socket_timeout); } char *perfd_size (int page_len) { return perfdata ("size", page_len, "B", - (min_page_len>0?TRUE:FALSE), min_page_len, - (min_page_len>0?TRUE:FALSE), 0, - TRUE, 0, FALSE, 0); + (min_page_len>0?true:false), min_page_len, + (min_page_len>0?true:false), 0, + true, 0, false, 0); } void diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index c893386..c26cd43 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c @@ -69,7 +69,6 @@ int process_arguments (int, char **); int validate_arguments (void); void print_usage (void); void print_help (void); -int is_pg_dbname (char *); int is_pg_logname (char *); int do_query (PGconn *, char *); @@ -347,10 +346,10 @@ process_arguments (int argc, char **argv) pgport = optarg; break; case 'd': /* database name */ - if (!is_pg_dbname (optarg)) /* checks length and valid chars */ - usage2 (_("Database name is not valid"), optarg); - else /* we know length, and know optarg is terminated, so us strcpy */ - snprintf(dbName, NAMEDATALEN, "%s", optarg); + if (strlen(optarg) >= NAMEDATALEN) { + usage2 (_("Database name exceeds the maximum length"), optarg); + } + snprintf(dbName, NAMEDATALEN, "%s", optarg); break; case 'l': /* login name */ if (!is_pg_logname (optarg)) @@ -414,45 +413,6 @@ validate_arguments () return OK; } - -/****************************************************************************** - -@@- - -is_pg_dbname - -&PROTO_is_pg_dbname; - -Given a database name, this function returns TRUE if the string -is a valid PostgreSQL database name, and returns false if it is -not. - -Valid PostgreSQL database names are less than &NAMEDATALEN; -characters long and consist of letters, numbers, and underscores. The -first character cannot be a number, however. - - --@@ -******************************************************************************/ - - - -int -is_pg_dbname (char *dbname) -{ - char txt[NAMEDATALEN]; - char tmp[NAMEDATALEN]; - if (strlen (dbname) > NAMEDATALEN - 1) - return (FALSE); - strncpy (txt, dbname, NAMEDATALEN - 1); - txt[NAMEDATALEN - 1] = 0; - if (sscanf (txt, "%[_a-zA-Z]%[^_a-zA-Z0-9-]", tmp, tmp) == 1) - return (TRUE); - if (sscanf (txt, "%[_a-zA-Z]%[_a-zA-Z0-9-]%[^_a-zA-Z0-9-]", tmp, tmp, tmp) == - 2) return (TRUE); - return (FALSE); -} - /** the tango program should eventually create an entity here based on the diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 2601ccd..d3968a2 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c @@ -1,31 +1,31 @@ /***************************************************************************** -* +* * Monitoring check_snmp plugin -* +* * License: GPL * Copyright (c) 1999-2007 Monitoring Plugins Development Team -* +* * Description: -* +* * This file contains the check_snmp plugin -* +* * Check status of remote machines and obtain system information via SNMP -* -* +* +* * 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 . -* -* +* +* *****************************************************************************/ const char *progname = "check_snmp"; @@ -90,6 +90,7 @@ char *thisarg (char *str); char *nextarg (char *str); void print_usage (void); void print_help (void); +char *multiply (char *str); #include "regex.h" char regex_expect[MAX_INPUT_BUFFER] = ""; @@ -154,6 +155,8 @@ double *previous_value; size_t previous_size = OID_COUNT_STEP; int perf_labels = 1; char* ip_version = ""; +double multiplier = 1.0; +char *fmtstr = ""; static char *fix_snmp_range(char *th) { @@ -316,7 +319,7 @@ main (int argc, char **argv) for (i = 0; i < numcontext; i++) { command_line[10 + i] = contextargs[i]; } - + for (i = 0; i < numauthpriv; i++) { command_line[10 + numcontext + i] = authpriv[i]; } @@ -330,7 +333,7 @@ main (int argc, char **argv) for (i = 0; i < numoids; i++) { command_line[10 + numcontext + numauthpriv + 1 + i] = oids[i]; - xasprintf(&cl_hidden_auth, "%s %s", cl_hidden_auth, oids[i]); + xasprintf(&cl_hidden_auth, "%s %s", cl_hidden_auth, oids[i]); } command_line[10 + numcontext + numauthpriv + 1 + numoids] = NULL; @@ -398,15 +401,15 @@ main (int argc, char **argv) is_counter=0; /* We strip out the datatype indicator for PHBs */ if (strstr (response, "Gauge: ")) { - show = strstr (response, "Gauge: ") + 7; - } + show = multiply (strstr (response, "Gauge: ") + 7); + } else if (strstr (response, "Gauge32: ")) { - show = strstr (response, "Gauge32: ") + 9; - } + show = multiply (strstr (response, "Gauge32: ") + 9); + } else if (strstr (response, "Counter32: ")) { show = strstr (response, "Counter32: ") + 11; is_counter=1; - if(!calculate_rate) + if(!calculate_rate) strcpy(type, "c"); } else if (strstr (response, "Counter64: ")) { @@ -416,7 +419,10 @@ main (int argc, char **argv) strcpy(type, "c"); } else if (strstr (response, "INTEGER: ")) { - show = strstr (response, "INTEGER: ") + 9; + show = multiply (strstr (response, "INTEGER: ") + 9); + if (fmtstr != "") { + conv = fmtstr; + } } else if (strstr (response, "OID: ")) { show = strstr (response, "OID: ") + 5; @@ -616,7 +622,7 @@ main (int argc, char **argv) state_string=malloc(string_length); if(state_string==NULL) die(STATE_UNKNOWN, _("Cannot malloc")); - + current_length=0; for(i=0; i 2) printf("State string=%s\n",state_string); - + /* This is not strictly the same as time now, but any subtle variations will cancel out */ np_state_write_string(current_time, state_string ); if(previous_state==NULL) { @@ -698,6 +704,8 @@ process_arguments (int argc, char **argv) {"perf-oids", no_argument, 0, 'O'}, {"ipv4", no_argument, 0, '4'}, {"ipv6", no_argument, 0, '6'}, + {"multiplier", required_argument, 0, 'M'}, + {"fmtstr", required_argument, 0, 'f'}, {0, 0, 0, 0} }; @@ -715,7 +723,7 @@ process_arguments (int argc, char **argv) } while (1) { - c = getopt_long (argc, argv, "nhvVO46t:c:w:H:C:o:e:E:d:D:s:t:R:r:l:u:p:m:P:N:L:U:a:x:A:X:z:", + c = getopt_long (argc, argv, "nhvVO46t:c:w:H:C:o:e:E:d:D:s:t:R:r:l:u:p:m:P:N:L:U:a:x:A:X:M:f:z:", longopts, &option); if (c == -1 || c == EOF) @@ -953,6 +961,16 @@ process_arguments (int argc, char **argv) if(verbose>2) printf("IPv6 detected! Will pass \"udp6:\" to snmpget.\n"); break; + case 'M': + if ( strspn( optarg, "0123456789.," ) == strlen( optarg ) ) { + multiplier=strtod(optarg,NULL); + } + break; + case 'f': + if (multiplier != 1.0) { + fmtstr=optarg; + } + break; } } @@ -1022,7 +1040,7 @@ validate_arguments () contextargs[0] = strdup ("-n"); contextargs[1] = strdup (context); } - + if (seclevel == NULL) xasprintf(&seclevel, "noAuthNoPriv"); @@ -1143,6 +1161,44 @@ nextarg (char *str) +/* multiply result (values 0 < n < 1 work as divider) */ +char * +multiply (char *str) +{ + char *endptr; + double val; + char *conv = "%f"; + + if(verbose>2) + printf(" multiply input: %s\n", str); + + val = strtod (str, &endptr); + if ((val == 0.0) && (endptr == str)) { + if(multiplier != 1) { + die(STATE_UNKNOWN, _("multiplier set (%.1f), but input is not a number: %s"), multiplier, str); + } + return str; + } + + if(verbose>2) + printf(" multiply extracted double: %f\n", val); + val *= multiplier; + if (fmtstr != "") { + conv = fmtstr; + } + if (val == (int)val) { + sprintf(str, "%.0f", val); + } else { + if(verbose>2) + printf(" multiply using format: %s\n", conv); + sprintf(str, conv, val); + } + if(verbose>2) + printf(" multiply result: %s\n", str); + return str; +} + + void print_help (void) { @@ -1235,6 +1291,10 @@ print_help (void) printf (" %s\n", _("Units label(s) for output data (e.g., 'sec.').")); printf (" %s\n", "-D, --output-delimiter=STRING"); printf (" %s\n", _("Separates output on multiple OID requests")); + printf (" %s\n", "-M, --multiplier=FLOAT"); + printf (" %s\n", _("Multiplies current value, 0 < n < 1 works as divider, defaults to 1")); + printf (" %s\n", "-f, --fmtstr=STRING"); + printf (" %s\n", _("C-style format string for float values (see option -M)")); printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); printf (" %s\n", _("NOTE the final timeout value is calculated using this formula: timeout_interval * retries + 5")); @@ -1287,4 +1347,5 @@ print_usage (void) printf ("[-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter]\n"); printf ("[-m miblist] [-P snmp version] [-N context] [-L seclevel] [-U secname]\n"); printf ("[-a authproto] [-A authpasswd] [-x privproto] [-X privpasswd] [-4|6]\n"); + printf ("[-M multiplier [-f format]]\n"); } diff --git a/plugins/picohttpparser/Makefile.in b/plugins/picohttpparser/Makefile.in index b2a9704..e6ecccc 100644 --- a/plugins/picohttpparser/Makefile.in +++ b/plugins/picohttpparser/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.3 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -267,8 +267,6 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp \ $(top_srcdir)/build-aux/mkinstalldirs @@ -297,6 +295,8 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ DBILIBS = @DBILIBS@ DEFS = @DEFS@ @@ -316,6 +316,7 @@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ EXTRAS = @EXTRAS@ EXTRAS_ROOT = @EXTRAS_ROOT@ @@ -1550,7 +1551,6 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/plugins/t/check_curl.t b/plugins/t/check_curl.t index 693f4b2..eae98cc 100644 --- a/plugins/t/check_curl.t +++ b/plugins/t/check_curl.t @@ -1,15 +1,22 @@ #! /usr/bin/perl -w -I .. # -# HyperText Transfer Protocol (HTTP) Test via check_http +# HyperText Transfer Protocol (HTTP) Test via check_curl # # use strict; use Test::More; use POSIX qw/mktime strftime/; -use NPTest; -plan tests => 57; +use vars qw($tests $has_ipv6); + +BEGIN { + use NPTest; + $has_ipv6 = NPTest::has_ipv6(); + $tests = $has_ipv6 ? 59 : 57; + plan tests => $tests; +} + my $successOutput = '/OK.*HTTP.*second/'; @@ -18,6 +25,7 @@ my $plugin = 'check_http'; $plugin = 'check_curl' if $0 =~ m/check_curl/mx; my $host_tcp_http = getTestParameter("NP_HOST_TCP_HTTP", "A host providing the HTTP Service (a web server)", "localhost"); +my $host_tcp_http_ipv6 = getTestParameter("NP_HOST_TCP_HTTP_IPV6", "An IPv6 address providing a HTTP Service (a web server)", "::1"); my $host_tls_http = getTestParameter("NP_HOST_TLS_HTTP", "A host providing the HTTPS Service (a tls web server)", "localhost"); my $host_tls_cert = getTestParameter("NP_HOST_TLS_CERT", "the common name of the certificate.", "localhost"); my $host_nonresponsive = getTestParameter("NP_HOST_NONRESPONSIVE", "The hostname of system not responsive to network requests", "10.0.0.1"); @@ -31,26 +39,35 @@ my $faketime = -x '/usr/bin/faketime' ? 1 : 0; $res = NPTest->testCmd( - "./$plugin $host_tcp_http -wt 300 -ct 600" - ); + "./$plugin $host_tcp_http -wt 300 -ct 600" + ); cmp_ok( $res->return_code, '==', 0, "Webserver $host_tcp_http responded" ); like( $res->output, $successOutput, "Output OK" ); +if ($has_ipv6) { + # Test for IPv6 formatting + $res = NPTest->testCmd( + "./$plugin -I $host_tcp_http_ipv6 -wt 300 -ct 600" + ); + cmp_ok( $res->return_code, '==', 0, "IPv6 URL formatting is working" ); + like( $res->output, $successOutput, "Output OK" ); +} + $res = NPTest->testCmd( - "./$plugin $host_tcp_http -wt 300 -ct 600 -v -v -v -k 'bob:there' -k 'carl:frown'" - ); + "./$plugin $host_tcp_http -wt 300 -ct 600 -v -v -v -k 'bob:there' -k 'carl:frown'" + ); like( $res->output, '/bob:there\r\ncarl:frown\r\n/', "Got headers with multiple -k options" ); $res = NPTest->testCmd( - "./$plugin $host_nonresponsive -wt 1 -ct 2 -t 3" - ); + "./$plugin $host_nonresponsive -wt 1 -ct 2 -t 3" + ); cmp_ok( $res->return_code, '==', 2, "Webserver $host_nonresponsive not responding" ); # was CRITICAL only, but both check_curl and check_http print HTTP CRITICAL (puzzle?!) like( $res->output, "/HTTP CRITICAL - Invalid HTTP response received from host on port 80: cURL returned 28 - Connection timed out after/", "Output OK"); $res = NPTest->testCmd( - "./$plugin $hostname_invalid -wt 1 -ct 2" - ); + "./$plugin $hostname_invalid -wt 1 -ct 2" + ); cmp_ok( $res->return_code, '==', 2, "Webserver $hostname_invalid not valid" ); # The first part of the message comes from the OS catalogue, so cannot check this. # On Debian, it is Name or service not known, on Darwin, it is No address associated with nodename diff --git a/plugins/t/check_http.t b/plugins/t/check_http.t index 0c86622..1ca52f6 100644 --- a/plugins/t/check_http.t +++ b/plugins/t/check_http.t @@ -103,7 +103,7 @@ SKIP: { cmp_ok( $res->return_code, "==", 0, "And also when not found"); } SKIP: { - skip "No internet access", 23 if $internet_access eq "no"; + skip "No internet access", 22 if $internet_access eq "no"; $res = NPTest->testCmd( "./$plugin --ssl $host_tls_http" diff --git a/plugins/tests/check_curl.t b/plugins/tests/check_curl.t index aa72ef6..72f2b7c 100755 --- a/plugins/tests/check_curl.t +++ b/plugins/tests/check_curl.t @@ -21,7 +21,7 @@ use FindBin qw($Bin); $ENV{'LC_TIME'} = "C"; -my $common_tests = 72; +my $common_tests = 73; my $ssl_only_tests = 8; # Check that all dependent modules are available eval "use HTTP::Daemon 6.01;"; @@ -200,6 +200,14 @@ sub run_server { $c->send_basic_header; $c->send_crlf; $c->send_response(HTTP::Response->new( 200, 'OK', undef, $r->header ('Host'))); + } elsif ($r->url->path eq "/chunked") { + my $chunks = ["chunked", "encoding", "test\n"]; + $c->send_response(HTTP::Response->new( 200, 'OK', undef, sub { + my $chunk = shift @{$chunks}; + return unless $chunk; + sleep(1); + return($chunk); + })); } else { $c->send_error(HTTP::Status->RC_FORBIDDEN); } @@ -472,7 +480,8 @@ sub run_common_tests { local $SIG{ALRM} = sub { die "alarm\n" }; alarm(2); $result = NPTest->testCmd( $cmd ); - alarm(0); }; + }; + alarm(0); isnt( $@, "alarm\n", $cmd ); is( $result->return_code, 0, $cmd ); @@ -482,7 +491,8 @@ sub run_common_tests { local $SIG{ALRM} = sub { die "alarm\n" }; alarm(2); $result = NPTest->testCmd( $cmd ); - alarm(0); }; + }; + alarm(0); isnt( $@, "alarm\n", $cmd ); isnt( $result->return_code, 0, $cmd ); @@ -508,4 +518,9 @@ sub run_common_tests { }; is( $@, "", $cmd ); + $cmd = "$command -u /chunked -s 'chunkedencodingtest' -d 'Transfer-Encoding: chunked'"; + eval { + $result = NPTest->testCmd( $cmd, 5 ); + }; + is( $@, "", $cmd ); } diff --git a/plugins/tests/check_http.t b/plugins/tests/check_http.t index ea11b2a..d766ac3 100755 --- a/plugins/tests/check_http.t +++ b/plugins/tests/check_http.t @@ -12,7 +12,7 @@ use FindBin qw($Bin); $ENV{'LC_TIME'} = "C"; -my $common_tests = 70; +my $common_tests = 71; my $virtual_port_tests = 8; my $ssl_only_tests = 12; # Check that all dependent modules are available @@ -190,6 +190,14 @@ sub run_server { $c->send_basic_header; $c->send_crlf; $c->send_response(HTTP::Response->new( 200, 'OK', undef, $r->header ('Host'))); + } elsif ($r->url->path eq "/chunked") { + my $chunks = ["chunked", "encoding", "test\n"]; + $c->send_response(HTTP::Response->new( 200, 'OK', undef, sub { + my $chunk = shift @{$chunks}; + return unless $chunk; + sleep(1); + return($chunk); + })); } else { $c->send_error(HTTP::Status->RC_FORBIDDEN); } @@ -497,4 +505,9 @@ sub run_common_tests { }; is( $@, "", $cmd ); + $cmd = "$command -u /chunked -s 'chunkedencodingtest' -d 'Transfer-Encoding: chunked'"; + eval { + $result = NPTest->testCmd( $cmd, 5 ); + }; + is( $@, "", $cmd ); } diff --git a/plugins/tests/check_snmp.t b/plugins/tests/check_snmp.t index 0a77fa8..bc03ec6 100755 --- a/plugins/tests/check_snmp.t +++ b/plugins/tests/check_snmp.t @@ -9,7 +9,7 @@ use NPTest; use FindBin qw($Bin); use POSIX qw/strftime/; -my $tests = 73; +my $tests = 81; # Check that all dependent modules are available eval { require NetSNMP::OID; @@ -57,9 +57,9 @@ if ($pid) { exec("snmpd -c tests/conf/snmpd.conf -C -f -r udp:$port_snmp"); } -END { +END { foreach my $pid (@pids) { - if ($pid) { print "Killing $pid\n"; kill "INT", $pid } + if ($pid) { print "Killing $pid\n"; kill "INT", $pid } } }; @@ -268,3 +268,19 @@ like($res->output, '/SNMP WARNING - \d+ \*-4\* | iso.3.6.1.4.1.8072.3.2.67.10=\d $res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.10,.1.3.6.1.4.1.8072.3.2.67.17 -w 1,2 -c 1" ); is($res->return_code, 2, "Multiple OIDs with some thresholds" ); like($res->output, '/SNMP CRITICAL - \*\d+\* \*-4\* | iso.3.6.1.4.1.8072.3.2.67.10=\d+c;1;2 iso.3.6.1.4.1.8072.3.2.67.17=-4;;/', "Multiple OIDs with thresholds output" ); + +$res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.19"); +is($res->return_code, 0, "Test plain .1.3.6.1.4.1.8072.3.2.67.6 RC" ); +is($res->output,'SNMP OK - 42 | iso.3.6.1.4.1.8072.3.2.67.19=42 ', "Test plain value of .1.3.6.1.4.1.8072.3.2.67.1" ); + +$res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.19 -M .1"); +is($res->return_code, 0, "Test multiply RC" ); +is($res->output,'SNMP OK - 4.200000 | iso.3.6.1.4.1.8072.3.2.67.19=4.200000 ' , "Test multiply .1 output" ); + +$res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.19 --multiplier=.1 -f '%.2f' "); +is($res->return_code, 0, "Test multiply RC + format" ); +is($res->output, 'SNMP OK - 4.20 | iso.3.6.1.4.1.8072.3.2.67.19=4.20 ', "Test multiply .1 output + format" ); + +$res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.19 --multiplier=.1 -f '%.2f' -w 1"); +is($res->return_code, 1, "Test multiply RC + format + thresholds" ); +is($res->output, 'SNMP WARNING - *4.20* | iso.3.6.1.4.1.8072.3.2.67.19=4.20;1 ', "Test multiply .1 output + format + thresholds" ); diff --git a/plugins/tests/check_snmp_agent.pl b/plugins/tests/check_snmp_agent.pl index 0e41d57..38912e9 100644 --- a/plugins/tests/check_snmp_agent.pl +++ b/plugins/tests/check_snmp_agent.pl @@ -32,11 +32,11 @@ my $multilin5 = 'And now have fun with with this: "C:\\" because we\'re not done yet!'; # Next are arrays of indexes (Type, initial value and increments) -# 0..16 <---- please update comment when adding/removing fields -my @fields = (ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_UNSIGNED, ASN_UNSIGNED, ASN_COUNTER, ASN_COUNTER64, ASN_UNSIGNED, ASN_COUNTER, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_INTEGER, ASN_OCTET_STR, ASN_OCTET_STR ); -my @values = ($multiline, $multilin2, $multilin3, $multilin4, $multilin5, 4294965296, 1000, 4294965296, uint64("18446744073709351616"), int(rand(2**32)), 64000, "stringtests", "3.5", "87.4startswithnumberbutshouldbestring", '555"I said"', 'CUSTOM CHECK OK: foo is 12345', -2, '-4', '-6.6' ); +# 0..19 <---- please update comment when adding/removing fields +my @fields = (ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_UNSIGNED, ASN_UNSIGNED, ASN_COUNTER, ASN_COUNTER64, ASN_UNSIGNED, ASN_COUNTER, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_INTEGER, ASN_OCTET_STR, ASN_OCTET_STR, ASN_INTEGER ); +my @values = ($multiline, $multilin2, $multilin3, $multilin4, $multilin5, 4294965296, 1000, 4294965296, uint64("18446744073709351616"), int(rand(2**32)), 64000, "stringtests", "3.5", "87.4startswithnumberbutshouldbestring", '555"I said"', 'CUSTOM CHECK OK: foo is 12345', -2, '-4', '-6.6', 42 ); # undef increments are randomized -my @incrts = (undef, undef, undef, undef, undef, 1000, -500, 1000, 100000, undef, 666, undef, undef, undef, undef, undef, -1, undef, undef ); +my @incrts = (undef, undef, undef, undef, undef, 1000, -500, 1000, 100000, undef, 666, undef, undef, undef, undef, undef, -1, undef, undef, 0 ); # Number of elements in our OID my $oidelts; diff --git a/plugins/utils.c b/plugins/utils.c index 17dd581..b4214c6 100644 --- a/plugins/utils.c +++ b/plugins/utils.c @@ -615,27 +615,27 @@ char *perfdata_uint64 (const char *label, char *data = NULL; if (strpbrk (label, "'= ")) - xasprintf (&data, "'%s'=%ld%s;", label, val, uom); + xasprintf (&data, "'%s'=%" PRIu64 "%s;", label, val, uom); else - xasprintf (&data, "%s=%ld%s;", label, val, uom); + xasprintf (&data, "%s=%" PRIu64 "%s;", label, val, uom); if (warnp) - xasprintf (&data, "%s%lu;", data, warn); + xasprintf (&data, "%s%" PRIu64 ";", data, warn); else xasprintf (&data, "%s;", data); if (critp) - xasprintf (&data, "%s%lu;", data, crit); + xasprintf (&data, "%s%" PRIu64 ";", data, crit); else xasprintf (&data, "%s;", data); if (minp) - xasprintf (&data, "%s%lu;", data, minv); + xasprintf (&data, "%s%" PRIu64 ";", data, minv); else xasprintf (&data, "%s;", data); if (maxp) - xasprintf (&data, "%s%lu", data, maxv); + xasprintf (&data, "%s%" PRIu64, data, maxv); return data; } @@ -656,27 +656,27 @@ char *perfdata_int64 (const char *label, char *data = NULL; if (strpbrk (label, "'= ")) - xasprintf (&data, "'%s'=%ld%s;", label, val, uom); + xasprintf (&data, "'%s'=%" PRId64 "%s;", label, val, uom); else - xasprintf (&data, "%s=%ld%s;", label, val, uom); + xasprintf (&data, "%s=%" PRId64 "%s;", label, val, uom); if (warnp) - xasprintf (&data, "%s%ld;", data, warn); + xasprintf (&data, "%s%" PRId64 ";", data, warn); else xasprintf (&data, "%s;", data); if (critp) - xasprintf (&data, "%s%ld;", data, crit); + xasprintf (&data, "%s%" PRId64 ";", data, crit); else xasprintf (&data, "%s;", data); if (minp) - xasprintf (&data, "%s%ld;", data, minv); + xasprintf (&data, "%s%" PRId64 ";", data, minv); else xasprintf (&data, "%s;", data); if (maxp) - xasprintf (&data, "%s%ld", data, maxv); + xasprintf (&data, "%s%" PRId64, data, maxv); return data; } diff --git a/po/de.po b/po/de.po index 40a411d..23854f9 100644 --- a/po/de.po +++ b/po/de.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: nagiosplug\n" "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" -"POT-Creation-Date: 2022-10-19 14:57+0200\n" +"POT-Creation-Date: 2023-02-01 13:48+0000\n" "PO-Revision-Date: 2004-12-23 17:46+0100\n" "Last-Translator: <>\n" "Language-Team: English \n" @@ -22,22 +22,22 @@ msgstr "" #: plugins/check_by_ssh.c:88 plugins/check_cluster.c:76 plugins/check_dig.c:91 #: plugins/check_disk.c:201 plugins/check_dns.c:106 plugins/check_dummy.c:52 #: plugins/check_fping.c:95 plugins/check_game.c:82 plugins/check_hpjd.c:105 -#: plugins/check_http.c:173 plugins/check_ldap.c:118 plugins/check_load.c:128 +#: plugins/check_http.c:174 plugins/check_ldap.c:118 plugins/check_load.c:128 #: plugins/check_mrtgtraf.c:83 plugins/check_mysql.c:124 #: plugins/check_nagios.c:91 plugins/check_nt.c:127 plugins/check_ntp.c:780 #: plugins/check_ntp_peer.c:575 plugins/check_ntp_time.c:557 #: plugins/check_nwstat.c:173 plugins/check_overcr.c:102 -#: plugins/check_pgsql.c:175 plugins/check_ping.c:97 plugins/check_procs.c:172 +#: plugins/check_pgsql.c:174 plugins/check_ping.c:97 plugins/check_procs.c:172 #: plugins/check_radius.c:172 plugins/check_real.c:80 plugins/check_smtp.c:143 -#: plugins/check_snmp.c:243 plugins/check_ssh.c:74 plugins/check_swap.c:118 +#: plugins/check_snmp.c:246 plugins/check_ssh.c:74 plugins/check_swap.c:118 #: plugins/check_tcp.c:222 plugins/check_time.c:78 plugins/check_ups.c:122 #: plugins/check_users.c:84 plugins/negate.c:210 plugins-root/check_dhcp.c:270 msgid "Could not parse arguments" msgstr "Argumente konnten nicht ausgewertet werden" #: plugins/check_by_ssh.c:92 plugins/check_dig.c:85 plugins/check_dns.c:99 -#: plugins/check_nagios.c:95 plugins/check_pgsql.c:181 plugins/check_ping.c:101 -#: plugins/check_procs.c:188 plugins/check_snmp.c:343 plugins/negate.c:78 +#: plugins/check_nagios.c:95 plugins/check_pgsql.c:180 plugins/check_ping.c:101 +#: plugins/check_procs.c:188 plugins/check_snmp.c:346 plugins/negate.c:78 msgid "Cannot catch SIGALRM" msgstr "Konnte SIGALRM nicht erhalten" @@ -66,15 +66,15 @@ msgstr "SSH WARNING: Konnte %s nicht msgid "%s: Error parsing output\n" msgstr "" -#: plugins/check_by_ssh.c:242 plugins/check_disk.c:521 plugins/check_http.c:289 -#: plugins/check_ldap.c:334 plugins/check_pgsql.c:315 plugins/check_procs.c:437 +#: plugins/check_by_ssh.c:242 plugins/check_disk.c:521 plugins/check_http.c:292 +#: plugins/check_ldap.c:334 plugins/check_pgsql.c:314 plugins/check_procs.c:437 #: plugins/check_radius.c:319 plugins/check_real.c:357 plugins/check_smtp.c:591 -#: plugins/check_snmp.c:779 plugins/check_ssh.c:140 plugins/check_tcp.c:519 +#: plugins/check_snmp.c:787 plugins/check_ssh.c:140 plugins/check_tcp.c:519 #: plugins/check_time.c:302 plugins/check_ups.c:559 plugins/negate.c:160 msgid "Timeout interval must be a positive integer" msgstr "Timeout interval muss ein positiver Integer sein" -#: plugins/check_by_ssh.c:254 plugins/check_pgsql.c:345 +#: plugins/check_by_ssh.c:254 plugins/check_pgsql.c:344 #: plugins/check_radius.c:283 plugins/check_real.c:328 plugins/check_smtp.c:516 #: plugins/check_tcp.c:525 plugins/check_time.c:296 plugins/check_ups.c:521 msgid "Port must be a positive integer" @@ -236,7 +236,7 @@ msgid "" msgstr "" #: plugins/check_by_ssh.c:475 plugins/check_cluster.c:271 -#: plugins/check_dig.c:364 plugins/check_disk.c:936 plugins/check_http.c:1728 +#: plugins/check_dig.c:364 plugins/check_disk.c:936 plugins/check_http.c:1840 #: plugins/check_nagios.c:312 plugins/check_ntp.c:879 #: plugins/check_ntp_peer.c:733 plugins/check_ntp_time.c:642 #: plugins/check_procs.c:763 plugins/negate.c:249 plugins/urlize.c:179 @@ -246,14 +246,14 @@ msgstr "" #: plugins/check_by_ssh.c:490 plugins/check_cluster.c:284 #: plugins/check_dig.c:376 plugins/check_disk.c:953 plugins/check_dns.c:617 #: plugins/check_dummy.c:122 plugins/check_fping.c:524 plugins/check_game.c:331 -#: plugins/check_hpjd.c:439 plugins/check_http.c:1766 plugins/check_ldap.c:511 +#: plugins/check_hpjd.c:439 plugins/check_http.c:1878 plugins/check_ldap.c:511 #: plugins/check_load.c:372 plugins/check_mrtg.c:382 plugins/check_mysql.c:584 #: plugins/check_nagios.c:323 plugins/check_nt.c:797 plugins/check_ntp.c:898 #: plugins/check_ntp_peer.c:753 plugins/check_ntp_time.c:651 #: plugins/check_nwstat.c:1685 plugins/check_overcr.c:467 -#: plugins/check_pgsql.c:588 plugins/check_ping.c:617 plugins/check_procs.c:786 +#: plugins/check_pgsql.c:548 plugins/check_ping.c:617 plugins/check_procs.c:786 #: plugins/check_radius.c:396 plugins/check_real.c:452 plugins/check_smtp.c:860 -#: plugins/check_snmp.c:1284 plugins/check_ssh.c:325 plugins/check_swap.c:610 +#: plugins/check_snmp.c:1344 plugins/check_ssh.c:325 plugins/check_swap.c:610 #: plugins/check_tcp.c:710 plugins/check_time.c:371 plugins/check_ups.c:663 #: plugins/check_users.c:262 plugins/check_ide_smart.c:606 plugins/negate.c:273 #: plugins/urlize.c:196 plugins-root/check_dhcp.c:1394 @@ -303,11 +303,11 @@ msgid "commas" msgstr "" #: plugins/check_cluster.c:267 plugins/check_game.c:318 -#: plugins/check_http.c:1710 plugins/check_ldap.c:497 plugins/check_mrtg.c:363 +#: plugins/check_http.c:1822 plugins/check_ldap.c:497 plugins/check_mrtg.c:363 #: plugins/check_mrtgtraf.c:361 plugins/check_mysql.c:573 #: plugins/check_nt.c:781 plugins/check_ntp.c:875 plugins/check_ntp_peer.c:724 #: plugins/check_ntp_time.c:633 plugins/check_nwstat.c:1670 -#: plugins/check_overcr.c:456 plugins/check_snmp.c:1255 +#: plugins/check_overcr.c:456 plugins/check_snmp.c:1315 #: plugins/check_swap.c:599 plugins/check_ups.c:645 #: plugins/check_ide_smart.c:580 plugins/negate.c:255 #: plugins-root/check_icmp.c:1605 @@ -412,9 +412,9 @@ msgstr "%s [%s nicht gefunden]" #: plugins/check_disk.c:223 plugins/check_disk.c:968 plugins/check_dns.c:295 #: plugins/check_dummy.c:74 plugins/check_mysql.c:310 #: plugins/check_nagios.c:104 plugins/check_nagios.c:168 -#: plugins/check_nagios.c:172 plugins/check_pgsql.c:611 -#: plugins/check_pgsql.c:628 plugins/check_pgsql.c:637 -#: plugins/check_pgsql.c:652 plugins/check_procs.c:351 +#: plugins/check_nagios.c:172 plugins/check_pgsql.c:571 +#: plugins/check_pgsql.c:588 plugins/check_pgsql.c:597 +#: plugins/check_pgsql.c:612 plugins/check_procs.c:351 #, c-format msgid "CRITICAL" msgstr "CRITICAL" @@ -432,7 +432,7 @@ msgstr "konnte keinen Speicher f #: plugins/check_disk.c:629 plugins/check_disk.c:670 plugins/check_disk.c:678 #: plugins/check_disk.c:686 plugins/check_disk.c:690 plugins/check_disk.c:732 #: plugins/check_disk.c:738 plugins/check_disk.c:757 plugins/check_dummy.c:77 -#: plugins/check_dummy.c:80 plugins/check_pgsql.c:653 plugins/check_procs.c:506 +#: plugins/check_dummy.c:80 plugins/check_pgsql.c:613 plugins/check_procs.c:506 #, c-format msgid "UNKNOWN" msgstr "UNKNOWN" @@ -698,14 +698,14 @@ msgid "server %s is not authoritative for %s" msgstr "Server %s ist nicht autoritativ für %s" #: plugins/check_dns.c:291 plugins/check_dummy.c:68 plugins/check_nagios.c:182 -#: plugins/check_pgsql.c:648 plugins/check_procs.c:344 +#: plugins/check_pgsql.c:608 plugins/check_procs.c:344 #, c-format msgid "OK" msgstr "OK" #: plugins/check_dns.c:293 plugins/check_dummy.c:71 plugins/check_mysql.c:307 -#: plugins/check_nagios.c:182 plugins/check_pgsql.c:617 -#: plugins/check_pgsql.c:622 plugins/check_pgsql.c:650 +#: plugins/check_nagios.c:182 plugins/check_pgsql.c:577 +#: plugins/check_pgsql.c:582 plugins/check_pgsql.c:610 #: plugins/check_procs.c:346 #, c-format msgid "WARNING" @@ -945,7 +945,7 @@ msgstr "FPING %s - %s (verloren=%.0f%% )|%s\n" #: plugins/check_fping.c:345 plugins/check_fping.c:351 plugins/check_hpjd.c:345 #: plugins/check_hpjd.c:376 plugins/check_mysql.c:386 plugins/check_mysql.c:473 #: plugins/check_ntp.c:719 plugins/check_ntp_peer.c:497 -#: plugins/check_ntp_time.c:498 plugins/check_pgsql.c:339 +#: plugins/check_ntp_time.c:498 plugins/check_pgsql.c:338 #: plugins/check_ping.c:301 plugins/check_ping.c:424 plugins/check_radius.c:275 #: plugins/check_real.c:315 plugins/check_real.c:377 plugins/check_smtp.c:509 #: plugins/check_smtp.c:654 plugins/check_ssh.c:162 plugins/check_time.c:240 @@ -954,7 +954,7 @@ msgid "Invalid hostname/address" msgstr "Ungültige(r) Hostname/Adresse" #: plugins/check_fping.c:364 plugins/check_ldap.c:400 plugins/check_ping.c:252 -#: plugins-root/check_icmp.c:469 +#: plugins-root/check_icmp.c:477 msgid "IPv6 support not available\n" msgstr "" @@ -1019,7 +1019,7 @@ msgid "critical threshold pair" msgstr "Critical threshold muss ein Integer sein" #: plugins/check_fping.c:495 -msgid "Return OK after first successfull reply" +msgid "Return OK after first successful reply" msgstr "" #: plugins/check_fping.c:497 @@ -1212,603 +1212,608 @@ msgstr "" msgid "Disable paper check " msgstr "" -#: plugins/check_http.c:195 +#: plugins/check_http.c:196 msgid "file does not exist or is not readable" msgstr "" -#: plugins/check_http.c:321 plugins/check_http.c:326 plugins/check_http.c:332 +#: plugins/check_http.c:324 plugins/check_http.c:329 plugins/check_http.c:335 #: plugins/check_smtp.c:605 plugins/check_tcp.c:590 plugins/check_tcp.c:595 #: plugins/check_tcp.c:601 msgid "Invalid certificate expiration period" msgstr "Ungültiger Zertifikatsablauftermin" -#: plugins/check_http.c:375 +#: plugins/check_http.c:378 msgid "" "Invalid option - Valid SSL/TLS versions: 2, 3, 1, 1.1, 1.2 (with optional " "'+' suffix)" msgstr "" -#: plugins/check_http.c:381 plugins/check_tcp.c:614 plugins/check_tcp.c:623 +#: plugins/check_http.c:384 plugins/check_tcp.c:614 plugins/check_tcp.c:623 #, fuzzy msgid "Invalid option - SSL is not available" msgstr "Ungültige Option - SSL ist nicht verfügbar\n" -#: plugins/check_http.c:389 +#: plugins/check_http.c:392 msgid "Invalid max_redirs count" msgstr "" -#: plugins/check_http.c:409 +#: plugins/check_http.c:412 msgid "Invalid onredirect option" msgstr "" -#: plugins/check_http.c:411 +#: plugins/check_http.c:414 #, c-format msgid "option f:%d \n" msgstr "Option f:%d \n" -#: plugins/check_http.c:446 +#: plugins/check_http.c:449 msgid "Invalid port number" msgstr "Ungültige Portnummer" -#: plugins/check_http.c:504 +#: plugins/check_http.c:507 #, c-format msgid "Could Not Compile Regular Expression: %s" msgstr "" -#: plugins/check_http.c:518 plugins/check_ntp.c:732 +#: plugins/check_http.c:521 plugins/check_ntp.c:732 #: plugins/check_ntp_peer.c:513 plugins/check_ntp_time.c:517 #: plugins/check_smtp.c:634 plugins/check_ssh.c:151 plugins/check_tcp.c:491 msgid "IPv6 support not available" msgstr "IPv6 Unterstützung nicht vorhanden" -#: plugins/check_http.c:586 plugins/check_ping.c:428 +#: plugins/check_http.c:589 plugins/check_ping.c:428 msgid "You must specify a server address or host name" msgstr "Hostname oder Serveradresse muss angegeben werden" -#: plugins/check_http.c:603 +#: plugins/check_http.c:606 msgid "" "If you use a client certificate you must also specify a private key file" msgstr "" -#: plugins/check_http.c:730 plugins/check_http.c:898 +#: plugins/check_http.c:733 plugins/check_http.c:901 #, fuzzy msgid "HTTP UNKNOWN - Memory allocation error\n" msgstr "HTTP UNKNOWN - Konnte·url·nicht·zuweisen\n" -#: plugins/check_http.c:802 +#: plugins/check_http.c:805 #, fuzzy, c-format msgid "%sServer date unknown, " msgstr "HTTP UNKNOWN - Serverdatum unbekannt\n" -#: plugins/check_http.c:805 +#: plugins/check_http.c:808 #, fuzzy, c-format msgid "%sDocument modification date unknown, " msgstr "HTTP CRITICAL - Datum der letzten Änderung unbekannt\n" -#: plugins/check_http.c:812 +#: plugins/check_http.c:815 #, fuzzy, c-format msgid "%sServer date \"%100s\" unparsable, " msgstr "HTTP CRITICAL - Serverdatum \"%100s\" konnte nicht verarbeitet werden" -#: plugins/check_http.c:815 +#: plugins/check_http.c:818 #, fuzzy, c-format msgid "%sDocument date \"%100s\" unparsable, " msgstr "" "HTTP CRITICAL - Dokumentendatum \"%100s\" konnte nicht verarbeitet werden" -#: plugins/check_http.c:818 +#: plugins/check_http.c:821 #, fuzzy, c-format msgid "%sDocument is %d seconds in the future, " msgstr "HTTP CRITICAL - Dokumentendatum ist %d Sekunden in der Zukunft\n" -#: plugins/check_http.c:823 +#: plugins/check_http.c:826 #, fuzzy, c-format msgid "%sLast modified %.1f days ago, " msgstr "HTTP CRITICAL - Letzte Änderung vor %.1f Tagen\n" -#: plugins/check_http.c:826 +#: plugins/check_http.c:829 #, fuzzy, c-format msgid "%sLast modified %d:%02d:%02d ago, " msgstr "HTTP CRITICAL - Letzte Änderung vor %d:%02d:%02d \n" -#: plugins/check_http.c:940 +#: plugins/check_http.c:943 msgid "HTTP CRITICAL - Unable to open TCP socket\n" msgstr "HTTP CRITICAL - Konnte TCP socket nicht öffnen\n" -#: plugins/check_http.c:1126 +#: plugins/check_http.c:1103 +#, fuzzy +msgid "HTTP UNKNOWN - Could not allocate memory for full_page\n" +msgstr "HTTP UNKNOWN - Konnte·url·nicht·zuweisen\n" + +#: plugins/check_http.c:1120 msgid "HTTP CRITICAL - Error on receive\n" msgstr "HTTP CRITICAL - Fehler beim Empfangen\n" -#: plugins/check_http.c:1136 +#: plugins/check_http.c:1125 #, fuzzy msgid "HTTP CRITICAL - No data received from host\n" msgstr "HTTP CRITICAL - Keine Daten empfangen\n" -#: plugins/check_http.c:1187 +#: plugins/check_http.c:1176 #, fuzzy, c-format msgid "Invalid HTTP response received from host: %s\n" msgstr "Ungültige HTTP Antwort von Host empfangen\n" -#: plugins/check_http.c:1191 +#: plugins/check_http.c:1180 #, fuzzy, c-format msgid "Invalid HTTP response received from host on port %d: %s\n" msgstr "Ungültige HTTP Antwort von Host erhalten auf Port %d\n" -#: plugins/check_http.c:1194 plugins/check_http.c:1346 +#: plugins/check_http.c:1183 plugins/check_http.c:1376 #, c-format msgid "" "%s\n" "%s" msgstr "" -#: plugins/check_http.c:1202 +#: plugins/check_http.c:1191 #, fuzzy, c-format msgid "Status line output matched \"%s\" - " msgstr "HTTP OK: Statusausgabe passt auf \"%s\"\n" -#: plugins/check_http.c:1213 +#: plugins/check_http.c:1202 #, c-format msgid "HTTP CRITICAL: Invalid Status Line (%s)\n" msgstr "HTTP CRITICAL: Ungültige Statusmeldung (%s)\n" -#: plugins/check_http.c:1220 +#: plugins/check_http.c:1209 #, c-format msgid "HTTP CRITICAL: Invalid Status (%s)\n" msgstr "HTTP CRITICAL: Ungültiger Status (%s)\n" -#: plugins/check_http.c:1224 plugins/check_http.c:1229 -#: plugins/check_http.c:1239 plugins/check_http.c:1243 +#: plugins/check_http.c:1213 plugins/check_http.c:1218 +#: plugins/check_http.c:1228 plugins/check_http.c:1232 #, c-format msgid "%s - " msgstr "" -#: plugins/check_http.c:1262 +#: plugins/check_http.c:1260 #, fuzzy, c-format msgid "%sheader '%s' not found on '%s://%s:%d%s', " msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n" -#: plugins/check_http.c:1274 +#: plugins/check_http.c:1303 #, fuzzy, c-format msgid "%sstring '%s' not found on '%s://%s:%d%s', " msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n" -#: plugins/check_http.c:1287 +#: plugins/check_http.c:1317 #, fuzzy, c-format msgid "%spattern not found, " msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n" -#: plugins/check_http.c:1289 +#: plugins/check_http.c:1319 #, fuzzy, c-format msgid "%spattern found, " msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n" -#: plugins/check_http.c:1295 +#: plugins/check_http.c:1325 #, fuzzy, c-format msgid "%sExecute Error: %s, " msgstr "HTTP CRITICAL - Fehler: %s\n" -#: plugins/check_http.c:1311 +#: plugins/check_http.c:1341 #, fuzzy, c-format msgid "%spage size %d too large, " msgstr "HTTP WARNING: Seitengröße %d zu klein%s|%s\n" -#: plugins/check_http.c:1314 +#: plugins/check_http.c:1344 #, fuzzy, c-format msgid "%spage size %d too small, " msgstr "HTTP WARNING: Seitengröße %d zu klein%s|%s\n" -#: plugins/check_http.c:1327 +#: plugins/check_http.c:1357 #, fuzzy, c-format msgid "%s - %d bytes in %.3f second response time %s|%s %s %s %s %s %s %s" msgstr " - %s - %.3f Sekunden Antwortzeit %s%s|%s %s\n" -#: plugins/check_http.c:1339 +#: plugins/check_http.c:1369 #, fuzzy, c-format msgid "%s - %d bytes in %.3f second response time %s|%s %s" msgstr " - %s - %.3f Sekunden Antwortzeit %s%s|%s %s\n" -#: plugins/check_http.c:1382 +#: plugins/check_http.c:1494 msgid "HTTP UNKNOWN - Could not allocate addr\n" msgstr "HTTP UNKNOWN - Konnte addr nicht zuweisen\n" -#: plugins/check_http.c:1387 plugins/check_http.c:1418 +#: plugins/check_http.c:1499 plugins/check_http.c:1530 #, fuzzy msgid "HTTP UNKNOWN - Could not allocate URL\n" msgstr "HTTP UNKNOWN - Konnte·url·nicht·zuweisen\n" -#: plugins/check_http.c:1396 +#: plugins/check_http.c:1508 #, c-format msgid "HTTP UNKNOWN - Could not find redirect location - %s%s\n" msgstr "" -#: plugins/check_http.c:1411 +#: plugins/check_http.c:1523 #, fuzzy, c-format msgid "HTTP UNKNOWN - Empty redirect location%s\n" msgstr "HTTP UNKNOWN - Serverdatum unbekannt\n" -#: plugins/check_http.c:1473 +#: plugins/check_http.c:1585 #, c-format msgid "HTTP UNKNOWN - Could not parse redirect location - %s%s\n" msgstr "" -#: plugins/check_http.c:1483 +#: plugins/check_http.c:1595 #, fuzzy, c-format msgid "HTTP WARNING - maximum redirection depth %d exceeded - %s://%s:%d%s%s\n" msgstr "HTTP WARNING - Umleitung verursacht eine Schleife - %s://%s:%d%s%s\n" -#: plugins/check_http.c:1491 +#: plugins/check_http.c:1603 #, fuzzy, c-format msgid "HTTP CRITICAL - redirection creates an infinite loop - %s://%s:%d%s%s\n" msgstr "HTTP WARNING - Umleitung verursacht eine Schleife - %s://%s:%d%s%s\n" -#: plugins/check_http.c:1512 +#: plugins/check_http.c:1624 #, fuzzy, c-format msgid "HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n" msgstr "HTTP WARNING - Umleitung verursacht eine Schleife - %s://%s:%d%s%s\n" -#: plugins/check_http.c:1520 +#: plugins/check_http.c:1632 #, c-format msgid "Redirection to %s://%s:%d%s\n" msgstr "" -#: plugins/check_http.c:1595 +#: plugins/check_http.c:1707 #, fuzzy msgid "This plugin tests the HTTP service on the specified host. It can test" msgstr "" "Testet den DNS Dienst auf dem angegebenen Host mit dig\n" "\n" -#: plugins/check_http.c:1596 +#: plugins/check_http.c:1708 msgid "normal (http) and secure (https) servers, follow redirects, search for" msgstr "" -#: plugins/check_http.c:1597 +#: plugins/check_http.c:1709 msgid "strings and regular expressions, check connection times, and report on" msgstr "" -#: plugins/check_http.c:1598 +#: plugins/check_http.c:1710 #, fuzzy msgid "certificate expiration times." msgstr "Clientzertifikat benötigt\n" -#: plugins/check_http.c:1605 +#: plugins/check_http.c:1717 #, c-format msgid "In the first form, make an HTTP request." msgstr "" -#: plugins/check_http.c:1606 +#: plugins/check_http.c:1718 #, c-format msgid "" "In the second form, connect to the server and check the TLS certificate." msgstr "" -#: plugins/check_http.c:1608 +#: plugins/check_http.c:1720 #, c-format msgid "NOTE: One or both of -H and -I must be specified" msgstr "" -#: plugins/check_http.c:1616 +#: plugins/check_http.c:1728 msgid "Host name argument for servers using host headers (virtual host)" msgstr "" -#: plugins/check_http.c:1617 +#: plugins/check_http.c:1729 msgid "Append a port to include it in the header (eg: example.com:5000)" msgstr "" -#: plugins/check_http.c:1619 +#: plugins/check_http.c:1731 msgid "" "IP address or name (use numeric address if possible to bypass DNS lookup)." msgstr "" -#: plugins/check_http.c:1621 +#: plugins/check_http.c:1733 msgid "Port number (default: " msgstr "" -#: plugins/check_http.c:1628 +#: plugins/check_http.c:1740 msgid "" "Connect via SSL. Port defaults to 443. VERSION is optional, and prevents" msgstr "" -#: plugins/check_http.c:1629 +#: plugins/check_http.c:1741 msgid "auto-negotiation (2 = SSLv2, 3 = SSLv3, 1 = TLSv1, 1.1 = TLSv1.1," msgstr "" -#: plugins/check_http.c:1630 +#: plugins/check_http.c:1742 msgid "1.2 = TLSv1.2). With a '+' suffix, newer versions are also accepted." msgstr "" -#: plugins/check_http.c:1632 +#: plugins/check_http.c:1744 msgid "Enable SSL/TLS hostname extension support (SNI)" msgstr "" -#: plugins/check_http.c:1634 +#: plugins/check_http.c:1746 msgid "" "Minimum number of days a certificate has to be valid. Port defaults to 443" msgstr "" -#: plugins/check_http.c:1635 +#: plugins/check_http.c:1747 msgid "" "(when this option is used the URL is not checked by default. You can use" msgstr "" -#: plugins/check_http.c:1636 +#: plugins/check_http.c:1748 msgid " --continue-after-certificate to override this behavior)" msgstr "" -#: plugins/check_http.c:1638 +#: plugins/check_http.c:1750 msgid "" "Allows the HTTP check to continue after performing the certificate check." msgstr "" -#: plugins/check_http.c:1639 +#: plugins/check_http.c:1751 msgid "Does nothing unless -C is used." msgstr "" -#: plugins/check_http.c:1641 +#: plugins/check_http.c:1753 msgid "Name of file that contains the client certificate (PEM format)" msgstr "" -#: plugins/check_http.c:1642 +#: plugins/check_http.c:1754 msgid "to be used in establishing the SSL session" msgstr "" -#: plugins/check_http.c:1644 +#: plugins/check_http.c:1756 msgid "Name of file containing the private key (PEM format)" msgstr "" -#: plugins/check_http.c:1645 +#: plugins/check_http.c:1757 msgid "matching the client certificate" msgstr "" -#: plugins/check_http.c:1649 +#: plugins/check_http.c:1761 msgid "Comma-delimited list of strings, at least one of them is expected in" msgstr "" -#: plugins/check_http.c:1650 +#: plugins/check_http.c:1762 msgid "the first (status) line of the server response (default: " msgstr "" -#: plugins/check_http.c:1652 +#: plugins/check_http.c:1764 msgid "" "If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)" msgstr "" -#: plugins/check_http.c:1654 +#: plugins/check_http.c:1766 msgid "String to expect in the response headers" msgstr "" -#: plugins/check_http.c:1656 +#: plugins/check_http.c:1768 msgid "String to expect in the content" msgstr "" -#: plugins/check_http.c:1658 +#: plugins/check_http.c:1770 msgid "URL to GET or POST (default: /)" msgstr "" -#: plugins/check_http.c:1660 +#: plugins/check_http.c:1772 msgid "URL encoded http POST data" msgstr "" -#: plugins/check_http.c:1662 +#: plugins/check_http.c:1774 msgid "Set HTTP method." msgstr "" -#: plugins/check_http.c:1664 +#: plugins/check_http.c:1776 msgid "Don't wait for document body: stop reading after headers." msgstr "" -#: plugins/check_http.c:1665 +#: plugins/check_http.c:1777 msgid "(Note that this still does an HTTP GET or POST, not a HEAD.)" msgstr "" -#: plugins/check_http.c:1667 +#: plugins/check_http.c:1779 msgid "Warn if document is more than SECONDS old. the number can also be of" msgstr "" -#: plugins/check_http.c:1668 +#: plugins/check_http.c:1780 msgid "the form \"10m\" for minutes, \"10h\" for hours, or \"10d\" for days." msgstr "" -#: plugins/check_http.c:1670 +#: plugins/check_http.c:1782 msgid "specify Content-Type header media type when POSTing\n" msgstr "" -#: plugins/check_http.c:1673 +#: plugins/check_http.c:1785 msgid "Allow regex to span newlines (must precede -r or -R)" msgstr "" -#: plugins/check_http.c:1675 +#: plugins/check_http.c:1787 msgid "Search page for regex STRING" msgstr "" -#: plugins/check_http.c:1677 +#: plugins/check_http.c:1789 msgid "Search page for case-insensitive regex STRING" msgstr "" -#: plugins/check_http.c:1679 +#: plugins/check_http.c:1791 msgid "Return CRITICAL if found, OK if not\n" msgstr "" -#: plugins/check_http.c:1682 +#: plugins/check_http.c:1794 msgid "Username:password on sites with basic authentication" msgstr "" -#: plugins/check_http.c:1684 +#: plugins/check_http.c:1796 msgid "Username:password on proxy-servers with basic authentication" msgstr "" -#: plugins/check_http.c:1686 +#: plugins/check_http.c:1798 msgid "String to be sent in http header as \"User Agent\"" msgstr "" -#: plugins/check_http.c:1688 +#: plugins/check_http.c:1800 msgid "" "Any other tags to be sent in http header. Use multiple times for additional " "headers" msgstr "" -#: plugins/check_http.c:1690 +#: plugins/check_http.c:1802 msgid "Print additional performance data" msgstr "" -#: plugins/check_http.c:1692 +#: plugins/check_http.c:1804 msgid "Print body content below status line" msgstr "" -#: plugins/check_http.c:1694 +#: plugins/check_http.c:1806 msgid "Wrap output in HTML link (obsoleted by urlize)" msgstr "" -#: plugins/check_http.c:1696 +#: plugins/check_http.c:1808 msgid "How to handle redirected pages. sticky is like follow but stick to the" msgstr "" -#: plugins/check_http.c:1697 +#: plugins/check_http.c:1809 msgid "specified IP address. stickyport also ensures port stays the same." msgstr "" -#: plugins/check_http.c:1699 +#: plugins/check_http.c:1811 #, fuzzy msgid "Maximal number of redirects (default: " msgstr "Ungültige Portnummer" -#: plugins/check_http.c:1702 +#: plugins/check_http.c:1814 msgid "Minimum page size required (bytes) : Maximum page size required (bytes)" msgstr "" -#: plugins/check_http.c:1711 +#: plugins/check_http.c:1823 #, fuzzy msgid "This plugin will attempt to open an HTTP connection with the host." msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." -#: plugins/check_http.c:1712 +#: plugins/check_http.c:1824 msgid "" "Successful connects return STATE_OK, refusals and timeouts return " "STATE_CRITICAL" msgstr "" -#: plugins/check_http.c:1713 +#: plugins/check_http.c:1825 msgid "" "other errors return STATE_UNKNOWN. Successful connects, but incorrect " "response" msgstr "" -#: plugins/check_http.c:1714 +#: plugins/check_http.c:1826 msgid "" "messages from the host result in STATE_WARNING return values. If you are" msgstr "" -#: plugins/check_http.c:1715 +#: plugins/check_http.c:1827 msgid "" "checking a virtual server that uses 'host headers' you must supply the FQDN" msgstr "" -#: plugins/check_http.c:1716 +#: plugins/check_http.c:1828 msgid "(fully qualified domain name) as the [host_name] argument." msgstr "" -#: plugins/check_http.c:1720 +#: plugins/check_http.c:1832 msgid "This plugin can also check whether an SSL enabled web server is able to" msgstr "" -#: plugins/check_http.c:1721 +#: plugins/check_http.c:1833 msgid "serve content (optionally within a specified time) or whether the X509 " msgstr "" -#: plugins/check_http.c:1722 +#: plugins/check_http.c:1834 msgid "certificate is still valid for the specified number of days." msgstr "" -#: plugins/check_http.c:1724 +#: plugins/check_http.c:1836 #, fuzzy msgid "Please note that this plugin does not check if the presented server" msgstr "" "Testet den DNS Dienst auf dem angegebenen Host mit dig\n" "\n" -#: plugins/check_http.c:1725 +#: plugins/check_http.c:1837 msgid "certificate matches the hostname of the server, or if the certificate" msgstr "" -#: plugins/check_http.c:1726 +#: plugins/check_http.c:1838 msgid "has a valid chain of trust to one of the locally installed CAs." msgstr "" -#: plugins/check_http.c:1730 +#: plugins/check_http.c:1842 msgid "" "When the 'www.verisign.com' server returns its content within 5 seconds," msgstr "" -#: plugins/check_http.c:1731 plugins/check_http.c:1750 +#: plugins/check_http.c:1843 plugins/check_http.c:1862 msgid "" "a STATE_OK will be returned. When the server returns its content but exceeds" msgstr "" -#: plugins/check_http.c:1732 plugins/check_http.c:1751 +#: plugins/check_http.c:1844 plugins/check_http.c:1863 msgid "" "the 5-second threshold, a STATE_WARNING will be returned. When an error " "occurs," msgstr "" -#: plugins/check_http.c:1733 +#: plugins/check_http.c:1845 msgid "a STATE_CRITICAL will be returned." msgstr "" -#: plugins/check_http.c:1736 +#: plugins/check_http.c:1848 msgid "" "When the certificate of 'www.verisign.com' is valid for more than 14 days," msgstr "" -#: plugins/check_http.c:1737 plugins/check_http.c:1743 +#: plugins/check_http.c:1849 plugins/check_http.c:1855 msgid "" "a STATE_OK is returned. When the certificate is still valid, but for less " "than" msgstr "" -#: plugins/check_http.c:1738 +#: plugins/check_http.c:1850 msgid "" "14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be returned when" msgstr "" -#: plugins/check_http.c:1739 +#: plugins/check_http.c:1851 #, fuzzy msgid "the certificate is expired." msgstr "Clientzertifikat benötigt\n" -#: plugins/check_http.c:1742 +#: plugins/check_http.c:1854 msgid "" "When the certificate of 'www.verisign.com' is valid for more than 30 days," msgstr "" -#: plugins/check_http.c:1744 +#: plugins/check_http.c:1856 msgid "30 days, but more than 14 days, a STATE_WARNING is returned." msgstr "" -#: plugins/check_http.c:1745 +#: plugins/check_http.c:1857 msgid "" "A STATE_CRITICAL will be returned when certificate expires in less than 14 " "days" msgstr "" -#: plugins/check_http.c:1748 +#: plugins/check_http.c:1860 msgid "" "check_http -I 192.168.100.35 -p 80 -u https://www.verisign.com/ -S -j " "CONNECT -H www.verisign.com " msgstr "" -#: plugins/check_http.c:1749 +#: plugins/check_http.c:1861 msgid "" "all these options are needed: -I -p -u -" "S(sl) -j CONNECT -H " msgstr "" -#: plugins/check_http.c:1752 +#: plugins/check_http.c:1864 msgid "" "a STATE_CRITICAL will be returned. By adding a colon to the method you can " "set the method used" msgstr "" -#: plugins/check_http.c:1753 +#: plugins/check_http.c:1865 msgid "inside the proxied connection: -j CONNECT:POST" msgstr "" @@ -3662,227 +3667,227 @@ msgid "" "higher than the warning threshold value, EXCEPT with the uptime variable" msgstr "" -#: plugins/check_pgsql.c:225 +#: plugins/check_pgsql.c:224 #, c-format msgid "CRITICAL - no connection to '%s' (%s).\n" msgstr "" -#: plugins/check_pgsql.c:253 +#: plugins/check_pgsql.c:252 #, c-format msgid " %s - database %s (%f sec.)|%s\n" msgstr "" -#: plugins/check_pgsql.c:321 plugins/check_time.c:277 plugins/check_time.c:289 +#: plugins/check_pgsql.c:320 plugins/check_time.c:277 plugins/check_time.c:289 #: plugins/check_users.c:228 msgid "Critical threshold must be a positive integer" msgstr "Critical threshold muss ein positiver Integer sein" -#: plugins/check_pgsql.c:327 plugins/check_time.c:258 plugins/check_time.c:282 +#: plugins/check_pgsql.c:326 plugins/check_time.c:258 plugins/check_time.c:282 #: plugins/check_users.c:226 msgid "Warning threshold must be a positive integer" msgstr "Warning threshold muss ein positiver Integer sein" -#: plugins/check_pgsql.c:351 -msgid "Database name is not valid" +#: plugins/check_pgsql.c:350 +msgid "Database name exceeds the maximum length" msgstr "" -#: plugins/check_pgsql.c:357 +#: plugins/check_pgsql.c:356 msgid "User name is not valid" msgstr "" -#: plugins/check_pgsql.c:511 +#: plugins/check_pgsql.c:471 #, c-format msgid "Test whether a PostgreSQL Database is accepting connections." msgstr "" -#: plugins/check_pgsql.c:523 +#: plugins/check_pgsql.c:483 msgid "Database to check " msgstr "" -#: plugins/check_pgsql.c:524 +#: plugins/check_pgsql.c:484 #, c-format msgid "(default: %s)\n" msgstr "" -#: plugins/check_pgsql.c:526 +#: plugins/check_pgsql.c:486 msgid "Login name of user" msgstr "" -#: plugins/check_pgsql.c:528 +#: plugins/check_pgsql.c:488 msgid "Password (BIG SECURITY ISSUE)" msgstr "" -#: plugins/check_pgsql.c:530 +#: plugins/check_pgsql.c:490 msgid "Connection parameters (keyword = value), see below" msgstr "" -#: plugins/check_pgsql.c:537 +#: plugins/check_pgsql.c:497 msgid "SQL query to run. Only first column in first row will be read" msgstr "" -#: plugins/check_pgsql.c:539 +#: plugins/check_pgsql.c:499 msgid "A name for the query, this string is used instead of the query" msgstr "" -#: plugins/check_pgsql.c:540 +#: plugins/check_pgsql.c:500 msgid "in the long output of the plugin" msgstr "" -#: plugins/check_pgsql.c:542 +#: plugins/check_pgsql.c:502 msgid "SQL query value to result in warning status (double)" msgstr "" -#: plugins/check_pgsql.c:544 +#: plugins/check_pgsql.c:504 msgid "SQL query value to result in critical status (double)" msgstr "" -#: plugins/check_pgsql.c:549 +#: plugins/check_pgsql.c:509 msgid "All parameters are optional." msgstr "" -#: plugins/check_pgsql.c:550 +#: plugins/check_pgsql.c:510 msgid "" "This plugin tests a PostgreSQL DBMS to determine whether it is active and" msgstr "" -#: plugins/check_pgsql.c:551 +#: plugins/check_pgsql.c:511 msgid "accepting queries. In its current operation, it simply connects to the" msgstr "" -#: plugins/check_pgsql.c:552 +#: plugins/check_pgsql.c:512 msgid "" "specified database, and then disconnects. If no database is specified, it" msgstr "" -#: plugins/check_pgsql.c:553 +#: plugins/check_pgsql.c:513 msgid "" "connects to the template1 database, which is present in every functioning" msgstr "" -#: plugins/check_pgsql.c:554 +#: plugins/check_pgsql.c:514 msgid "PostgreSQL DBMS." msgstr "" -#: plugins/check_pgsql.c:556 +#: plugins/check_pgsql.c:516 msgid "If a query is specified using the -q option, it will be executed after" msgstr "" -#: plugins/check_pgsql.c:557 +#: plugins/check_pgsql.c:517 msgid "connecting to the server. The result from the query has to be numeric." msgstr "" -#: plugins/check_pgsql.c:558 +#: plugins/check_pgsql.c:518 msgid "" "Multiple SQL commands, separated by semicolon, are allowed but the result " msgstr "" -#: plugins/check_pgsql.c:559 +#: plugins/check_pgsql.c:519 msgid "of the last command is taken into account only. The value of the first" msgstr "" -#: plugins/check_pgsql.c:560 +#: plugins/check_pgsql.c:520 msgid "column in the first row is used as the check result." msgstr "" -#: plugins/check_pgsql.c:562 +#: plugins/check_pgsql.c:522 msgid "" "See the chapter \"Monitoring Database Activity\" of the PostgreSQL manual" msgstr "" -#: plugins/check_pgsql.c:563 +#: plugins/check_pgsql.c:523 msgid "" "for details about how to access internal statistics of the database server." msgstr "" -#: plugins/check_pgsql.c:565 +#: plugins/check_pgsql.c:525 msgid "" "For a list of available connection parameters which may be used with the -o" msgstr "" -#: plugins/check_pgsql.c:566 +#: plugins/check_pgsql.c:526 msgid "" "command line option, see the documentation for PQconnectdb() in the chapter" msgstr "" -#: plugins/check_pgsql.c:567 +#: plugins/check_pgsql.c:527 msgid "" "\"libpq - C Library\" of the PostgreSQL manual. For example, this may be" msgstr "" -#: plugins/check_pgsql.c:568 +#: plugins/check_pgsql.c:528 msgid "" "used to specify a service name in pg_service.conf to be used for additional" msgstr "" -#: plugins/check_pgsql.c:569 +#: plugins/check_pgsql.c:529 msgid "connection parameters: -o 'service=' or to specify the SSL mode:" msgstr "" -#: plugins/check_pgsql.c:570 +#: plugins/check_pgsql.c:530 msgid "-o 'sslmode=require'." msgstr "" -#: plugins/check_pgsql.c:572 +#: plugins/check_pgsql.c:532 msgid "" "The plugin will connect to a local postmaster if no host is specified. To" msgstr "" -#: plugins/check_pgsql.c:573 +#: plugins/check_pgsql.c:533 msgid "" "connect to a remote host, be sure that the remote postmaster accepts TCP/IP" msgstr "" -#: plugins/check_pgsql.c:574 +#: plugins/check_pgsql.c:534 msgid "connections (start the postmaster with the -i option)." msgstr "" -#: plugins/check_pgsql.c:576 +#: plugins/check_pgsql.c:536 msgid "" "Typically, the monitoring user (unless the --logname option is used) should " "be" msgstr "" -#: plugins/check_pgsql.c:577 +#: plugins/check_pgsql.c:537 msgid "" "able to connect to the database without a password. The plugin can also send" msgstr "" -#: plugins/check_pgsql.c:578 +#: plugins/check_pgsql.c:538 msgid "a password, but no effort is made to obscure or encrypt the password." msgstr "" -#: plugins/check_pgsql.c:611 +#: plugins/check_pgsql.c:571 #, c-format msgid "QUERY %s - %s: %s.\n" msgstr "" -#: plugins/check_pgsql.c:611 +#: plugins/check_pgsql.c:571 msgid "Error with query" msgstr "" -#: plugins/check_pgsql.c:617 +#: plugins/check_pgsql.c:577 msgid "No rows returned" msgstr "" -#: plugins/check_pgsql.c:622 +#: plugins/check_pgsql.c:582 msgid "No columns returned" msgstr "" -#: plugins/check_pgsql.c:628 +#: plugins/check_pgsql.c:588 #, fuzzy msgid "No data returned" msgstr "Keine Daten empfangen %s\n" -#: plugins/check_pgsql.c:637 +#: plugins/check_pgsql.c:597 msgid "Is not a numeric" msgstr "" -#: plugins/check_pgsql.c:655 +#: plugins/check_pgsql.c:615 #, fuzzy, c-format msgid "%s returned %f" msgstr "%s hat %s zurückgegeben" -#: plugins/check_pgsql.c:658 +#: plugins/check_pgsql.c:618 #, fuzzy, c-format msgid "'%s' returned %f" msgstr "%s hat %s zurückgegeben" @@ -4596,7 +4601,7 @@ msgstr "Ung msgid "Invalid SMTP response received from host on port %d: %s\n" msgstr "Ungültige HTTP Antwort von Host erhalten auf Port %d\n" -#: plugins/check_smtp.c:312 plugins/check_snmp.c:855 +#: plugins/check_smtp.c:312 plugins/check_snmp.c:863 #, c-format msgid "Could Not Compile Regular Expression" msgstr "" @@ -4606,7 +4611,7 @@ msgstr "" msgid "SMTP %s - Invalid response '%s' to command '%s'\n" msgstr "" -#: plugins/check_smtp.c:325 plugins/check_snmp.c:532 +#: plugins/check_smtp.c:325 plugins/check_snmp.c:538 #, c-format msgid "Execute Error: %s\n" msgstr "" @@ -4768,351 +4773,364 @@ msgstr "" msgid "STATE_WARNING return values." msgstr "" -#: plugins/check_snmp.c:172 plugins/check_snmp.c:618 +#: plugins/check_snmp.c:175 plugins/check_snmp.c:624 msgid "Cannot malloc" msgstr "" -#: plugins/check_snmp.c:363 +#: plugins/check_snmp.c:366 #, fuzzy, c-format msgid "External command error: %s\n" msgstr "Papierfehler" -#: plugins/check_snmp.c:368 +#: plugins/check_snmp.c:371 #, c-format msgid "External command error with no output (return code: %d)\n" msgstr "" -#: plugins/check_snmp.c:478 plugins/check_snmp.c:480 plugins/check_snmp.c:482 -#: plugins/check_snmp.c:484 +#: plugins/check_snmp.c:484 plugins/check_snmp.c:486 plugins/check_snmp.c:488 +#: plugins/check_snmp.c:490 #, fuzzy, c-format msgid "No valid data returned (%s)\n" msgstr "Keine Daten empfangen %s\n" -#: plugins/check_snmp.c:496 +#: plugins/check_snmp.c:502 msgid "Time duration between plugin calls is invalid" msgstr "" -#: plugins/check_snmp.c:624 +#: plugins/check_snmp.c:630 msgid "Cannot asprintf()" msgstr "" -#: plugins/check_snmp.c:630 +#: plugins/check_snmp.c:636 msgid "Cannot realloc()" msgstr "" -#: plugins/check_snmp.c:646 +#: plugins/check_snmp.c:652 msgid "No previous data to calculate rate - assume okay" msgstr "" -#: plugins/check_snmp.c:794 +#: plugins/check_snmp.c:802 #, fuzzy msgid "Retries interval must be a positive integer" msgstr "Time interval muss ein positiver Integer sein" -#: plugins/check_snmp.c:831 +#: plugins/check_snmp.c:839 #, fuzzy msgid "Exit status must be a positive integer" msgstr "Maxbytes muss ein positiver Integer sein" -#: plugins/check_snmp.c:880 +#: plugins/check_snmp.c:888 #, fuzzy, c-format msgid "Could not reallocate labels[%d]" msgstr "Konnte addr nicht zuweisen\n" -#: plugins/check_snmp.c:893 +#: plugins/check_snmp.c:901 #, fuzzy msgid "Could not reallocate labels\n" msgstr "Konnte·url·nicht·zuweisen\n" -#: plugins/check_snmp.c:909 +#: plugins/check_snmp.c:917 #, fuzzy, c-format msgid "Could not reallocate units [%d]\n" msgstr "Konnte·url·nicht·zuweisen\n" -#: plugins/check_snmp.c:921 +#: plugins/check_snmp.c:929 msgid "Could not realloc() units\n" msgstr "" -#: plugins/check_snmp.c:938 +#: plugins/check_snmp.c:946 #, fuzzy msgid "Rate multiplier must be a positive integer" msgstr "Paketgröße muss ein positiver Integer sein" -#: plugins/check_snmp.c:1003 +#: plugins/check_snmp.c:1021 #, fuzzy msgid "No host specified\n" msgstr "" "Kein Hostname angegeben\n" "\n" -#: plugins/check_snmp.c:1007 +#: plugins/check_snmp.c:1025 #, fuzzy msgid "No OIDs specified\n" msgstr "" "Kein Hostname angegeben\n" "\n" -#: plugins/check_snmp.c:1030 plugins/check_snmp.c:1048 -#: plugins/check_snmp.c:1066 +#: plugins/check_snmp.c:1048 plugins/check_snmp.c:1066 +#: plugins/check_snmp.c:1084 #, c-format msgid "Required parameter: %s\n" msgstr "" -#: plugins/check_snmp.c:1041 +#: plugins/check_snmp.c:1059 msgid "Invalid seclevel" msgstr "" -#: plugins/check_snmp.c:1087 +#: plugins/check_snmp.c:1105 msgid "Invalid SNMP version" msgstr "" -#: plugins/check_snmp.c:1104 +#: plugins/check_snmp.c:1122 msgid "Unbalanced quotes\n" msgstr "" -#: plugins/check_snmp.c:1153 +#: plugins/check_snmp.c:1178 +#, c-format +msgid "multiplier set (%.1f), but input is not a number: %s" +msgstr "" + +#: plugins/check_snmp.c:1209 msgid "Check status of remote machines and obtain system information via SNMP" msgstr "" -#: plugins/check_snmp.c:1167 +#: plugins/check_snmp.c:1223 msgid "Use SNMP GETNEXT instead of SNMP GET" msgstr "" -#: plugins/check_snmp.c:1169 +#: plugins/check_snmp.c:1225 msgid "SNMP protocol version" msgstr "" -#: plugins/check_snmp.c:1171 +#: plugins/check_snmp.c:1227 msgid "SNMPv3 context" msgstr "" -#: plugins/check_snmp.c:1173 +#: plugins/check_snmp.c:1229 msgid "SNMPv3 securityLevel" msgstr "" -#: plugins/check_snmp.c:1175 +#: plugins/check_snmp.c:1231 msgid "SNMPv3 auth proto" msgstr "" -#: plugins/check_snmp.c:1177 +#: plugins/check_snmp.c:1233 msgid "SNMPv3 priv proto (default DES)" msgstr "" -#: plugins/check_snmp.c:1181 +#: plugins/check_snmp.c:1237 msgid "Optional community string for SNMP communication" msgstr "" -#: plugins/check_snmp.c:1182 +#: plugins/check_snmp.c:1238 msgid "default is" msgstr "" -#: plugins/check_snmp.c:1184 +#: plugins/check_snmp.c:1240 msgid "SNMPv3 username" msgstr "" -#: plugins/check_snmp.c:1186 +#: plugins/check_snmp.c:1242 msgid "SNMPv3 authentication password" msgstr "" -#: plugins/check_snmp.c:1188 +#: plugins/check_snmp.c:1244 msgid "SNMPv3 privacy password" msgstr "" -#: plugins/check_snmp.c:1192 +#: plugins/check_snmp.c:1248 msgid "Object identifier(s) or SNMP variables whose value you wish to query" msgstr "" -#: plugins/check_snmp.c:1194 +#: plugins/check_snmp.c:1250 msgid "" "List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL'" msgstr "" -#: plugins/check_snmp.c:1195 +#: plugins/check_snmp.c:1251 msgid "for symbolic OIDs.)" msgstr "" -#: plugins/check_snmp.c:1197 +#: plugins/check_snmp.c:1253 msgid "Delimiter to use when parsing returned data. Default is" msgstr "" -#: plugins/check_snmp.c:1198 +#: plugins/check_snmp.c:1254 msgid "Any data on the right hand side of the delimiter is considered" msgstr "" -#: plugins/check_snmp.c:1199 +#: plugins/check_snmp.c:1255 msgid "to be the data that should be used in the evaluation." msgstr "" -#: plugins/check_snmp.c:1201 +#: plugins/check_snmp.c:1257 msgid "If the check returns a 0 length string or NULL value" msgstr "" -#: plugins/check_snmp.c:1202 +#: plugins/check_snmp.c:1258 msgid "This option allows you to choose what status you want it to exit" msgstr "" -#: plugins/check_snmp.c:1203 +#: plugins/check_snmp.c:1259 msgid "Excluding this option renders the default exit of 3(STATE_UNKNOWN)" msgstr "" -#: plugins/check_snmp.c:1204 +#: plugins/check_snmp.c:1260 msgid "0 = OK" msgstr "" -#: plugins/check_snmp.c:1205 +#: plugins/check_snmp.c:1261 #, fuzzy msgid "1 = WARNING" msgstr "WARNING" -#: plugins/check_snmp.c:1206 +#: plugins/check_snmp.c:1262 #, fuzzy msgid "2 = CRITICAL" msgstr "CRITICAL" -#: plugins/check_snmp.c:1207 +#: plugins/check_snmp.c:1263 #, fuzzy msgid "3 = UNKNOWN" msgstr "UNKNOWN" -#: plugins/check_snmp.c:1211 +#: plugins/check_snmp.c:1267 #, fuzzy msgid "Warning threshold range(s)" msgstr "Warning threshold Integer sein" -#: plugins/check_snmp.c:1213 +#: plugins/check_snmp.c:1269 #, fuzzy msgid "Critical threshold range(s)" msgstr "Critical threshold muss ein Integer sein" -#: plugins/check_snmp.c:1215 +#: plugins/check_snmp.c:1271 msgid "Enable rate calculation. See 'Rate Calculation' below" msgstr "" -#: plugins/check_snmp.c:1217 +#: plugins/check_snmp.c:1273 msgid "" "Converts rate per second. For example, set to 60 to convert to per minute" msgstr "" -#: plugins/check_snmp.c:1219 +#: plugins/check_snmp.c:1275 msgid "Add/substract the specified OFFSET to numeric sensor data" msgstr "" -#: plugins/check_snmp.c:1223 +#: plugins/check_snmp.c:1279 msgid "Return OK state (for that OID) if STRING is an exact match" msgstr "" -#: plugins/check_snmp.c:1225 +#: plugins/check_snmp.c:1281 msgid "" "Return OK state (for that OID) if extended regular expression REGEX matches" msgstr "" -#: plugins/check_snmp.c:1227 +#: plugins/check_snmp.c:1283 msgid "" "Return OK state (for that OID) if case-insensitive extended REGEX matches" msgstr "" -#: plugins/check_snmp.c:1229 +#: plugins/check_snmp.c:1285 msgid "Invert search result (CRITICAL if found)" msgstr "" -#: plugins/check_snmp.c:1233 +#: plugins/check_snmp.c:1289 msgid "Prefix label for output from plugin" msgstr "" -#: plugins/check_snmp.c:1235 +#: plugins/check_snmp.c:1291 msgid "Units label(s) for output data (e.g., 'sec.')." msgstr "" -#: plugins/check_snmp.c:1237 +#: plugins/check_snmp.c:1293 msgid "Separates output on multiple OID requests" msgstr "" -#: plugins/check_snmp.c:1240 +#: plugins/check_snmp.c:1295 +msgid "Multiplies current value, 0 < n < 1 works as divider, defaults to 1" +msgstr "" + +#: plugins/check_snmp.c:1297 +msgid "C-style format string for float values (see option -M)" +msgstr "" + +#: plugins/check_snmp.c:1300 msgid "" "NOTE the final timeout value is calculated using this formula: " "timeout_interval * retries + 5" msgstr "" -#: plugins/check_snmp.c:1242 +#: plugins/check_snmp.c:1302 msgid "Number of retries to be used in the requests, default: " msgstr "" -#: plugins/check_snmp.c:1245 +#: plugins/check_snmp.c:1305 msgid "Label performance data with OIDs instead of --label's" msgstr "" -#: plugins/check_snmp.c:1250 +#: plugins/check_snmp.c:1310 msgid "" "This plugin uses the 'snmpget' command included with the NET-SNMP package." msgstr "" -#: plugins/check_snmp.c:1251 +#: plugins/check_snmp.c:1311 msgid "" "if you don't have the package installed, you will need to download it from" msgstr "" -#: plugins/check_snmp.c:1252 +#: plugins/check_snmp.c:1312 msgid "http://net-snmp.sourceforge.net before you can use this plugin." msgstr "" -#: plugins/check_snmp.c:1256 +#: plugins/check_snmp.c:1316 msgid "" "- Multiple OIDs (and labels) may be indicated by a comma or space-delimited " msgstr "" -#: plugins/check_snmp.c:1257 +#: plugins/check_snmp.c:1317 msgid "list (lists with internal spaces must be quoted)." msgstr "" -#: plugins/check_snmp.c:1261 +#: plugins/check_snmp.c:1321 msgid "" "- When checking multiple OIDs, separate ranges by commas like '-w " "1:10,1:,:20'" msgstr "" -#: plugins/check_snmp.c:1262 +#: plugins/check_snmp.c:1322 msgid "- Note that only one string and one regex may be checked at present" msgstr "" -#: plugins/check_snmp.c:1263 +#: plugins/check_snmp.c:1323 msgid "" "- All evaluation methods other than PR, STR, and SUBSTR expect that the value" msgstr "" -#: plugins/check_snmp.c:1264 +#: plugins/check_snmp.c:1324 msgid "returned from the SNMP query is an unsigned integer." msgstr "" -#: plugins/check_snmp.c:1267 +#: plugins/check_snmp.c:1327 msgid "Rate Calculation:" msgstr "" -#: plugins/check_snmp.c:1268 +#: plugins/check_snmp.c:1328 msgid "In many places, SNMP returns counters that are only meaningful when" msgstr "" -#: plugins/check_snmp.c:1269 +#: plugins/check_snmp.c:1329 msgid "calculating the counter difference since the last check. check_snmp" msgstr "" -#: plugins/check_snmp.c:1270 +#: plugins/check_snmp.c:1330 msgid "saves the last state information in a file so that the rate per second" msgstr "" -#: plugins/check_snmp.c:1271 +#: plugins/check_snmp.c:1331 msgid "can be calculated. Use the --rate option to save state information." msgstr "" -#: plugins/check_snmp.c:1272 +#: plugins/check_snmp.c:1332 msgid "" "On the first run, there will be no prior state - this will return with OK." msgstr "" -#: plugins/check_snmp.c:1273 +#: plugins/check_snmp.c:1333 msgid "The state is uniquely determined by the arguments to the plugin, so" msgstr "" -#: plugins/check_snmp.c:1274 +#: plugins/check_snmp.c:1334 msgid "changing the arguments will create a new state file." msgstr "" @@ -6603,10 +6621,6 @@ msgstr "" #~ msgid "HTTP UNKNOWN - could not allocate url\n" #~ msgstr "HTTP UNKNOWN - Konnte·url·nicht·zuweisen\n" -#, fuzzy -#~ msgid "HTTP UNKNOWN - Could not allocate server_url%s\n" -#~ msgstr "HTTP UNKNOWN - Konnte·url·nicht·zuweisen\n" - #, fuzzy #~ msgid "snmpget returned an error status" #~ msgstr "dig hat einen Fehler zurückgegeben" diff --git a/po/fr.gmo b/po/fr.gmo index d9b9e89..1fa1222 100644 Binary files a/po/fr.gmo and b/po/fr.gmo differ diff --git a/po/fr.po b/po/fr.po index 4714b3c..e6837d0 100644 --- a/po/fr.po +++ b/po/fr.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: fr\n" "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" -"POT-Creation-Date: 2022-10-19 14:57+0200\n" +"POT-Creation-Date: 2023-02-01 13:48+0000\n" "PO-Revision-Date: 2010-04-21 23:38-0400\n" "Last-Translator: Thomas Guyot-Sionnest \n" "Language-Team: Nagios Plugin Development Mailing List -p -u -" "S(sl) -j CONNECT -H " msgstr "" -#: plugins/check_http.c:1752 +#: plugins/check_http.c:1864 msgid "" "a STATE_CRITICAL will be returned. By adding a colon to the method you can " "set the method used" msgstr "" -#: plugins/check_http.c:1753 +#: plugins/check_http.c:1865 msgid "inside the proxied connection: -j CONNECT:POST" msgstr "" @@ -3069,8 +3074,8 @@ msgstr "" #: plugins/check_ntp_peer.c:716 msgid "Critical threshold for number of usable time sources (\"truechimers\")" msgstr "" -"Seuil critique pour le nombre de sources de temps utilisable (\"truechimers" -"\")" +"Seuil critique pour le nombre de sources de temps utilisable " +"(\"truechimers\")" #: plugins/check_ntp_peer.c:721 msgid "This plugin checks an NTP server independent of any commandline" @@ -3725,233 +3730,234 @@ msgid "" "higher than the warning threshold value, EXCEPT with the uptime variable" msgstr "plus grand que le seuil d'alerte SAUF pour l'option uptime" -#: plugins/check_pgsql.c:225 +#: plugins/check_pgsql.c:224 #, c-format msgid "CRITICAL - no connection to '%s' (%s).\n" msgstr "CRITIQUE - pas de connexion à '%s' (%s).\n" -#: plugins/check_pgsql.c:253 +#: plugins/check_pgsql.c:252 #, fuzzy, c-format msgid " %s - database %s (%f sec.)|%s\n" msgstr " %s - base de données %s (%d sec.)|%s\n" -#: plugins/check_pgsql.c:321 plugins/check_time.c:277 plugins/check_time.c:289 +#: plugins/check_pgsql.c:320 plugins/check_time.c:277 plugins/check_time.c:289 #: plugins/check_users.c:228 msgid "Critical threshold must be a positive integer" msgstr "Le seuil critique doit être un entier positif" -#: plugins/check_pgsql.c:327 plugins/check_time.c:258 plugins/check_time.c:282 +#: plugins/check_pgsql.c:326 plugins/check_time.c:258 plugins/check_time.c:282 #: plugins/check_users.c:226 msgid "Warning threshold must be a positive integer" msgstr "Le seuil d'avertissement doit être un entier positif" -#: plugins/check_pgsql.c:351 -msgid "Database name is not valid" +#: plugins/check_pgsql.c:350 +#, fuzzy +msgid "Database name exceeds the maximum length" msgstr "Le nom de la base de données est invalide" -#: plugins/check_pgsql.c:357 +#: plugins/check_pgsql.c:356 msgid "User name is not valid" msgstr "Le nom de l'utilisateur est invalide" -#: plugins/check_pgsql.c:511 +#: plugins/check_pgsql.c:471 #, c-format msgid "Test whether a PostgreSQL Database is accepting connections." msgstr "Teste si une base de données Postgresql accepte les connections." -#: plugins/check_pgsql.c:523 +#: plugins/check_pgsql.c:483 msgid "Database to check " msgstr "" -#: plugins/check_pgsql.c:524 +#: plugins/check_pgsql.c:484 #, fuzzy, c-format msgid "(default: %s)\n" msgstr "(Défaut: %d)\n" -#: plugins/check_pgsql.c:526 +#: plugins/check_pgsql.c:486 msgid "Login name of user" msgstr "Le nom d'un utilisateur" -#: plugins/check_pgsql.c:528 +#: plugins/check_pgsql.c:488 msgid "Password (BIG SECURITY ISSUE)" msgstr "" -#: plugins/check_pgsql.c:530 +#: plugins/check_pgsql.c:490 msgid "Connection parameters (keyword = value), see below" msgstr "" -#: plugins/check_pgsql.c:537 +#: plugins/check_pgsql.c:497 msgid "SQL query to run. Only first column in first row will be read" msgstr "" -#: plugins/check_pgsql.c:539 +#: plugins/check_pgsql.c:499 msgid "A name for the query, this string is used instead of the query" msgstr "" -#: plugins/check_pgsql.c:540 +#: plugins/check_pgsql.c:500 msgid "in the long output of the plugin" msgstr "" -#: plugins/check_pgsql.c:542 +#: plugins/check_pgsql.c:502 #, fuzzy msgid "SQL query value to result in warning status (double)" msgstr "Décalage résultant en un avertissement (secondes)" -#: plugins/check_pgsql.c:544 +#: plugins/check_pgsql.c:504 #, fuzzy msgid "SQL query value to result in critical status (double)" msgstr "Décalage résultant en un état critique (secondes)" -#: plugins/check_pgsql.c:549 +#: plugins/check_pgsql.c:509 msgid "All parameters are optional." msgstr "" -#: plugins/check_pgsql.c:550 +#: plugins/check_pgsql.c:510 msgid "" "This plugin tests a PostgreSQL DBMS to determine whether it is active and" msgstr "" -#: plugins/check_pgsql.c:551 +#: plugins/check_pgsql.c:511 msgid "accepting queries. In its current operation, it simply connects to the" msgstr "" -#: plugins/check_pgsql.c:552 +#: plugins/check_pgsql.c:512 msgid "" "specified database, and then disconnects. If no database is specified, it" msgstr "" -#: plugins/check_pgsql.c:553 +#: plugins/check_pgsql.c:513 msgid "" "connects to the template1 database, which is present in every functioning" msgstr "" -#: plugins/check_pgsql.c:554 +#: plugins/check_pgsql.c:514 msgid "PostgreSQL DBMS." msgstr "" -#: plugins/check_pgsql.c:556 +#: plugins/check_pgsql.c:516 msgid "If a query is specified using the -q option, it will be executed after" msgstr "" -#: plugins/check_pgsql.c:557 +#: plugins/check_pgsql.c:517 msgid "connecting to the server. The result from the query has to be numeric." msgstr "" -#: plugins/check_pgsql.c:558 +#: plugins/check_pgsql.c:518 msgid "" "Multiple SQL commands, separated by semicolon, are allowed but the result " msgstr "" -#: plugins/check_pgsql.c:559 +#: plugins/check_pgsql.c:519 msgid "of the last command is taken into account only. The value of the first" msgstr "" -#: plugins/check_pgsql.c:560 +#: plugins/check_pgsql.c:520 msgid "column in the first row is used as the check result." msgstr "" -#: plugins/check_pgsql.c:562 +#: plugins/check_pgsql.c:522 msgid "" "See the chapter \"Monitoring Database Activity\" of the PostgreSQL manual" msgstr "" -#: plugins/check_pgsql.c:563 +#: plugins/check_pgsql.c:523 msgid "" "for details about how to access internal statistics of the database server." msgstr "" -#: plugins/check_pgsql.c:565 +#: plugins/check_pgsql.c:525 msgid "" "For a list of available connection parameters which may be used with the -o" msgstr "" -#: plugins/check_pgsql.c:566 +#: plugins/check_pgsql.c:526 msgid "" "command line option, see the documentation for PQconnectdb() in the chapter" msgstr "" -#: plugins/check_pgsql.c:567 +#: plugins/check_pgsql.c:527 msgid "" "\"libpq - C Library\" of the PostgreSQL manual. For example, this may be" msgstr "" -#: plugins/check_pgsql.c:568 +#: plugins/check_pgsql.c:528 msgid "" "used to specify a service name in pg_service.conf to be used for additional" msgstr "" -#: plugins/check_pgsql.c:569 +#: plugins/check_pgsql.c:529 msgid "connection parameters: -o 'service=' or to specify the SSL mode:" msgstr "" -#: plugins/check_pgsql.c:570 +#: plugins/check_pgsql.c:530 msgid "-o 'sslmode=require'." msgstr "" -#: plugins/check_pgsql.c:572 +#: plugins/check_pgsql.c:532 msgid "" "The plugin will connect to a local postmaster if no host is specified. To" msgstr "" "Ce plugin va se connecter sur un postmaster local si aucun hôte n'est " "spécifié." -#: plugins/check_pgsql.c:573 +#: plugins/check_pgsql.c:533 msgid "" "connect to a remote host, be sure that the remote postmaster accepts TCP/IP" msgstr "" -#: plugins/check_pgsql.c:574 +#: plugins/check_pgsql.c:534 msgid "connections (start the postmaster with the -i option)." msgstr "" -#: plugins/check_pgsql.c:576 +#: plugins/check_pgsql.c:536 msgid "" "Typically, the monitoring user (unless the --logname option is used) should " "be" msgstr "" -#: plugins/check_pgsql.c:577 +#: plugins/check_pgsql.c:537 msgid "" "able to connect to the database without a password. The plugin can also send" msgstr "" -#: plugins/check_pgsql.c:578 +#: plugins/check_pgsql.c:538 msgid "a password, but no effort is made to obscure or encrypt the password." msgstr "" -#: plugins/check_pgsql.c:611 +#: plugins/check_pgsql.c:571 #, c-format msgid "QUERY %s - %s: %s.\n" msgstr "" -#: plugins/check_pgsql.c:611 +#: plugins/check_pgsql.c:571 msgid "Error with query" msgstr "" -#: plugins/check_pgsql.c:617 +#: plugins/check_pgsql.c:577 #, fuzzy msgid "No rows returned" msgstr "Pas de données valides reçues" -#: plugins/check_pgsql.c:622 +#: plugins/check_pgsql.c:582 #, fuzzy msgid "No columns returned" msgstr "Pas de données valides reçues" -#: plugins/check_pgsql.c:628 +#: plugins/check_pgsql.c:588 #, fuzzy msgid "No data returned" msgstr "Pas de données valides reçues" -#: plugins/check_pgsql.c:637 +#: plugins/check_pgsql.c:597 msgid "Is not a numeric" msgstr "" -#: plugins/check_pgsql.c:655 +#: plugins/check_pgsql.c:615 #, fuzzy, c-format msgid "%s returned %f" msgstr ". %s renvoie %s" -#: plugins/check_pgsql.c:658 +#: plugins/check_pgsql.c:618 #, fuzzy, c-format msgid "'%s' returned %f" msgstr ". %s renvoie %s" @@ -4678,7 +4684,7 @@ msgstr "Réponse SMTP reçue de l'hôte invalide: %s\n" msgid "Invalid SMTP response received from host on port %d: %s\n" msgstr "Réponse SMTP reçue de l'hôte sur le port %d invalide: %s\n" -#: plugins/check_smtp.c:312 plugins/check_snmp.c:855 +#: plugins/check_smtp.c:312 plugins/check_snmp.c:863 #, c-format msgid "Could Not Compile Regular Expression" msgstr "Impossible de compiler l'expression rationnelle" @@ -4688,7 +4694,7 @@ msgstr "Impossible de compiler l'expression rationnelle" msgid "SMTP %s - Invalid response '%s' to command '%s'\n" msgstr "SMTP %s - réponse invalide de '%s' à la commande '%s'\n" -#: plugins/check_smtp.c:325 plugins/check_snmp.c:532 +#: plugins/check_smtp.c:325 plugins/check_snmp.c:538 #, c-format msgid "Execute Error: %s\n" msgstr "Erreur d'exécution: %s\n" @@ -4847,350 +4853,363 @@ msgstr "" msgid "STATE_WARNING return values." msgstr "" -#: plugins/check_snmp.c:172 plugins/check_snmp.c:618 +#: plugins/check_snmp.c:175 plugins/check_snmp.c:624 msgid "Cannot malloc" msgstr "" -#: plugins/check_snmp.c:363 +#: plugins/check_snmp.c:366 #, c-format msgid "External command error: %s\n" msgstr "Erreur d'exécution de commande externe: %s\n" -#: plugins/check_snmp.c:368 +#: plugins/check_snmp.c:371 #, c-format msgid "External command error with no output (return code: %d)\n" msgstr "" -#: plugins/check_snmp.c:478 plugins/check_snmp.c:480 plugins/check_snmp.c:482 -#: plugins/check_snmp.c:484 +#: plugins/check_snmp.c:484 plugins/check_snmp.c:486 plugins/check_snmp.c:488 +#: plugins/check_snmp.c:490 #, fuzzy, c-format msgid "No valid data returned (%s)\n" msgstr "Pas de données valides reçues" -#: plugins/check_snmp.c:496 +#: plugins/check_snmp.c:502 msgid "Time duration between plugin calls is invalid" msgstr "" -#: plugins/check_snmp.c:624 +#: plugins/check_snmp.c:630 msgid "Cannot asprintf()" msgstr "" -#: plugins/check_snmp.c:630 +#: plugins/check_snmp.c:636 #, fuzzy msgid "Cannot realloc()" msgstr "Impossible de réallouer des unités\n" -#: plugins/check_snmp.c:646 +#: plugins/check_snmp.c:652 msgid "No previous data to calculate rate - assume okay" msgstr "" -#: plugins/check_snmp.c:794 +#: plugins/check_snmp.c:802 msgid "Retries interval must be a positive integer" msgstr "L'intervalle pour les essais doit être un entier positif" -#: plugins/check_snmp.c:831 +#: plugins/check_snmp.c:839 #, fuzzy msgid "Exit status must be a positive integer" msgstr "Maxbytes doit être un entier positif" -#: plugins/check_snmp.c:880 +#: plugins/check_snmp.c:888 #, c-format msgid "Could not reallocate labels[%d]" msgstr "Impossible de réallouer des labels[%d]" -#: plugins/check_snmp.c:893 +#: plugins/check_snmp.c:901 msgid "Could not reallocate labels\n" msgstr "Impossible de réallouer des labels\n" -#: plugins/check_snmp.c:909 +#: plugins/check_snmp.c:917 #, c-format msgid "Could not reallocate units [%d]\n" msgstr "Impossible de réallouer des unités [%d]\n" -#: plugins/check_snmp.c:921 +#: plugins/check_snmp.c:929 msgid "Could not realloc() units\n" msgstr "Impossible de réallouer des unités\n" -#: plugins/check_snmp.c:938 +#: plugins/check_snmp.c:946 #, fuzzy msgid "Rate multiplier must be a positive integer" msgstr "La taille du paquet doit être un entier positif" -#: plugins/check_snmp.c:1003 +#: plugins/check_snmp.c:1021 msgid "No host specified\n" msgstr "Pas d'hôte spécifié\n" -#: plugins/check_snmp.c:1007 +#: plugins/check_snmp.c:1025 msgid "No OIDs specified\n" msgstr "Pas de compteur spécifié\n" -#: plugins/check_snmp.c:1030 plugins/check_snmp.c:1048 -#: plugins/check_snmp.c:1066 +#: plugins/check_snmp.c:1048 plugins/check_snmp.c:1066 +#: plugins/check_snmp.c:1084 #, c-format msgid "Required parameter: %s\n" msgstr "" -#: plugins/check_snmp.c:1041 +#: plugins/check_snmp.c:1059 msgid "Invalid seclevel" msgstr "" -#: plugins/check_snmp.c:1087 +#: plugins/check_snmp.c:1105 msgid "Invalid SNMP version" msgstr "Version de SNMP invalide" -#: plugins/check_snmp.c:1104 +#: plugins/check_snmp.c:1122 msgid "Unbalanced quotes\n" msgstr "Guillemets manquants\n" -#: plugins/check_snmp.c:1153 +#: plugins/check_snmp.c:1178 +#, c-format +msgid "multiplier set (%.1f), but input is not a number: %s" +msgstr "" + +#: plugins/check_snmp.c:1209 msgid "Check status of remote machines and obtain system information via SNMP" msgstr "" "Vérifie l'état des machines distantes et obtient l'information système via " "SNMP" -#: plugins/check_snmp.c:1167 +#: plugins/check_snmp.c:1223 msgid "Use SNMP GETNEXT instead of SNMP GET" msgstr "Utiliser SNMP GETNEXT au lieu de SNMP GET" -#: plugins/check_snmp.c:1169 +#: plugins/check_snmp.c:1225 msgid "SNMP protocol version" msgstr "Version du protocole SNMP" -#: plugins/check_snmp.c:1171 +#: plugins/check_snmp.c:1227 #, fuzzy msgid "SNMPv3 context" msgstr "Nom d'utilisateur SNMPv3" -#: plugins/check_snmp.c:1173 +#: plugins/check_snmp.c:1229 msgid "SNMPv3 securityLevel" msgstr "Niveau de sécurité SNMPv3 (securityLevel)" -#: plugins/check_snmp.c:1175 +#: plugins/check_snmp.c:1231 msgid "SNMPv3 auth proto" msgstr "Protocole d'authentification SNMPv3" -#: plugins/check_snmp.c:1177 +#: plugins/check_snmp.c:1233 msgid "SNMPv3 priv proto (default DES)" msgstr "" -#: plugins/check_snmp.c:1181 +#: plugins/check_snmp.c:1237 msgid "Optional community string for SNMP communication" msgstr "Communauté optionnelle pour la communication SNMP" -#: plugins/check_snmp.c:1182 +#: plugins/check_snmp.c:1238 msgid "default is" msgstr "défaut:" -#: plugins/check_snmp.c:1184 +#: plugins/check_snmp.c:1240 msgid "SNMPv3 username" msgstr "Nom d'utilisateur SNMPv3" -#: plugins/check_snmp.c:1186 +#: plugins/check_snmp.c:1242 msgid "SNMPv3 authentication password" msgstr "Mot de passe d'authentification SNMPv3" -#: plugins/check_snmp.c:1188 +#: plugins/check_snmp.c:1244 msgid "SNMPv3 privacy password" msgstr "Mot de passe de confidentialité SNMPv3" -#: plugins/check_snmp.c:1192 +#: plugins/check_snmp.c:1248 msgid "Object identifier(s) or SNMP variables whose value you wish to query" msgstr "" -#: plugins/check_snmp.c:1194 +#: plugins/check_snmp.c:1250 msgid "" "List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL'" msgstr "" -#: plugins/check_snmp.c:1195 +#: plugins/check_snmp.c:1251 msgid "for symbolic OIDs.)" msgstr "" -#: plugins/check_snmp.c:1197 +#: plugins/check_snmp.c:1253 msgid "Delimiter to use when parsing returned data. Default is" msgstr "" -#: plugins/check_snmp.c:1198 +#: plugins/check_snmp.c:1254 msgid "Any data on the right hand side of the delimiter is considered" msgstr "" -#: plugins/check_snmp.c:1199 +#: plugins/check_snmp.c:1255 msgid "to be the data that should be used in the evaluation." msgstr "" -#: plugins/check_snmp.c:1201 +#: plugins/check_snmp.c:1257 msgid "If the check returns a 0 length string or NULL value" msgstr "" -#: plugins/check_snmp.c:1202 +#: plugins/check_snmp.c:1258 msgid "This option allows you to choose what status you want it to exit" msgstr "" -#: plugins/check_snmp.c:1203 +#: plugins/check_snmp.c:1259 msgid "Excluding this option renders the default exit of 3(STATE_UNKNOWN)" msgstr "" -#: plugins/check_snmp.c:1204 +#: plugins/check_snmp.c:1260 msgid "0 = OK" msgstr "" -#: plugins/check_snmp.c:1205 +#: plugins/check_snmp.c:1261 #, fuzzy msgid "1 = WARNING" msgstr "AVERTISSEMENT" -#: plugins/check_snmp.c:1206 +#: plugins/check_snmp.c:1262 #, fuzzy msgid "2 = CRITICAL" msgstr "CRITIQUE" -#: plugins/check_snmp.c:1207 +#: plugins/check_snmp.c:1263 #, fuzzy msgid "3 = UNKNOWN" msgstr "INCONNU" -#: plugins/check_snmp.c:1211 +#: plugins/check_snmp.c:1267 msgid "Warning threshold range(s)" msgstr "Valeurs pour le seuil d'avertissement" -#: plugins/check_snmp.c:1213 +#: plugins/check_snmp.c:1269 msgid "Critical threshold range(s)" msgstr "Valeurs pour le seuil critique" -#: plugins/check_snmp.c:1215 +#: plugins/check_snmp.c:1271 msgid "Enable rate calculation. See 'Rate Calculation' below" msgstr "" -#: plugins/check_snmp.c:1217 +#: plugins/check_snmp.c:1273 msgid "" "Converts rate per second. For example, set to 60 to convert to per minute" msgstr "" -#: plugins/check_snmp.c:1219 +#: plugins/check_snmp.c:1275 msgid "Add/substract the specified OFFSET to numeric sensor data" msgstr "" -#: plugins/check_snmp.c:1223 +#: plugins/check_snmp.c:1279 msgid "Return OK state (for that OID) if STRING is an exact match" msgstr "" -#: plugins/check_snmp.c:1225 +#: plugins/check_snmp.c:1281 msgid "" "Return OK state (for that OID) if extended regular expression REGEX matches" msgstr "" -#: plugins/check_snmp.c:1227 +#: plugins/check_snmp.c:1283 msgid "" "Return OK state (for that OID) if case-insensitive extended REGEX matches" msgstr "" -#: plugins/check_snmp.c:1229 +#: plugins/check_snmp.c:1285 msgid "Invert search result (CRITICAL if found)" msgstr "" -#: plugins/check_snmp.c:1233 +#: plugins/check_snmp.c:1289 msgid "Prefix label for output from plugin" msgstr "" -#: plugins/check_snmp.c:1235 +#: plugins/check_snmp.c:1291 msgid "Units label(s) for output data (e.g., 'sec.')." msgstr "" -#: plugins/check_snmp.c:1237 +#: plugins/check_snmp.c:1293 msgid "Separates output on multiple OID requests" msgstr "" -#: plugins/check_snmp.c:1240 +#: plugins/check_snmp.c:1295 +msgid "Multiplies current value, 0 < n < 1 works as divider, defaults to 1" +msgstr "" + +#: plugins/check_snmp.c:1297 +msgid "C-style format string for float values (see option -M)" +msgstr "" + +#: plugins/check_snmp.c:1300 msgid "" "NOTE the final timeout value is calculated using this formula: " "timeout_interval * retries + 5" msgstr "" -#: plugins/check_snmp.c:1242 +#: plugins/check_snmp.c:1302 #, fuzzy msgid "Number of retries to be used in the requests, default: " msgstr "Le nombre d'essai pour les requêtes" -#: plugins/check_snmp.c:1245 +#: plugins/check_snmp.c:1305 msgid "Label performance data with OIDs instead of --label's" msgstr "" -#: plugins/check_snmp.c:1250 +#: plugins/check_snmp.c:1310 msgid "" "This plugin uses the 'snmpget' command included with the NET-SNMP package." msgstr "" -#: plugins/check_snmp.c:1251 +#: plugins/check_snmp.c:1311 msgid "" "if you don't have the package installed, you will need to download it from" msgstr "" "Si vous n'avez pas le programme installé, vous devrez le télécharger depuis" -#: plugins/check_snmp.c:1252 +#: plugins/check_snmp.c:1312 msgid "http://net-snmp.sourceforge.net before you can use this plugin." msgstr "http://net-snmp.sourceforge.net avant de pouvoir utiliser ce plugin." -#: plugins/check_snmp.c:1256 +#: plugins/check_snmp.c:1316 #, fuzzy msgid "" "- Multiple OIDs (and labels) may be indicated by a comma or space-delimited " msgstr "" "- Des OIDs multiples peuvent être séparées par des virgules ou des espaces" -#: plugins/check_snmp.c:1257 +#: plugins/check_snmp.c:1317 #, fuzzy msgid "list (lists with internal spaces must be quoted)." msgstr "(Les liste avec espaces doivent être entre guillemets). Max:" -#: plugins/check_snmp.c:1261 +#: plugins/check_snmp.c:1321 msgid "" "- When checking multiple OIDs, separate ranges by commas like '-w " "1:10,1:,:20'" msgstr "" -#: plugins/check_snmp.c:1262 +#: plugins/check_snmp.c:1322 msgid "- Note that only one string and one regex may be checked at present" msgstr "" -#: plugins/check_snmp.c:1263 +#: plugins/check_snmp.c:1323 msgid "" "- All evaluation methods other than PR, STR, and SUBSTR expect that the value" msgstr "" -#: plugins/check_snmp.c:1264 +#: plugins/check_snmp.c:1324 msgid "returned from the SNMP query is an unsigned integer." msgstr "" -#: plugins/check_snmp.c:1267 +#: plugins/check_snmp.c:1327 msgid "Rate Calculation:" msgstr "" -#: plugins/check_snmp.c:1268 +#: plugins/check_snmp.c:1328 msgid "In many places, SNMP returns counters that are only meaningful when" msgstr "" -#: plugins/check_snmp.c:1269 +#: plugins/check_snmp.c:1329 msgid "calculating the counter difference since the last check. check_snmp" msgstr "" -#: plugins/check_snmp.c:1270 +#: plugins/check_snmp.c:1330 msgid "saves the last state information in a file so that the rate per second" msgstr "" -#: plugins/check_snmp.c:1271 +#: plugins/check_snmp.c:1331 msgid "can be calculated. Use the --rate option to save state information." msgstr "" -#: plugins/check_snmp.c:1272 +#: plugins/check_snmp.c:1332 msgid "" "On the first run, there will be no prior state - this will return with OK." msgstr "" -#: plugins/check_snmp.c:1273 +#: plugins/check_snmp.c:1333 msgid "The state is uniquely determined by the arguments to the plugin, so" msgstr "" -#: plugins/check_snmp.c:1274 +#: plugins/check_snmp.c:1334 msgid "changing the arguments will create a new state file." msgstr "" diff --git a/po/monitoring-plugins.pot b/po/monitoring-plugins.pot index c8ff344..4fec2a1 100644 --- a/po/monitoring-plugins.pot +++ b/po/monitoring-plugins.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" -"POT-Creation-Date: 2022-10-19 14:57+0200\n" +"POT-Creation-Date: 2023-02-01 13:48+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,22 +21,22 @@ msgstr "" #: plugins/check_by_ssh.c:88 plugins/check_cluster.c:76 plugins/check_dig.c:91 #: plugins/check_disk.c:201 plugins/check_dns.c:106 plugins/check_dummy.c:52 #: plugins/check_fping.c:95 plugins/check_game.c:82 plugins/check_hpjd.c:105 -#: plugins/check_http.c:173 plugins/check_ldap.c:118 plugins/check_load.c:128 +#: plugins/check_http.c:174 plugins/check_ldap.c:118 plugins/check_load.c:128 #: plugins/check_mrtgtraf.c:83 plugins/check_mysql.c:124 #: plugins/check_nagios.c:91 plugins/check_nt.c:127 plugins/check_ntp.c:780 #: plugins/check_ntp_peer.c:575 plugins/check_ntp_time.c:557 #: plugins/check_nwstat.c:173 plugins/check_overcr.c:102 -#: plugins/check_pgsql.c:175 plugins/check_ping.c:97 plugins/check_procs.c:172 +#: plugins/check_pgsql.c:174 plugins/check_ping.c:97 plugins/check_procs.c:172 #: plugins/check_radius.c:172 plugins/check_real.c:80 plugins/check_smtp.c:143 -#: plugins/check_snmp.c:243 plugins/check_ssh.c:74 plugins/check_swap.c:118 +#: plugins/check_snmp.c:246 plugins/check_ssh.c:74 plugins/check_swap.c:118 #: plugins/check_tcp.c:222 plugins/check_time.c:78 plugins/check_ups.c:122 #: plugins/check_users.c:84 plugins/negate.c:210 plugins-root/check_dhcp.c:270 msgid "Could not parse arguments" msgstr "" #: plugins/check_by_ssh.c:92 plugins/check_dig.c:85 plugins/check_dns.c:99 -#: plugins/check_nagios.c:95 plugins/check_pgsql.c:181 plugins/check_ping.c:101 -#: plugins/check_procs.c:188 plugins/check_snmp.c:343 plugins/negate.c:78 +#: plugins/check_nagios.c:95 plugins/check_pgsql.c:180 plugins/check_ping.c:101 +#: plugins/check_procs.c:188 plugins/check_snmp.c:346 plugins/negate.c:78 msgid "Cannot catch SIGALRM" msgstr "" @@ -65,15 +65,15 @@ msgstr "" msgid "%s: Error parsing output\n" msgstr "" -#: plugins/check_by_ssh.c:242 plugins/check_disk.c:521 plugins/check_http.c:289 -#: plugins/check_ldap.c:334 plugins/check_pgsql.c:315 plugins/check_procs.c:437 +#: plugins/check_by_ssh.c:242 plugins/check_disk.c:521 plugins/check_http.c:292 +#: plugins/check_ldap.c:334 plugins/check_pgsql.c:314 plugins/check_procs.c:437 #: plugins/check_radius.c:319 plugins/check_real.c:357 plugins/check_smtp.c:591 -#: plugins/check_snmp.c:779 plugins/check_ssh.c:140 plugins/check_tcp.c:519 +#: plugins/check_snmp.c:787 plugins/check_ssh.c:140 plugins/check_tcp.c:519 #: plugins/check_time.c:302 plugins/check_ups.c:559 plugins/negate.c:160 msgid "Timeout interval must be a positive integer" msgstr "" -#: plugins/check_by_ssh.c:254 plugins/check_pgsql.c:345 +#: plugins/check_by_ssh.c:254 plugins/check_pgsql.c:344 #: plugins/check_radius.c:283 plugins/check_real.c:328 plugins/check_smtp.c:516 #: plugins/check_tcp.c:525 plugins/check_time.c:296 plugins/check_ups.c:521 msgid "Port must be a positive integer" @@ -227,7 +227,7 @@ msgid "" msgstr "" #: plugins/check_by_ssh.c:475 plugins/check_cluster.c:271 -#: plugins/check_dig.c:364 plugins/check_disk.c:936 plugins/check_http.c:1728 +#: plugins/check_dig.c:364 plugins/check_disk.c:936 plugins/check_http.c:1840 #: plugins/check_nagios.c:312 plugins/check_ntp.c:879 #: plugins/check_ntp_peer.c:733 plugins/check_ntp_time.c:642 #: plugins/check_procs.c:763 plugins/negate.c:249 plugins/urlize.c:179 @@ -237,14 +237,14 @@ msgstr "" #: plugins/check_by_ssh.c:490 plugins/check_cluster.c:284 #: plugins/check_dig.c:376 plugins/check_disk.c:953 plugins/check_dns.c:617 #: plugins/check_dummy.c:122 plugins/check_fping.c:524 plugins/check_game.c:331 -#: plugins/check_hpjd.c:439 plugins/check_http.c:1766 plugins/check_ldap.c:511 +#: plugins/check_hpjd.c:439 plugins/check_http.c:1878 plugins/check_ldap.c:511 #: plugins/check_load.c:372 plugins/check_mrtg.c:382 plugins/check_mysql.c:584 #: plugins/check_nagios.c:323 plugins/check_nt.c:797 plugins/check_ntp.c:898 #: plugins/check_ntp_peer.c:753 plugins/check_ntp_time.c:651 #: plugins/check_nwstat.c:1685 plugins/check_overcr.c:467 -#: plugins/check_pgsql.c:588 plugins/check_ping.c:617 plugins/check_procs.c:786 +#: plugins/check_pgsql.c:548 plugins/check_ping.c:617 plugins/check_procs.c:786 #: plugins/check_radius.c:396 plugins/check_real.c:452 plugins/check_smtp.c:860 -#: plugins/check_snmp.c:1284 plugins/check_ssh.c:325 plugins/check_swap.c:610 +#: plugins/check_snmp.c:1344 plugins/check_ssh.c:325 plugins/check_swap.c:610 #: plugins/check_tcp.c:710 plugins/check_time.c:371 plugins/check_ups.c:663 #: plugins/check_users.c:262 plugins/check_ide_smart.c:606 plugins/negate.c:273 #: plugins/urlize.c:196 plugins-root/check_dhcp.c:1394 @@ -294,11 +294,11 @@ msgid "commas" msgstr "" #: plugins/check_cluster.c:267 plugins/check_game.c:318 -#: plugins/check_http.c:1710 plugins/check_ldap.c:497 plugins/check_mrtg.c:363 +#: plugins/check_http.c:1822 plugins/check_ldap.c:497 plugins/check_mrtg.c:363 #: plugins/check_mrtgtraf.c:361 plugins/check_mysql.c:573 #: plugins/check_nt.c:781 plugins/check_ntp.c:875 plugins/check_ntp_peer.c:724 #: plugins/check_ntp_time.c:633 plugins/check_nwstat.c:1670 -#: plugins/check_overcr.c:456 plugins/check_snmp.c:1255 +#: plugins/check_overcr.c:456 plugins/check_snmp.c:1315 #: plugins/check_swap.c:599 plugins/check_ups.c:645 #: plugins/check_ide_smart.c:580 plugins/negate.c:255 #: plugins-root/check_icmp.c:1605 @@ -397,9 +397,9 @@ msgstr "" #: plugins/check_disk.c:223 plugins/check_disk.c:968 plugins/check_dns.c:295 #: plugins/check_dummy.c:74 plugins/check_mysql.c:310 #: plugins/check_nagios.c:104 plugins/check_nagios.c:168 -#: plugins/check_nagios.c:172 plugins/check_pgsql.c:611 -#: plugins/check_pgsql.c:628 plugins/check_pgsql.c:637 -#: plugins/check_pgsql.c:652 plugins/check_procs.c:351 +#: plugins/check_nagios.c:172 plugins/check_pgsql.c:571 +#: plugins/check_pgsql.c:588 plugins/check_pgsql.c:597 +#: plugins/check_pgsql.c:612 plugins/check_procs.c:351 #, c-format msgid "CRITICAL" msgstr "" @@ -417,7 +417,7 @@ msgstr "" #: plugins/check_disk.c:629 plugins/check_disk.c:670 plugins/check_disk.c:678 #: plugins/check_disk.c:686 plugins/check_disk.c:690 plugins/check_disk.c:732 #: plugins/check_disk.c:738 plugins/check_disk.c:757 plugins/check_dummy.c:77 -#: plugins/check_dummy.c:80 plugins/check_pgsql.c:653 plugins/check_procs.c:506 +#: plugins/check_dummy.c:80 plugins/check_pgsql.c:613 plugins/check_procs.c:506 #, c-format msgid "UNKNOWN" msgstr "" @@ -676,14 +676,14 @@ msgid "server %s is not authoritative for %s" msgstr "" #: plugins/check_dns.c:291 plugins/check_dummy.c:68 plugins/check_nagios.c:182 -#: plugins/check_pgsql.c:648 plugins/check_procs.c:344 +#: plugins/check_pgsql.c:608 plugins/check_procs.c:344 #, c-format msgid "OK" msgstr "" #: plugins/check_dns.c:293 plugins/check_dummy.c:71 plugins/check_mysql.c:307 -#: plugins/check_nagios.c:182 plugins/check_pgsql.c:617 -#: plugins/check_pgsql.c:622 plugins/check_pgsql.c:650 +#: plugins/check_nagios.c:182 plugins/check_pgsql.c:577 +#: plugins/check_pgsql.c:582 plugins/check_pgsql.c:610 #: plugins/check_procs.c:346 #, c-format msgid "WARNING" @@ -921,7 +921,7 @@ msgstr "" #: plugins/check_fping.c:345 plugins/check_fping.c:351 plugins/check_hpjd.c:345 #: plugins/check_hpjd.c:376 plugins/check_mysql.c:386 plugins/check_mysql.c:473 #: plugins/check_ntp.c:719 plugins/check_ntp_peer.c:497 -#: plugins/check_ntp_time.c:498 plugins/check_pgsql.c:339 +#: plugins/check_ntp_time.c:498 plugins/check_pgsql.c:338 #: plugins/check_ping.c:301 plugins/check_ping.c:424 plugins/check_radius.c:275 #: plugins/check_real.c:315 plugins/check_real.c:377 plugins/check_smtp.c:509 #: plugins/check_smtp.c:654 plugins/check_ssh.c:162 plugins/check_time.c:240 @@ -930,7 +930,7 @@ msgid "Invalid hostname/address" msgstr "" #: plugins/check_fping.c:364 plugins/check_ldap.c:400 plugins/check_ping.c:252 -#: plugins-root/check_icmp.c:469 +#: plugins-root/check_icmp.c:477 msgid "IPv6 support not available\n" msgstr "" @@ -991,7 +991,7 @@ msgid "critical threshold pair" msgstr "" #: plugins/check_fping.c:495 -msgid "Return OK after first successfull reply" +msgid "Return OK after first successful reply" msgstr "" #: plugins/check_fping.c:497 @@ -1172,588 +1172,592 @@ msgstr "" msgid "Disable paper check " msgstr "" -#: plugins/check_http.c:195 +#: plugins/check_http.c:196 msgid "file does not exist or is not readable" msgstr "" -#: plugins/check_http.c:321 plugins/check_http.c:326 plugins/check_http.c:332 +#: plugins/check_http.c:324 plugins/check_http.c:329 plugins/check_http.c:335 #: plugins/check_smtp.c:605 plugins/check_tcp.c:590 plugins/check_tcp.c:595 #: plugins/check_tcp.c:601 msgid "Invalid certificate expiration period" msgstr "" -#: plugins/check_http.c:375 +#: plugins/check_http.c:378 msgid "" "Invalid option - Valid SSL/TLS versions: 2, 3, 1, 1.1, 1.2 (with optional " "'+' suffix)" msgstr "" -#: plugins/check_http.c:381 plugins/check_tcp.c:614 plugins/check_tcp.c:623 +#: plugins/check_http.c:384 plugins/check_tcp.c:614 plugins/check_tcp.c:623 msgid "Invalid option - SSL is not available" msgstr "" -#: plugins/check_http.c:389 +#: plugins/check_http.c:392 msgid "Invalid max_redirs count" msgstr "" -#: plugins/check_http.c:409 +#: plugins/check_http.c:412 msgid "Invalid onredirect option" msgstr "" -#: plugins/check_http.c:411 +#: plugins/check_http.c:414 #, c-format msgid "option f:%d \n" msgstr "" -#: plugins/check_http.c:446 +#: plugins/check_http.c:449 msgid "Invalid port number" msgstr "" -#: plugins/check_http.c:504 +#: plugins/check_http.c:507 #, c-format msgid "Could Not Compile Regular Expression: %s" msgstr "" -#: plugins/check_http.c:518 plugins/check_ntp.c:732 +#: plugins/check_http.c:521 plugins/check_ntp.c:732 #: plugins/check_ntp_peer.c:513 plugins/check_ntp_time.c:517 #: plugins/check_smtp.c:634 plugins/check_ssh.c:151 plugins/check_tcp.c:491 msgid "IPv6 support not available" msgstr "" -#: plugins/check_http.c:586 plugins/check_ping.c:428 +#: plugins/check_http.c:589 plugins/check_ping.c:428 msgid "You must specify a server address or host name" msgstr "" -#: plugins/check_http.c:603 +#: plugins/check_http.c:606 msgid "" "If you use a client certificate you must also specify a private key file" msgstr "" -#: plugins/check_http.c:730 plugins/check_http.c:898 +#: plugins/check_http.c:733 plugins/check_http.c:901 msgid "HTTP UNKNOWN - Memory allocation error\n" msgstr "" -#: plugins/check_http.c:802 -#, c-format -msgid "%sServer date unknown, " -msgstr "" - #: plugins/check_http.c:805 #, c-format -msgid "%sDocument modification date unknown, " +msgid "%sServer date unknown, " msgstr "" -#: plugins/check_http.c:812 +#: plugins/check_http.c:808 #, c-format -msgid "%sServer date \"%100s\" unparsable, " +msgid "%sDocument modification date unknown, " msgstr "" #: plugins/check_http.c:815 #, c-format -msgid "%sDocument date \"%100s\" unparsable, " +msgid "%sServer date \"%100s\" unparsable, " msgstr "" #: plugins/check_http.c:818 #, c-format -msgid "%sDocument is %d seconds in the future, " +msgid "%sDocument date \"%100s\" unparsable, " msgstr "" -#: plugins/check_http.c:823 +#: plugins/check_http.c:821 #, c-format -msgid "%sLast modified %.1f days ago, " +msgid "%sDocument is %d seconds in the future, " msgstr "" #: plugins/check_http.c:826 #, c-format +msgid "%sLast modified %.1f days ago, " +msgstr "" + +#: plugins/check_http.c:829 +#, c-format msgid "%sLast modified %d:%02d:%02d ago, " msgstr "" -#: plugins/check_http.c:940 +#: plugins/check_http.c:943 msgid "HTTP CRITICAL - Unable to open TCP socket\n" msgstr "" -#: plugins/check_http.c:1126 +#: plugins/check_http.c:1103 +msgid "HTTP UNKNOWN - Could not allocate memory for full_page\n" +msgstr "" + +#: plugins/check_http.c:1120 msgid "HTTP CRITICAL - Error on receive\n" msgstr "" -#: plugins/check_http.c:1136 +#: plugins/check_http.c:1125 msgid "HTTP CRITICAL - No data received from host\n" msgstr "" -#: plugins/check_http.c:1187 +#: plugins/check_http.c:1176 #, c-format msgid "Invalid HTTP response received from host: %s\n" msgstr "" -#: plugins/check_http.c:1191 +#: plugins/check_http.c:1180 #, c-format msgid "Invalid HTTP response received from host on port %d: %s\n" msgstr "" -#: plugins/check_http.c:1194 plugins/check_http.c:1346 +#: plugins/check_http.c:1183 plugins/check_http.c:1376 #, c-format msgid "" "%s\n" "%s" msgstr "" -#: plugins/check_http.c:1202 +#: plugins/check_http.c:1191 #, c-format msgid "Status line output matched \"%s\" - " msgstr "" -#: plugins/check_http.c:1213 +#: plugins/check_http.c:1202 #, c-format msgid "HTTP CRITICAL: Invalid Status Line (%s)\n" msgstr "" -#: plugins/check_http.c:1220 +#: plugins/check_http.c:1209 #, c-format msgid "HTTP CRITICAL: Invalid Status (%s)\n" msgstr "" -#: plugins/check_http.c:1224 plugins/check_http.c:1229 -#: plugins/check_http.c:1239 plugins/check_http.c:1243 +#: plugins/check_http.c:1213 plugins/check_http.c:1218 +#: plugins/check_http.c:1228 plugins/check_http.c:1232 #, c-format msgid "%s - " msgstr "" -#: plugins/check_http.c:1262 +#: plugins/check_http.c:1260 #, c-format msgid "%sheader '%s' not found on '%s://%s:%d%s', " msgstr "" -#: plugins/check_http.c:1274 +#: plugins/check_http.c:1303 #, c-format msgid "%sstring '%s' not found on '%s://%s:%d%s', " msgstr "" -#: plugins/check_http.c:1287 +#: plugins/check_http.c:1317 #, c-format msgid "%spattern not found, " msgstr "" -#: plugins/check_http.c:1289 +#: plugins/check_http.c:1319 #, c-format msgid "%spattern found, " msgstr "" -#: plugins/check_http.c:1295 +#: plugins/check_http.c:1325 #, c-format msgid "%sExecute Error: %s, " msgstr "" -#: plugins/check_http.c:1311 +#: plugins/check_http.c:1341 #, c-format msgid "%spage size %d too large, " msgstr "" -#: plugins/check_http.c:1314 +#: plugins/check_http.c:1344 #, c-format msgid "%spage size %d too small, " msgstr "" -#: plugins/check_http.c:1327 +#: plugins/check_http.c:1357 #, c-format msgid "%s - %d bytes in %.3f second response time %s|%s %s %s %s %s %s %s" msgstr "" -#: plugins/check_http.c:1339 +#: plugins/check_http.c:1369 #, c-format msgid "%s - %d bytes in %.3f second response time %s|%s %s" msgstr "" -#: plugins/check_http.c:1382 +#: plugins/check_http.c:1494 msgid "HTTP UNKNOWN - Could not allocate addr\n" msgstr "" -#: plugins/check_http.c:1387 plugins/check_http.c:1418 +#: plugins/check_http.c:1499 plugins/check_http.c:1530 msgid "HTTP UNKNOWN - Could not allocate URL\n" msgstr "" -#: plugins/check_http.c:1396 +#: plugins/check_http.c:1508 #, c-format msgid "HTTP UNKNOWN - Could not find redirect location - %s%s\n" msgstr "" -#: plugins/check_http.c:1411 +#: plugins/check_http.c:1523 #, c-format msgid "HTTP UNKNOWN - Empty redirect location%s\n" msgstr "" -#: plugins/check_http.c:1473 +#: plugins/check_http.c:1585 #, c-format msgid "HTTP UNKNOWN - Could not parse redirect location - %s%s\n" msgstr "" -#: plugins/check_http.c:1483 +#: plugins/check_http.c:1595 #, c-format msgid "HTTP WARNING - maximum redirection depth %d exceeded - %s://%s:%d%s%s\n" msgstr "" -#: plugins/check_http.c:1491 +#: plugins/check_http.c:1603 #, c-format msgid "HTTP CRITICAL - redirection creates an infinite loop - %s://%s:%d%s%s\n" msgstr "" -#: plugins/check_http.c:1512 +#: plugins/check_http.c:1624 #, c-format msgid "HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n" msgstr "" -#: plugins/check_http.c:1520 +#: plugins/check_http.c:1632 #, c-format msgid "Redirection to %s://%s:%d%s\n" msgstr "" -#: plugins/check_http.c:1595 +#: plugins/check_http.c:1707 msgid "This plugin tests the HTTP service on the specified host. It can test" msgstr "" -#: plugins/check_http.c:1596 +#: plugins/check_http.c:1708 msgid "normal (http) and secure (https) servers, follow redirects, search for" msgstr "" -#: plugins/check_http.c:1597 +#: plugins/check_http.c:1709 msgid "strings and regular expressions, check connection times, and report on" msgstr "" -#: plugins/check_http.c:1598 +#: plugins/check_http.c:1710 msgid "certificate expiration times." msgstr "" -#: plugins/check_http.c:1605 +#: plugins/check_http.c:1717 #, c-format msgid "In the first form, make an HTTP request." msgstr "" -#: plugins/check_http.c:1606 +#: plugins/check_http.c:1718 #, c-format msgid "" "In the second form, connect to the server and check the TLS certificate." msgstr "" -#: plugins/check_http.c:1608 +#: plugins/check_http.c:1720 #, c-format msgid "NOTE: One or both of -H and -I must be specified" msgstr "" -#: plugins/check_http.c:1616 +#: plugins/check_http.c:1728 msgid "Host name argument for servers using host headers (virtual host)" msgstr "" -#: plugins/check_http.c:1617 +#: plugins/check_http.c:1729 msgid "Append a port to include it in the header (eg: example.com:5000)" msgstr "" -#: plugins/check_http.c:1619 +#: plugins/check_http.c:1731 msgid "" "IP address or name (use numeric address if possible to bypass DNS lookup)." msgstr "" -#: plugins/check_http.c:1621 +#: plugins/check_http.c:1733 msgid "Port number (default: " msgstr "" -#: plugins/check_http.c:1628 +#: plugins/check_http.c:1740 msgid "" "Connect via SSL. Port defaults to 443. VERSION is optional, and prevents" msgstr "" -#: plugins/check_http.c:1629 +#: plugins/check_http.c:1741 msgid "auto-negotiation (2 = SSLv2, 3 = SSLv3, 1 = TLSv1, 1.1 = TLSv1.1," msgstr "" -#: plugins/check_http.c:1630 +#: plugins/check_http.c:1742 msgid "1.2 = TLSv1.2). With a '+' suffix, newer versions are also accepted." msgstr "" -#: plugins/check_http.c:1632 +#: plugins/check_http.c:1744 msgid "Enable SSL/TLS hostname extension support (SNI)" msgstr "" -#: plugins/check_http.c:1634 +#: plugins/check_http.c:1746 msgid "" "Minimum number of days a certificate has to be valid. Port defaults to 443" msgstr "" -#: plugins/check_http.c:1635 +#: plugins/check_http.c:1747 msgid "" "(when this option is used the URL is not checked by default. You can use" msgstr "" -#: plugins/check_http.c:1636 +#: plugins/check_http.c:1748 msgid " --continue-after-certificate to override this behavior)" msgstr "" -#: plugins/check_http.c:1638 +#: plugins/check_http.c:1750 msgid "" "Allows the HTTP check to continue after performing the certificate check." msgstr "" -#: plugins/check_http.c:1639 +#: plugins/check_http.c:1751 msgid "Does nothing unless -C is used." msgstr "" -#: plugins/check_http.c:1641 +#: plugins/check_http.c:1753 msgid "Name of file that contains the client certificate (PEM format)" msgstr "" -#: plugins/check_http.c:1642 +#: plugins/check_http.c:1754 msgid "to be used in establishing the SSL session" msgstr "" -#: plugins/check_http.c:1644 +#: plugins/check_http.c:1756 msgid "Name of file containing the private key (PEM format)" msgstr "" -#: plugins/check_http.c:1645 +#: plugins/check_http.c:1757 msgid "matching the client certificate" msgstr "" -#: plugins/check_http.c:1649 +#: plugins/check_http.c:1761 msgid "Comma-delimited list of strings, at least one of them is expected in" msgstr "" -#: plugins/check_http.c:1650 +#: plugins/check_http.c:1762 msgid "the first (status) line of the server response (default: " msgstr "" -#: plugins/check_http.c:1652 +#: plugins/check_http.c:1764 msgid "" "If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)" msgstr "" -#: plugins/check_http.c:1654 +#: plugins/check_http.c:1766 msgid "String to expect in the response headers" msgstr "" -#: plugins/check_http.c:1656 +#: plugins/check_http.c:1768 msgid "String to expect in the content" msgstr "" -#: plugins/check_http.c:1658 +#: plugins/check_http.c:1770 msgid "URL to GET or POST (default: /)" msgstr "" -#: plugins/check_http.c:1660 +#: plugins/check_http.c:1772 msgid "URL encoded http POST data" msgstr "" -#: plugins/check_http.c:1662 +#: plugins/check_http.c:1774 msgid "Set HTTP method." msgstr "" -#: plugins/check_http.c:1664 +#: plugins/check_http.c:1776 msgid "Don't wait for document body: stop reading after headers." msgstr "" -#: plugins/check_http.c:1665 +#: plugins/check_http.c:1777 msgid "(Note that this still does an HTTP GET or POST, not a HEAD.)" msgstr "" -#: plugins/check_http.c:1667 +#: plugins/check_http.c:1779 msgid "Warn if document is more than SECONDS old. the number can also be of" msgstr "" -#: plugins/check_http.c:1668 +#: plugins/check_http.c:1780 msgid "the form \"10m\" for minutes, \"10h\" for hours, or \"10d\" for days." msgstr "" -#: plugins/check_http.c:1670 +#: plugins/check_http.c:1782 msgid "specify Content-Type header media type when POSTing\n" msgstr "" -#: plugins/check_http.c:1673 +#: plugins/check_http.c:1785 msgid "Allow regex to span newlines (must precede -r or -R)" msgstr "" -#: plugins/check_http.c:1675 +#: plugins/check_http.c:1787 msgid "Search page for regex STRING" msgstr "" -#: plugins/check_http.c:1677 +#: plugins/check_http.c:1789 msgid "Search page for case-insensitive regex STRING" msgstr "" -#: plugins/check_http.c:1679 +#: plugins/check_http.c:1791 msgid "Return CRITICAL if found, OK if not\n" msgstr "" -#: plugins/check_http.c:1682 +#: plugins/check_http.c:1794 msgid "Username:password on sites with basic authentication" msgstr "" -#: plugins/check_http.c:1684 +#: plugins/check_http.c:1796 msgid "Username:password on proxy-servers with basic authentication" msgstr "" -#: plugins/check_http.c:1686 +#: plugins/check_http.c:1798 msgid "String to be sent in http header as \"User Agent\"" msgstr "" -#: plugins/check_http.c:1688 +#: plugins/check_http.c:1800 msgid "" "Any other tags to be sent in http header. Use multiple times for additional " "headers" msgstr "" -#: plugins/check_http.c:1690 +#: plugins/check_http.c:1802 msgid "Print additional performance data" msgstr "" -#: plugins/check_http.c:1692 +#: plugins/check_http.c:1804 msgid "Print body content below status line" msgstr "" -#: plugins/check_http.c:1694 +#: plugins/check_http.c:1806 msgid "Wrap output in HTML link (obsoleted by urlize)" msgstr "" -#: plugins/check_http.c:1696 +#: plugins/check_http.c:1808 msgid "How to handle redirected pages. sticky is like follow but stick to the" msgstr "" -#: plugins/check_http.c:1697 +#: plugins/check_http.c:1809 msgid "specified IP address. stickyport also ensures port stays the same." msgstr "" -#: plugins/check_http.c:1699 +#: plugins/check_http.c:1811 msgid "Maximal number of redirects (default: " msgstr "" -#: plugins/check_http.c:1702 +#: plugins/check_http.c:1814 msgid "Minimum page size required (bytes) : Maximum page size required (bytes)" msgstr "" -#: plugins/check_http.c:1711 +#: plugins/check_http.c:1823 msgid "This plugin will attempt to open an HTTP connection with the host." msgstr "" -#: plugins/check_http.c:1712 +#: plugins/check_http.c:1824 msgid "" "Successful connects return STATE_OK, refusals and timeouts return " "STATE_CRITICAL" msgstr "" -#: plugins/check_http.c:1713 +#: plugins/check_http.c:1825 msgid "" "other errors return STATE_UNKNOWN. Successful connects, but incorrect " "response" msgstr "" -#: plugins/check_http.c:1714 +#: plugins/check_http.c:1826 msgid "" "messages from the host result in STATE_WARNING return values. If you are" msgstr "" -#: plugins/check_http.c:1715 +#: plugins/check_http.c:1827 msgid "" "checking a virtual server that uses 'host headers' you must supply the FQDN" msgstr "" -#: plugins/check_http.c:1716 +#: plugins/check_http.c:1828 msgid "(fully qualified domain name) as the [host_name] argument." msgstr "" -#: plugins/check_http.c:1720 +#: plugins/check_http.c:1832 msgid "This plugin can also check whether an SSL enabled web server is able to" msgstr "" -#: plugins/check_http.c:1721 +#: plugins/check_http.c:1833 msgid "serve content (optionally within a specified time) or whether the X509 " msgstr "" -#: plugins/check_http.c:1722 +#: plugins/check_http.c:1834 msgid "certificate is still valid for the specified number of days." msgstr "" -#: plugins/check_http.c:1724 +#: plugins/check_http.c:1836 msgid "Please note that this plugin does not check if the presented server" msgstr "" -#: plugins/check_http.c:1725 +#: plugins/check_http.c:1837 msgid "certificate matches the hostname of the server, or if the certificate" msgstr "" -#: plugins/check_http.c:1726 +#: plugins/check_http.c:1838 msgid "has a valid chain of trust to one of the locally installed CAs." msgstr "" -#: plugins/check_http.c:1730 +#: plugins/check_http.c:1842 msgid "" "When the 'www.verisign.com' server returns its content within 5 seconds," msgstr "" -#: plugins/check_http.c:1731 plugins/check_http.c:1750 +#: plugins/check_http.c:1843 plugins/check_http.c:1862 msgid "" "a STATE_OK will be returned. When the server returns its content but exceeds" msgstr "" -#: plugins/check_http.c:1732 plugins/check_http.c:1751 +#: plugins/check_http.c:1844 plugins/check_http.c:1863 msgid "" "the 5-second threshold, a STATE_WARNING will be returned. When an error " "occurs," msgstr "" -#: plugins/check_http.c:1733 +#: plugins/check_http.c:1845 msgid "a STATE_CRITICAL will be returned." msgstr "" -#: plugins/check_http.c:1736 +#: plugins/check_http.c:1848 msgid "" "When the certificate of 'www.verisign.com' is valid for more than 14 days," msgstr "" -#: plugins/check_http.c:1737 plugins/check_http.c:1743 +#: plugins/check_http.c:1849 plugins/check_http.c:1855 msgid "" "a STATE_OK is returned. When the certificate is still valid, but for less " "than" msgstr "" -#: plugins/check_http.c:1738 +#: plugins/check_http.c:1850 msgid "" "14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be returned when" msgstr "" -#: plugins/check_http.c:1739 +#: plugins/check_http.c:1851 msgid "the certificate is expired." msgstr "" -#: plugins/check_http.c:1742 +#: plugins/check_http.c:1854 msgid "" "When the certificate of 'www.verisign.com' is valid for more than 30 days," msgstr "" -#: plugins/check_http.c:1744 +#: plugins/check_http.c:1856 msgid "30 days, but more than 14 days, a STATE_WARNING is returned." msgstr "" -#: plugins/check_http.c:1745 +#: plugins/check_http.c:1857 msgid "" "A STATE_CRITICAL will be returned when certificate expires in less than 14 " "days" msgstr "" -#: plugins/check_http.c:1748 +#: plugins/check_http.c:1860 msgid "" "check_http -I 192.168.100.35 -p 80 -u https://www.verisign.com/ -S -j " "CONNECT -H www.verisign.com " msgstr "" -#: plugins/check_http.c:1749 +#: plugins/check_http.c:1861 msgid "" "all these options are needed: -I -p -u -" "S(sl) -j CONNECT -H " msgstr "" -#: plugins/check_http.c:1752 +#: plugins/check_http.c:1864 msgid "" "a STATE_CRITICAL will be returned. By adding a colon to the method you can " "set the method used" msgstr "" -#: plugins/check_http.c:1753 +#: plugins/check_http.c:1865 msgid "inside the proxied connection: -j CONNECT:POST" msgstr "" @@ -3567,226 +3571,226 @@ msgid "" "higher than the warning threshold value, EXCEPT with the uptime variable" msgstr "" -#: plugins/check_pgsql.c:225 +#: plugins/check_pgsql.c:224 #, c-format msgid "CRITICAL - no connection to '%s' (%s).\n" msgstr "" -#: plugins/check_pgsql.c:253 +#: plugins/check_pgsql.c:252 #, c-format msgid " %s - database %s (%f sec.)|%s\n" msgstr "" -#: plugins/check_pgsql.c:321 plugins/check_time.c:277 plugins/check_time.c:289 +#: plugins/check_pgsql.c:320 plugins/check_time.c:277 plugins/check_time.c:289 #: plugins/check_users.c:228 msgid "Critical threshold must be a positive integer" msgstr "" -#: plugins/check_pgsql.c:327 plugins/check_time.c:258 plugins/check_time.c:282 +#: plugins/check_pgsql.c:326 plugins/check_time.c:258 plugins/check_time.c:282 #: plugins/check_users.c:226 msgid "Warning threshold must be a positive integer" msgstr "" -#: plugins/check_pgsql.c:351 -msgid "Database name is not valid" +#: plugins/check_pgsql.c:350 +msgid "Database name exceeds the maximum length" msgstr "" -#: plugins/check_pgsql.c:357 +#: plugins/check_pgsql.c:356 msgid "User name is not valid" msgstr "" -#: plugins/check_pgsql.c:511 +#: plugins/check_pgsql.c:471 #, c-format msgid "Test whether a PostgreSQL Database is accepting connections." msgstr "" -#: plugins/check_pgsql.c:523 +#: plugins/check_pgsql.c:483 msgid "Database to check " msgstr "" -#: plugins/check_pgsql.c:524 +#: plugins/check_pgsql.c:484 #, c-format msgid "(default: %s)\n" msgstr "" -#: plugins/check_pgsql.c:526 +#: plugins/check_pgsql.c:486 msgid "Login name of user" msgstr "" -#: plugins/check_pgsql.c:528 +#: plugins/check_pgsql.c:488 msgid "Password (BIG SECURITY ISSUE)" msgstr "" -#: plugins/check_pgsql.c:530 +#: plugins/check_pgsql.c:490 msgid "Connection parameters (keyword = value), see below" msgstr "" -#: plugins/check_pgsql.c:537 +#: plugins/check_pgsql.c:497 msgid "SQL query to run. Only first column in first row will be read" msgstr "" -#: plugins/check_pgsql.c:539 +#: plugins/check_pgsql.c:499 msgid "A name for the query, this string is used instead of the query" msgstr "" -#: plugins/check_pgsql.c:540 +#: plugins/check_pgsql.c:500 msgid "in the long output of the plugin" msgstr "" -#: plugins/check_pgsql.c:542 +#: plugins/check_pgsql.c:502 msgid "SQL query value to result in warning status (double)" msgstr "" -#: plugins/check_pgsql.c:544 +#: plugins/check_pgsql.c:504 msgid "SQL query value to result in critical status (double)" msgstr "" -#: plugins/check_pgsql.c:549 +#: plugins/check_pgsql.c:509 msgid "All parameters are optional." msgstr "" -#: plugins/check_pgsql.c:550 +#: plugins/check_pgsql.c:510 msgid "" "This plugin tests a PostgreSQL DBMS to determine whether it is active and" msgstr "" -#: plugins/check_pgsql.c:551 +#: plugins/check_pgsql.c:511 msgid "accepting queries. In its current operation, it simply connects to the" msgstr "" -#: plugins/check_pgsql.c:552 +#: plugins/check_pgsql.c:512 msgid "" "specified database, and then disconnects. If no database is specified, it" msgstr "" -#: plugins/check_pgsql.c:553 +#: plugins/check_pgsql.c:513 msgid "" "connects to the template1 database, which is present in every functioning" msgstr "" -#: plugins/check_pgsql.c:554 +#: plugins/check_pgsql.c:514 msgid "PostgreSQL DBMS." msgstr "" -#: plugins/check_pgsql.c:556 +#: plugins/check_pgsql.c:516 msgid "If a query is specified using the -q option, it will be executed after" msgstr "" -#: plugins/check_pgsql.c:557 +#: plugins/check_pgsql.c:517 msgid "connecting to the server. The result from the query has to be numeric." msgstr "" -#: plugins/check_pgsql.c:558 +#: plugins/check_pgsql.c:518 msgid "" "Multiple SQL commands, separated by semicolon, are allowed but the result " msgstr "" -#: plugins/check_pgsql.c:559 +#: plugins/check_pgsql.c:519 msgid "of the last command is taken into account only. The value of the first" msgstr "" -#: plugins/check_pgsql.c:560 +#: plugins/check_pgsql.c:520 msgid "column in the first row is used as the check result." msgstr "" -#: plugins/check_pgsql.c:562 +#: plugins/check_pgsql.c:522 msgid "" "See the chapter \"Monitoring Database Activity\" of the PostgreSQL manual" msgstr "" -#: plugins/check_pgsql.c:563 +#: plugins/check_pgsql.c:523 msgid "" "for details about how to access internal statistics of the database server." msgstr "" -#: plugins/check_pgsql.c:565 +#: plugins/check_pgsql.c:525 msgid "" "For a list of available connection parameters which may be used with the -o" msgstr "" -#: plugins/check_pgsql.c:566 +#: plugins/check_pgsql.c:526 msgid "" "command line option, see the documentation for PQconnectdb() in the chapter" msgstr "" -#: plugins/check_pgsql.c:567 +#: plugins/check_pgsql.c:527 msgid "" "\"libpq - C Library\" of the PostgreSQL manual. For example, this may be" msgstr "" -#: plugins/check_pgsql.c:568 +#: plugins/check_pgsql.c:528 msgid "" "used to specify a service name in pg_service.conf to be used for additional" msgstr "" -#: plugins/check_pgsql.c:569 +#: plugins/check_pgsql.c:529 msgid "connection parameters: -o 'service=' or to specify the SSL mode:" msgstr "" -#: plugins/check_pgsql.c:570 +#: plugins/check_pgsql.c:530 msgid "-o 'sslmode=require'." msgstr "" -#: plugins/check_pgsql.c:572 +#: plugins/check_pgsql.c:532 msgid "" "The plugin will connect to a local postmaster if no host is specified. To" msgstr "" -#: plugins/check_pgsql.c:573 +#: plugins/check_pgsql.c:533 msgid "" "connect to a remote host, be sure that the remote postmaster accepts TCP/IP" msgstr "" -#: plugins/check_pgsql.c:574 +#: plugins/check_pgsql.c:534 msgid "connections (start the postmaster with the -i option)." msgstr "" -#: plugins/check_pgsql.c:576 +#: plugins/check_pgsql.c:536 msgid "" "Typically, the monitoring user (unless the --logname option is used) should " "be" msgstr "" -#: plugins/check_pgsql.c:577 +#: plugins/check_pgsql.c:537 msgid "" "able to connect to the database without a password. The plugin can also send" msgstr "" -#: plugins/check_pgsql.c:578 +#: plugins/check_pgsql.c:538 msgid "a password, but no effort is made to obscure or encrypt the password." msgstr "" -#: plugins/check_pgsql.c:611 +#: plugins/check_pgsql.c:571 #, c-format msgid "QUERY %s - %s: %s.\n" msgstr "" -#: plugins/check_pgsql.c:611 +#: plugins/check_pgsql.c:571 msgid "Error with query" msgstr "" -#: plugins/check_pgsql.c:617 +#: plugins/check_pgsql.c:577 msgid "No rows returned" msgstr "" -#: plugins/check_pgsql.c:622 +#: plugins/check_pgsql.c:582 msgid "No columns returned" msgstr "" -#: plugins/check_pgsql.c:628 +#: plugins/check_pgsql.c:588 msgid "No data returned" msgstr "" -#: plugins/check_pgsql.c:637 +#: plugins/check_pgsql.c:597 msgid "Is not a numeric" msgstr "" -#: plugins/check_pgsql.c:655 +#: plugins/check_pgsql.c:615 #, c-format msgid "%s returned %f" msgstr "" -#: plugins/check_pgsql.c:658 +#: plugins/check_pgsql.c:618 #, c-format msgid "'%s' returned %f" msgstr "" @@ -4482,7 +4486,7 @@ msgstr "" msgid "Invalid SMTP response received from host on port %d: %s\n" msgstr "" -#: plugins/check_smtp.c:312 plugins/check_snmp.c:855 +#: plugins/check_smtp.c:312 plugins/check_snmp.c:863 #, c-format msgid "Could Not Compile Regular Expression" msgstr "" @@ -4492,7 +4496,7 @@ msgstr "" msgid "SMTP %s - Invalid response '%s' to command '%s'\n" msgstr "" -#: plugins/check_smtp.c:325 plugins/check_snmp.c:532 +#: plugins/check_smtp.c:325 plugins/check_snmp.c:538 #, c-format msgid "Execute Error: %s\n" msgstr "" @@ -4647,336 +4651,349 @@ msgstr "" msgid "STATE_WARNING return values." msgstr "" -#: plugins/check_snmp.c:172 plugins/check_snmp.c:618 +#: plugins/check_snmp.c:175 plugins/check_snmp.c:624 msgid "Cannot malloc" msgstr "" -#: plugins/check_snmp.c:363 +#: plugins/check_snmp.c:366 #, c-format msgid "External command error: %s\n" msgstr "" -#: plugins/check_snmp.c:368 +#: plugins/check_snmp.c:371 #, c-format msgid "External command error with no output (return code: %d)\n" msgstr "" -#: plugins/check_snmp.c:478 plugins/check_snmp.c:480 plugins/check_snmp.c:482 -#: plugins/check_snmp.c:484 +#: plugins/check_snmp.c:484 plugins/check_snmp.c:486 plugins/check_snmp.c:488 +#: plugins/check_snmp.c:490 #, c-format msgid "No valid data returned (%s)\n" msgstr "" -#: plugins/check_snmp.c:496 +#: plugins/check_snmp.c:502 msgid "Time duration between plugin calls is invalid" msgstr "" -#: plugins/check_snmp.c:624 +#: plugins/check_snmp.c:630 msgid "Cannot asprintf()" msgstr "" -#: plugins/check_snmp.c:630 +#: plugins/check_snmp.c:636 msgid "Cannot realloc()" msgstr "" -#: plugins/check_snmp.c:646 +#: plugins/check_snmp.c:652 msgid "No previous data to calculate rate - assume okay" msgstr "" -#: plugins/check_snmp.c:794 +#: plugins/check_snmp.c:802 msgid "Retries interval must be a positive integer" msgstr "" -#: plugins/check_snmp.c:831 +#: plugins/check_snmp.c:839 msgid "Exit status must be a positive integer" msgstr "" -#: plugins/check_snmp.c:880 +#: plugins/check_snmp.c:888 #, c-format msgid "Could not reallocate labels[%d]" msgstr "" -#: plugins/check_snmp.c:893 +#: plugins/check_snmp.c:901 msgid "Could not reallocate labels\n" msgstr "" -#: plugins/check_snmp.c:909 +#: plugins/check_snmp.c:917 #, c-format msgid "Could not reallocate units [%d]\n" msgstr "" -#: plugins/check_snmp.c:921 +#: plugins/check_snmp.c:929 msgid "Could not realloc() units\n" msgstr "" -#: plugins/check_snmp.c:938 +#: plugins/check_snmp.c:946 msgid "Rate multiplier must be a positive integer" msgstr "" -#: plugins/check_snmp.c:1003 +#: plugins/check_snmp.c:1021 msgid "No host specified\n" msgstr "" -#: plugins/check_snmp.c:1007 +#: plugins/check_snmp.c:1025 msgid "No OIDs specified\n" msgstr "" -#: plugins/check_snmp.c:1030 plugins/check_snmp.c:1048 -#: plugins/check_snmp.c:1066 +#: plugins/check_snmp.c:1048 plugins/check_snmp.c:1066 +#: plugins/check_snmp.c:1084 #, c-format msgid "Required parameter: %s\n" msgstr "" -#: plugins/check_snmp.c:1041 +#: plugins/check_snmp.c:1059 msgid "Invalid seclevel" msgstr "" -#: plugins/check_snmp.c:1087 +#: plugins/check_snmp.c:1105 msgid "Invalid SNMP version" msgstr "" -#: plugins/check_snmp.c:1104 +#: plugins/check_snmp.c:1122 msgid "Unbalanced quotes\n" msgstr "" -#: plugins/check_snmp.c:1153 +#: plugins/check_snmp.c:1178 +#, c-format +msgid "multiplier set (%.1f), but input is not a number: %s" +msgstr "" + +#: plugins/check_snmp.c:1209 msgid "Check status of remote machines and obtain system information via SNMP" msgstr "" -#: plugins/check_snmp.c:1167 +#: plugins/check_snmp.c:1223 msgid "Use SNMP GETNEXT instead of SNMP GET" msgstr "" -#: plugins/check_snmp.c:1169 +#: plugins/check_snmp.c:1225 msgid "SNMP protocol version" msgstr "" -#: plugins/check_snmp.c:1171 +#: plugins/check_snmp.c:1227 msgid "SNMPv3 context" msgstr "" -#: plugins/check_snmp.c:1173 +#: plugins/check_snmp.c:1229 msgid "SNMPv3 securityLevel" msgstr "" -#: plugins/check_snmp.c:1175 +#: plugins/check_snmp.c:1231 msgid "SNMPv3 auth proto" msgstr "" -#: plugins/check_snmp.c:1177 +#: plugins/check_snmp.c:1233 msgid "SNMPv3 priv proto (default DES)" msgstr "" -#: plugins/check_snmp.c:1181 +#: plugins/check_snmp.c:1237 msgid "Optional community string for SNMP communication" msgstr "" -#: plugins/check_snmp.c:1182 +#: plugins/check_snmp.c:1238 msgid "default is" msgstr "" -#: plugins/check_snmp.c:1184 +#: plugins/check_snmp.c:1240 msgid "SNMPv3 username" msgstr "" -#: plugins/check_snmp.c:1186 +#: plugins/check_snmp.c:1242 msgid "SNMPv3 authentication password" msgstr "" -#: plugins/check_snmp.c:1188 +#: plugins/check_snmp.c:1244 msgid "SNMPv3 privacy password" msgstr "" -#: plugins/check_snmp.c:1192 +#: plugins/check_snmp.c:1248 msgid "Object identifier(s) or SNMP variables whose value you wish to query" msgstr "" -#: plugins/check_snmp.c:1194 +#: plugins/check_snmp.c:1250 msgid "" "List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL'" msgstr "" -#: plugins/check_snmp.c:1195 +#: plugins/check_snmp.c:1251 msgid "for symbolic OIDs.)" msgstr "" -#: plugins/check_snmp.c:1197 +#: plugins/check_snmp.c:1253 msgid "Delimiter to use when parsing returned data. Default is" msgstr "" -#: plugins/check_snmp.c:1198 +#: plugins/check_snmp.c:1254 msgid "Any data on the right hand side of the delimiter is considered" msgstr "" -#: plugins/check_snmp.c:1199 +#: plugins/check_snmp.c:1255 msgid "to be the data that should be used in the evaluation." msgstr "" -#: plugins/check_snmp.c:1201 +#: plugins/check_snmp.c:1257 msgid "If the check returns a 0 length string or NULL value" msgstr "" -#: plugins/check_snmp.c:1202 +#: plugins/check_snmp.c:1258 msgid "This option allows you to choose what status you want it to exit" msgstr "" -#: plugins/check_snmp.c:1203 +#: plugins/check_snmp.c:1259 msgid "Excluding this option renders the default exit of 3(STATE_UNKNOWN)" msgstr "" -#: plugins/check_snmp.c:1204 +#: plugins/check_snmp.c:1260 msgid "0 = OK" msgstr "" -#: plugins/check_snmp.c:1205 +#: plugins/check_snmp.c:1261 msgid "1 = WARNING" msgstr "" -#: plugins/check_snmp.c:1206 +#: plugins/check_snmp.c:1262 msgid "2 = CRITICAL" msgstr "" -#: plugins/check_snmp.c:1207 +#: plugins/check_snmp.c:1263 msgid "3 = UNKNOWN" msgstr "" -#: plugins/check_snmp.c:1211 +#: plugins/check_snmp.c:1267 msgid "Warning threshold range(s)" msgstr "" -#: plugins/check_snmp.c:1213 +#: plugins/check_snmp.c:1269 msgid "Critical threshold range(s)" msgstr "" -#: plugins/check_snmp.c:1215 +#: plugins/check_snmp.c:1271 msgid "Enable rate calculation. See 'Rate Calculation' below" msgstr "" -#: plugins/check_snmp.c:1217 +#: plugins/check_snmp.c:1273 msgid "" "Converts rate per second. For example, set to 60 to convert to per minute" msgstr "" -#: plugins/check_snmp.c:1219 +#: plugins/check_snmp.c:1275 msgid "Add/substract the specified OFFSET to numeric sensor data" msgstr "" -#: plugins/check_snmp.c:1223 +#: plugins/check_snmp.c:1279 msgid "Return OK state (for that OID) if STRING is an exact match" msgstr "" -#: plugins/check_snmp.c:1225 +#: plugins/check_snmp.c:1281 msgid "" "Return OK state (for that OID) if extended regular expression REGEX matches" msgstr "" -#: plugins/check_snmp.c:1227 +#: plugins/check_snmp.c:1283 msgid "" "Return OK state (for that OID) if case-insensitive extended REGEX matches" msgstr "" -#: plugins/check_snmp.c:1229 +#: plugins/check_snmp.c:1285 msgid "Invert search result (CRITICAL if found)" msgstr "" -#: plugins/check_snmp.c:1233 +#: plugins/check_snmp.c:1289 msgid "Prefix label for output from plugin" msgstr "" -#: plugins/check_snmp.c:1235 +#: plugins/check_snmp.c:1291 msgid "Units label(s) for output data (e.g., 'sec.')." msgstr "" -#: plugins/check_snmp.c:1237 +#: plugins/check_snmp.c:1293 msgid "Separates output on multiple OID requests" msgstr "" -#: plugins/check_snmp.c:1240 +#: plugins/check_snmp.c:1295 +msgid "Multiplies current value, 0 < n < 1 works as divider, defaults to 1" +msgstr "" + +#: plugins/check_snmp.c:1297 +msgid "C-style format string for float values (see option -M)" +msgstr "" + +#: plugins/check_snmp.c:1300 msgid "" "NOTE the final timeout value is calculated using this formula: " "timeout_interval * retries + 5" msgstr "" -#: plugins/check_snmp.c:1242 +#: plugins/check_snmp.c:1302 msgid "Number of retries to be used in the requests, default: " msgstr "" -#: plugins/check_snmp.c:1245 +#: plugins/check_snmp.c:1305 msgid "Label performance data with OIDs instead of --label's" msgstr "" -#: plugins/check_snmp.c:1250 +#: plugins/check_snmp.c:1310 msgid "" "This plugin uses the 'snmpget' command included with the NET-SNMP package." msgstr "" -#: plugins/check_snmp.c:1251 +#: plugins/check_snmp.c:1311 msgid "" "if you don't have the package installed, you will need to download it from" msgstr "" -#: plugins/check_snmp.c:1252 +#: plugins/check_snmp.c:1312 msgid "http://net-snmp.sourceforge.net before you can use this plugin." msgstr "" -#: plugins/check_snmp.c:1256 +#: plugins/check_snmp.c:1316 msgid "" "- Multiple OIDs (and labels) may be indicated by a comma or space-delimited " msgstr "" -#: plugins/check_snmp.c:1257 +#: plugins/check_snmp.c:1317 msgid "list (lists with internal spaces must be quoted)." msgstr "" -#: plugins/check_snmp.c:1261 +#: plugins/check_snmp.c:1321 msgid "" "- When checking multiple OIDs, separate ranges by commas like '-w " "1:10,1:,:20'" msgstr "" -#: plugins/check_snmp.c:1262 +#: plugins/check_snmp.c:1322 msgid "- Note that only one string and one regex may be checked at present" msgstr "" -#: plugins/check_snmp.c:1263 +#: plugins/check_snmp.c:1323 msgid "" "- All evaluation methods other than PR, STR, and SUBSTR expect that the value" msgstr "" -#: plugins/check_snmp.c:1264 +#: plugins/check_snmp.c:1324 msgid "returned from the SNMP query is an unsigned integer." msgstr "" -#: plugins/check_snmp.c:1267 +#: plugins/check_snmp.c:1327 msgid "Rate Calculation:" msgstr "" -#: plugins/check_snmp.c:1268 +#: plugins/check_snmp.c:1328 msgid "In many places, SNMP returns counters that are only meaningful when" msgstr "" -#: plugins/check_snmp.c:1269 +#: plugins/check_snmp.c:1329 msgid "calculating the counter difference since the last check. check_snmp" msgstr "" -#: plugins/check_snmp.c:1270 +#: plugins/check_snmp.c:1330 msgid "saves the last state information in a file so that the rate per second" msgstr "" -#: plugins/check_snmp.c:1271 +#: plugins/check_snmp.c:1331 msgid "can be calculated. Use the --rate option to save state information." msgstr "" -#: plugins/check_snmp.c:1272 +#: plugins/check_snmp.c:1332 msgid "" "On the first run, there will be no prior state - this will return with OK." msgstr "" -#: plugins/check_snmp.c:1273 +#: plugins/check_snmp.c:1333 msgid "The state is uniquely determined by the arguments to the plugin, so" msgstr "" -#: plugins/check_snmp.c:1274 +#: plugins/check_snmp.c:1334 msgid "changing the arguments will create a new state file." msgstr "" diff --git a/release b/release index f90b1af..0bee604 100644 --- a/release +++ b/release @@ -1 +1 @@ -2.3.2 +2.3.3 diff --git a/tap/Makefile.in b/tap/Makefile.in index b0def78..15715a7 100644 --- a/tap/Makefile.in +++ b/tap/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.3 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -299,8 +299,6 @@ am__define_uniq_tagged_files = \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp \ $(top_srcdir)/build-aux/mkinstalldirs README @@ -329,6 +327,8 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ DBILIBS = @DBILIBS@ DEFS = @DEFS@ @@ -348,6 +348,7 @@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ EXTRAS = @EXTRAS@ EXTRAS_ROOT = @EXTRAS_ROOT@ @@ -1610,7 +1611,6 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am