diff -Nru snort-2.9.0.1/aclocal.m4 snort-2.9.2/aclocal.m4
--- snort-2.9.0.1/aclocal.m4 2010-10-08 02:56:47.000000000 -0700
+++ snort-2.9.2/aclocal.m4 2011-12-07 11:23:11.000000000 -0800
@@ -13,8 +13,8 @@
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
-[m4_warning([this file was generated for autoconf 2.65.
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
+[m4_warning([this file was generated for autoconf 2.63.
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'.])])
@@ -7968,6 +7968,162 @@
m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
+#
+# Copyright © 2004 Scott James Remnant .
+#
+# 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 2 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
+# ----------------------------------
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=m4_default([$1], [0.9.0])
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ PKG_CONFIG=""
+ fi
+
+fi[]dnl
+])# PKG_PROG_PKG_CONFIG
+
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+#
+# Check to see whether a particular set of modules exists. Similar
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
+#
+#
+# Similar to PKG_CHECK_MODULES, make sure that the first instance of
+# this or PKG_CHECK_MODULES is called, or make sure to call
+# PKG_CHECK_EXISTS manually
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_EXISTS],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+if test -n "$PKG_CONFIG" && \
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
+ m4_ifval([$2], [$2], [:])
+m4_ifvaln([$3], [else
+ $3])dnl
+fi])
+
+
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
+# ---------------------------------------------
+m4_define([_PKG_CONFIG],
+[if test -n "$$1"; then
+ pkg_cv_[]$1="$$1"
+ elif test -n "$PKG_CONFIG"; then
+ PKG_CHECK_EXISTS([$3],
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
+ [pkg_failed=yes])
+ else
+ pkg_failed=untried
+fi[]dnl
+])# _PKG_CONFIG
+
+# _PKG_SHORT_ERRORS_SUPPORTED
+# -----------------------------
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi[]dnl
+])# _PKG_SHORT_ERRORS_SUPPORTED
+
+
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
+# [ACTION-IF-NOT-FOUND])
+#
+#
+# Note that if there is a possibility the first call to
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
+#
+#
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_MODULES],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
+
+pkg_failed=no
+AC_MSG_CHECKING([for $1])
+
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
+
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
+and $1[]_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.])
+
+if test $pkg_failed = yes; then
+ _PKG_SHORT_ERRORS_SUPPORTED
+ if test $_pkg_short_errors_supported = yes; then
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
+ else
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
+
+ ifelse([$4], , [AC_MSG_ERROR(dnl
+[Package requirements ($2) were not met:
+
+$$1_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+_PKG_TEXT
+])],
+ [AC_MSG_RESULT([no])
+ $4])
+elif test $pkg_failed = untried; then
+ ifelse([$4], , [AC_MSG_FAILURE(dnl
+[The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+_PKG_TEXT
+
+To get pkg-config, see .])],
+ [$4])
+else
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
+ AC_MSG_RESULT([yes])
+ ifelse([$3], , :, [$3])
+fi[]dnl
+])# PKG_CHECK_MODULES
+
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
diff -Nru snort-2.9.0.1/ChangeLog snort-2.9.2/ChangeLog
--- snort-2.9.0.1/ChangeLog 2010-10-25 12:48:54.000000000 -0700
+++ snort-2.9.2/ChangeLog 2011-12-08 08:49:14.000000000 -0800
@@ -1,4 +1,1528 @@
+2011-12-14 Ryan Jordan
+Snort 2.9.2
+ * src/build.h: updating build number to 78
+
+ * snort.8:
+ Fixed spelling errors. Thanks to Neline van Ginkel for the report.
+
+ * src/: snort.c, preprocessors/spp_perfmonitor.c:
+ Perfmonitor "now" files are created after Snort drops privileges.
+
+ * src/output-plugins/spo_unified2.c:
+ Only log IPv6 extra data when the packet is IPv6.
+
+ * src/preprocessors/HttpInspect/: server/hi_server.c, client/hi_client.c:
+ Fixed unfolding of HTTP Headers across packet boundaries.
+ Thanks to Jim Hranicky for reporting this issue on the RC build.
+
+ * src/preprocessors/spp_httpinspect.c:
+ HTTP Inspect should check for hi_swap_config in HttpInspectInit()
+ only when snort is compiled with --enable-reload.
+ Fixed build errors on Win32.
+
+ * src/preprocessors/Stream5/snort_stream5_tcp.c:
+ When pruning a session, don't attempt to flush if the grinder
+ failed to decode a TCP header.
+ Thanks to Jim Hranicky for reporting this issue on the RC build.
+
+2011-11-23 Ryan Jordan
+Snort 2.9.2 RC
+ * src/build.h: updating build number to 75
+
+ * src/preprocessors/spp_httpinspect.c:
+ Fixed an issue with HTTP Inspect server conf reload
+ (when the HTTP Inspect is turned on from off between a reload)
+
+ * src/preprocessors/spp_stream5.c:
+ Fixed a memory leak caused by initializing the expected channel
+ more than once.
+
+ * src/dynamic-preprocessors/dcerpc2/spp_dce2.c:
+ Fixed a segfault during dcerpc2 startup when stream5 is not enabled.
+
+ * src/preprocessors/spp_normalize.c:
+ Added support to turn normalization off or on during a Snort reload.
+
+ * src/dynamic-preprocessors/modbus/spp_modbus.c:
+ Moved the check for truncated PDUs past the port check, to avoid
+ false positives.
+
+ * src/sfutil/bitop_funcs.h:
+ Fixed an error in the allocation of flowbit groups, where bytes
+ were interpreted as bits.
+
+ * src/detection-plugins/sp_flowbits.c:
+ Fixed a flowbits issue where the "isset" operation failed when
+ there was only a single flowbit in a group.
+ Fixed the error message logged when the same flowbit is added
+ to two groups.
+
+ * src/ipv6_port.h:
+ * src/: dynamic-preprocessors/gtp/gtp_parser.c,
+ dynamic-preprocessors/gtp/gtp_roptions.c,
+ dynamic-preprocessors/ftptelnet/pp_ftp.c,
+ dynamic-preprocessors/ftptelnet/snort_ftptelnet.c,
+ dynamic-preprocessors/reputation/reputation_config.c,
+ sfutil/segment_mem.c, encode.c:
+ Compiler warning cleanup.
+
+ * doc/: README.reload, snort_manual.pdf, snort_manual.tex:
+ Updated the reload documentation to mention the caveat that exists
+ with reload and fail-open in OpenBSD when Snort is run on primary
+ network interface.
+
+ * src/dynamic-preprocessors/dnp3/: dnp3_reassembly.c,
+ dnp3_reassembly.h, dnp3_roptions.c, spp_dnp3.c:
+ Added support for multiple DNP3 PDUs in a single DNP3 payload.
+ Fixed an issue where the DNP3 preprocessor only identified the
+ minimum reserved address, instead of all reserved addresses.
+
+ * src/dynamic-preprocessors/dnp3/spp_dnp3.h:
+ Updated an incorrect minimum DNP3 memcap to match the documented
+ minimum of 4144 bytes.
+
+ * src/output-plugins/spo_unified2.c:
+ Snort will fatal error when the user configures the same filename
+ for options "alert_unified2" and "log_unified2".
+
+ * src/sfutil/: sfrt.c, sfrt.h, sfrt_dir.c, sfrt_dir.h:
+ Added the ability to delete entries in the sfrt table.
+
+ * src/preprocessors/snort_httpinspect.c,
+ src/preprocessors/spp_frag3.c, src/preprocessors/spp_normalize.c,
+ src/preprocessors/spp_stream5.c,
+ src/preprocessors/Stream5/snort_stream5_tcp.c,
+ src/preprocessors/Stream5/stream5_common.c,
+ src/dynamic-preprocessors/reputation/reputation_config.c,
+ etc/gen-msg.map, src/detection-plugins/sp_flowbits.c,
+ src/detection-plugins/sp_replace.c,
+ src/output-plugins/spo_alert_sf_socket.c, src/decode.c,
+ src/detect.c, src/generators.h, src/sfdaq.c, src/snort.c,
+ src/tag.c, src/util.c, src/dynamic-plugins/sf_dynamic_plugins.c,
+ src/sfutil/acsmx2.c, configure.in,
+ src/dynamic-preprocessors/dnp3/spp_dnp3.c,
+ src/target-based/sftarget_protocol_reference.c:
+ * src/dynamic-preprocessors/dnp3/dnp3_roptions.c:
+ Made the format of warning messages consistent.
+
+ * src/dynamic-preprocessors/: dnp3/spp_dnp3.c, modbus/spp_modbus.c:
+ Providing an empty port list now causes a fatal error.
+
+ * src/dynamic-preprocessors/dnp3/spp_dnp3.h:
+ Fixed reserved address check on big-endian machines.
+
+ * src/preprocessors/Stream5/snort_stream5_tcp.c:
+ Changed identification of TCP retransmits by comparing payloads
+ instead of TCP checksums.
+
+ * src/decode.h, src/dynamic-plugins/sf_engine/sf_snort_packet.h,
+ src/dynamic-preprocessors/imap/snort_imap.c,
+ src/dynamic-preprocessors/pop/snort_pop.c,
+ src/dynamic-preprocessors/smtp/smtp_util.c,
+ src/dynamic-preprocessors/smtp/snort_smtp.c,
+ src/output-plugins/spo_unified2.c,
+ src/preprocessors/snort_httpinspect.c,
+ src/preprocessors/snort_httpinspect.h,
+ src/preprocessors/spp_httpinspect.c,
+ src/preprocessors/spp_stream5.c, src/preprocessors/stream_api.h,
+ src/preprocessors/HttpInspect/include/hi_ui_config.h,
+ src/sfutil/Unified2_common.h, tools/u2spewfoo/u2spewfoo.c:
+ Enable logging of normalized JavaScript to unified2 when built
+ without --enable-sourcefire.
+ - Changed extra data logging to log packet-specific data
+ (gzip/normalized) after each packet.
+ - Updated u2spewfoo to read the normalized JavaScript
+ extra data.
+
+ * src/dynamic-preprocessors/dnp3/dnp3_reassembly.c:
+ Fixed a bug where "dnp3_data" rules would not work if the content
+ was broken up by CRCs or split across multiple DNP3 segments.
+ As a result, DNP3 rules that inspect the DNP3 headers now require
+ "rawbytes" to work correctly, as the DNP3 reassembly buffer is
+ inspected by default.
+
+ * etc/gen-msg.map, preproc_rules/preprocessor.rules,
+ src/dynamic-preprocessors/dnp3/spp_dnp3.h:
+ Removed DNP3 rule 145:5, and decremented the SIDs of rules 145:6
+ and 145:7. The old 145:5 was never able to be triggered.
+ Updated references for rules 119:15 and 137:1.
+
+ * rpm/snort.spec:
+ Updated the RPM spec file to use wildcards for linking and installing
+ preprocessors. Thanks to Tim Brigham for the suggestion.
+
+ * src/detection_util.h:
+ Increased the URI buffer size from 4096 to 8192 to normalize and
+ detect longer URIs.
+
+ * src/preprocessors/: spp_frag3.c, spp_stream5.c,
+ Stream5/snort_stream5_tcp.c, Stream5/snort_stream5_udp.c:
+ Change the printing function of tracker/session sizes
+ (TcpSession/UdpSession/StreamLWSession/FragTarcker) from fprintf
+ to LogMessage.
+ Fix handling of "first" and "vista" policies in stream5 that,
+ under certain circumstances with overlaps and gaps, could cause
+ the stream5 segmentation list to get out of order.
+
+ * doc/snort_manual.pdf, doc/snort_manual.tex,
+ src/detection-plugins/sp_dsize_check.c:
+ Enable the "dsize" rule option with rebuilt packets, if it is the
+ start of a PDU. Thanks to Dave Bertouille for reporting this problem.
+
+ * src/dynamic-preprocessors/modbus/modbus_decode.c:
+ Added length checking for Modbus "Read File Record" and
+ "Write File Record" requests.
+
+ * src/output-plugins/spo_unified2.c, src/sfutil/Unified2_common.h,
+ tools/u2spewfoo/u2spewfoo.c:
+ Added new Unified2 event structs with extra application ID data.
+ Updated u2spewfoo to read these fields.
+
+ * src/detection-plugins/: sp_asn1_detect.c, sp_byte_check.c,
+ sp_byte_jump.c, sp_isdataat.c:
+ Allow rule evaluation to continue if the doe_ptr reaches the end
+ of a buffer, but a negative offset brings it back in-bounds.
+ Thanks again to Dave Bertouille for the suggestion.
+
+ * src/target-based/sf_attribute_table.y:
+ Allow empty attribute_value in attribute table.
+
+ * configure.in,
+ src/dynamic-preprocessors/ftptelnet/snort_ftptelnet.c:
+ Added Protocol-Aware Flushing support for FTP.
+
+ * snort.8:
+ Updated the man page to include more signals that have been used.
+ Made some format changes, thanks to Markus Lude.
+
+ * doc/Makefile.am:
+ Fixed an error while running "make distcleancheck".
+
+ * doc/snort_manual.pdf, doc/snort_manual.tex,
+ src/win32/WIN32-Includes/config.h, configure.in, src/snort.c,
+ src/snort.h, src/util.c, src/control/sfcontrol.c,
+ src/target-based/sftarget_reader.c:
+ Redefined default signals, and added support for signal
+ customization.
+
+
+2011-10-28 Ryan Jordan
+Snort 2.9.2 Beta
+ * src/build.h: updating build number to 64
+
+ * src/preprocessors/: snort_httpinspect.c,
+ HttpInspect/include/hi_ui_config.h,
+ HttpInspect/server/hi_server.c,
+ HttpInspect/server/hi_server_norm.c,
+ HttpInspect/user_interface/hi_ui_config.c:
+ * src/sfutil/: util_jsnorm.c, util_jsnorm.h:
+ Updated the HTTP preprocessor to normalize HTTP responses that include
+ javascript escaped data in their bodies. This expands Snort's coverage
+ in detecting HTTP client-side attacks.
+ See the Snort Manual and README.http_inspect for configuration details.
+
+ * doc/README.modbus:
+ * src/dynamic-preprocessors/modbus/: Makefile.am, modbus_decode.c,
+ modbus_decode.h, modbus_paf.c, modbus_paf.h, modbus_roptions.c,
+ modbus_roptions.h, sf_modbus.dsp, spp_modbus.c, spp_modbus.h:
+ Added the Modbus preprocessor, which decodes the Modbus protocol and
+ provides new rule options for some protocol fields.
+ See the Snort Manual and README.modbus for more details.
+
+ * doc/README.dnp3:
+ * src/dynamic-preprocessors/dnp3/: Makefile.am, dnp3_map.c, dnp3_map.h,
+ dnp3_paf.c, dnp3_paf.h, dnp3_reassembly.c, dnp3_reassembly.h,
+ dnp3_roptions.c, dnp3_roptions.h, sf_dnp3.dsp, spp_dnp3.c, spp_dnp3.h:
+ Added the DNP3 preprocessor, which decodes the DNP3 protocol
+ and provides new rule options for some protocol fields.
+ The preprocessor also performs reassembly of segmented DNP3 traffic.
+ See the Snort Manual and README.dnp3 for more details.
+
+ * doc/README.gtp:
+ * src/decode.c:
+ * src/dynamic-preprocessors/gtp/: Makefile.am, gtp_config.c,
+ gtp_config.h, gtp_debug.h, gtp_parser.c, gtp_parser.h, gtp_roptions.c,
+ gtp_roptions.h, sf_gtp.dsp, spp_gtp.c, spp_gtp.h
+ Added a packet decoder and preprocessor for the GTP protocol.
+ These support detecting attacks over GTP (GPRS Tunneling Protocol).
+ See the Snort Manual and README.gtp for more details.
+
+ * doc/faq.pdf, doc/faq.tex, src/Makefile.am, src/debug.c,
+ src/smalloc.h, src/snort_debug.h,
+ src/dynamic-plugins/sf_dynamic_common.h,
+ src/dynamic-preprocessors/dcerpc2/dce2_paf.c,
+ src/dynamic-preprocessors/ftptelnet/snort_ftptelnet.c,
+ src/dynamic-preprocessors/gtp/gtp_debug.h,
+ src/dynamic-preprocessors/sip/sip_debug.h,
+ src/parser/IpAddrSet.c,
+ src/preprocessors/HttpInspect/utils/hi_paf.c,
+ src/preprocessors/Stream5/stream5_paf.c:
+ Expanded the debug bits from 32 to 64 bits.
+
+ * src/preprocessors/: spp_stream5.c, Stream5/snort_stream5_icmp.c,
+ Stream5/snort_stream5_icmp.h, Stream5/snort_stream5_ip.c,
+ Stream5/snort_stream5_ip.h, Stream5/snort_stream5_udp.c,
+ Stream5/snort_stream5_udp.h:
+ Cleaned up application data for non-TCP sessions after
+ a block or timeout.
+
+ * src/preprocessors/spp_sfportscan.c:
+ Negative memcap numbers are no longer allowed.
+
+ * src/preprocessors/HttpInspect/server/hi_server.c:
+ HTTP responses with incorrect status messages are now inspected.
+
+ * src/preprocessors/Stream5/stream5_paf.c:
+ Fixed PAF callback registration during Snort reload.
+
+ * src/parser.c:
+ Fixed crash when setting HOME_NET to an empty variable.
+ Thanks to Elof for reporting this issue.
+
+ * src/preprocessors/spp_normalize.c:
+ Don't register the packet callback if Snort is not inline.
+ Fixed a crash in the normalizer during Snort reload.
+
+ * src/: sfdaq.c, sfdaq.h, snort.c, snort.h, util.c:
+ Fixed a possible segfault upon fatal error during Snort reload.
+
+ * src/win32/WIN32-Prj/snort_installer.nsi:
+ Updated Windows project files for new preprocessors.
+
+ * doc/: snort_manual.pdf, snort_manual.tex:
+ Updated the Snort manual for new features.
+ Updated the names of contributors to match those found on snort.org.
+ Updated the 'config cs_dir' path to be relative to pid-path.
+
+ Described the FlowIP CSV file format. Thanks to Eoin Miller for
+ pointing out the lack of documentation.
+
+ * src/preprocessors/: perf-base.c, perf-base.h, perf.c, perf.h,
+ spp_frag3.c, spp_frag3.h, Stream5/snort_stream5_tcp.c:
+ Added frag3 and stream5 memory usage to perfmon output.
+
+ * src/control/sfcontrol.c:
+ Added counters to bypass the work queue mutex when nothing
+ is queued.
+ Cleaned up compiler warnings.
+
+ * src/preprocessors/HttpInspect/client/hi_client.c:
+ When the same IP is parsed multiple times for XFF/True-client-IP
+ , the duplicate entries are freed from memory.
+
+ * src/preprocessors/: stream_expect.c, spp_stream5.c, stream_api.h,
+ stream_expect.h, Stream5/snort_stream5_session.c,
+ Stream5/snort_stream5_session.h, Stream5/stream5_common.h:
+ Changed instances of "char" to "uint8_t" when dealing with
+ protocol numbers, preventing a potential issue when Snort
+ supports protocols > 128. Thanks to Joshua Kinard for
+ providing a patch for this issue.
+
+ * src/detection-plugins/sp_react.c:
+ Added a content-length header to the react responses.
+
+ * src/: decode.h, dynamic-plugins/sf_engine/sf_snort_packet.h,
+ dynamic-preprocessors/imap/snort_imap.c,
+ dynamic-preprocessors/pop/snort_pop.c,
+ dynamic-preprocessors/smtp/smtp_config.h,
+ dynamic-preprocessors/smtp/smtp_util.c,
+ dynamic-preprocessors/smtp/smtp_util.h,
+ dynamic-preprocessors/smtp/snort_smtp.c,
+ dynamic-preprocessors/smtp/snort_smtp.h,
+ dynamic-preprocessors/smtp/spp_smtp.c,
+ output-plugins/spo_unified2.c, preprocessors/snort_httpinspect.c,
+ preprocessors/snort_httpinspect.h,
+ preprocessors/spp_httpinspect.c, preprocessors/spp_stream5.c,
+ preprocessors/stream_api.h,
+ preprocessors/HttpInspect/include/hi_ui_config.h,
+ preprocessors/Stream5/snort_stream5_tcp.c,
+ preprocessors/Stream5/snort_stream5_tcp.h,
+ preprocessors/Stream5/stream5_common.h:
+ Reduced the memory usage per TCP session for extra data event
+ logging.
+
+ * src/dynamic-preprocessors/sip/spp_sip.c:
+ Changed a description in the SIP exit stats.
+
+ * configure.in, src/snort.c, src/util.c,
+ src/target-based/sftarget_reader.c:
+ Where possible, sigaction() is used instead of signal() to
+ establish signal handlers.
+
+ * src/util.c:
+ Fixed an error in the calculation of dropped packets.
+ Thanks to Will Metcalf for identifying the issue.
+
+ * src/preprocessors/: perf-flow.c, perf-flow.h:
+ Fixed a bug where packets longer than 4500 bytes were not logged
+ in the perfmon flow stats.
+
+ * src/: active.c, decode.c, decode.h, encode.c, parser.c,
+ sf_protocols.h, snort.c:
+ Fix PPPoE support and active responses to ICMP.
+ Thanks to Eric Lauzon for identifying an issue with PPPoE traffic.
+
+ * etc/gen-msg.map, preproc_rules/preprocessor.rules,
+ src/generators.h,
+ src/preprocessors/HttpInspect/client/hi_client.c,
+ src/preprocessors/HttpInspect/event_output/hi_eo_log.c,
+ src/preprocessors/HttpInspect/include/hi_client.h,
+ src/preprocessors/HttpInspect/include/hi_eo_events.h:
+ Added new preprocessor alerts:
+ 1) Both true-client-ip and XFF headers exist in single packet
+ 2) Multiple client-ips with different values in the same session
+
+ * etc/gen-msg.map:
+ Fixed an error with incorrect SID numbers for some SMTP preprocessor
+ rules. Thanks to Eric Olsen for identifying the issue.
+
+ * src/: decode.h, detect.c, encode.c, encode.h, plugbase.c,
+ plugbase.h, snort.c, snort.h,
+ detection-plugins/detection_options.c,
+ dynamic-plugins/sf_dynamic_plugins.c,
+ dynamic-plugins/sf_dynamic_preprocessor.h,
+ dynamic-plugins/sf_engine/sf_snort_packet.h,
+ dynamic-preprocessors/dcerpc2/snort_dce2.c,
+ dynamic-preprocessors/sdf/spp_sdf.c,
+ output-plugins/spo_alert_fast.c, preprocessors/spp_frag3.c,
+ preprocessors/spp_rpc_decode.c, preprocessors/spp_sfportscan.c,
+ preprocessors/stream_api.h,
+ preprocessors/Stream5/snort_stream5_tcp.c,
+ preprocessors/Stream5/stream5_common.c:
+ Refactored packet flags. Added new packet flags for raw in-order
+ stream segment discrimination.
+
+ * src/preprocessors/snort_httpinspect.c:
+ Fixed an issue where gzip logging code misinterpreted the data
+ being passed to it.
+
+ Increased max_method_len to 256.
+ Thanks to rmkml for identifying the issue.
+
+ * src/: preprocessors/spp_rpc_decode.c,
+ dynamic-preprocessors/dcerpc2/dce2_roptions.c,
+ dynamic-preprocessors/dcerpc2/dce2_smb.c:
+ Fixed compiler warnings.
+
+ * src/sfutil/bnfa_search.c:
+ Fixed code defined by #ifdef ALLOW_NFA_FULL to compile and run.
+ Thanks to Brian Hwang for reporting the issue.
+
+ * src/: dynamic-plugins/sf_dynamic_plugins.c,
+ dynamic-plugins/sf_dynamic_preprocessor.h,
+ dynamic-plugins/sp_dynamic.h,
+ dynamic-preprocessors/reputation/reputation_config.c,
+ dynamic-preprocessors/reputation/shmem/shmem_datamgmt.c,
+ dynamic-preprocessors/reputation/shmem/shmem_datamgmt.h:
+ The paths to whitelist & blacklist files are now relative to
+ the location of snort.conf.
+
+ * src/preprocessors/Stream5/snort_stream5_session.c:
+ Don't prune blocked sessions if pruning for memcap.
+
+ * src/preprocessors/spp_stream5.c:
+ Fixed session data lookup for meta data messages.
+
+ * etc/: sf_rule_options, sf_rule_validation.conf:
+ Updated rule validation files with new rule options.
+
+ * configure.in, doc/INSTALL, doc/README.ARUBA, doc/README.database,
+ doc/README.ipv6, doc/snort_manual.tex,
+ src/output-plugins/spo_alert_arubaaction.c,
+ src/output-plugins/spo_alert_prelude.c,
+ src/output-plugins/spo_database.c:
+ Added deprecation warnings for database, alert_aruba_action,
+ and alert_prelude output plugins. These output plugins are
+ considered deprecated with this release and will be removed
+ in Snort 2.9.3.
+
+ * src/: plugbase.c, plugbase.h, preprocids.h, profiler.c, sfdaq.c,
+ sfdaq.h, snort.c, snort.h, dynamic-plugins/sf_dynamic_plugins.c,
+ dynamic-plugins/sf_dynamic_preprocessor.h,
+ preprocessors/spp_stream5.c, preprocessors/stream_api.h,
+ preprocessors/Stream5/snort_stream5_icmp.c,
+ preprocessors/Stream5/snort_stream5_ip.c,
+ preprocessors/Stream5/snort_stream5_session.c,
+ preprocessors/Stream5/snort_stream5_session.h:
+ Added API and DAQ functions to get flow start and end events
+ directly from the DAQ when no stream data is available.
+
+ * src/sfdaq.c:
+ Prevent underflow when calculating outstanding packets.
+ Thanks to Hussein Bahaidarah for reporting this issue.
+
+ Don't unload daq modules if --disable-dlclose was a configure
+ option.
+
+ * src/: active.c, dynamic-plugins/sf_dynamic_plugins.c,
+ dynamic-plugins/sf_dynamic_preprocessor.h:
+ Snort dynamic API changes to inject response packets.
+
+2011-10-20 Ryan Jordan
+Snort 2.9.1.2
+ * configure.in,
+ rpm/snort.spec,
+ src/build.h,
+ src/win32/WIN32-Includes/config.h,
+ src/win32/WIN32-Prj/snort_installer.nsi:
+ Incremented version numbers to Snort 2.9.1.2, Build 84.
+
+ * src/preprocessors/snort_httpinspect.c,
+ src/sfutil/util_utf.c:
+ Fixed an issue where Snort would sometimes stop processing traffic
+ in a persistent HTTP 1.1 connection with a UTF-32 encoded response
+ followed by a UTF-16 encoded response.
+
+2011-10-05 Ryan Jordan
+Snort 2.9.1.1
+ * src/decode.c:
+ Fixed decode.c to allow building with --enable-debug.
+
+ * src/: dynamic-plugins/sf_engine/sf_decompression.c,
+ dynamic-plugins/sf_engine/sf_decompression.h,
+ preprocessors/snort_httpinspect.h,
+ preprocessors/HttpInspect/server/hi_server.c:
+ Fixed http_inspect decompression and decompression API to decompress
+ both raw and zlib deflated data.
+ Support locating utf charset when spaces are present.
+
+ * src/: preprocessors/HttpInspect/server/hi_server_norm.c,
+ sfutil/util_utf.h:
+ Added "Byte Order Mark" support for unicode in http_inspect.
+
+ * src/detection-plugins/sp_urilen_check.c:
+ Fixed potential false positives when using urilen detection option.
+
+ * src/preprocessors/Stream5/stream5_paf.c:
+ Fixed flushing beyond "paf_max".
+ Verify paf configuration before enabling.
+
+ * src/preprocessors/Stream5/snort_stream5_tcp.c:
+ Free application and protocol state when a session is blocked.
+ Ensure that seglist_next is NULL after being freed.
+
+ * src/dynamic-preprocessors/smtp/smtp_util.c:
+ Fixed an issue with SMTP logging while running in inline mode.
+
+ * src/dynamic-preprocessors/reputation/Makefile.am,
+ src/dynamic-preprocessors/reputation/reputation_config.c,
+ src/dynamic-preprocessors/reputation/reputation_config.h,
+ src/dynamic-preprocessors/reputation/spp_reputation.c,
+ src/dynamic-preprocessors/reputation/spp_reputation.h,
+ src/Makefile.am, src/idle_processing.c, src/idle_processing.h,
+ src/idle_processing_funcs.h, src/plugbase.c, src/plugbase.h,
+ src/snort.c, src/snort.h, src/util.c, src/util.h,
+ src/dynamic-examples/Makefile.am,
+ src/dynamic-preprocessors/reputation/shmem/shmem_config.c,
+ src/dynamic-preprocessors/reputation/shmem/shmem_config.h,
+ src/dynamic-preprocessors/reputation/shmem/shmem_datamgmt.h,
+ src/dynamic-preprocessors/reputation/shmem/shmem_lib.c,
+ src/dynamic-preprocessors/reputation/shmem/shmem_mgmt.c,
+ src/dynamic-preprocessors/reputation/shmem/shmem_mgmt.h,
+ src/control/Makefile.am, src/control/sfcontrol.c,
+ src/control/sfcontrol.h, src/control/sfcontrol_funcs.h,
+ src/dynamic-preprocessors/reputation/shmem/sflinux_helpers.c,
+ src/dynamic-preprocessors/reputation/shmem/sflinux_helpers.h,
+ src/dynamic-preprocessors/reputation/shmem/shmem_common.h,
+ src/dynamic-preprocessors/reputation/shmem/shmem_datamgmt.c,
+ src/dynamic-preprocessors/reputation/shmem/shmem_lib.h,
+ src/sfutil/Makefile.am, src/sfutil/segment_mem.c,
+ src/sfutil/segment_mem.h, src/sfutil/sfrt_flat.c,
+ src/sfutil/sfrt_flat.h, src/sfutil/sfrt_flat_dir.c,
+ src/sfutil/sfrt_flat_dir.h,
+ src/dynamic-preprocessors/Makefile.am, tools/control/Makefile.am,
+ tools/control/README.snort_control, tools/control/sfcontrol.c,
+ src/dynamic-plugins/sf_dynamic_plugins.c,
+ src/dynamic-plugins/sf_dynamic_preprocessor.h, configure.in,
+ tools/Makefile.am:
+ - Added support for shared memory between Snort processes.
+ This is used in the IP Reputation preprocessor to share a single copy
+ of IP whitelists & blacklists.
+ - Added a control channel, so that commands may be issued to
+ a running Snort process by way of a Unix socket.
+
+ * src/preprocessors/HttpInspect/utils/hi_paf.c:
+ Ensure HTTP 1.1 responses without length indicators (e.g. 304)
+ are flushed at the end of the headers.
+ Preprocessor rule 120:8 is fired at end of headers if content-length
+ and transfer-encoding: chunked are not present, but not for response
+ codes 1XX, 204, 304.
+
+ * doc/README.reputation, doc/snort_manual.pdf,
+ doc/snort_manual.tex:
+ Updated Snort documentation, added documentation for Shared Memory
+ and the Control Socket.
+
+ * src/: dynamic-preprocessors/reputation/sf_reputation.dsp,
+ dynamic-preprocessors/sf_dynamic_initialize/sf_dynamic_initialize.dsp,
+ win32/WIN32-Includes/stdint.h, win32/WIN32-Prj/snort.dsp,
+ win32/WIN32-Prj/snort.dsw:
+ Updated Win32 build files.
+
+
+2011-08-23 Ryan Jordan
+Snort 2.9.1
+ * src/build.h:
+ Updated build number to 71.
+
+ * etc/gen-msg.map, preproc_rules/decoder.rules, src/decode.c,
+ src/decode.h, src/generators.h, src/snort.c,
+ src/dynamic-plugins/sf_engine/sf_snort_packet.h:
+ Fixed an issue with decoding large numbers of IPv6 extension headers.
+ Added rule 116:456 to safeguard against too many IPv6 extension headers.
+ Thanks to Martin Schütte for reporting the issue.
+
+ * src/detection-plugins/sp_urilen_check.c,
+ src/detection-plugins/sp_urilen_check.h:
+ Fixed the urilen rule option to look at reassembled packets.
+ Added an extra parameter to specify whether to check raw or normalized
+ uri buffer. Will check raw uri buffer by default.
+
+ * src/: dynamic-preprocessors/dcerpc2/sf_dce2.dsp,
+ dynamic-preprocessors/dns/sf_dns.dsp,
+ dynamic-preprocessors/ftptelnet/sf_ftptelnet.dsp,
+ dynamic-preprocessors/imap/sf_imap.dsp,
+ dynamic-preprocessors/isakmp/sf_isakmp.dsp,
+ dynamic-preprocessors/pop/sf_pop.dsp,
+ dynamic-preprocessors/reputation/sf_reputation.dsp,
+ dynamic-preprocessors/sdf/sf_sdf.dsp,
+ dynamic-preprocessors/sip/sf_sip.dsp,
+ dynamic-preprocessors/smtp/sf_smtp.dsp,
+ dynamic-preprocessors/ssh/sf_ssh.dsp,
+ dynamic-preprocessors/ssl/sf_ssl.dsp,
+ win32/WIN32-Prj/sf_engine.dsp:
+ Fixed a bug where the sensitive_data preprocessor gave an error while
+ loading sensitive data rules.
+
+ * doc/README.http_inspect, etc/gen-msg.map,
+ preproc_rules/preprocessor.rules, src/generators.h,
+ src/preprocessors/snort_httpinspect.c,
+ src/preprocessors/HttpInspect/event_output/hi_eo_log.c,
+ src/preprocessors/HttpInspect/include/hi_eo_events.h,
+ src/preprocessors/HttpInspect/utils/hi_paf.c:
+ Added two HTTP Inspect preprocessor rules:
+ 119:28 - post w/o content-length or transfer-encoding: chunked
+ 120:8 - message with invalid content-length or chunk size
+
+ * src/preprocessors/spp_httpinspect.c:
+ Fixed a bug where Snort wouldn't reload, giving the error that
+ "Changing decompress_depth requries a restart".
+
+ * etc/gen-msg.map:
+ Commented out four rules from gen-msg.map, 133:44 through 133:47,
+ because they were not yet implemented.
+
+ * preproc_rules/preprocessor.rules:
+ Added a CVE reference for Rule 119:19.
+ Added a reference to SMTP preprocessor rule 124:4.
+ Added a preprocessor rule, 125:9, for an FTPTelnet preprocessor
+ alert that was missing the corresponding rule.
+
+ * src/dynamic-plugins/sf_engine/sf_snort_plugin_api.c:
+ PAF tweak for single-segment full PDUs matching only-stream
+
+ * src/snort.c:
+ Fixed a bug where Snort wouldn't reload on SIGHUP with OpenBSD.
+ Set default paf_max to 16K.
+
+ * doc/: README.reputation, snort_manual.pdf, snort_manual.tex:
+ Added a use case in the IP Reputation preprocessor documentation.
+
+ * src/: dynamic-preprocessors/reputation/reputation_config.c,
+ dynamic-preprocessors/reputation/sf_reputation.dsp,
+ win32/WIN32-Prj/snort.dsw, win32/WIN32-Prj/snort_installer.nsi:
+ Fixed the IP Reputation preprocessor so that it would build on Windows.
+
+ * src/preprocessors/HttpInspect: client/hi_client.c, include/hi_client.h,
+ server/hi-server.c, utils/hi_paf.c:
+ Support up to full 32-bit content-lengths
+
+ * src/preprocessors/Stream5/stream5_paf.c:
+ Fixed compilation with the options "--disable-target-based --enable-paf".
+
+ * src/preprocessors/Stream5/snort_stream5_tcp.c:
+ Fixed an error in IDS mode when segments overlap and the sequence
+ number wraps.
+
+ * tools/u2spewfoo/Makefile.am:
+ Added the u2spewfoo Windows project file to the Snort source tarball.
+
+2011-07-19 Ryan Jordan
+Snort 2.9.1 RC
+ * doc/README.sip, doc/snort_manual.pdf, doc/snort_manual.tex,
+ preproc_rules/preprocessor.rules,
+ src/dynamic-preprocessors/sip/sip_parser.c,
+ src/dynamic-preprocessors/sip/spp_sip.h, etc/gen-msg.map:
+ Added three new SIP preprocessor alerts.
+
+ * src/preprocessors/Stream5/: snort_stream5_tcp.c, stream5_paf.c,
+ stream5_paf.h:
+ Allow multiple preprocs to scan for PDUs on the same port.
+ This fixes a problem with DCE autodetect using the same
+ ports as HTTP.
+
+ * src/build.h:
+ Updated build number to 63.
+
+ * src/: fpcreate.c, log.c, detection-plugins/sp_byte_extract.c,
+ detection-plugins/sp_tcp_win_check.c,
+ dynamic-plugins/sf_engine/sf_snort_plugin_content.c,
+ dynamic-plugins/sf_engine/sf_snort_plugin_pcre.c,
+ preprocessors/spp_normalize.c:
+ Fixed some compiler warnings.
+
+ * src/: detection-plugins/detection_options.c,
+ detection-plugins/sp_flowbits.h,
+ dynamic-plugins/sf_engine/sf_snort_detection_engine.c,
+ dynamic-plugins/sf_engine/examples/Makefile.am,
+ dynamic-plugins/sf_engine/examples/flowbits_test.c,
+ dynamic-plugins/sf_engine/examples/rules.c,
+ dynamic-plugins/sf_engine/examples/web-client_test.c:
+ Only set/clear/toggle/unset a flowbit when all of the rule
+ matches, including the IPs and Ports. Thanks to Eoin Miller
+ for reporting the issue.
+
+ * src/dynamic-preprocessors/: Makefile.am, dcerpc2/Makefile.am,
+ dns/Makefile.am, ftptelnet/Makefile.am, imap/Makefile.am,
+ pop/Makefile.am, reputation/Makefile.am, rzb_saac/Makefile.am,
+ sdf/Makefile.am, sip/Makefile.am, smtp/Makefile.am,
+ ssh/Makefile.am, ssl/Makefile.am:
+ Fixed dynamic preprocesor Makefiles so that they can be built
+ in parallel.
+
+ * doc/README.http_inspect, doc/snort_manual.pdf,
+ doc/snort_manual.tex, etc/gen-msg.map,
+ preproc_rules/preprocessor.rules, src/generators.h,
+ src/preprocessors/snort_httpinspect.c,
+ src/preprocessors/snort_httpinspect.h,
+ src/preprocessors/HttpInspect/client/hi_client.c,
+ src/preprocessors/HttpInspect/event_output/hi_eo_log.c,
+ src/preprocessors/HttpInspect/include/hi_eo_events.h,
+ src/preprocessors/HttpInspect/include/hi_ui_config.h,
+ src/preprocessors/HttpInspect/include/hi_util.h,
+ src/preprocessors/HttpInspect/user_interface/hi_ui_config.c,
+ src/sfutil/util_unfold.c:
+ Added a new HTTP Inspect preprocessor rule, GID 119 SID 26.
+ This rule checks for 200+ whitespaces in a folded header line
+ from an HTTP request. A new config option was added to configure
+ the allowable amount whitespace.
+
+ Added a new configuration option to http_inspect server configuration:
+ "small_chunk_length { }", with
+ preprocessor rules for both client and server. Consecutive chunk lengths
+ less than or equal to will cause an event to be generated.
+
+ See README.http_inspect for more information.
+
+ * src/: dynamic-preprocessors/dcerpc2/sf_dce2.dsp,
+ dynamic-preprocessors/dns/sf_dns.dsp,
+ dynamic-preprocessors/ftptelnet/sf_ftptelnet.dsp,
+ dynamic-preprocessors/imap/sf_imap.dsp,
+ dynamic-preprocessors/isakmp/sf_isakmp.dsp,
+ dynamic-preprocessors/sdf/sf_sdf.dsp,
+ dynamic-preprocessors/sf_dynamic_initialize/sf_dynamic_initialize.dsp,
+ dynamic-preprocessors/sip/sf_sip.dsp,
+ dynamic-preprocessors/smtp/sf_smtp.dsp,
+ dynamic-preprocessors/ssh/sf_ssh.dsp,
+ dynamic-preprocessors/ssl/sf_ssl.dsp,
+ win32/WIN32-Prj/sf_engine.dsp,
+ win32/WIN32-Prj/sf_engine_initialize.dsp,
+ win32/WIN32-Prj/sf_testdetect.dsp, win32/WIN32-Prj/snort.dsp:
+ Fixed the Win32 build to (1) not use .pch, and (2) correct sed
+ patterns on ipv6_port.h.
+
+ * src/output-plugins/spo_alert_sf_socket.c:
+ Fixed a problem where Snort's generic IP address structure was
+ being sent by the socket output plugin.
+ The output plugin now only generates events for IPv4 packets,
+ and is guaranteed to use uint32_t IPv4 addresses for interoperability.
+
+ * src/sfutil/: sfrt.c, sfrt.h:
+ Optimized some memory usage.
+
+ * configure.in:
+ Add check for pkg-config and provide instructions to get it if
+ pkg-config is not installed.
+
+ * src/preprocessors/Stream5/: snort_stream5_tcp.c,
+ stream5_common.h:
+ Show single segment PAF packets and only short-circuit at
+ correct sequence.
+ When aborting PAF, flush at paf_max.
+ Tweaked retransmission check to use actual sequence numbers
+ instead of the adjusted sequence numbers.
+ Changed the pseudo-random flush point after each flush.
+
+ * src/snort.c:
+ Fixed a compilation error when active response is disabled.
+
+ * src/snort.h:
+ Fixed a bug where Snort wouldn't daemonize on OpenBSD if the
+ process was running as root. Thanks to Olaf Schreck for reporting
+ this issue.
+
+ * src/preprocessors/: perf-base.c, perf-base.h, perf-event.c,
+ perf-event.h, perf-flow.c, perf-flow.h, perf.c, perf.h,
+ spp_perfmonitor.c:
+ Split out Perfmon submodule Init and Reset, so that everything is
+ initialized when the Perfmonitor preprocessor is initialized.
+ Previously, some data was initialized on the first packet.
+
+ * src/detection-plugins/sp_tcp_flag_check.c:
+ Fixed a couple spots where the "1" and "2"
+ flags weren't renamed to "C" and "E". Thanks to Joshua Kinard for
+ reporting the issue and supplying a patch.
+
+ * doc/README.sip, doc/snort_manual.pdf, doc/snort_manual.tex,
+ src/dynamic-preprocessors/sip/sip_parser.c,
+ src/dynamic-preprocessors/sip/spp_sip.h,
+ preproc_rules/preprocessor.rules, etc/gen-msg.map:
+ Added a new SIP preprocessor alert for missing content type headers.
+ Fixed an issue where the SIP preprocessor checked for Stream5 even if
+ the SIP preprocessor was disabled.
+
+ * etc/unicode.map:
+ Updated unicode.map to match the unicode standard on Windows 7 SP1.
+
+ * etc/snort.conf:
+ Sync'ed to VRT's latest snort.conf.
+
+ * src/: decode.c, detect.c:
+ Tweaked the preprocessing loop to bypass app preprocs if no
+ app data.
+
+ * src/sfutil/sf_ip.c, src/sfutil/sf_ip.h, src/sfutil/sfrt_dir.c,
+ src/dynamic-preprocessors/reputation/Makefile.am,
+ src/dynamic-preprocessors/reputation/reputation_config.h,
+ src/dynamic-preprocessors/reputation/reputation_utils.c,
+ src/dynamic-preprocessors/reputation/sf_reputation.dsp,
+ src/dynamic-preprocessors/reputation/spp_reputation.c,
+ src/dynamic-preprocessors/reputation/spp_reputation.h,
+ src/dynamic-preprocessors/reputation/reputation_config.c,
+ src/dynamic-preprocessors/reputation/reputation_debug.h,
+ src/dynamic-preprocessors/reputation/reputation_utils.h,
+ doc/README.reputation, doc/Makefile.am, doc/snort_manual.pdf,
+ doc/snort_manual.tex, preproc_rules/preprocessor.rules,
+ src/dynamic-preprocessors/Makefile.am, configure.in,
+ src/preprocids.h, etc/gen-msg.map:
+ Added the IP Reputation preprocessor. This preprocessor provides
+ the ability to whitelist and blacklist packets based on IP addresses.
+ See README.reputation for more information.
+
+ * src/: sf_types.h, dynamic-plugins/sf_dynamic_plugins.c,
+ dynamic-preprocessors/dcerpc2/Makefile.am,
+ dynamic-preprocessors/dcerpc2/dce2_config.c,
+ dynamic-preprocessors/dcerpc2/dce2_debug.h,
+ dynamic-preprocessors/dcerpc2/dce2_paf.c,
+ dynamic-preprocessors/dcerpc2/dce2_paf.h,
+ dynamic-preprocessors/dcerpc2/sf_dce2.dsp,
+ dynamic-preprocessors/dcerpc2/snort_dce2.c:
+ Added protocol-aware flushing support for the dcerpc2 preprocessor.
+
+ * src/dynamic-plugins/sf_convert_dynamic.c:
+ Added the ability to convert shared object rules that use the
+ preprocessor rule option.
+
+ * src/preprocessors/: snort_httpinspect.c, spp_httpinspect.c,
+ HttpInspect/include/hi_paf.h, HttpInspect/utils/hi_paf.c,
+ Stream5/snort_stream5_tcp.c:
+ Don't enable paf unless stream ports configured
+ for the given direction; add "(PAF)" to http inspect ports output
+ to indicate when enabled; and only register port for given
+ direction if corresponding flow depth is set.
+
+ Support full 32-bit content-lengths and chunk sizes, and flush/abort
+ when exceeded.
+
+ * doc/README.SMTP, doc/snort_manual.tex,
+ src/dynamic-preprocessors/smtp/smtp_config.h,
+ src/dynamic-preprocessors/smtp/smtp_util.c,
+ src/dynamic-preprocessors/smtp/snort_smtp.c,
+ src/dynamic-preprocessors/smtp/snort_smtp.h,
+ src/dynamic-preprocessors/smtp/spp_smtp.c:
+ Fixed performance issue: allocate the buffers used
+ for filename, mailfrom and rcptto logging using mempool
+ ('memcap' used to allocate the mempool).
+ Added a fatal error when b64_decode_depth is used with
+ enable_mime_decoding.
+
+ * src/dynamic-plugins/sf_engine/examples: all rule files:
+ Fixed compiler warnings.
+
+2011-06-13 Ryan Jordan
+Snort 2.9.1 Beta
+ * configure.in:
+ Updates to configure.in.
+ - Fix zlib checks to use correctly named variable for checking zlib
+ header and library existence.
+ - Enable IPv6 by default in builds. Can use --disable-ipv6 to turn it off.
+ using --enable-zlib, configure should fail. snort -V should show
+ IPv6 by default and VRT config should load without modification.
+ - Added a new option, "--enable-large-pcap", which allows Snort to read
+ pcap files that are larger than 2 GB.
+ - Changed the default ./configure options to match the requirements
+ for the bundled snort.conf
+ * doc/: INSTALL, README.imap, README.pop,
+ README.SMTP, README.stream5, README.sip, README.tag,
+ README.http_inspect, README.counts, README.normalize,
+ snort_manual.pdf, snort_manual.tex:
+ Updated documentation for Snort 2.9.1:
+ - Added documentation for new SIP, POP and IMAP preprocessors
+ - Updated README.stream5 with documentation for
+ Protocol Aware Flushing (PAF)
+ - Updated README.http_inspect with memcap information,
+ clarified "http_cookie" information, and documentation for
+ "log_uri" and "log_hostname".
+ - Fixed a typo in README.counts
+ - Updated "byte_extract" section to reflect syntax changes
+ - Improved the explanation of "max_queued_events"
+ - Added documentation for the ESP decoder, which is now configurable
+ - Improved the explanation of "rawbytes"
+ - Fixed an incorrect example in README.tag.
+ * etc/snort.conf:
+ Synced snort.conf with VRT's latest version.
+
+ Added configurations for new preprocessors.
+ * preproc_rules/: decoder.rules, preprocessor.rules
+ Added new preprocessor rules for SIP, SMTP, POP, and IMAP.
+
+ Added decoder rules 116:453, 116:454, and 116:455. These rules
+ were formerly covered by VRT rules.
+ * src/build.h: Updated build number to 46
+ * src/decode.c:
+ TCP and UDP decoder rules that require a fully-decoded packet will
+ only fire if the checksum is correct and the port number is not ignored.
+
+ ESP decoding is now configurable, and off by default.
+
+ The "config enable_decode_oversized_alerts" option now applies to
+ packets where the UDP header claims there is more data than actually exists.
+ The Teredo decoder now only processes packets in the Teredo prefix
+ (2001:0000::/32) or the link-local prefix (fe80::/16).
+ * src/detection-plugins/sp_cvs.c:
+ Fixed a false positive in the CVS detection plugin.
+ * doc/snort_manual.tex, src/detection-plugins/sp_byte_extract.c:
+ Made some changes to the byte_extract syntax:
+ - Writing "string" without a number type defaults to decimal.
+ - The "string" and "hex/dec/oct" options are now independent of each
+ other, like in byte_test and byte_jump.
+ You can write "string,dec", "hex,string", "string,relative,oct", etc.
+ - Specifying one of "hex", "dec", and "oct" without using "string"
+ results in an error.
+ - byte_extract options can no longer be delimited by spaces.
+ This does not affect "align " or "multiplier ".
+ * src/: parser.c, util.c, util.h,
+ detection-plugins/sp_base64_decode.c,
+ dynamic-plugins/sf_dynamic_plugins.c,
+ dynamic-plugins/sf_dynamic_preprocessor.h,
+ dynamic-plugins/sp_dynamic.c,
+ dynamic-preprocessors/smtp/smtp_util.c,
+ preprocessors/HttpInspect/client/hi_client.c,
+ preprocessors/HttpInspect/server/hi_server.c,
+ sfutil/sf_base64decode.c, sfutil/sf_base64decode.h:
+ Changes include the following:
+ - Attempt dechunkind only when transfer-encoding: chunked is present.
+ - Override the content length with transfer encoding
+ - SnortStrcasestr uses slen now.
+ - unfolding : trim spaces when required.
+ * src/: pcap_pkthdr32.h, preprocessors/spp_frag3.c,
+ preprocessors/Stream5/snort_stream5_tcp.c,
+ preprocessors/Stream5/stream5_common.h, sfutil/sf_ipvar.c,
+ sfutil/sf_ipvar.h, sfutil/sf_vartable.c:
+ Update Frag3/Stream5 to print bound addresses, better descriptsions of detect
+ anomalies and port lists.
+ - Updated Frag3/Stream5 to print bound addresses for IPv6 enabled builds
+ - Updated Frag3 to print meaningful detect anomalies configuration
+ - Updated Stream5 to print that there are more ports than those printed.
+ * src/dynamic-plugins/sf_engine/: Makefile.am, sf_decompression.c,
+ sf_decompression.h, sf_snort_detection_engine.c,
+ sf_snort_plugin_api.h:
+ Added a Decompression API that wraps Zlib for use with dynamic
+ plugins. See sf_decompression.h for more details.
+ * src/: fpcreate.c, fpdetect.c, treenodes.h:
+ Update pattern matcher and sort functions to
+ correctly sort by priority as well as implement sorting by
+ content_length (which was never done with 2.8.2 addition of rule
+ option tree).
+
+ Added a warning when max-pattern-len is defined twice.
+
+ Packets will no longer be tagged or logged if they are filtered or passed.
+ * src/preprocessors/Stream5:
+ Ensured that reassembly doesn't require packet dropping in IPS mode.
+ The message "additional ports configured but not printed" is only printed
+ when that is actually the case.
+ * src/snort.c:
+ fix output of filename / shutdown alerts sequence when iterating over multiple
+ pcaps with --pcap-show --pcap-reset and console alerts (eg -A cmg or
+ -A console:test).
+
+ Fixed an issue with reloading Snort while the default output options
+ were used.
+
+ When reading several pcap files with --pcap-dir, Snort will move on
+ to the next file if one fails to load.
+ * src/output-plugins/spo_alert_full.c:
+ Update alert_full to print rule references, regardless of whether
+ there is TCP/UDP/etc.
+ * src/output-plugins/spo_log_tcpdump.c:
+ convert DLT_IPV{4,6} to DLT_RAW for compatibility with libpcap 1.0.0
+ fix 'mixed decls and code' compiler warning
+ * src/: decode.h, detect.c, detection_util.c, detection_util.h,
+ fpcreate.c, fpdetect.c, log.c, log_text.c, parser.h, plugbase.c,
+ rule_option_types.h, detection-plugins/Makefile.am,
+ detection-plugins/detection_options.c,
+ detection-plugins/sp_base64_data.c,
+ detection-plugins/sp_byte_check.c,
+ detection-plugins/sp_byte_extract.c,
+ detection-plugins/sp_byte_jump.c,
+ detection-plugins/sp_file_data.c,
+ detection-plugins/sp_ftpbounce.c,
+ detection-plugins/sp_isdataat.c,
+ detection-plugins/sp_pattern_match.c,
+ detection-plugins/sp_pcre.c, detection-plugins/sp_pkt_data.c,
+ detection-plugins/sp_pkt_data.h,
+ dynamic-plugins/sf_convert_dynamic.c,
+ dynamic-plugins/sf_dynamic_common.h,
+ dynamic-plugins/sf_dynamic_define.h,
+ dynamic-plugins/sf_dynamic_engine.h,
+ dynamic-plugins/sf_dynamic_plugins.c,
+ dynamic-plugins/sf_dynamic_preprocessor.h,
+ dynamic-plugins/sp_dynamic.c, dynamic-plugins/sp_dynamic.h,
+ dynamic-plugins/sf_engine/sf_snort_detection_engine.c,
+ dynamic-plugins/sf_engine/sf_snort_packet.h,
+ dynamic-plugins/sf_engine/sf_snort_plugin_api.c,
+ dynamic-plugins/sf_engine/sf_snort_plugin_content.c,
+ dynamic-plugins/sf_engine/sf_snort_plugin_pcre.c,
+ dynamic-plugins/sf_engine/examples/detection_lib_meta.h,
+ dynamic-preprocessors/ftptelnet/pp_ftp.c,
+ dynamic-preprocessors/ftptelnet/pp_telnet.c,
+ dynamic-preprocessors/ftptelnet/snort_ftptelnet.c,
+ dynamic-preprocessors/smtp/smtp_util.c,
+ dynamic-preprocessors/smtp/snort_smtp.c,
+ dynamic-preprocessors/smtp/snort_smtp.h,
+ preprocessors/snort_httpinspect.c,
+ preprocessors/snort_httpinspect.h,
+ preprocessors/spp_rpc_decode.c,
+ preprocessors/HttpInspect/server/hi_server.c,
+ preprocessors/HttpInspect/server/hi_server_norm.c,
+ preprocessors/Stream5/snort_stream5_tcp.c:
+ The "file_data" and "base64_data" rule options now set the buffer
+ for any rule options that follow them. This applies to both relative
+ and non-relative rule options.
+
+ The detection code now uses 3 separate buffers:
+ - "Alt Detect": set by file_data, base64_data, etc.
+ - "Alt Decode": set by preprocessor normalization, e.g. HTTP Inspect
+ - Raw packet data
+
+ The AltDetect buffer can also be set by custom .so rules.
+ * src/parser.c, src/parser.h, src/snort.h, src/output-plugins/spo_unified2.c,
+ src/sfutil/Unified2_common.h:
+ IPv6 source and destination addresses are now logged in Unified2
+ as extra data events. This is configured with "config log_ipv6_extra_data".
+ * src/dynamic-preprocessors/sip/Makefile.am,
+ src/dynamic-preprocessors/sip/sf_sip.dsp,
+ src/dynamic-preprocessors/sip/sip_config.c,
+ src/dynamic-preprocessors/sip/sip_config.h,
+ src/dynamic-preprocessors/sip/sip_debug.h,
+ src/dynamic-preprocessors/sip/sip_dialog.c,
+ src/dynamic-preprocessors/sip/sip_dialog.h,
+ src/dynamic-preprocessors/sip/sip_parser.c,
+ src/dynamic-preprocessors/sip/sip_parser.h,
+ src/dynamic-preprocessors/sip/sip_roptions.c,
+ src/dynamic-preprocessors/sip/spp_sip.c,
+ src/dynamic-preprocessors/sip/spp_sip.h,
+ src/dynamic-preprocessors/sip/sip_roptions.h,
+ src/dynamic-preprocessors/sip/sip_utils.c,
+ src/dynamic-preprocessors/sip/sip_utils.h, doc/README.sip,
+ etc/gen-msg.map, src/dynamic-preprocessors/sip/test/Makefile.am,
+ src/dynamic-preprocessors/sip/test/sip_test.c, configure.in,
+ src/dynamic-preprocessors/Makefile.am:
+ Added a new preprocessor for SIP traffic.
+ See README.sip and the Snort Manual for more information.
+ * src/: dynamic-preprocessors/dcerpc2/dce2_utils.c,
+ dynamic-preprocessors/dcerpc2/spp_dce2.c,
+ preprocessors/spp_frag3.c:
+ Make Frag3 OpenBSD Vuln alert only happen if the frag policy is
+ 'linux' (which includes OpenBSD). The 'bsd' policy is NOT used
+ for OpenBSD, which is the only OS on which the vulnerability was
+ present.
+
+ This reduces false positives to only occur when frag3 policy is
+ linux and its an actual linux system, rather than the alert
+ occuring regardless of frag policy.
+ * src/: detection-plugins/Makefile.am,
+ detection-plugins/sp_byte_extract.c,
+ detection-plugins/sp_byte_extract.h,
+ dynamic-plugins/sf_convert_dynamic.c,
+ dynamic-plugins/sf_engine/Makefile.am,
+ dynamic-plugins/sf_engine/sf_snort_detection_engine.c,
+ dynamic-plugins/sf_engine/sf_snort_detection_engine.h,
+ dynamic-plugins/sf_engine/sf_snort_plugin_api.c,
+ dynamic-plugins/sf_engine/sf_snort_plugin_api.h,
+ dynamic-plugins/sf_engine/sf_snort_plugin_byte.c,
+ dynamic-plugins/sf_engine/sf_snort_plugin_content.c,
+ dynamic-plugins/sf_engine/sf_snort_plugin_hdropts.c,
+ dynamic-plugins/sf_engine/sf_snort_plugin_loop.c,
+ dynamic-plugins/sf_engine/sf_snort_plugin_pcre.c,
+ Added support for ByteExtract variables to the .so rule versions of
+ Content, ByteTest, ByteJump, and isdataat.
+ * src/: encode.c, preprocessors/spp_normalize.c,
+ preprocessors/Stream5/snort_stream5_tcp.c,
+ preprocessors/Stream5/stream5_common.c:
+ Fixed the TTL on encoded response packets.
+ * src/: fpcreate.c, fpdetect.c,
+ detection-plugins/sp_pattern_match.c,
+ detection-plugins/sp_pattern_match.h,
+ dynamic-plugins/sf_dynamic_define.h,
+ dynamic-plugins/sf_engine/sf_snort_detection_engine.c,
+ dynamic-plugins/sf_engine/sf_snort_plugin_api.h:
+ Update to not inspect HTTP method buffer with Snort's fast pattern engine.
+ Rules with only HTTP method content end up as non-content rules.
+ This eliminates a short cycle of searches with fast pattern on every
+ initial HTTP request.
+ * src/dynamic-preprocessors/pop/: all files
+ Added a new preprocessor for POP traffic.
+ See README.pop for more information.
+ * src/dynamic-preprocessors/imap/: all files
+ Added a new preprocessor for IMAP traffic.
+ See README.imap for more information.
+ * src/sfutil/: sf_email_attach_decode.c, sf_email_attach_decode.h:
+ Base64 decoding was moved to its own section in sfutil, for use
+ by the new email preprocessors.
+
+ Added support for uuencoded email attachments.
+ * src/dynamic-preprocessors/sdf/spp_sdf.c:
+ The Sensitive Data preprocessor now inspects the "file_data" buffer, used
+ for HTTP response bodies & decoded email attachments.
+ * src/: snort.c, preprocessors/spp_stream5.c,
+ preprocessors/stream_api.h:
+ Update Snort to return a DAQ verdict of whitelist (meaning don't
+ send Snort any more packets) for sessions that are being ignored
+ in both directions or ports that are configured to ignore. For
+ DAQ modules and hardware that supports it, this should result in
+ a performance gain because Snort no longer has to decode packets
+ that are part of that connection.
+ * src/util.c:
+ Added an error message when opening a pid file fails.
+ * src/preprocessors/HttpInspect/: client/hi_client.c,
+ server/hi_server.c:
+ The Set-Cookie: and Cookie: headers wont be included in the cookie buffers.
+ * configure.in, src/active.c, src/active.h, src/decode.h,
+ src/encode.c, src/encode.h, src/log_text.c, src/log_text.h,
+ src/parser.c, src/parser.h, src/sf_types.h, src/sfdaq.c,
+ src/sfdaq.h, src/snort.h, src/snort_debug.h,
+ src/detection-plugins/sp_react.c,
+ src/detection-plugins/sp_respond3.c,
+ src/dynamic-plugins/sf_dynamic_define.h,
+ src/dynamic-plugins/sf_engine/sf_snort_packet.h,
+ src/preprocessors/snort_httpinspect.c,
+ src/preprocessors/spp_httpinspect.c,
+ src/preprocessors/spp_stream5.c, src/preprocessors/stream_api.h,
+ src/preprocessors/HttpInspect/Makefile.am,
+ src/preprocessors/HttpInspect/include/Makefile.am,
+ src/preprocessors/HttpInspect/include/hi_paf.h,
+ src/preprocessors/HttpInspect/mode_inspection/hi_mi.c,
+ src/preprocessors/HttpInspect/server/hi_server.c,
+ src/preprocessors/HttpInspect/utils/Makefile.am,
+ src/preprocessors/HttpInspect/utils/hi_paf.c,
+ src/preprocessors/Stream5/Makefile.am,
+ src/preprocessors/Stream5/snort_stream5_icmp.c,
+ src/preprocessors/Stream5/snort_stream5_session.c,
+ src/preprocessors/Stream5/snort_stream5_tcp.c,
+ src/preprocessors/Stream5/snort_stream5_tcp.h,
+ src/preprocessors/Stream5/snort_stream5_udp.c,
+ src/preprocessors/Stream5/stream5_common.c,
+ src/preprocessors/Stream5/stream5_common.h,
+ src/preprocessors/Stream5/stream5_paf.c,
+ src/preprocessors/Stream5/stream5_paf.h, src/sfutil/sf_textlog.h:
+ Added support in Stream5 for Protocol Aware Flushing (PAF).
+ PAF allows Snort to statefully scan a stream and reassemble a complete
+ PDU regardless of segmentation.
+
+ Added PAF support to HTTP Inspect, allowing the preprocessor to determine
+ when HTTP sessions are flushed by Stream5.
+
+ See README.stream5 for more details.
+ * src/preprocessors/: stream_ignore.h, stream_ignore.c,
+ Stream5/snort_stream5_udp.c:
+ added support for ignoring UDP channels. Light weight session
+ will be created to track UDP channel, even ports are not
+ monitored.
+ * src/win32/: most files
+ Updated Snort and its libraries to build/link against MFC.
+
+2011-03-23 Steven Sturges
+ * src/build.h:
+ Increment Snort build number to 134
+ * src/: decode.h, encode.c:
+ * src/dynamic-plugins/sf_engine/: sf_snort_packet.h:
+ * src/preprocessors/: spp_sfportscan.c, spp_frag3.c:
+ * src/output-plugins/: spo_alert_fast.c:
+ * src/preprocessors/Stream5/: stream5_common.c:
+ Updated portscan to set protocol correctly in raw packet for
+ IPv6 and changed the encoder to recognize portscan packets as pseudo
+ packets so that the checksum isn't calculated
+ * src/: sfdaq.c, util.c:
+ Improve handling of DAQ failure codes when Snort is shutting down.
+ * src/preprocessors/spp_perfmonitor.c:
+ Update perfmonitor to create now files prior to dropping privs
+
+2011-03-16 Ryan Jordan
+Snort 2.9.0.5
+ * src/build.h:
+ Increment Snort build number to 132
+ * src/snort.c:
+ * src/preprocessors/: normalize.c, perf-base.c, perf-base.h,
+ Stream5/snort_stream5_tcp.c:
+ TCP timestamp options are only NOPed by the Normalization preprocessor
+ if Stream5 has seen a full 3-way handshake, and timestamps weren't
+ negotiated.
+
+ The IPS mode reassembly policy has been refactored to do stream
+ normalization within the first policy.
+
+ Packets injected by the normalization preprocessor are now counted
+ in the packet statistics.
+ * doc/snort_manual.tex:
+ * src/: parser.c, parser.h:
+ * src/preprocessors/: spp_frag3.c, Stream5/snort_stream5_session.c:
+ Added a "config vlan_agnostic" setting that globally disables Stream's
+ use of vlan tag in session tracking.
+ * src/: snort.c, preprocessors/normalize.c,
+ preprocessors/spp_normalize.c, preprocessors/spp_normalize.h,
+ preprocessors/perf-base.c, preprocessors/perf-base.h:
+ * doc/: README.normalize, snort_manual.pdf, snort_manual.tex:
+ Fixed the normalization preprocessor to call its post-initialization
+ config functions during a policy reload.
+
+ Packets can no longer be trimmed below the minimum ethernet frame
+ length. Trimming is now configurable with the "normalize_ip4: trim;"
+ option. TOS clearing is now configurable with "normalize_ip4: tos;".
+
+ The "normalize_ip4: trim" option is automatically disabled if the
+ DAQ can't inject packets. If the DAQ tries and fails to inject
+ a given packet, the wire packet is not blocked.
+
+ Updated documentation regarding these changes.
+ * src/detection-plugins/sp_cvs.c:
+ Fixed a false positive in the CVS detection plugin. It was incorrectly
+ parsing CVS entries that had a '+' in between the 3rd and 4th slashes.
+ * src/preprocessors/HttpInspect/: client/hi_client.c,
+ server/hi_server.c:
+ Changed a pointer comparison to a size check for code readability.
+ Belated thanks to Dwane Atkins and Parker Crook for reporting a
+ related issue that was fixed in Snort 2.9.0.4 build 111.
+
+ Moved the zlib initialization such that gzipped responses are still
+ inspected if the zipped data starts after the first Stream-reassembled
+ packet is inspected.
+ * src/decode.c:
+ Fixed an issue with decoding too many IP layers in a single packet. The
+ Teredo proto bit was not unset after hitting the limit on IP layers.
+ Thanks to Dwane Atkins for reporting this issue.
+
+ IPv6 fragmented packets are no longer inspected unless they have an
+ offset of zero and the next layer is UDP. This behavior is consistent
+ with IPv4 decoding.
+ Thanks to Martin Schütte for reporting an issue where fragged ICMPv6
+ packets were being inspected.
+
+ The decoder no longer attempts to decode Teredo packets inside of
+ IPv4 fragments, instead waiting for the reassembled packet.
+ * src/encode.c:
+ Fixed a problem where encoded packets had their lengths calculated
+ incorrectly. This caused the active response feature to generate
+ incorrect RST packets if the original packet had a VLAN tag.
+ * preproc_rules/preprocessor.rules:
+ Updated references to rule 125:1:1
+ * src/preprocessors/spp_perfmonitor.c:
+ Perfmonitor files are now created after Snort changes uid/gid.
+ * src/dynamic-plugins/sf_preproc_example/sf_dynamic_preproc_lib.c:
+ Fixed the size formatting of an error message argument when
+ compiling with --enable-rzb-saac.
+ Thanks to Cleber S. Brandão for reporting this issue.
+ * etc/snort.conf:
+ Updated the default snort.conf with max compress and decompress
+ depths to enable unlimited decompression of gzipped HTTP responses.
+ * snort.8:
+ Fixed the man page's URL regarding the location of Snort rules.
+ Thanks to Michael Scheidell for reporting an out-of-date man page section.
+ * doc/README.http_inspect, doc/snort_manual.tex,
+ src/preprocessors/snort_httpinspect.c:
+ HTTP Inspect's "unlimited_decompress" option now requires that
+ "compress_depth" and "decompress_depth" are set to their max values.
+ * src/: fpcreate.c, dynamic-plugins/sf_dynamic_define.h,
+ dynamic-plugins/sf_dynamic_engine.h,
+ preprocessors/Stream5/snort_stream5_tcp.c:
+ Fixed an error that prevented compiling with --disable-dynamicplugin.
+ Thanks to Jason Wallace for reporting this issue.
+ * src/dynamic-preprocessors/ftptelnet/: snort_ftptelnet.c,
+ snort_ftptelnet.h, spp_ftptelnet.c:
+ Changed the names of ProcessGlobalConf() and PrintGlobalConf() inside
+ the ftp_telnet preprocessor to avoid a naming conflict with similar
+ functions in HTTP Inspect.
+ Thanks to Bruce Corwin for reporting this issue.
+ * src/preprocessors/: perf.c, perf-base.c, perf-base.h, perf-flow.c,
+ perf-flow.h:
+ Fixed comparisons between signed and unsigned int, which lead to
+ a faulty length check.
+ Thanks to Cihan Ayyildiz and Jason Wallace for helping us debug this
+ issue.
+
+2011-02-28 Ryan Jordan
+Snort 2.9.0.4
+ * src/build.h:
+ Increment Snort build number to 111.
+ * src/preprocessors/HttpInspect/client/hi_client.c:
+ src/preprocessors/HttpInspect/server/hi_server.c:
+ Fixed a bug in the way partial HTTP headers are handled.
+
+2011-02-10 Ryan Jordan
+Snort 2.9.0.4
+ * src/build.h: Increment Snort build number to 110
+ * snort.8, src/snort.c:
+ Updated Snort man page to match the output of "snort --help".
+ Removed "-o" from the list of valid options, since it was removed
+ a while ago.
+ The verdict from defragged packets are no longer cleared, so that
+ they can be applied to the raw packet.
+ Thanks to Markus Lude for submitting a patch that fixed errors in the
+ man page.
+ * src/fpcreate.c:
+ Deletec the call to fpDeletePortGroup() prior to calling FatalError().
+ * src/parser.c:
+ Fixed portvar parsing code to correctly dislpay names of undefined
+ portvars.
+ * src/preprocessors/Stream5/snort_stream5_tcp.c:
+ Fixed a FIN sequence number handling issue, where RST after FIN caused a
+ false positive on Stream5 preprocessor rule 129:15.
+ Thanks to Jason Wallace for pointing out the issue.
+ * doc/: INSTALL, README.frag3, README.http_inspect, README.stream5,
+ snort_manual.tex, snort_manual.pdf:
+ Added documentation for the option "small-segments".
+ Updated team members.
+ Clarified some undocumented "flow" options.
+ Minor edits to punctuation on "ssl_version" examples.
+ Re-worded uricontent's description.
+ Added missing semicolons to rule option examples.
+ Updated "enable_cookie" documentation.
+ Added documentation for "iis_encode" in http_encode keywords.
+ Improved the description of the "disable" keyword.
+ Added "--enable-sourcefire" description.
+ Thanks to Joshua Kinard for sending in several patches to the manual.
+ * doc/: Makefile.am, README.rzb_saac:
+ Added SaaC readme.
+ * configure.in, doc/Makefile.am, doc/README.rzb_saac, src/snort.c,
+ src/util.c, src/util.h,
+ src/dynamic-plugins/sf_engine/examples/Makefile.am,
+ src/dynamic-preprocessors/Makefile.am,
+ src/dynamic-preprocessors/dns/spp_dns.c,
+ src/dynamic-preprocessors/rzb_saac/Makefile.am,
+ src/dynamic-preprocessors/rzb_saac/rzb_debug.c,
+ src/dynamic-preprocessors/rzb_saac/rzb_debug.h,
+ src/dynamic-preprocessors/rzb_saac/rzb_http-client.c,
+ src/dynamic-preprocessors/rzb_saac/rzb_http-client.h,
+ src/dynamic-preprocessors/rzb_saac/rzb_http-collector.h,
+ src/dynamic-preprocessors/rzb_saac/rzb_http-fileinfo.c,
+ src/dynamic-preprocessors/rzb_saac/rzb_http-fileinfo.h,
+ src/dynamic-preprocessors/rzb_saac/rzb_http-server.c,
+ src/dynamic-preprocessors/rzb_saac/rzb_http-server.h,
+ src/dynamic-preprocessors/rzb_saac/rzb_http.h,
+ src/dynamic-preprocessors/rzb_saac/rzb_smtp-collector.c,
+ src/dynamic-preprocessors/rzb_saac/rzb_smtp-collector.h,
+ src/dynamic-preprocessors/rzb_saac/sf_preproc_info.h,
+ src/dynamic-preprocessors/rzb_saac/spp_rzb-saac.c:
+ Added Razorback SaaC to the dynamic-preprocessors.
+ Use --enable-rzb-saac to build it. Moved the initgroups call to a
+ separate function and call it from the main thread.
+ * src/detection-plugins/sp_clientserver.c:
+ Fixed an erroneous error check so that "no_frag" and "no_stream" can be
+ used in the same "flow" rule option.
+ * src/detection-plugins/sp_pattern_match.c:
+ Rules that use a "depth" value lower than the length of their content
+ now cause an error. Depth should be >= the content length.
+ * src/detection-plugins/sp_tcp_flag_check.c:
+ Changed the reserved bits flags "1, 2" to "C, E". The old values can still
+ be used for backwards compatability.
+ * preproc_rules/preprocessor.rules:
+ Added references to FTP and SMTP preprocessor rules.
+ * src/dynamic-plugins/sf_engine/examples/: detection_lib_meta.h:
+ Removed extraneous ifdef
+ * src/: preprocessors/spp_frag3.c, preprocessors/spp_sfportscan.c,
+ dynamic-preprocessors/dcerpc2/dce2_config.c:
+ Added startup log message to show that the preprocessors are
+ inactive when added to snort.conf as "disabled".
+ Updated frag3 startup log to indicate the memcap frmo which prealloc
+ fragments were generated.
+ * src/preprocessors/: spp_frag3.c, Stream5/snort_stream5_session.c:
+ Updated the Frag3KeyCmp and Stream5KeyCmp functions to handle 32bit
+ sparc platforms where 64bit pointer comparisons can cause bus
+ errors. Thanks to Stephan for reporting this issue.
+ * src/: preprocessors/portscan.c, win32/WIN32-Includes/config.h:
+ Portscan preprocessor's hash table is now allocated based on
+ the memcap, instead of being the same size.
+ * src/dynamic-preprocessors/dcerpc2/: dce2_co.c, dce2_utils.c, dce2_smb.c:
+ Fixed a bug that caused dcerpc2 to reassemble some segments incorrectly.
+ If extra bytes at the end of a request corrupt the next request, they
+ will be discarded.
+ * src/dynamic-preprocessors/ssl/spp_ssl.c:
+ Updated the SSL preproc to count the packets it processes,
+ instead of counting all packets to enter the intiial function.
+ * doc/: faq.tex, faq.pdf:
+ Updated FAQ based on snort.org reorganization.
+ * doc/: README.http_inspect, snort_manual.pdf, snort_manual.tex:
+ Updated cookie documentation.
+ Cookie buffer includes "Cookie" header name for HTTP requests and
+ "Set-Cookie" for HTTP responses. When enable_cookie is disabled,
+ cookie buffer points to the HTTP header
+ * src/preprocessors/snort_httpinspect.c:
+ Fixed the error message during parsing of HTTP inspect
+ server config. Make it a warning.
+ * src/: detection_util.h, preprocessors/snort_httpinspect.c,
+ preprocessors/spp_httpinspect.c,
+ preprocessors/HttpInspect/client/hi_client.c,
+ preprocessors/HttpInspect/include/hi_client.h,
+ preprocessors/HttpInspect/include/hi_norm.h,
+ preprocessors/HttpInspect/include/hi_ui_config.h,
+ preprocessors/HttpInspect/normalization/hi_norm.c,
+ preprocessors/HttpInspect/server/hi_server.c:
+ Fixed a false positive due to a large chunk length followed
+ by a small packet.
+ Moved the lookup table such that they are initialized only once.
+ When de-chunking returns error, the data is now inspected as a
+ normal body.
+ Moved the Initialize function out of hi_ui_config.h.
+ CRLFs are no longer placed in the status message buffer.
+ * many files:
+ Updated all Sourcefire copyright notices to the year 2011.
+
+2010-12-20 Ryan Jordan
+Snort 2.9.0.3
+ * src/build.h:
+ Increment Snort build number to 98
+ * doc/: snort_manual.tex, snort_manual.pdf:
+ Fixed Snort manual descriptions of some rule options.
+ Changed whitespace in several areas to be more consistent.
+ Max mime mem example changed from 1000 to 4000.
+ Updated manual for distance / within / offset / depth combos.
+ Thanks to Joshua Kinard for submitting several fixes.
+ * doc/INSTALL:
+ Update doc/INSTALL with instructions for building on OpenBSD.
+ * src/dynamic-preprocessors/smtp/smtp_config.c:
+ Print alert_unknown_commands in SMTP config of snort output.
+ Print the SMTP MIME config details with snort output.
+ * src/: decode.c, decode.h, snort.c:
+ discriminate between ip4 and ip6 raw packets
+ Thanks to Gerald Maziarski for reporting this issue.
+ * src/detection-plugins/: detection_options.c, sp_byte_jump.c,
+ sp_pattern_match.c:
+ restore doe flags along with doe pointer.
+ * preproc_rules/preprocessor.rules:
+ Updated preprocessor.rules references to match VRT.
+ * src/dynamic-preprocessors/smtp/spp_smtp.c:
+ When the SMTP preprocessor is started in a
+ "disabled" state, it no longer requires Stream5.
+ * src/decode.c:
+ Truncated ESP traffic is now handled correctly.
+ Thanks to rmkml for bringing the issue to our attention.
+ * src/: decode.c, fpdetect.c:
+ Fixed a problem with handling UDP/IPv6 over Teredo where the inner UDP
+ header was malformed.
+ * preproc_rules/preprocessor.rules:
+ Added a reference to preprocessor.rules.
+ * src/dynamic-preprocessors/smtp/spp_smtp.c:
+ When the SMTP preprocessor is started in a
+ "disabled" state, it no longer requires Stream5.
+ * src/detection-plugins/: detection_options.c, sp_pattern_match.c:
+ Update content to check for HTTP_RESP_BODY in packet flag
+ if option is relative and not using rawbytes.
+ * etc/snort.conf:
+ Update with snort.conf from VRT
+ * src/dynamic-plugins/sf_engine/examples/detection_lib_meta.h:
+ Bumped minor version number in example detection lib.
+ * src/preprocessors/spp_frag3.c:
+ Fix memory leak when there are two zero offset
+ fragments with different IP options. Previous code was blindly
+ copying new IP options over top of existing ones.
+ * src/dynamic-plugins/sf_engine/: sf_snort_detection_engine.c,
+ sf_snort_plugin_api.h:
+ Fixed overlaps in various flags in the Shared Object rule API.
+ Shared Object rules from previous 2.9.0 versions need to be recompiled.
+ * src/detection-plugins/sp_pattern_match.c:
+ Moved non-zero initializations in the PatternMatchData struct
+ to the NewNode() function. This fixes the use of depth, offset,
+ distance, and within on uricontent options.
+ Reject invalid combinations of distance/within and offset/depth
+ including repeated keywords.
+ Thanks to Dave Bertouille and Daniel Clemens for pointing out issues here.
+ * src/: snort.c, util.c, util.h:
+ write correct pid to file for glibc2.2 / linux threads
+ * src/preprocessors/: snort_httpinspect.c,
+ HttpInspect/mode_inspection/hi_mi.c:
+ Fixed an instance where HTTP session data was not checked.
+DAQ 0.5
+ * daq/os-daq-modules/Makefile.am:
+ The IPFW DAQ now builds on OpenBSD.
+ Thanks to Ross Lawrie, Randall Rioux, and many others for reporting this.
+
+2010-11-15 Ryan Jordan
+Snort 2.9.0.2
+ * preproc_rules/preprocessor.rules:
+ Added a reference to an 0day ProFTP bug in a FTP
+ preprocessor rule.
+ * src/build.h:
+ Increment Snort build number to 92
+ * src/preprocessors/Stream5/snort_stream5_tcp.c:
+ Count only acked segs for flushing post-ack. Thanks to Eoin Miller
+ for helping track this issue and provide test scenarios.
+ * src/detection_util.h:
+ * src/dynamic-plugins/sf_engine/sf_snort_detection_engine.c:
+ * src/preprocessors/Stream5/snort_stream5_tcp.c:
+ fix file_data:mime in So rules. content matches following
+ file_data:mime should not enter fast pattern matcher. Reset file_data_ptr once
+ stream flush is done and stream reassembled packet is processed.
+ * src/dynamic-preprocessors/ssl/spp_ssl.c:
+ Fix return value for SSL rule options
+ * src/: plugbase.h, preprocessors/snort_httpinspect.c:
+ Set the dce preproc bit in HTTP only when server flow depth is -1
+ * src/dynamic-preprocessors/dcerpc2/: dce2_co.c, dce2_smb.c,
+ dce2_utils.c, dce2_utils.h, includes/smb.h:
+ use offset or remaining fields and overwrite
+ as appropriate instead of always appending data
+ * src/preprocessors/HttpInspect/server/hi_server.c:
+ * src/preprocessors/HttpInspect/client/hi_client.c:
+ Fixed a couple of memory leaks.
+ * src/preprocessors/HttpInspect/mode_inspection/hi_mi.c:
+ Fixed an error in the handling of HTTP Session Data.
+ * doc/: README.http_inspect,snort_manual.pdf, snort_manual.tex:
+ Update to the snort manual. remove the stream5
+ alerts. reference the gen-msg.map.
+ * preprocessors/Stream5/snort_stream5_tcp.c:
+ urgent pointer handling corrected for one
+ byte of urgent data at the start of a segment. The general case
+ of an N-byte urgent payload prefix would be handled here by
+ removing the == 1 limit in urg_offset == 1 but that restrictio
+ is not safe until we flush urgent data. As is, urgent data is
+ never flushed in reassembled packets and can only be detected i
+ raw packets.
+ pointer handling.
+ * src/: decode.h, detection_util.h, plugbase.h,
+ preprocessors/snort_httpinspect.c,
+ preprocessors/snort_httpinspect.h,
+ preprocessors/HttpInspect/server/hi_server.c,
+ Apply server flow depth on a session basis
+ rather than per packet basis. This change improves the
+ performance by disabling detect on packet when the packet is
+ beyond the specified flow depth. server_flow_depth now takes
+ values from -1 to 65535
+ * src/parser.c:
+ Correct setting of dup_opt_func and cleanup existing opt_func list before
+ hand to address parse-time leak.
+
2010-11-01 Ryan Jordan
+Snort 2.9.0.1
* doc/: snort_manual.pdf, snort_manual.tex:
Added "flush_factor".
Fixed incorrect line wrap (thx Shawn Thompson).
@@ -23,6 +1547,9 @@
* etc/gen-msg.map:
Added rules 120:4 and 120:5 to gen-msg.map.
* src/preprocessors/Stream5/snort_stream5_tcp.c:
+ Fix issue when handling overlap limit enforcement. Thanks to rmkml
+ and Miguel Alvarez for pointing out the issue.
+ * src/preprocessors/Stream5/snort_stream5_tcp.c:
fix flush after initial when acks are withheld
conditional on NORMALIZER
process stream after window slam unless normalizing
@@ -126,6 +1653,7 @@
error on multiple --daq args
2010-10-04 Ryan Jordan
+Snort 2.9.0
* doc/Makefile.am:
* doc/README.FLEXRESP:
* doc/README.FLEXRESP2:
@@ -212,6 +1740,7 @@
Stream reassembly for the session that matches the rule.
2010-09-03 Ryan Jordan
+Snort 2.9.0 RC
* Fixed clean shutdown after reload.
* Fixed tagging to log tagged packets regardless of filtering.
* Fixed mempool initialization of free list count bug reported by
@@ -351,6 +1880,7 @@
Handle -g/-u limited with DAQ modules that require root privs.
2010-06-16 Ryan Jordan
+Snort 2.9.0 Beta
* Snort uses the DAQ library for packet acquisition and injection.
./configure --enable-inline and --enable-ipfw are deleted. Just run ./snort
-Q to activate inline mode for DAQs that support it. See the README.daq there
diff -Nru snort-2.9.0.1/config.guess snort-2.9.2/config.guess
--- snort-2.9.0.1/config.guess 2011-12-28 14:36:52.000000000 -0800
+++ snort-2.9.2/config.guess 2011-12-07 11:23:17.000000000 -0800
@@ -1,10 +1,10 @@
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
-timestamp='2009-04-27'
+timestamp='2009-11-20'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -27,16 +27,16 @@
# the same distribution terms that you use for the rest of that program.
-# Originally written by Per Bothner .
-# Please send patches to . Submit a context
-# diff and a properly formatted ChangeLog entry.
+# Originally written by Per Bothner. Please send patches (context
+# diff format) to and include a ChangeLog
+# entry.
#
# This script attempts to guess a canonical system name similar to
# config.sub. If it succeeds, it prints the system name on stdout, and
# exits with 0. Otherwise, it exits with 1.
#
-# The plan is that this can be called by configure scripts if you
-# don't specify an explicit build system type.
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
me=`echo "$0" | sed -e 's,.*/,,'`
@@ -170,7 +170,7 @@
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
eval $set_cc_for_build
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
- | grep __ELF__ >/dev/null
+ | grep -q __ELF__
then
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
# Return netbsd for either. FIX?
@@ -333,6 +333,9 @@
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
+ echo i386-pc-auroraux${UNAME_RELEASE}
+ exit ;;
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
eval $set_cc_for_build
SUN_ARCH="i386"
@@ -656,7 +659,7 @@
# => hppa64-hp-hpux11.23
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
- grep __LP64__ >/dev/null
+ grep -q __LP64__
then
HP_ARCH="hppa2.0w"
else
@@ -807,12 +810,12 @@
i*:PW*:*)
echo ${UNAME_MACHINE}-pc-pw32
exit ;;
- *:Interix*:[3456]*)
+ *:Interix*:*)
case ${UNAME_MACHINE} in
x86)
echo i586-pc-interix${UNAME_RELEASE}
exit ;;
- EM64T | authenticamd | genuineintel)
+ authenticamd | genuineintel | EM64T)
echo x86_64-unknown-interix${UNAME_RELEASE}
exit ;;
IA64)
@@ -822,6 +825,9 @@
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
echo i${UNAME_MACHINE}-pc-mks
exit ;;
+ 8664:Windows_NT:*)
+ echo x86_64-pc-mks
+ exit ;;
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
# How do we know it's Interix rather than the generic POSIX subsystem?
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
@@ -851,6 +857,20 @@
i*86:Minix:*:*)
echo ${UNAME_MACHINE}-pc-minix
exit ;;
+ alpha:Linux:*:*)
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+ EV5) UNAME_MACHINE=alphaev5 ;;
+ EV56) UNAME_MACHINE=alphaev56 ;;
+ PCA56) UNAME_MACHINE=alphapca56 ;;
+ PCA57) UNAME_MACHINE=alphapca56 ;;
+ EV6) UNAME_MACHINE=alphaev6 ;;
+ EV67) UNAME_MACHINE=alphaev67 ;;
+ EV68*) UNAME_MACHINE=alphaev68 ;;
+ esac
+ objdump --private-headers /bin/sh | grep -q ld.so.1
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+ exit ;;
arm*:Linux:*:*)
eval $set_cc_for_build
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
@@ -873,6 +893,17 @@
frv:Linux:*:*)
echo frv-unknown-linux-gnu
exit ;;
+ i*86:Linux:*:*)
+ LIBC=gnu
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #ifdef __dietlibc__
+ LIBC=dietlibc
+ #endif
+EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
+ exit ;;
ia64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
@@ -882,78 +913,34 @@
m68*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
- mips:Linux:*:*)
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #undef CPU
- #undef mips
- #undef mipsel
- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
- CPU=mipsel
- #else
- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
- CPU=mips
- #else
- CPU=
- #endif
- #endif
-EOF
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- /^CPU/{
- s: ::g
- p
- }'`"
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
- ;;
- mips64:Linux:*:*)
+ mips:Linux:*:* | mips64:Linux:*:*)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#undef CPU
- #undef mips64
- #undef mips64el
+ #undef ${UNAME_MACHINE}
+ #undef ${UNAME_MACHINE}el
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
- CPU=mips64el
+ CPU=${UNAME_MACHINE}el
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
- CPU=mips64
+ CPU=${UNAME_MACHINE}
#else
CPU=
#endif
#endif
EOF
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- /^CPU/{
- s: ::g
- p
- }'`"
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
;;
or32:Linux:*:*)
echo or32-unknown-linux-gnu
exit ;;
- ppc:Linux:*:*)
- echo powerpc-unknown-linux-gnu
- exit ;;
- ppc64:Linux:*:*)
- echo powerpc64-unknown-linux-gnu
- exit ;;
- alpha:Linux:*:*)
- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
- EV5) UNAME_MACHINE=alphaev5 ;;
- EV56) UNAME_MACHINE=alphaev56 ;;
- PCA56) UNAME_MACHINE=alphapca56 ;;
- PCA57) UNAME_MACHINE=alphapca56 ;;
- EV6) UNAME_MACHINE=alphaev6 ;;
- EV67) UNAME_MACHINE=alphaev67 ;;
- EV68*) UNAME_MACHINE=alphaev68 ;;
- esac
- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
- exit ;;
padre:Linux:*:*)
echo sparc-unknown-linux-gnu
exit ;;
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
+ echo hppa64-unknown-linux-gnu
+ exit ;;
parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -962,8 +949,11 @@
*) echo hppa-unknown-linux-gnu ;;
esac
exit ;;
- parisc64:Linux:*:* | hppa64:Linux:*:*)
- echo hppa64-unknown-linux-gnu
+ ppc64:Linux:*:*)
+ echo powerpc64-unknown-linux-gnu
+ exit ;;
+ ppc:Linux:*:*)
+ echo powerpc-unknown-linux-gnu
exit ;;
s390:Linux:*:* | s390x:Linux:*:*)
echo ${UNAME_MACHINE}-ibm-linux
@@ -986,66 +976,6 @@
xtensa*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
- i*86:Linux:*:*)
- # The BFD linker knows what the default object file format is, so
- # first see if it will tell us. cd to the root directory to prevent
- # problems with other programs or directories called `ld' in the path.
- # Set LC_ALL=C to ensure ld outputs messages in English.
- ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
- | sed -ne '/supported targets:/!d
- s/[ ][ ]*/ /g
- s/.*supported targets: *//
- s/ .*//
- p'`
- case "$ld_supported_targets" in
- elf32-i386)
- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
- ;;
- a.out-i386-linux)
- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
- exit ;;
- "")
- # Either a pre-BFD a.out linker (linux-gnuoldld) or
- # one that does not give us useful --help.
- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
- exit ;;
- esac
- # Determine whether the default compiler is a.out or elf
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #include
- #ifdef __ELF__
- # ifdef __GLIBC__
- # if __GLIBC__ >= 2
- LIBC=gnu
- # else
- LIBC=gnulibc1
- # endif
- # else
- LIBC=gnulibc1
- # endif
- #else
- #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
- LIBC=gnu
- #else
- LIBC=gnuaout
- #endif
- #endif
- #ifdef __dietlibc__
- LIBC=dietlibc
- #endif
-EOF
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- /^LIBC/{
- s: ::g
- p
- }'`"
- test x"${LIBC}" != x && {
- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
- exit
- }
- test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
- ;;
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
@@ -1074,7 +1004,7 @@
i*86:syllable:*:*)
echo ${UNAME_MACHINE}-pc-syllable
exit ;;
- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
echo i386-unknown-lynxos${UNAME_RELEASE}
exit ;;
i*86:*DOS:*:*)
@@ -1182,7 +1112,7 @@
rs6000:LynxOS:2.*:*)
echo rs6000-unknown-lynxos${UNAME_RELEASE}
exit ;;
- PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
echo powerpc-unknown-lynxos${UNAME_RELEASE}
exit ;;
SM[BE]S:UNIX_SV:*:*)
@@ -1275,6 +1205,16 @@
*:Darwin:*:*)
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
case $UNAME_PROCESSOR in
+ i386)
+ eval $set_cc_for_build
+ 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
+ UNAME_PROCESSOR="x86_64"
+ fi
+ fi ;;
unknown) UNAME_PROCESSOR=powerpc ;;
esac
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
diff -Nru snort-2.9.0.1/config.h.in snort-2.9.2/config.h.in
--- snort-2.9.0.1/config.h.in 2010-10-08 02:56:48.000000000 -0700
+++ snort-2.9.2/config.h.in 2011-12-07 11:23:14.000000000 -0800
@@ -25,12 +25,24 @@
/* Define to 1 if the system has the type `boolean'. */
#undef HAVE_BOOLEAN
+/* Define to 1 if you have the `daq_acquire_with_meta' function. */
+#undef HAVE_DAQ_ACQUIRE_WITH_META
+
+/* Define to 1 if you have the `daq_hup_apply' function. */
+#undef HAVE_DAQ_HUP_APPLY
+
/* Define to 1 if you have the header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the header file. */
#undef HAVE_DNET_H
+/* Define to 1 if you have the header file. */
+#undef HAVE_DUMBNET_H
+
+/* Define to 1 if you have the `inet_ntop' function. */
+#undef HAVE_INET_NTOP
+
/* Define to 1 if the system has the type `int16_t'. */
#undef HAVE_INT16_T
@@ -46,6 +58,12 @@
/* Define to 1 if you have the header file. */
#undef HAVE_INTTYPES_H
+/* Define to 1 if you have the `dnet' library (-ldnet). */
+#undef HAVE_LIBDNET
+
+/* Define to 1 if you have the `dumbnet' library (-ldumbnet). */
+#undef HAVE_LIBDUMBNET
+
/* Define to 1 if you have the `m' library (-lm). */
#undef HAVE_LIBM
@@ -73,6 +91,9 @@
/* Define to 1 if you have the `socket' library (-lsocket). */
#undef HAVE_LIBSOCKET
+/* Define to 1 if you have the `uuid' library (-luuid). */
+#undef HAVE_LIBUUID
+
/* Define to 1 if you have the `z' library (-lz). */
#undef HAVE_LIBZ
@@ -85,6 +106,9 @@
/* Define to 1 if you have the header file. */
#undef HAVE_MEMORY_H
+/* Define to 1 if you have the `memrchr' function. */
+#undef HAVE_MEMRCHR
+
/* Define to 1 if you have the header file. */
#undef HAVE_PATHS_H
@@ -100,9 +124,15 @@
/* Define to 1 if you have the header file. */
#undef HAVE_PFRING_H
+/* Define to 1 if you have the `sigaction' function. */
+#undef HAVE_SIGACTION
+
/* snprintf function is available */
#undef HAVE_SNPRINTF
+/* Define to 1 if stdbool.h conforms to C99. */
+#undef HAVE_STDBOOL_H
+
/* Define to 1 if you have the header file. */
#undef HAVE_STDINT_H
@@ -151,6 +181,9 @@
/* Define to 1 if you have the header file. */
#undef HAVE_UNISTD_H
+/* Define to 1 if you have the header file. */
+#undef HAVE_UUID_UUID_H
+
/* Define to 1 if the system has the type `u_int16_t'. */
#undef HAVE_U_INT16_T
@@ -184,6 +217,9 @@
/* Define to 1 if you have the header file. */
#undef HAVE_ZLIB_H
+/* Define to 1 if the system has the type `_Bool'. */
+#undef HAVE__BOOL
+
/* Define if the compiler understands __FUNCTION__. */
#undef HAVE___FUNCTION__
@@ -236,12 +272,21 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
-/* Define to the home page for this package. */
-#undef PACKAGE_URL
-
/* Define to the version of this package. */
#undef PACKAGE_VERSION
+/* Set by user */
+#undef SIGNAL_SNORT_DUMP_STATS
+
+/* Set by user */
+#undef SIGNAL_SNORT_READ_ATTR_TBL
+
+/* Set by user */
+#undef SIGNAL_SNORT_RELOAD
+
+/* Set by user */
+#undef SIGNAL_SNORT_ROTATE_STATS
+
/* The size of `char', as computed by sizeof. */
#undef SIZEOF_CHAR
@@ -289,3 +334,9 @@
/* Define __FUNCTION__ as required. */
#undef __FUNCTION__
+
+/* Define to `__inline__' or `__inline' if that's what the C compiler
+ calls it, or to nothing if 'inline' is not supported under any name. */
+#ifndef __cplusplus
+#undef inline
+#endif
diff -Nru snort-2.9.0.1/config.sub snort-2.9.2/config.sub
--- snort-2.9.0.1/config.sub 2011-12-28 14:36:52.000000000 -0800
+++ snort-2.9.2/config.sub 2011-12-07 11:23:17.000000000 -0800
@@ -1,10 +1,10 @@
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
-timestamp='2009-04-17'
+timestamp='2009-11-20'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -32,13 +32,16 @@
# Please send patches to . Submit a context
-# diff and a properly formatted ChangeLog entry.
+# diff and a properly formatted GNU ChangeLog entry.
#
# Configuration subroutine to validate and canonicalize a configuration type.
# Supply the specified configuration type as an argument.
# If it is invalid, we print an error message on stderr and exit with code 1.
# Otherwise, we print the canonical config type on stdout and succeed.
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
+
# This file is supposed to be the same for all GNU packages
# and recognize all the CPU types, system types and aliases
# that are meaningful with *any* GNU software.
@@ -149,10 +152,13 @@
-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)
+ -apple | -axis | -knuth | -cray | -microblaze)
os=
basic_machine=$1
;;
+ -bluegene*)
+ os=-cnk
+ ;;
-sim | -cisco | -oki | -wec | -winbond)
os=
basic_machine=$1
@@ -281,6 +287,7 @@
| pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
| pyramid \
+ | rx \
| score \
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
| sh64 | sh64le \
@@ -288,13 +295,14 @@
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
| spu | strongarm \
| tahoe | thumb | tic4x | tic80 | tron \
+ | ubicom32 \
| v850 | v850e \
| we32k \
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
| z8k | z80)
basic_machine=$basic_machine-unknown
;;
- m6811 | m68hc11 | m6812 | m68hc12)
+ m6811 | m68hc11 | m6812 | m68hc12 | picochip)
# Motorola 68HC11/12.
basic_machine=$basic_machine-unknown
os=-none
@@ -337,7 +345,7 @@
| lm32-* \
| m32c-* | m32r-* | m32rle-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
| mips16-* \
| mips64-* | mips64el-* \
@@ -365,7 +373,7 @@
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
| pyramid-* \
- | romp-* | rs6000-* \
+ | 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-* \
@@ -374,6 +382,7 @@
| tahoe-* | thumb-* \
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
| tron-* \
+ | ubicom32-* \
| v850-* | v850e-* | vax-* \
| we32k-* \
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
@@ -467,6 +476,10 @@
basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
os=-linux
;;
+ bluegene*)
+ basic_machine=powerpc-ibm
+ os=-cnk
+ ;;
c90)
basic_machine=c90-cray
os=-unicos
@@ -719,6 +732,9 @@
basic_machine=ns32k-utek
os=-sysv
;;
+ microblaze)
+ basic_machine=microblaze-xilinx
+ ;;
mingw32)
basic_machine=i386-pc
os=-mingw32
@@ -1240,6 +1256,9 @@
# First match some system type aliases
# that might get confused with valid system types.
# -solaris* is a basic system type, with this one exception.
+ -auroraux)
+ os=-auroraux
+ ;;
-solaris1 | -solaris1.*)
os=`echo $os | sed -e 's|solaris1|sunos4|'`
;;
@@ -1260,9 +1279,9 @@
# Each alternative MUST END IN A *, to match a version number.
# -sysv* is not here because it comes later, after sysvr4.
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
- | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
- | -kopensolaris* \
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
+ | -sym* | -kopensolaris* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
| -aos* | -aros* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
@@ -1283,7 +1302,7 @@
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
@@ -1613,7 +1632,7 @@
-sunos*)
vendor=sun
;;
- -aix*)
+ -cnk*|-aix*)
vendor=ibm
;;
-beos*)
diff -Nru snort-2.9.0.1/configure snort-2.9.2/configure
--- snort-2.9.0.1/configure 2011-12-28 14:36:52.000000000 -0800
+++ snort-2.9.2/configure 2011-12-07 11:23:25.000000000 -0800
@@ -1,22 +1,18 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.67.
-#
+# Generated by GNU Autoconf 2.63.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-#
-#
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
+## --------------------- ##
+## M4sh Initialization. ##
+## --------------------- ##
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -24,15 +20,23 @@
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
+ case `(set -o) 2>/dev/null` in
+ *posix*) set -o posix ;;
esac
+
fi
+
+
+# PATH needs CR
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
as_nl='
'
export as_nl
@@ -40,13 +44,7 @@
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
+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
as_echo='printf %s\n'
as_echo_n='printf %s'
else
@@ -57,7 +55,7 @@
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
as_echo_n_body='eval
arg=$1;
- case $arg in #(
+ case $arg in
*"$as_nl"*)
expr "X$arg" : "X\\(.*\\)$as_nl";
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -80,6 +78,13 @@
}
fi
+# Support unset when possible.
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ as_unset=unset
+else
+ as_unset=false
+fi
+
# IFS
# We need space, tab and new line, in precisely that order. Quoting is
@@ -89,15 +94,15 @@
IFS=" "" $as_nl"
# Find who we are. Look in the path if we contain no directory separator.
-case $0 in #((
+case $0 in
*[\\/]* ) as_myself=$0 ;;
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
- done
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+done
IFS=$as_save_IFS
;;
@@ -109,16 +114,12 @@
fi
if test ! -f "$as_myself"; then
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
+ { (exit 1); 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 || :
+# Work around bugs in pre-3.0 UWIN ksh.
+for as_var in ENV MAIL MAILPATH
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
PS1='$ '
PS2='> '
@@ -130,248 +131,7 @@
LANGUAGE=C
export LANGUAGE
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (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
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-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 :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || 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
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
-test \$(( 1 + 1 )) = 2 || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- 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=.
- 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
- 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 :
- 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 :
- break 2
-fi
-fi
- done;;
- 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 test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-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."
- else
- $as_echo "$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."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$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" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# 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 :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# 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 :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-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
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
+# Required to use basename.
if expr a : '\(a\)' >/dev/null 2>&1 &&
test "X`expr 00001 : '.*\(...\)'`" = X001; then
as_expr=expr
@@ -385,12 +145,8 @@
as_basename=false
fi
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
+# Name of the executable.
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
@@ -410,125 +166,414 @@
}
s/.*/./; q'`
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
+# CDPATH.
+$as_unset CDPATH
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- 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; }
+if test "x$CONFIG_SHELL" = x; then
+ if (eval ":") 2>/dev/null; then
+ as_have_required=yes
+else
+ as_have_required=no
+fi
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
+ if test $as_have_required = yes && (eval ":
+(as_func_return () {
+ (exit \$1)
+}
+as_func_success () {
+ as_func_return 0
+}
+as_func_failure () {
+ as_func_return 1
+}
+as_func_ret_success () {
+ return 0
+}
+as_func_ret_failure () {
+ return 1
}
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
+exitcode=0
+if as_func_success; then
+ :
else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
+ exitcode=1
+ echo as_func_success failed.
fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
+
+if as_func_failure; then
+ exitcode=1
+ echo as_func_failure succeeded.
fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
+if as_func_ret_success; then
+ :
else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
+ exitcode=1
+ echo as_func_ret_success failed.
fi
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
+if as_func_ret_failure; then
+ exitcode=1
+ echo as_func_ret_failure succeeded.
+fi
+
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
+ :
else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
+ exitcode=1
+ echo positional parameters were not saved.
fi
-as_executable_p=$as_test_x
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+test \$exitcode = 0) || { (exit 1); exit 1; }
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+(
+ as_lineno_1=\$LINENO
+ as_lineno_2=\$LINENO
+ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
+ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
+") 2> /dev/null; then
+ :
+else
+ as_candidate_shells=
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+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
+ /*)
+ for as_base in sh bash ksh sh5; do
+ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
+ done;;
+ esac
+done
+IFS=$as_save_IFS
+ for as_shell in $as_candidate_shells $SHELL; do
+ # Try only shells that exist, to save several forks.
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { ("$as_shell") 2> /dev/null <<\_ASEOF
+if test -n "${ZSH_VERSION+set}" && (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
+ case `(set -o) 2>/dev/null` in
+ *posix*) set -o posix ;;
+esac
-# Check that we are running under the correct shell.
-SHELL=${CONFIG_SHELL-/bin/sh}
+fi
+
+
+:
+_ASEOF
+}; then
+ CONFIG_SHELL=$as_shell
+ as_have_required=yes
+ if { "$as_shell" 2> /dev/null <<\_ASEOF
+if test -n "${ZSH_VERSION+set}" && (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
+ case `(set -o) 2>/dev/null` in
+ *posix*) set -o posix ;;
+esac
+
+fi
+
+
+:
+(as_func_return () {
+ (exit $1)
+}
+as_func_success () {
+ as_func_return 0
+}
+as_func_failure () {
+ as_func_return 1
+}
+as_func_ret_success () {
+ return 0
+}
+as_func_ret_failure () {
+ return 1
+}
+
+exitcode=0
+if as_func_success; then
+ :
+else
+ exitcode=1
+ echo as_func_success failed.
+fi
+
+if as_func_failure; then
+ exitcode=1
+ echo as_func_failure succeeded.
+fi
+
+if as_func_ret_success; then
+ :
+else
+ exitcode=1
+ echo as_func_ret_success failed.
+fi
+
+if as_func_ret_failure; then
+ exitcode=1
+ echo as_func_ret_failure succeeded.
+fi
+
+if ( set x; as_func_ret_success y && test x = "$1" ); then
+ :
+else
+ exitcode=1
+ echo positional parameters were not saved.
+fi
+
+test $exitcode = 0) || { (exit 1); exit 1; }
+
+(
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
+
+_ASEOF
+}; then
+ break
+fi
+
+fi
+
+ done
+
+ if test "x$CONFIG_SHELL" != x; then
+ for as_var in BASH_ENV ENV
+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+ done
+ export CONFIG_SHELL
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
+fi
+
+
+ if test $as_have_required = no; then
+ echo This script requires a shell more modern than all the
+ echo shells that I found on your system. Please install a
+ echo modern shell, or manually run the script under such a
+ echo shell if you do have one.
+ { (exit 1); exit 1; }
+fi
+
+
+fi
+
+fi
+
+
+
+(eval "as_func_return () {
+ (exit \$1)
+}
+as_func_success () {
+ as_func_return 0
+}
+as_func_failure () {
+ as_func_return 1
+}
+as_func_ret_success () {
+ return 0
+}
+as_func_ret_failure () {
+ return 1
+}
+
+exitcode=0
+if as_func_success; then
+ :
+else
+ exitcode=1
+ echo as_func_success failed.
+fi
+
+if as_func_failure; then
+ exitcode=1
+ echo as_func_failure succeeded.
+fi
+
+if as_func_ret_success; then
+ :
+else
+ exitcode=1
+ echo as_func_ret_success failed.
+fi
+
+if as_func_ret_failure; then
+ exitcode=1
+ echo as_func_ret_failure succeeded.
+fi
+
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
+ :
+else
+ exitcode=1
+ echo positional parameters were not saved.
+fi
+
+test \$exitcode = 0") || {
+ echo No shell found that supports shell functions.
+ echo Please tell bug-autoconf@gnu.org about your system,
+ echo including any error possibly output before this message.
+ echo This can help us improve future autoconf versions.
+ echo Configuration will now proceed without shell functions.
+}
+
+
+
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
+
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+ # uniformly replaced by the line number. The first 'sed' inserts a
+ # line-number line after each line using $LINENO; the second 'sed'
+ # does the real work. The second script uses 'N' to pair each
+ # line-number line with the line containing $LINENO, and appends
+ # trailing '-' during substitution so that $LINENO is not a special
+ # case at line end.
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
+ # E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ 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
+ { (exit 1); exit 1; }; }
+
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in
+-n*)
+ case `echo 'x\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ *) ECHO_C='\c';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -p'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -p'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -p'
+ fi
+else
+ as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p=:
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+if test -x / >/dev/null 2>&1; then
+ as_test_x='test -x'
+else
+ if ls -dL / >/dev/null 2>&1; then
+ as_ls_L_option=L
+ else
+ as_ls_L_option=
+ fi
+ as_test_x='
+ eval sh -c '\''
+ if test -d "$1"; then
+ test -d "$1/.";
+ else
+ case $1 in
+ -*)set "./$1";;
+ esac;
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
+ ???[sx]*):;;*)false;;esac;fi
+ '\'' sh
+ '
+fi
+as_executable_p=$as_test_x
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+
+
+# Check that we are running under the correct shell.
+SHELL=${CONFIG_SHELL-/bin/sh}
case X$lt_ECHO in
X*--fallback-echo)
@@ -675,11 +720,10 @@
-test -n "$DJDIR" || exec 7<&0 &1
+exec 7<&0 &1
# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# so uname gets run too.
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
@@ -694,6 +738,7 @@
subdirs=
MFLAGS=
MAKEFLAGS=
+SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME=
@@ -701,7 +746,6 @@
PACKAGE_VERSION=
PACKAGE_STRING=
PACKAGE_BUGREPORT=
-PACKAGE_URL=
ac_unique_file="src/snort.c"
# Factoring default headers for most tests.
@@ -744,7 +788,17 @@
am__EXEEXT_TRUE
LTLIBOBJS
LIBOBJS
+ICONFIGFLAGS
+CCONFIGFLAGS
+CONFIGFLAGS
INCLUDES
+WANT_SF_SAAC_FALSE
+WANT_SF_SAAC_TRUE
+RAZORBACK_LIBS
+RAZORBACK_CFLAGS
+PKG_CONFIG
+HAVE_SHARED_REP_FALSE
+HAVE_SHARED_REP_TRUE
HAVE_INTEL_SOFT_CPM_FALSE
HAVE_INTEL_SOFT_CPM_TRUE
BUILD_RESPOND3_FALSE
@@ -770,8 +824,16 @@
HAVE_SUP_IP6_TRUE
BUILD_DYNAMIC_EXAMPLES_FALSE
BUILD_DYNAMIC_EXAMPLES_TRUE
+BUILD_CONTROL_SOCKET_FALSE
+BUILD_CONTROL_SOCKET_TRUE
+SO_WITH_STATIC_LIB_FALSE
+SO_WITH_STATIC_LIB_TRUE
HAVE_DYNAMIC_PLUGINS_FALSE
HAVE_DYNAMIC_PLUGINS_TRUE
+SIGNAL_SNORT_READ_ATTR_TBL
+SIGNAL_SNORT_ROTATE_STATS
+SIGNAL_SNORT_DUMP_STATS
+SIGNAL_SNORT_RELOAD
BUILD_SNPRINTF_FALSE
BUILD_SNPRINTF_TRUE
LEX
@@ -878,7 +940,6 @@
program_transform_name
prefix
exec_prefix
-PACKAGE_URL
PACKAGE_BUGREPORT
PACKAGE_STRING
PACKAGE_VERSION
@@ -905,8 +966,10 @@
with_libpcre_includes
with_libpcre_libraries
enable_dynamicplugin
-with_dumbnet_includes
-with_dumbnet_libraries
+enable_so_with_static_lib
+enable_control_socket
+with_dnet_includes
+with_dnet_libraries
with_daq_includes
with_daq_libraries
enable_static_daq
@@ -927,6 +990,7 @@
enable_pthread
enable_debug_msgs
enable_debug
+enable_gdb
enable_profile
enable_ppm_test
enable_sourcefire
@@ -942,12 +1006,17 @@
with_postgresql
with_pgsql_includes
with_oracle
+enable_paf
enable_react
enable_flexresp3
enable_aruba
enable_intel_soft_cpm
with_intel_soft_cpm_includes
with_intel_soft_cpm_libraries
+enable_shared_rep
+enable_rzb_saac
+with_librzb_api
+enable_large_pcap
'
ac_precious_vars='build_alias
host_alias
@@ -957,7 +1026,14 @@
LDFLAGS
LIBS
CPPFLAGS
-CPP'
+CPP
+SIGNAL_SNORT_RELOAD
+SIGNAL_SNORT_DUMP_STATS
+SIGNAL_SNORT_ROTATE_STATS
+SIGNAL_SNORT_READ_ATTR_TBL
+PKG_CONFIG
+RAZORBACK_CFLAGS
+RAZORBACK_LIBS'
# Initialize some variables set by options.
@@ -1020,9 +1096,8 @@
fi
case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *) ac_optarg=yes ;;
esac
# Accept the important Cygnus configure options, so we can diagnose typos.
@@ -1067,7 +1142,8 @@
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_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
+ { (exit 1); exit 1; }; }
ac_useropt_orig=$ac_useropt
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
@@ -1093,7 +1169,8 @@
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_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
+ { (exit 1); exit 1; }; }
ac_useropt_orig=$ac_useropt
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
@@ -1297,7 +1374,8 @@
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_echo "$as_me: error: invalid package name: $ac_useropt" >&2
+ { (exit 1); exit 1; }; }
ac_useropt_orig=$ac_useropt
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
@@ -1313,7 +1391,8 @@
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_echo "$as_me: error: invalid package name: $ac_useropt" >&2
+ { (exit 1); exit 1; }; }
ac_useropt_orig=$ac_useropt
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
@@ -1343,17 +1422,17 @@
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
x_libraries=$ac_optarg ;;
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
+ -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; }
;;
*=*)
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
# Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
+ { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
+ { (exit 1); exit 1; }; }
eval $ac_envvar=\$ac_optarg
export $ac_envvar ;;
@@ -1370,13 +1449,15 @@
if test -n "$ac_prev"; then
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
+ { $as_echo "$as_me: error: missing argument to $ac_option" >&2
+ { (exit 1); exit 1; }; }
fi
if test -n "$ac_unrecognized_opts"; then
case $enable_option_checking in
no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
+ { (exit 1); exit 1; }; } ;;
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
esac
fi
@@ -1399,7 +1480,8 @@
[\\/$]* | ?:[\\/]* ) continue;;
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+ { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
+ { (exit 1); exit 1; }; }
done
# There might be people who depend on the old broken behavior: `$host'
@@ -1413,8 +1495,8 @@
if test "x$host_alias" != x; then
if test "x$build_alias" = x; then
cross_compiling=maybe
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used" >&2
+ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
+ If a cross compiler is detected then cross compile mode will be used." >&2
elif test "x$build_alias" != "x$host_alias"; then
cross_compiling=yes
fi
@@ -1429,9 +1511,11 @@
ac_pwd=`pwd` && test -n "$ac_pwd" &&
ac_ls_di=`ls -di .` &&
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
+ { $as_echo "$as_me: error: working directory cannot be determined" >&2
+ { (exit 1); exit 1; }; }
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
+ { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
+ { (exit 1); exit 1; }; }
# Find the source files, if location was not specified.
@@ -1470,11 +1554,13 @@
fi
if test ! -r "$srcdir/$ac_unique_file"; then
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+ { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
+ { (exit 1); exit 1; }; }
fi
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
+ { (exit 1); exit 1; }; }
pwd)`
# When building in place, set srcdir=.
if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1514,7 +1600,7 @@
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
+ -q, --quiet, --silent do not print \`checking...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for \`--cache-file=config.cache'
-n, --no-create do not create output files
@@ -1586,36 +1672,43 @@
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-64bit-gcc Try to compile 64bit (only tested on Sparc Solaris 9 and 10).
- --enable-dynamicplugin Enable Ability to dynamically load preprocessors, detection engine, and rules lib (on by default, use --disable to not use dynamic libraries)
- --enable-static-daq Link static DAQ modules.
+ --disable-dynamicplugin Enable Ability to dynamically load preprocessors, detection engine, and rules lib (on by default, use --disable to not use dynamic libraries)
+ --enable-so-with-static-lib Enable linking of dynamically loaded preprocessors with a static preprocessor library
+ --enable-control-socket Enable the control socket
+ --disable-static-daq Link static DAQ modules.
--enable-build-dynamic-examples Enable building of example dynamically loaded preprocessor and rule (off by default)
- --enable-dlclose Only use if you are developing dynamic preprocessors or shared object rules. Disable (--disable-dlclose) for testing valgrind leaks in dynamic libraries so a usable backtrace is reported. Enabled by default.
- --enable-ipv6 Enable IPv6 support
- --enable-zlib Enable Http Response Decompression
- --enable-gre Enable GRE and IP in IP encapsulation support
- --enable-mpls Enable MPLS support
- --enable-targetbased Enable Target-Based Support in Stream, Frag, and Rules (adds pthread support implicitly)
- --enable-decoder-preprocessor-rules Enable rule actions for decoder and preprocessor events
- --enable-ppm Enable packet/rule performance monitor
- --enable-perfprofiling Enable preprocessor and rule performance profiling
+ --disable-dlclose Only use if you are developing dynamic preprocessors or shared object rules. Disable (--disable-dlclose) for testing valgrind leaks in dynamic libraries so a usable backtrace is reported. Enabled by default.
+ --disable-ipv6 Disable IPv6 support
+ --disable-zlib Enable Http Response Decompression
+ --disable-gre Enable GRE and IP in IP encapsulation support
+ --disable-mpls Enable MPLS support
+ --disable-targetbased Enable Target-Based Support in Stream, Frag, and Rules (adds pthread support implicitly)
+ --disable-decoder-preprocessor-rules Enable rule actions for decoder and preprocessor events
+ --disable-ppm Enable packet/rule performance monitor
+ --disable-perfprofiling Enable preprocessor and rule performance profiling
--enable-linux-smp-stats Enable statistics reporting through proc
--enable-inline-init-failopen Enable Fail Open during initialization for Inline Mode (adds pthread support implicitly)
--enable-prelude Enable Prelude Hybrid IDS support
- --enable-pthread Enable pthread support
+ --disable-pthread Disable pthread support
--enable-debug-msgs Enable debug printing options (bugreports and developers only)
--enable-debug Enable debugging options (bugreports and developers only)
+ --enable-gdb Enable gdb debugging information
--enable-profile Enable profiling options (developers only)
- --enable-ppm-test Enable packet/rule performance monitor
- --enable-sourcefire Enable Sourcefire specific build options
+ --disable-ppm-test Enable packet/rule performance monitor
+ --enable-sourcefire Enable Sourcefire specific build options, encompasing --enable-perfprofiling,--enable-decoder-preprocessor-rules, --enable-ppm
--disable-corefiles Prevent Snort from generating core files
- --enable-active-response Enable reject injection
- --enable-normalizer Enable packet/stream normalizations
- --enable-reload Enable reloading a configuration without restarting
- --enable-reload-error-restart Enable restarting on reload error
- --enable-react Intercept and terminate offending HTTP accesses
- --enable-flexresp3 Flexible Responses (v3) on hostile connection attempts
+ --disable-active-response Enable reject injection
+ --disable-normalizer Enable packet/stream normalizations
+ --disable-reload Enable reloading a configuration without restarting
+ --disable-reload-error-restart Enable restarting on reload error
+ --disable-paf disable protocol aware flushing
+ --disable-react Intercept and terminate offending HTTP accesses
+ --disable-flexresp3 Flexible Responses (v3) on hostile connection attempts
--enable-aruba Enable Aruba output plugin
--enable-intel-soft-cpm Enable Intel Soft CPM support
+ --enable-shared-rep Enable use of Shared Memory for Reputation (Linux only)
+ --enable-rzb-saac Enable Razorback SaaC support
+ --enable-large-pcap Enable support for pcaps larger than 2 GB
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -1629,8 +1722,8 @@
--with-libpfring-libraries=DIR libpfring library directory
--with-libpcre-includes=DIR libpcre include directory
--with-libpcre-libraries=DIR libpcre library directory
- --with-dumbnet-includes=DIR libdumbnet include directory
- --with-dumbnet-libraries=DIR libdumbnet library directory
+ --with-dnet-includes=DIR libdnet include directory
+ --with-dnet-libraries=DIR libdnet library directory
--with-daq-includes=DIR DAQ include directory
--with-daq-libraries=DIR DAQ library directory
--with-libprelude-prefix=PFX Prefix where libprelude is installed (optional)
@@ -1643,6 +1736,7 @@
--with-oracle=DIR Support for Oracle
--with-intel-soft-cpm-includes=DIR Intel Soft CPM include directory
--with-intel-soft-cpm-libraries=DIR Intel Soft CPM library directory
+ --with-librzb-api=DIR librazorback_api directory
Some influential environment variables:
CC C compiler command
@@ -1650,14 +1744,26 @@
LDFLAGS linker flags, e.g. -L if you have libraries in a
nonstandard directory
LIBS libraries to pass to the linker, e.g. -l
- CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if
+ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if
you have headers in a nonstandard directory
CPP C preprocessor
+ SIGNAL_SNORT_RELOAD
+ set the SIGNAL_SNORT_RELOAD value
+ SIGNAL_SNORT_DUMP_STATS
+ set the SIGNAL_SNORT_DUMP_STATS value
+ SIGNAL_SNORT_ROTATE_STATS
+ set the SIGNAL_SNORT_ROTATE_STATS value
+ SIGNAL_SNORT_READ_ATTR_TBL
+ set the SIGNAL_SNORT_READ_ATTR_TBL value
+ PKG_CONFIG path to pkg-config utility
+ RAZORBACK_CFLAGS
+ C compiler flags for RAZORBACK, overriding pkg-config
+ RAZORBACK_LIBS
+ linker flags for RAZORBACK, overriding pkg-config
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
-Report bugs to the package provider.
_ACEOF
ac_status=$?
fi
@@ -1721,942 +1827,371 @@
if $ac_init_version; then
cat <<\_ACEOF
configure
-generated by GNU Autoconf 2.67
+generated by GNU Autoconf 2.63
-Copyright (C) 2010 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
exit
fi
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- 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
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- as_fn_set_status $ac_retval
+It was created by $as_me, which was
+generated by GNU Autoconf 2.63. Invocation command line was
-} # ac_fn_c_try_compile
+ $ $0 $@
-# ac_fn_c_try_link LINENO
-# -----------------------
-# Try to link conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_link ()
+_ACEOF
+exec 5>>config.log
{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext 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
- (eval "$ac_link") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext && {
- test "$cross_compiling" = yes ||
- $as_test_x conftest$ac_exeext
- }; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
- ac_retval=1
-fi
- # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
- # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
- # interfere with the next link command; also delete a directory that is
- # left behind by Apple's compiler. We do this before executing the actions.
- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- as_fn_set_status $ac_retval
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
-} # ac_fn_c_try_link
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
-# -------------------------------------------------------
-# Tests whether HEADER exists and can be compiled using the include files in
-# INCLUDES, setting the cache variable VAR accordingly.
-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 "test \"\${$3+set}\"" = set; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-#include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- eval "$3=yes"
-else
- eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-} # ac_fn_c_check_header_compile
+_ASUNAME
-# ac_fn_c_try_cpp LINENO
-# ----------------------
-# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_cpp ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- if { { ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } > conftest.i && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
+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"
+done
+IFS=$as_save_IFS
- ac_retval=1
-fi
- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- as_fn_set_status $ac_retval
+} >&5
-} # ac_fn_c_try_cpp
+cat >&5 <<_ACEOF
-# 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; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- as_fn_set_status $ac_retval
+## ----------- ##
+## Core tests. ##
+## ----------- ##
-} # ac_fn_c_try_run
+_ACEOF
-# ac_fn_c_check_func LINENO FUNC VAR
-# ----------------------------------
-# Tests whether FUNC exists, setting the cache variable VAR accordingly
-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 "test \"\${$3+set}\"" = set; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-/* Define $2 to an innocuous variant, in case declares $2.
- For example, HP-UX 11i declares gettimeofday. */
-#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. */
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
+ 2)
+ ac_configure_args1="$ac_configure_args1 '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ ac_configure_args="$ac_configure_args '$ac_arg'"
+ ;;
+ esac
+ done
+done
+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-#ifdef __STDC__
-# include
-#else
-# include
-#endif
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ cat <<\_ASBOX
+## ---------------- ##
+## Cache variables. ##
+## ---------------- ##
+_ASBOX
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) $as_unset $ac_var ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
-#undef $2
+ cat <<\_ASBOX
+## ----------------- ##
+## Output variables. ##
+## ----------------- ##
+_ASBOX
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
-/* 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 $2 ();
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined __stub_$2 || defined __stub___$2
-choke me
-#endif
+ if test -n "$ac_subst_files"; then
+ cat <<\_ASBOX
+## ------------------- ##
+## File substitutions. ##
+## ------------------- ##
+_ASBOX
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
-int
-main ()
-{
-return $2 ();
- ;
- return 0;
-}
+ if test -s confdefs.h; then
+ cat <<\_ASBOX
+## ----------- ##
+## confdefs.h. ##
+## ----------- ##
+_ASBOX
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_NAME "$PACKAGE_NAME"
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- eval "$3=yes"
-else
- eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext \
- 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; }
- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-} # ac_fn_c_check_func
-# 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 "test \"\${$3+set}\"" = set; then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval "test \"\${$3+set}\"" = set; 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>
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
_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>
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
_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 "test \"\${$3+set}\"" = set; 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; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-
-} # ac_fn_c_check_header_mongrel
-
-# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
-# --------------------------------------------
-# Tries to find the compile-time value of EXPR in a program that includes
-# INCLUDES, setting VAR accordingly. Returns whether the value could be
-# computed
-ac_fn_c_compute_int ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- if test "$cross_compiling" = yes; then
- # Depending upon the size, compute the lo and hi bounds.
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-int
-main ()
-{
-static int test_array [1 - 2 * !(($2) >= 0)];
-test_array [0] = 0
- ;
- return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_STRING "$PACKAGE_STRING"
_ACEOF
-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 ()
-{
-static int test_array [1 - 2 * !(($2) <= $ac_mid)];
-test_array [0] = 0
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_hi=$ac_mid; break
-else
- as_fn_arith $ac_mid + 1 && ac_lo=$as_val
- if test $ac_lo -le $ac_mid; then
- ac_lo= ac_hi=
- break
- fi
- as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- done
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-int
-main ()
-{
-static int test_array [1 - 2 * !(($2) < 0)];
-test_array [0] = 0
- ;
- return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
_ACEOF
-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 ()
-{
-static int test_array [1 - 2 * !(($2) >= $ac_mid)];
-test_array [0] = 0
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_lo=$ac_mid; break
-else
- as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
- if test $ac_mid -le $ac_hi; then
- ac_lo= ac_hi=
- break
- fi
- as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- done
-else
- ac_lo= ac_hi=
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext 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
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-int
-main ()
-{
-static int test_array [1 - 2 * !(($2) <= $ac_mid)];
-test_array [0] = 0
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_hi=$ac_mid
+# 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
+ ac_site_file1=$CONFIG_SITE
+elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
else
- as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+do
+ test "x$ac_site_file" = xNONE && continue
+ if test -r "$ac_site_file"; then
+ { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file"
+ fi
done
-case $ac_lo in #((
-?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
-'') ac_retval=1 ;;
-esac
- else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-static long int longval () { return $2; }
-static unsigned long int ulongval () { return $2; }
-#include
-#include
-int
-main ()
-{
-
- FILE *f = fopen ("conftest.val", "w");
- if (! f)
- return 1;
- if (($2) < 0)
- {
- long int i = longval ();
- if (i != ($2))
- return 1;
- fprintf (f, "%ld", i);
- }
- else
- {
- unsigned long int i = ulongval ();
- if (i != ($2))
- return 1;
- fprintf (f, "%lu", i);
- }
- /* Do not output a trailing newline, as this causes \r\n confusion
- on some platforms. */
- return ferror (f) || fclose (f) != 0;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
- echo >>conftest.val; read $3 &5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
else
- ac_retval=1
+ { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
-rm -f conftest.val
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:$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;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:$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;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:$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;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:$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;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
+$as_echo "$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=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
+ esac
fi
- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- as_fn_set_status $ac_retval
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:$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_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
+ { (exit 1); exit 1; }; }
+fi
-} # ac_fn_c_compute_int
-# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
-# -------------------------------------------
-# Tests whether TYPE exists after having included INCLUDES, setting cache
-# variable VAR accordingly.
-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 "test \"\${$3+set}\"" = set; then :
- $as_echo_n "(cached) " >&6
-else
- eval "$3=no"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-int
-main ()
-{
-if (sizeof ($2))
- return 0;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-int
-main ()
-{
-if (sizeof (($2)))
- return 0;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-else
- eval "$3=yes"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-} # ac_fn_c_check_type
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-It was created by $as_me, which was
-generated by GNU Autoconf 2.67. Invocation command line was
- $ $0 $@
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-_ASUNAME
-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"
- done
-IFS=$as_save_IFS
-} >&5
-cat >&5 <<_ACEOF
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $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;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-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
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# 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
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-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;}
- 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;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5 ; }
- fi
-done
-
-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;}
- 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;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- 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;}
- 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;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- 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;}
- 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;}
- 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;}
- 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=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- 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
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
@@ -2691,7 +2226,9 @@
fi
done
if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
+$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
+ { (exit 1); exit 1; }; }
fi
# These three variables are undocumented and unsupported,
@@ -2717,10 +2254,10 @@
# 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 "$as_me:$LINENO: checking for a BSD-compatible install" >&5
$as_echo_n "checking for a BSD-compatible install... " >&6; }
if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then :
+if test "${ac_cv_path_install+set}" = set; then
$as_echo_n "(cached) " >&6
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2728,11 +2265,11 @@
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]/* | \
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in
+ ./ | .// | /cC/* | \
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
/usr/ucb/* ) ;;
*)
# OSF1 and SCO ODT 3.0 have their own names for install.
@@ -2769,7 +2306,7 @@
;;
esac
- done
+done
IFS=$as_save_IFS
rm -rf conftest.one conftest.two conftest.dir
@@ -2785,7 +2322,7 @@
INSTALL=$ac_install_sh
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
$as_echo "$INSTALL" >&6; }
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -2796,7 +2333,7 @@
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 "$as_me:$LINENO: checking whether build environment is sane" >&5
$as_echo_n "checking whether build environment is sane... " >&6; }
# Just in case
sleep 1
@@ -2807,11 +2344,15 @@
'
case `pwd` in
*[\\\"\#\$\&\'\`$am_lf]*)
- as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
+ { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
+$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
+ { (exit 1); exit 1; }; };;
esac
case $srcdir in
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
- as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
+ { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
+$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
+ { (exit 1); exit 1; }; };;
esac
# Do `set' in a subshell so we don't clobber the current shell's
@@ -2833,8 +2374,11 @@
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
-alias in your environment" "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
+alias in your environment" >&5
+$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
+alias in your environment" >&2;}
+ { (exit 1); exit 1; }; }
fi
test "$2" = conftest.file
@@ -2843,10 +2387,13 @@
# Ok.
:
else
- as_fn_error $? "newly created file is older than distributed files!
-Check your system clock" "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
+Check your system clock" >&5
+$as_echo "$as_me: error: newly created file is older than distributed files!
+Check your system clock" >&2;}
+ { (exit 1); exit 1; }; }
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+{ $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
test "$program_prefix" != NONE &&
program_transform_name="s&^&$program_prefix&;$program_transform_name"
@@ -2874,7 +2421,7 @@
am_missing_run="$MISSING --run "
else
am_missing_run=
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
+ { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
fi
@@ -2895,9 +2442,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_STRIP+set}" = set; then :
+if test "${ac_cv_prog_STRIP+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$STRIP"; then
@@ -2908,24 +2455,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
STRIP=$ac_cv_prog_STRIP
if test -n "$STRIP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+ { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
$as_echo "$STRIP" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -2935,9 +2482,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_STRIP"; then
@@ -2948,24 +2495,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
$as_echo "$ac_ct_STRIP" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -2974,7 +2521,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -2987,10 +2534,10 @@
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 "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
if test -z "$MKDIR_P"; then
- if test "${ac_cv_path_mkdir+set}" = set; then :
+ if test "${ac_cv_path_mkdir+set}" = set; then
$as_echo_n "(cached) " >&6
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2998,7 +2545,7 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_prog in mkdir gmkdir; do
+ for ac_prog in mkdir gmkdir; do
for ac_exec_ext in '' $ac_executable_extensions; do
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
@@ -3010,12 +2557,11 @@
esac
done
done
- done
+done
IFS=$as_save_IFS
fi
- test -d ./--version && rmdir ./--version
if test "${ac_cv_path_mkdir+set}" = set; then
MKDIR_P="$ac_cv_path_mkdir -p"
else
@@ -3023,10 +2569,11 @@
# value for MKDIR_P within a source directory, because that will
# break other packages using the cache if that directory is
# removed, or if the value is a relative name.
+ test -d ./--version && rmdir ./--version
MKDIR_P="$ac_install_sh -d"
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
$as_echo "$MKDIR_P" >&6; }
mkdir_p="$MKDIR_P"
@@ -3039,9 +2586,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_AWK+set}" = set; then :
+if test "${ac_cv_prog_AWK+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$AWK"; then
@@ -3052,24 +2599,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+ { $as_echo "$as_me:$LINENO: result: $AWK" >&5
$as_echo "$AWK" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -3077,11 +2624,11 @@
test -n "$AWK" && break
done
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
$as_echo_n "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 "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.make <<\_ACEOF
@@ -3089,7 +2636,7 @@
all:
@echo '@@@%%%=$(MAKE)=@@@%%%'
_ACEOF
-# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
case `${MAKE-make} -f conftest.make 2>/dev/null` in
*@@@%%%=?*=@@@%%%*)
eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -3099,11 +2646,11 @@
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 "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
SET_MAKE=
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
SET_MAKE="MAKE=${MAKE-make}"
fi
@@ -3123,7 +2670,9 @@
am__isrc=' -I$(srcdir)'
# test to see if srcdir already configured
if test -f $srcdir/config.status; then
- as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
+$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
+ { (exit 1); exit 1; }; }
fi
fi
@@ -3139,7 +2688,7 @@
# Define the identity of the package.
PACKAGE=snort
- VERSION=2.9.0.1
+ VERSION=2.9.2
cat >>confdefs.h <<_ACEOF
@@ -3193,16 +2742,16 @@
# Disable annoying practice of recursively re-running the autotools
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
+{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
$as_echo_n "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+set}" = set; then
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
else
USE_MAINTAINER_MODE=no
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
+ { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
$as_echo "$USE_MAINTAINER_MODE" >&6; }
if test $USE_MAINTAINER_MODE = yes; then
MAINTAINER_MODE_TRUE=
@@ -3227,7 +2776,7 @@
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
+{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
$as_echo_n "checking for style of include used by $am_make... " >&6; }
am__include="#"
am__quote=
@@ -3255,12 +2804,12 @@
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
+{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
$as_echo "$_am_result" >&6; }
rm -f confinc confmf
# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
+if test "${enable_dependency_tracking+set}" = set; then
enableval=$enable_dependency_tracking;
fi
@@ -3285,9 +2834,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if test "${ac_cv_prog_CC+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$CC"; then
@@ -3298,24 +2847,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
$as_echo "$CC" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -3325,9 +2874,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_CC"; then
@@ -3338,24 +2887,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_CC" >&5
$as_echo "$ac_ct_CC" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -3364,7 +2913,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -3378,9 +2927,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if test "${ac_cv_prog_CC+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$CC"; then
@@ -3391,24 +2940,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
$as_echo "$CC" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -3418,9 +2967,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if test "${ac_cv_prog_CC+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$CC"; then
@@ -3432,18 +2981,18 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
if test $ac_prog_rejected = yes; then
@@ -3462,10 +3011,10 @@
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
$as_echo "$CC" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -3477,9 +3026,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if test "${ac_cv_prog_CC+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$CC"; then
@@ -3490,24 +3039,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
$as_echo "$CC" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -3521,9 +3070,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_CC"; then
@@ -3534,24 +3083,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_CC" >&5
$as_echo "$ac_ct_CC" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -3564,7 +3113,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -3575,37 +3124,57 @@
fi
-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$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 ; }
+{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
set X $ac_compile
ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
- { { ac_try="$ac_compiler $ac_option >&5"
+{ (ac_try="$ac_compiler --version >&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
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compiler --version >&5") 2>&5
ac_status=$?
- if test -s conftest.err; then
- sed '10a\
-... rest of stderr output deleted ...
- 10q' conftest.err >conftest.er1
- cat conftest.er1 >&5
- fi
- rm -f conftest.er1 conftest.err
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-done
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -v >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compiler -v >&5") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -V >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compiler -V >&5") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -3621,8 +3190,8 @@
# 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; }
+{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
+$as_echo_n "checking for C compiler default output file name... " >&6; }
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
# The possible output files:
@@ -3638,17 +3207,17 @@
done
rm -f $ac_rmfiles
-if { { ac_try="$ac_link_default"
+if { (ac_try="$ac_link_default"
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_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$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 :
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; 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,
@@ -3665,7 +3234,7 @@
# certainly right.
break;;
*.* )
- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
then :; else
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
fi
@@ -3684,41 +3253,84 @@
else
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
+
+{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
+if test -z "$ac_file"; then
+ $as_echo "$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:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$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; }
+{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: C compiler cannot create executables
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
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; }
+
ac_exeext=$ac_cv_exeext
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
+$as_echo_n "checking whether the C compiler works... " >&6; }
+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
+# If not cross compiling, check that we can run a simple program.
+if test "$cross_compiling" != yes; then
+ if { ac_try='./$ac_file'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
+ fi
+ fi
+fi
+{ $as_echo "$as_me:$LINENO: result: yes" >&5
+$as_echo "yes" >&6; }
+
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
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
$as_echo_n "checking for suffix of executables... " >&6; }
-if { { ac_try="$ac_link"
+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_try_echo="\"\$as_me:$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; }; then :
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; 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
@@ -3733,83 +3345,32 @@
esac
done
else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$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 ; }
+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
fi
-rm -f conftest conftest$ac_cv_exeext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
+
+rm -f conftest$ac_cv_exeext
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
$as_echo "$ac_cv_exeext" >&6; }
rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include
-int
-main ()
-{
-FILE *f = fopen ("conftest.out", "w");
- return ferror (f) || fclose (f) != 0;
-
- ;
- return 0;
-}
-_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; }
-if test "$cross_compiling" != yes; then
- { { 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; }
- if { ac_try='./conftest$ac_cv_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
- 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.
-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; }
-
-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 "$as_me:$LINENO: checking for suffix of object files" >&5
$as_echo_n "checking for suffix of object files... " >&6; }
-if test "${ac_cv_objext+set}" = set; then :
+if test "${ac_cv_objext+set}" = set; then
$as_echo_n "(cached) " >&6
else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -3821,17 +3382,17 @@
}
_ACEOF
rm -f conftest.o conftest.obj
-if { { ac_try="$ac_compile"
+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
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$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 :
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
for ac_file in conftest.o conftest.obj conftest.*; do
test -f "$ac_file" || continue;
case $ac_file in
@@ -3844,23 +3405,31 @@
$as_echo "$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:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$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 ; }
+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
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 "$as_me:$LINENO: result: $ac_cv_objext" >&5
$as_echo "$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 "$as_me:$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 test "${ac_cv_c_compiler_gnu+set}" = set; then :
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
$as_echo_n "(cached) " >&6
else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -3874,16 +3443,37 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
ac_compiler_gnu=yes
else
- ac_compiler_gnu=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_compiler_gnu=no
fi
+
rm -f core conftest.err conftest.$ac_objext 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 "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
if test $ac_compiler_gnu = yes; then
GCC=yes
@@ -3892,16 +3482,20 @@
fi
ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then :
+if test "${ac_cv_prog_cc_g+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_save_c_werror_flag=$ac_c_werror_flag
ac_c_werror_flag=yes
ac_cv_prog_cc_g=no
CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -3912,11 +3506,35 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
ac_cv_prog_cc_g=yes
else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ CFLAGS=""
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -3927,12 +3545,36 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
else
- ac_c_werror_flag=$ac_save_c_werror_flag
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_c_werror_flag=$ac_save_c_werror_flag
CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -3943,17 +3585,42 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
ac_cv_prog_cc_g=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
fi
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
+
rm -f core conftest.err conftest.$ac_objext 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 "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
$as_echo "$ac_cv_prog_cc_g" >&6; }
if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS
@@ -3970,14 +3637,18 @@
CFLAGS=
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if test "${ac_cv_prog_cc_c89+set}" = set; then :
+if test "${ac_cv_prog_cc_c89+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_cv_prog_cc_c89=no
ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
#include
@@ -4034,9 +3705,32 @@
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
CC="$ac_save_CC $ac_arg"
- if ac_fn_c_try_compile "$LINENO"; then :
+ rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
ac_cv_prog_cc_c89=$ac_arg
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
fi
+
rm -f core conftest.err conftest.$ac_objext
test "x$ac_cv_prog_cc_c89" != "xno" && break
done
@@ -4047,19 +3741,17 @@
# 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 "$as_me:$LINENO: result: none needed" >&5
$as_echo "none needed" >&6; } ;;
xno)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+ { $as_echo "$as_me:$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 "$as_me:$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 :
-fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
@@ -4069,9 +3761,9 @@
depcc="$CC" am_compiler_list=
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
$as_echo_n "checking dependency style of $depcc... " >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
@@ -4179,7 +3871,7 @@
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
@@ -4194,18 +3886,20 @@
fi
- case $ac_cv_prog_cc_stdc in #(
- no) :
- ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
- *) :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
+ case $ac_cv_prog_cc_stdc in
+ no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
+ *) { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
-if test "${ac_cv_prog_cc_c99+set}" = set; then :
+if test "${ac_cv_prog_cc_c99+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_cv_prog_cc_c99=no
ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
#include
@@ -4347,9 +4041,32 @@
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
do
CC="$ac_save_CC $ac_arg"
- if ac_fn_c_try_compile "$LINENO"; then :
+ rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
ac_cv_prog_cc_c99=$ac_arg
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
fi
+
rm -f core conftest.err conftest.$ac_objext
test "x$ac_cv_prog_cc_c99" != "xno" && break
done
@@ -4360,27 +4077,31 @@
# AC_CACHE_VAL
case "x$ac_cv_prog_cc_c99" in
x)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+ { $as_echo "$as_me:$LINENO: result: none needed" >&5
$as_echo "none needed" >&6; } ;;
xno)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+ { $as_echo "$as_me:$LINENO: result: unsupported" >&5
$as_echo "unsupported" >&6; } ;;
*)
CC="$CC $ac_cv_prog_cc_c99"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
+ { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
esac
-if test "x$ac_cv_prog_cc_c99" != xno; then :
+if test "x$ac_cv_prog_cc_c99" != xno; then
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+ { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if test "${ac_cv_prog_cc_c89+set}" = set; then :
+if test "${ac_cv_prog_cc_c89+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_cv_prog_cc_c89=no
ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
#include
@@ -4437,9 +4158,32 @@
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
CC="$ac_save_CC $ac_arg"
- if ac_fn_c_try_compile "$LINENO"; then :
+ rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
ac_cv_prog_cc_c89=$ac_arg
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
fi
+
rm -f core conftest.err conftest.$ac_objext
test "x$ac_cv_prog_cc_c89" != "xno" && break
done
@@ -4450,43 +4194,43 @@
# 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 "$as_me:$LINENO: result: none needed" >&5
$as_echo "none needed" >&6; } ;;
xno)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+ { $as_echo "$as_me:$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 "$as_me:$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
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
else
ac_cv_prog_cc_stdc=no
fi
+
fi
+
;;
esac
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
+ { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
- if test "${ac_cv_prog_cc_stdc+set}" = set; then :
+ if test "${ac_cv_prog_cc_stdc+set}" = set; then
$as_echo_n "(cached) " >&6
fi
- case $ac_cv_prog_cc_stdc in #(
- no) :
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-$as_echo "unsupported" >&6; } ;; #(
- '') :
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-$as_echo "none needed" >&6; } ;; #(
- *) :
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
+ case $ac_cv_prog_cc_stdc in
+ no) { $as_echo "$as_me:$LINENO: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ '') { $as_echo "$as_me:$LINENO: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ *) { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
esac
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -4495,9 +4239,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if test "${ac_cv_prog_CC+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$CC"; then
@@ -4508,24 +4252,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
$as_echo "$CC" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -4535,9 +4279,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_CC"; then
@@ -4548,24 +4292,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_CC" >&5
$as_echo "$ac_ct_CC" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -4574,7 +4318,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -4588,9 +4332,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if test "${ac_cv_prog_CC+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$CC"; then
@@ -4601,24 +4345,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
$as_echo "$CC" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -4628,9 +4372,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if test "${ac_cv_prog_CC+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$CC"; then
@@ -4642,18 +4386,18 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
if test $ac_prog_rejected = yes; then
@@ -4672,10 +4416,10 @@
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
$as_echo "$CC" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -4687,9 +4431,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if test "${ac_cv_prog_CC+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$CC"; then
@@ -4700,24 +4444,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
$as_echo "$CC" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -4731,9 +4475,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_CC"; then
@@ -4744,24 +4488,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_CC" >&5
$as_echo "$ac_ct_CC" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -4774,7 +4518,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -4785,42 +4529,62 @@
fi
-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$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 ; }
+{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
set X $ac_compile
ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
- { { ac_try="$ac_compiler $ac_option >&5"
+{ (ac_try="$ac_compiler --version >&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
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compiler --version >&5") 2>&5
ac_status=$?
- if test -s conftest.err; then
- sed '10a\
-... rest of stderr output deleted ...
- 10q' conftest.err >conftest.er1
- cat conftest.er1 >&5
- fi
- rm -f conftest.er1 conftest.err
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-done
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -v >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compiler -v >&5") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -V >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compiler -V >&5") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+{ $as_echo "$as_me:$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 test "${ac_cv_c_compiler_gnu+set}" = set; then :
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
$as_echo_n "(cached) " >&6
else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -4834,16 +4598,37 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_compiler_gnu=yes
-else
- ac_compiler_gnu=no
-fi
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_compiler_gnu=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_compiler_gnu=no
+fi
+
rm -f core conftest.err conftest.$ac_objext 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 "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
if test $ac_compiler_gnu = yes; then
GCC=yes
@@ -4852,16 +4637,20 @@
fi
ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then :
+if test "${ac_cv_prog_cc_g+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_save_c_werror_flag=$ac_c_werror_flag
ac_c_werror_flag=yes
ac_cv_prog_cc_g=no
CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -4872,11 +4661,35 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
ac_cv_prog_cc_g=yes
else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ CFLAGS=""
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -4887,12 +4700,36 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
else
- ac_c_werror_flag=$ac_save_c_werror_flag
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_c_werror_flag=$ac_save_c_werror_flag
CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -4903,17 +4740,42 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
ac_cv_prog_cc_g=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
fi
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
+
rm -f core conftest.err conftest.$ac_objext 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 "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
$as_echo "$ac_cv_prog_cc_g" >&6; }
if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS
@@ -4930,14 +4792,18 @@
CFLAGS=
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if test "${ac_cv_prog_cc_c89+set}" = set; then :
+if test "${ac_cv_prog_cc_c89+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_cv_prog_cc_c89=no
ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
#include
@@ -4994,9 +4860,32 @@
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
CC="$ac_save_CC $ac_arg"
- if ac_fn_c_try_compile "$LINENO"; then :
+ rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
ac_cv_prog_cc_c89=$ac_arg
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
fi
+
rm -f core conftest.err conftest.$ac_objext
test "x$ac_cv_prog_cc_c89" != "xno" && break
done
@@ -5007,19 +4896,17 @@
# 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 "$as_me:$LINENO: result: none needed" >&5
$as_echo "none needed" >&6; } ;;
xno)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+ { $as_echo "$as_me:$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 "$as_me:$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 :
-fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
@@ -5029,9 +4916,9 @@
depcc="$CC" am_compiler_list=
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
$as_echo_n "checking dependency style of $depcc... " >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
@@ -5139,7 +5026,7 @@
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
@@ -5156,7 +5043,7 @@
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:$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;} ;;
esac
@@ -5181,27 +5068,35 @@
# 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:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
+$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
+ { (exit 1); exit 1; }; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
+{ $as_echo "$as_me:$LINENO: checking build system type" >&5
$as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then :
+if test "${ac_cv_build+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_build_alias=$build_alias
test "x$ac_build_alias" = x &&
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
+ { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
+$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
+ { (exit 1); exit 1; }; }
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
+ { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
+$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
+ { (exit 1); exit 1; }; }
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
$as_echo "$ac_cv_build" >&6; }
case $ac_cv_build in
*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
+*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
+$as_echo "$as_me: error: invalid value of canonical build" >&2;}
+ { (exit 1); exit 1; }; };;
esac
build=$ac_cv_build
ac_save_IFS=$IFS; IFS='-'
@@ -5217,24 +5112,28 @@
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 "$as_me:$LINENO: checking host system type" >&5
$as_echo_n "checking host system type... " >&6; }
-if test "${ac_cv_host+set}" = set; then :
+if test "${ac_cv_host+set}" = set; then
$as_echo_n "(cached) " >&6
else
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
+ { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
+$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
+ { (exit 1); exit 1; }; }
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
$as_echo "$ac_cv_host" >&6; }
case $ac_cv_host in
*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
+*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
+$as_echo "$as_me: error: invalid value of canonical host" >&2;}
+ { (exit 1); exit 1; }; };;
esac
host=$ac_cv_host
ac_save_IFS=$IFS; IFS='-'
@@ -5250,9 +5149,9 @@
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
+{ $as_echo "$as_me:$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 test "${ac_cv_path_SED+set}" = set; then :
+if test "${ac_cv_path_SED+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
@@ -5260,7 +5159,7 @@
ac_script="$ac_script$as_nl$ac_script"
done
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
- { ac_script=; unset ac_script;}
+ $as_unset ac_script || ac_script=
if test -z "$SED"; then
ac_path_SED_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
@@ -5269,7 +5168,7 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_prog in sed gsed; do
+ 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"
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
@@ -5289,7 +5188,7 @@
$as_echo '' >> "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
+ ac_count=`expr $ac_count + 1`
if test $ac_count -gt ${ac_path_SED_max-0}; then
# Best one so far, save it but keep looking for a better one
ac_cv_path_SED="$ac_path_SED"
@@ -5304,17 +5203,19 @@
$ac_path_SED_found && break 3
done
done
- done
+done
IFS=$as_save_IFS
if test -z "$ac_cv_path_SED"; then
- as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
+$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
+ { (exit 1); exit 1; }; }
fi
else
ac_cv_path_SED=$SED
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
$as_echo "$ac_cv_path_SED" >&6; }
SED="$ac_cv_path_SED"
rm -f conftest.sed
@@ -5332,9 +5233,9 @@
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+{ $as_echo "$as_me:$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 test "${ac_cv_path_GREP+set}" = set; then :
+if test "${ac_cv_path_GREP+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -z "$GREP"; then
@@ -5345,7 +5246,7 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_prog in grep ggrep; do
+ 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"
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
@@ -5365,7 +5266,7 @@
$as_echo 'GREP' >> "conftest.nl"
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
- as_fn_arith $ac_count + 1 && ac_count=$as_val
+ ac_count=`expr $ac_count + 1`
if test $ac_count -gt ${ac_path_GREP_max-0}; then
# Best one so far, save it but keep looking for a better one
ac_cv_path_GREP="$ac_path_GREP"
@@ -5380,24 +5281,26 @@
$ac_path_GREP_found && break 3
done
done
- done
+done
IFS=$as_save_IFS
if test -z "$ac_cv_path_GREP"; then
- as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
+$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
+ { (exit 1); exit 1; }; }
fi
else
ac_cv_path_GREP=$GREP
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
$as_echo "$ac_cv_path_GREP" >&6; }
GREP="$ac_cv_path_GREP"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
$as_echo_n "checking for egrep... " >&6; }
-if test "${ac_cv_path_EGREP+set}" = set; then :
+if test "${ac_cv_path_EGREP+set}" = set; then
$as_echo_n "(cached) " >&6
else
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -5411,7 +5314,7 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_prog in egrep; do
+ 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"
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
@@ -5431,7 +5334,7 @@
$as_echo 'EGREP' >> "conftest.nl"
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
- as_fn_arith $ac_count + 1 && ac_count=$as_val
+ ac_count=`expr $ac_count + 1`
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
# Best one so far, save it but keep looking for a better one
ac_cv_path_EGREP="$ac_path_EGREP"
@@ -5446,10 +5349,12 @@
$ac_path_EGREP_found && break 3
done
done
- done
+done
IFS=$as_save_IFS
if test -z "$ac_cv_path_EGREP"; then
- as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
+$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
+ { (exit 1); exit 1; }; }
fi
else
ac_cv_path_EGREP=$EGREP
@@ -5457,14 +5362,14 @@
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
$as_echo "$ac_cv_path_EGREP" >&6; }
EGREP="$ac_cv_path_EGREP"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
+{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
$as_echo_n "checking for fgrep... " >&6; }
-if test "${ac_cv_path_FGREP+set}" = set; then :
+if test "${ac_cv_path_FGREP+set}" = set; then
$as_echo_n "(cached) " >&6
else
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
@@ -5478,7 +5383,7 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_prog in fgrep; do
+ 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"
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
@@ -5498,7 +5403,7 @@
$as_echo '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
+ ac_count=`expr $ac_count + 1`
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
# Best one so far, save it but keep looking for a better one
ac_cv_path_FGREP="$ac_path_FGREP"
@@ -5513,10 +5418,12 @@
$ac_path_FGREP_found && break 3
done
done
- done
+done
IFS=$as_save_IFS
if test -z "$ac_cv_path_FGREP"; then
- as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
+$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
+ { (exit 1); exit 1; }; }
fi
else
ac_cv_path_FGREP=$FGREP
@@ -5524,7 +5431,7 @@
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
$as_echo "$ac_cv_path_FGREP" >&6; }
FGREP="$ac_cv_path_FGREP"
@@ -5550,7 +5457,7 @@
# Check whether --with-gnu-ld was given.
-if test "${with_gnu_ld+set}" = set; then :
+if test "${with_gnu_ld+set}" = set; then
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
else
with_gnu_ld=no
@@ -5559,7 +5466,7 @@
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 "$as_me:$LINENO: checking for ld used by $CC" >&5
$as_echo_n "checking for ld used by $CC... " >&6; }
case $host in
*-*-mingw*)
@@ -5589,13 +5496,13 @@
;;
esac
elif test "$with_gnu_ld" = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
+ { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
$as_echo_n "checking for GNU ld... " >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
+ { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
$as_echo_n "checking for non-GNU ld... " >&6; }
fi
-if test "${lt_cv_path_LD+set}" = set; then :
+if test "${lt_cv_path_LD+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -z "$LD"; then
@@ -5626,16 +5533,18 @@
LD="$lt_cv_path_LD"
if test -n "$LD"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
+ { $as_echo "$as_me:$LINENO: result: $LD" >&5
$as_echo "$LD" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "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
+test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
+$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
+ { (exit 1); exit 1; }; }
+{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
-if test "${lt_cv_prog_gnu_ld+set}" = set; then :
+if test "${lt_cv_prog_gnu_ld+set}" = set; then
$as_echo_n "(cached) " >&6
else
# I'd rather use --version here, but apparently some GNU lds only accept -v.
@@ -5648,7 +5557,7 @@
;;
esac
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
with_gnu_ld=$lt_cv_prog_gnu_ld
@@ -5660,9 +5569,9 @@
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
+{ $as_echo "$as_me:$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 test "${lt_cv_path_NM+set}" = set; then :
+if test "${lt_cv_path_NM+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$NM"; then
@@ -5709,7 +5618,7 @@
: ${lt_cv_path_NM=no}
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
$as_echo "$lt_cv_path_NM" >&6; }
if test "$lt_cv_path_NM" != "no"; then
NM="$lt_cv_path_NM"
@@ -5720,9 +5629,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
+if test "${ac_cv_prog_DUMPBIN+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$DUMPBIN"; then
@@ -5733,24 +5642,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
DUMPBIN=$ac_cv_prog_DUMPBIN
if test -n "$DUMPBIN"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
+ { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
$as_echo "$DUMPBIN" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -5764,9 +5673,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_DUMPBIN"; then
@@ -5777,24 +5686,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
$as_echo "$ac_ct_DUMPBIN" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -5807,7 +5716,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -5827,44 +5736,44 @@
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
+{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
-if test "${lt_cv_nm_interface+set}" = set; then :
+if test "${lt_cv_nm_interface+set}" = set; then
$as_echo_n "(cached) " >&6
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
- (eval echo "\"\$as_me:5837: $ac_compile\"" >&5)
+ (eval echo "\"\$as_me:5746: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
- (eval echo "\"\$as_me:5840: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval echo "\"\$as_me:5749: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
- (eval echo "\"\$as_me:5843: output\"" >&5)
+ (eval echo "\"\$as_me:5752: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
fi
rm -f conftest*
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
$as_echo "$lt_cv_nm_interface" >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
+{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
$as_echo_n "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 "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
+ { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
$as_echo "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 "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
-if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
+if test "${lt_cv_sys_max_cmd_len+set}" = set; then
$as_echo_n "(cached) " >&6
else
i=0
@@ -5982,10 +5891,10 @@
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 "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
+ { $as_echo "$as_me:$LINENO: result: none" >&5
$as_echo "none" >&6; }
fi
max_cmd_len=$lt_cv_sys_max_cmd_len
@@ -5999,7 +5908,7 @@
: ${MV="mv -f"}
: ${RM="rm -f"}
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
+{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
# Try some XSI features
xsi_shell=no
@@ -6009,17 +5918,17 @@
&& 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 "$as_me:$LINENO: result: $xsi_shell" >&5
$as_echo "$xsi_shell" >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
+{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
$as_echo_n "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 "$as_me:$LINENO: result: $lt_shell_append" >&5
$as_echo "$lt_shell_append" >&6; }
@@ -6054,14 +5963,14 @@
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
+{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
$as_echo_n "checking for $LD option to reload object files... " >&6; }
-if test "${lt_cv_ld_reload_flag+set}" = set; then :
+if test "${lt_cv_ld_reload_flag+set}" = set; then
$as_echo_n "(cached) " >&6
else
lt_cv_ld_reload_flag='-r'
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
$as_echo "$lt_cv_ld_reload_flag" >&6; }
reload_flag=$lt_cv_ld_reload_flag
case $reload_flag in
@@ -6090,9 +5999,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
+if test "${ac_cv_prog_OBJDUMP+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$OBJDUMP"; then
@@ -6103,24 +6012,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
OBJDUMP=$ac_cv_prog_OBJDUMP
if test -n "$OBJDUMP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
+ { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
$as_echo "$OBJDUMP" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -6130,9 +6039,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_OBJDUMP"; then
@@ -6143,24 +6052,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
$as_echo "$ac_ct_OBJDUMP" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -6169,7 +6078,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -6189,9 +6098,9 @@
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
+{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
-if test "${lt_cv_deplibs_check_method+set}" = set; then :
+if test "${lt_cv_deplibs_check_method+set}" = set; then
$as_echo_n "(cached) " >&6
else
lt_cv_file_magic_cmd='$MAGIC_CMD'
@@ -6385,7 +6294,7 @@
esac
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
$as_echo "$lt_cv_deplibs_check_method" >&6; }
file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
@@ -6405,9 +6314,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_AR+set}" = set; then :
+if test "${ac_cv_prog_AR+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$AR"; then
@@ -6418,24 +6327,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
AR=$ac_cv_prog_AR
if test -n "$AR"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
+ { $as_echo "$as_me:$LINENO: result: $AR" >&5
$as_echo "$AR" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -6445,9 +6354,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_AR"; then
@@ -6458,24 +6367,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_AR" >&5
$as_echo "$ac_ct_AR" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -6484,7 +6393,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -6510,9 +6419,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_STRIP+set}" = set; then :
+if test "${ac_cv_prog_STRIP+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$STRIP"; then
@@ -6523,24 +6432,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
STRIP=$ac_cv_prog_STRIP
if test -n "$STRIP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+ { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
$as_echo "$STRIP" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -6550,9 +6459,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_STRIP"; then
@@ -6563,24 +6472,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
$as_echo "$ac_ct_STRIP" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -6589,7 +6498,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -6609,9 +6518,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then :
+if test "${ac_cv_prog_RANLIB+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$RANLIB"; then
@@ -6622,24 +6531,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+ { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
$as_echo "$RANLIB" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -6649,9 +6558,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_RANLIB"; then
@@ -6662,24 +6571,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
$as_echo "$ac_ct_RANLIB" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -6688,7 +6597,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -6766,9 +6675,9 @@
# 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 "$as_me:$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 test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
+if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
$as_echo_n "(cached) " >&6
else
@@ -6884,18 +6793,18 @@
int main(){nm_test_var='a';nm_test_func();return(0);}
_LT_EOF
- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; 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
+ if { (eval echo "$as_me:$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
- test $ac_status = 0; } && test -s "$nlist"; then
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s "$nlist"; then
# Try sorting and uniquifying the output.
if sort "$nlist" | uniq > "$nlist"T; then
mv -f "$nlist"T "$nlist"
@@ -6948,11 +6857,11 @@
lt_save_CFLAGS="$CFLAGS"
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && test -s conftest${ac_exeext}; then
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s conftest${ac_exeext}; then
pipe_works=yes
fi
LIBS="$lt_save_LIBS"
@@ -6986,10 +6895,10 @@
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 "$as_me:$LINENO: result: failed" >&5
$as_echo "failed" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
+ { $as_echo "$as_me:$LINENO: result: ok" >&5
$as_echo "ok" >&6; }
fi
@@ -7016,7 +6925,7 @@
# Check whether --enable-libtool-lock was given.
-if test "${enable_libtool_lock+set}" = set; then :
+if test "${enable_libtool_lock+set}" = set; then
enableval=$enable_libtool_lock;
fi
@@ -7028,11 +6937,11 @@
ia64-*-hpux*)
# Find out which ABI we are using.
echo 'int i;' > conftest.$ac_ext
- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
case `/usr/bin/file conftest.$ac_objext` in
*ELF-32*)
HPUX_IA64_MODE="32"
@@ -7046,12 +6955,12 @@
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 7049 "configure"' > conftest.$ac_ext
- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ echo '#line 6958 "configure"' > conftest.$ac_ext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
if test "$lt_cv_prog_gnu_ld" = yes; then
case `/usr/bin/file conftest.$ac_objext` in
*32-bit*)
@@ -7085,11 +6994,11 @@
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
# Find out which ABI we are using.
echo 'int i;' > conftest.$ac_ext
- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
case `/usr/bin/file conftest.o` in
*32-bit*)
case $host in
@@ -7138,9 +7047,9 @@
# 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 "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
-if test "${lt_cv_cc_needs_belf+set}" = set; then :
+if test "${lt_cv_cc_needs_belf+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_ext=c
@@ -7149,7 +7058,11 @@
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -7160,13 +7073,38 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
lt_cv_cc_needs_belf=yes
else
- lt_cv_cc_needs_belf=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ lt_cv_cc_needs_belf=no
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -7174,7 +7112,7 @@
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 "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
$as_echo "$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
@@ -7184,11 +7122,11 @@
sparc*-*solaris*)
# Find out which ABI we are using.
echo 'int i;' > conftest.$ac_ext
- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
case `/usr/bin/file conftest.o` in
*64-bit*)
case $lt_cv_prog_gnu_ld in
@@ -7214,9 +7152,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
+if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$DSYMUTIL"; then
@@ -7227,24 +7165,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
DSYMUTIL=$ac_cv_prog_DSYMUTIL
if test -n "$DSYMUTIL"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
+ { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
$as_echo "$DSYMUTIL" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -7254,9 +7192,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_DSYMUTIL"; then
@@ -7267,24 +7205,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
$as_echo "$ac_ct_DSYMUTIL" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -7293,7 +7231,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -7306,9 +7244,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_NMEDIT+set}" = set; then :
+if test "${ac_cv_prog_NMEDIT+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$NMEDIT"; then
@@ -7319,24 +7257,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
NMEDIT=$ac_cv_prog_NMEDIT
if test -n "$NMEDIT"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
+ { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
$as_echo "$NMEDIT" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -7346,9 +7284,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_NMEDIT"; then
@@ -7359,24 +7297,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
$as_echo "$ac_ct_NMEDIT" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -7385,7 +7323,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -7398,9 +7336,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_LIPO+set}" = set; then :
+if test "${ac_cv_prog_LIPO+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$LIPO"; then
@@ -7411,24 +7349,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
LIPO=$ac_cv_prog_LIPO
if test -n "$LIPO"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
+ { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
$as_echo "$LIPO" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -7438,9 +7376,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_LIPO"; then
@@ -7451,24 +7389,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
$as_echo "$ac_ct_LIPO" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -7477,7 +7415,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -7490,9 +7428,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_OTOOL+set}" = set; then :
+if test "${ac_cv_prog_OTOOL+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$OTOOL"; then
@@ -7503,24 +7441,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
OTOOL=$ac_cv_prog_OTOOL
if test -n "$OTOOL"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
+ { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
$as_echo "$OTOOL" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -7530,9 +7468,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_OTOOL"; then
@@ -7543,24 +7481,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
$as_echo "$ac_ct_OTOOL" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -7569,7 +7507,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -7582,9 +7520,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_OTOOL64+set}" = set; then :
+if test "${ac_cv_prog_OTOOL64+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$OTOOL64"; then
@@ -7595,24 +7533,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
fi
fi
OTOOL64=$ac_cv_prog_OTOOL64
if test -n "$OTOOL64"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
+ { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
$as_echo "$OTOOL64" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -7622,9 +7560,9 @@
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 "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
+if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_OTOOL64"; then
@@ -7635,24 +7573,24 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
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 "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
$as_echo "$ac_ct_OTOOL64" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -7661,7 +7599,7 @@
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:$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;}
ac_tool_warned=yes ;;
esac
@@ -7697,9 +7635,9 @@
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
+ { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
$as_echo_n "checking for -single_module linker flag... " >&6; }
-if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
+if test "${lt_cv_apple_cc_single_mod+set}" = set; then
$as_echo_n "(cached) " >&6
else
lt_cv_apple_cc_single_mod=no
@@ -7724,18 +7662,22 @@
rm -f conftest.*
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
+ { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
-if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
+if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
$as_echo_n "(cached) " >&6
else
lt_cv_ld_exported_symbols_list=no
save_LDFLAGS=$LDFLAGS
echo "_main" > conftest.sym
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -7746,17 +7688,42 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
lt_cv_ld_exported_symbols_list=yes
else
- lt_cv_ld_exported_symbols_list=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ lt_cv_ld_exported_symbols_list=no
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ 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 "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
case $host_os in
rhapsody* | darwin1.[012])
@@ -7798,14 +7765,14 @@
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 "$as_me:$LINENO: checking how to run the C preprocessor" >&5
$as_echo_n "checking how to run the C preprocessor... " >&6; }
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
fi
if test -z "$CPP"; then
- if test "${ac_cv_prog_CPP+set}" = set; then :
+ if test "${ac_cv_prog_CPP+set}" = set; then
$as_echo_n "(cached) " >&6
else
# Double quotes because CPP needs to be expanded
@@ -7820,7 +7787,11 @@
# 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
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#ifdef __STDC__
# include
@@ -7829,34 +7800,78 @@
#endif
Syntax error
_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ :
else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
# Broken: fails on valid input.
continue
fi
-rm -f conftest.err conftest.i conftest.$ac_ext
+
+rm -f conftest.err conftest.$ac_ext
# OK, works on sane cases. Now check whether nonexistent headers
# can be detected and how.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
# Broken: success on invalid input.
continue
else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
# Passes both tests.
ac_preproc_ok=:
break
fi
-rm -f conftest.err conftest.i conftest.$ac_ext
+
+rm -f conftest.err 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 :
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
break
fi
@@ -7868,7 +7883,7 @@
else
ac_cv_prog_CPP=$CPP
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
$as_echo "$CPP" >&6; }
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
@@ -7879,7 +7894,11 @@
# 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
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#ifdef __STDC__
# include
@@ -7888,40 +7907,87 @@
#endif
Syntax error
_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ :
else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
# Broken: fails on valid input.
continue
fi
-rm -f conftest.err conftest.i conftest.$ac_ext
+
+rm -f conftest.err conftest.$ac_ext
# OK, works on sane cases. Now check whether nonexistent headers
# can be detected and how.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
# Broken: success on invalid input.
continue
else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
# Passes both tests.
ac_preproc_ok=:
break
fi
-rm -f conftest.err conftest.i conftest.$ac_ext
+
+rm -f conftest.err 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 :
-
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+ :
else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5 ; }
+{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
fi
ac_ext=c
@@ -7931,12 +7997,16 @@
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; }
-if test "${ac_cv_header_stdc+set}" = set; then :
+if test "${ac_cv_header_stdc+set}" = set; then
$as_echo_n "(cached) " >&6
else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
#include
@@ -7951,23 +8021,48 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
ac_cv_header_stdc=yes
else
- ac_cv_header_stdc=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ 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
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "memchr" >/dev/null 2>&1; then :
-
+ $EGREP "memchr" >/dev/null 2>&1; then
+ :
else
ac_cv_header_stdc=no
fi
@@ -7977,14 +8072,18 @@
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
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "free" >/dev/null 2>&1; then :
-
+ $EGREP "free" >/dev/null 2>&1; then
+ :
else
ac_cv_header_stdc=no
fi
@@ -7994,10 +8093,14 @@
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 :
+ if test "$cross_compiling" = yes; then
:
else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
#include
@@ -8024,33 +8127,118 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ :
else
- ac_cv_header_stdc=no
+ $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
+
+( exit $ac_status )
+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
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
+
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
+{ $as_echo "$as_me:$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
+cat >>confdefs.h <<\_ACEOF
+#define STDC_HEADERS 1
+_ACEOF
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 :
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ eval "$as_ac_Header=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_Header=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
@@ -8060,13 +8248,62 @@
done
+
for ac_header in dlfcn.h
-do :
- 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" = x""yes; then :
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ eval "$as_ac_Header=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_Header=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define HAVE_DLFCN_H 1
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi
@@ -8086,7 +8323,7 @@
# Check whether --enable-shared was given.
-if test "${enable_shared+set}" = set; then :
+if test "${enable_shared+set}" = set; then
enableval=$enable_shared; p=${PACKAGE-default}
case $enableval in
yes) enable_shared=yes ;;
@@ -8117,7 +8354,7 @@
# Check whether --enable-static was given.
-if test "${enable_static+set}" = set; then :
+if test "${enable_static+set}" = set; then
enableval=$enable_static; p=${PACKAGE-default}
case $enableval in
yes) enable_static=yes ;;
@@ -8149,7 +8386,7 @@
# Check whether --with-pic was given.
-if test "${with_pic+set}" = set; then :
+if test "${with_pic+set}" = set; then
withval=$with_pic; pic_mode="$withval"
else
pic_mode=default
@@ -8165,7 +8402,7 @@
# Check whether --enable-fast-install was given.
-if test "${enable_fast_install+set}" = set; then :
+if test "${enable_fast_install+set}" = set; then
enableval=$enable_fast_install; p=${PACKAGE-default}
case $enableval in
yes) enable_fast_install=yes ;;
@@ -8246,9 +8483,9 @@
setopt NO_GLOB_SUBST
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
+{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
$as_echo_n "checking for objdir... " >&6; }
-if test "${lt_cv_objdir+set}" = set; then :
+if test "${lt_cv_objdir+set}" = set; then
$as_echo_n "(cached) " >&6
else
rm -f .libs 2>/dev/null
@@ -8261,7 +8498,7 @@
fi
rmdir .libs 2>/dev/null
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
$as_echo "$lt_cv_objdir" >&6; }
objdir=$lt_cv_objdir
@@ -8354,9 +8591,9 @@
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 "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
$as_echo_n "(cached) " >&6
else
case $MAGIC_CMD in
@@ -8407,10 +8644,10 @@
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 "$as_me:$LINENO: result: $MAGIC_CMD" >&5
$as_echo "$MAGIC_CMD" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -8420,9 +8657,9 @@
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 "$as_me:$LINENO: checking for file" >&5
$as_echo_n "checking for file... " >&6; }
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
$as_echo_n "(cached) " >&6
else
case $MAGIC_CMD in
@@ -8473,10 +8710,10 @@
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 "$as_me:$LINENO: result: $MAGIC_CMD" >&5
$as_echo "$MAGIC_CMD" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -8553,9 +8790,9 @@
if test "$GCC" = yes; then
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+ { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
-if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
+if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
$as_echo_n "(cached) " >&6
else
lt_cv_prog_compiler_rtti_exceptions=no
@@ -8571,11 +8808,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:8574: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8811: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:8578: \$? = $ac_status" >&5
+ echo "$as_me:8815: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -8588,7 +8825,7 @@
$RM conftest*
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
@@ -8608,7 +8845,7 @@
lt_prog_compiler_pic=
lt_prog_compiler_static=
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
if test "$GCC" = yes; then
@@ -8880,7 +9117,7 @@
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
;;
esac
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
+{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
$as_echo "$lt_prog_compiler_pic" >&6; }
@@ -8892,9 +9129,9 @@
# 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 "$as_me:$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 test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
+if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
$as_echo_n "(cached) " >&6
else
lt_cv_prog_compiler_pic_works=no
@@ -8910,11 +9147,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:8913: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9150: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:8917: \$? = $ac_status" >&5
+ echo "$as_me:9154: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -8927,7 +9164,7 @@
$RM conftest*
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
@@ -8951,9 +9188,9 @@
# 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 "$as_me:$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 test "${lt_cv_prog_compiler_static_works+set}" = set; then :
+if test "${lt_cv_prog_compiler_static_works+set}" = set; then
$as_echo_n "(cached) " >&6
else
lt_cv_prog_compiler_static_works=no
@@ -8979,7 +9216,7 @@
LDFLAGS="$save_LDFLAGS"
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
@@ -8994,9 +9231,9 @@
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+ { $as_echo "$as_me:$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 test "${lt_cv_prog_compiler_c_o+set}" = set; then :
+if test "${lt_cv_prog_compiler_c_o+set}" = set; then
$as_echo_n "(cached) " >&6
else
lt_cv_prog_compiler_c_o=no
@@ -9015,11 +9252,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9018: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9255: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:9022: \$? = $ac_status" >&5
+ echo "$as_me:9259: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -9041,7 +9278,7 @@
$RM conftest*
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
@@ -9049,9 +9286,9 @@
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+ { $as_echo "$as_me:$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 test "${lt_cv_prog_compiler_c_o+set}" = set; then :
+if test "${lt_cv_prog_compiler_c_o+set}" = set; then
$as_echo_n "(cached) " >&6
else
lt_cv_prog_compiler_c_o=no
@@ -9070,11 +9307,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9073: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9310: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:9077: \$? = $ac_status" >&5
+ echo "$as_me:9314: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -9096,7 +9333,7 @@
$RM conftest*
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
@@ -9105,7 +9342,7 @@
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 "$as_me:$LINENO: checking if we can lock with hard links" >&5
$as_echo_n "checking if we can lock with hard links... " >&6; }
hard_links=yes
$RM conftest*
@@ -9113,10 +9350,10 @@
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 "$as_me:$LINENO: result: $hard_links" >&5
$as_echo "$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:$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;}
need_locks=warn
fi
@@ -9129,7 +9366,7 @@
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+ { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
runpath_var=
@@ -9571,7 +9808,11 @@
allow_undefined_flag='-berok'
# Determine the default libpath from the value encoded in an
# empty executable.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -9582,7 +9823,27 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
lt_aix_libpath_sed='
/Import File Strings/,/^$/ {
@@ -9596,9 +9857,16 @@
if test -z "$aix_libpath"; then
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
fi
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
@@ -9611,7 +9879,11 @@
else
# Determine the default libpath from the value encoded in an
# empty executable.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -9622,7 +9894,27 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
lt_aix_libpath_sed='
/Import File Strings/,/^$/ {
@@ -9636,9 +9928,16 @@
if test -z "$aix_libpath"; then
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
fi
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
@@ -9850,16 +10149,42 @@
# implicitly export all symbols.
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. */
+ cat >conftest.$ac_ext <<_ACEOF
int foo(void) {}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
LDFLAGS="$save_LDFLAGS"
else
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
@@ -10115,7 +10440,7 @@
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
+{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
$as_echo "$ld_shlibs" >&6; }
test "$ld_shlibs" = no && can_build_shared=no
@@ -10152,16 +10477,16 @@
# 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 "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
$RM conftest*
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } 2>conftest.err; then
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } 2>conftest.err; then
soname=conftest
lib=conftest
libobjs=conftest.$ac_objext
@@ -10175,11 +10500,11 @@
libname=conftest
lt_save_allow_undefined_flag=$allow_undefined_flag
allow_undefined_flag=
- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+ if { (eval echo "$as_me:$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
- test $ac_status = 0; }
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
then
archive_cmds_need_lc=no
else
@@ -10190,7 +10515,7 @@
cat conftest.err 1>&5
fi
$RM conftest*
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
+ { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
$as_echo "$archive_cmds_need_lc" >&6; }
;;
esac
@@ -10354,7 +10679,7 @@
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
+ { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
$as_echo_n "checking dynamic linker characteristics... " >&6; }
if test "$GCC" = yes; then
@@ -10776,7 +11101,11 @@
save_libdir=$libdir
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -10787,13 +11116,41 @@
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 :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
shlibpath_overrides_runpath=yes
fi
+
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
LDFLAGS=$save_LDFLAGS
libdir=$save_libdir
@@ -11008,7 +11365,7 @@
dynamic_linker=no
;;
esac
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
+{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
$as_echo "$dynamic_linker" >&6; }
test "$dynamic_linker" = no && can_build_shared=no
@@ -11110,1998 +11467,7564 @@
- { $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; }
-hardcode_action=
-if test -n "$hardcode_libdir_flag_spec" ||
- test -n "$runpath_var" ||
- test "X$hardcode_automatic" = "Xyes" ; then
+ { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
+hardcode_action=
+if test -n "$hardcode_libdir_flag_spec" ||
+ test -n "$runpath_var" ||
+ test "X$hardcode_automatic" = "Xyes" ; then
+
+ # We can hardcode non-existent directories.
+ if test "$hardcode_direct" != no &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
+ test "$hardcode_minus_L" != no; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action=unsupported
+fi
+{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
+$as_echo "$hardcode_action" >&6; }
+
+if test "$hardcode_action" = relink ||
+ test "$inherit_rpath" = yes; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test "$shlibpath_overrides_runpath" = yes ||
+ test "$enable_shared" = no; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+
+
+
+
+
+ if test "x$enable_dlopen" != xyes; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen="load_add_on"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen="LoadLibrary"
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen="dlopen"
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* 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 ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_lib_dl_dlopen=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dl_dlopen=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+else
+
+ lt_cv_dlopen="dyld"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+
+fi
+
+ ;;
+
+ *)
+ { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
+$as_echo_n "checking for shl_load... " >&6; }
+if test "${ac_cv_func_shl_load+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define shl_load to an innocuous variant, in case declares shl_load.
+ For example, HP-UX 11i declares gettimeofday. */
+#define shl_load innocuous_shl_load
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char shl_load (); below.
+ Prefer to if __STDC__ is defined, since
+ exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include
+#else
+# include
+#endif
+
+#undef shl_load
+
+/* 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 ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_shl_load || defined __stub___shl_load
+choke me
+#endif
+
+int
+main ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_func_shl_load=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_shl_load=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
+$as_echo "$ac_cv_func_shl_load" >&6; }
+if test "x$ac_cv_func_shl_load" = x""yes; then
+ lt_cv_dlopen="shl_load"
+else
+ { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
+$as_echo_n "checking for shl_load in -ldld... " >&6; }
+if test "${ac_cv_lib_dld_shl_load+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* 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 ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_lib_dld_shl_load=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dld_shl_load=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:$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" = x""yes; then
+ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
+else
+ { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
+$as_echo_n "checking for dlopen... " >&6; }
+if test "${ac_cv_func_dlopen+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define dlopen to an innocuous variant, in case declares dlopen.
+ For example, HP-UX 11i declares gettimeofday. */
+#define dlopen innocuous_dlopen
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char dlopen (); below.
+ Prefer to if __STDC__ is defined, since
+ exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include
+#else
+# include
+#endif
+
+#undef dlopen
+
+/* 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 ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_dlopen || defined __stub___dlopen
+choke me
+#endif
+
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_func_dlopen=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_dlopen=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
+$as_echo "$ac_cv_func_dlopen" >&6; }
+if test "x$ac_cv_func_dlopen" = x""yes; then
+ lt_cv_dlopen="dlopen"
+else
+ { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* 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 ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_lib_dl_dlopen=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dl_dlopen=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+else
+ { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
+$as_echo_n "checking for dlopen in -lsvld... " >&6; }
+if test "${ac_cv_lib_svld_dlopen+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsvld $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* 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 ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_lib_svld_dlopen=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_svld_dlopen=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
+$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
+if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
+else
+ { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
+$as_echo_n "checking for dld_link in -ldld... " >&6; }
+if test "${ac_cv_lib_dld_dld_link+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* 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 ()
+{
+return dld_link ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_lib_dld_dld_link=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dld_dld_link=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:$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" = x""yes; then
+ lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+ ;;
+ esac
+
+ if test "x$lt_cv_dlopen" != xno; then
+ enable_dlopen=yes
+ else
+ enable_dlopen=no
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS="$CPPFLAGS"
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS="$LDFLAGS"
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS="$LIBS"
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
+$as_echo_n "checking whether a program can dlopen itself... " >&6; }
+if test "${lt_cv_dlopen_self+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then :
+ lt_cv_dlopen_self=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+#line 12113 "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include
+#endif
+
+#include
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+void fnord() { int i=42;}
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}
+_LT_EOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) >&5 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
+$as_echo "$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:$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 test "${lt_cv_dlopen_self_static+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then :
+ lt_cv_dlopen_self_static=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+#line 12209 "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include
+#endif
+
+#include
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+void fnord() { int i=42;}
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}
+_LT_EOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) >&5 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self_static=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
+$as_echo "$lt_cv_dlopen_self_static" >&6; }
+ fi
+
+ CPPFLAGS="$save_CPPFLAGS"
+ LDFLAGS="$save_LDFLAGS"
+ LIBS="$save_LIBS"
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+striplib=
+old_striplib=
+{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
+$as_echo_n "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:$LINENO: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP" ; then
+ striplib="$STRIP -x"
+ old_striplib="$STRIP -S"
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+ ;;
+ *)
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+ ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+ # Report which library types will actually be built
+ { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
+$as_echo_n "checking if libtool supports shared libraries... " >&6; }
+ { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
+$as_echo "$can_build_shared" >&6; }
+
+ { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
+$as_echo_n "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
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+ aix[4-9]*)
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+ test "$enable_shared" = yes && enable_static=no
+ fi
+ ;;
+ esac
+ { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
+$as_echo "$enable_shared" >&6; }
+
+ { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
+$as_echo_n "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:$LINENO: result: $enable_static" >&5
+$as_echo "$enable_static" >&6; }
+
+
+
+
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+CC="$lt_save_CC"
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ac_config_commands="$ac_config_commands libtool"
+
+
+
+
+# Only expand once:
+
+
+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:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_RANLIB+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:$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;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+
+ { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
+if test "${ac_cv_c_bigendian+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_c_bigendian=unknown
+ # See if we're dealing with a universal compiler.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#ifndef __APPLE_CC__
+ not a universal capable compiler
+ #endif
+ typedef int dummy;
+
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+
+ # Check for potential -arch flags. It is not universal unless
+ # there are some -arch flags. Note that *ppc* also matches
+ # ppc64. This check is also rather less than ideal.
+ case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
+ *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
+ esac
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ if test $ac_cv_c_bigendian = unknown; then
+ # See if sys/param.h defines the BYTE_ORDER macro.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include
+ #include
+
+int
+main ()
+{
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
+ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
+ && LITTLE_ENDIAN)
+ bogus endian macros
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ # It does; now see whether it defined to BIG_ENDIAN or not.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include
+ #include
+
+int
+main ()
+{
+#if BYTE_ORDER != BIG_ENDIAN
+ not big endian
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_c_bigendian=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_c_bigendian=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+ if test $ac_cv_c_bigendian = unknown; then
+ # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include
+
+int
+main ()
+{
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
+ bogus endian macros
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ # It does; now see whether it defined to _BIG_ENDIAN or not.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include
+
+int
+main ()
+{
+#ifndef _BIG_ENDIAN
+ not big endian
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_c_bigendian=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_c_bigendian=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+ if test $ac_cv_c_bigendian = unknown; then
+ # Compile a test program.
+ if test "$cross_compiling" = yes; then
+ # Try to guess by grepping values from an object file.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+short int ascii_mm[] =
+ { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
+ 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[] =
+ { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
+ short int ebcdic_mm[] =
+ { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
+ int use_ebcdic (int i) {
+ return ebcdic_mm[i] + ebcdic_ii[i];
+ }
+ extern int foo;
+
+int
+main ()
+{
+return use_ascii (foo) == use_ebcdic (foo);
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
+ ac_cv_c_bigendian=yes
+ fi
+ if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
+ if test "$ac_cv_c_bigendian" = unknown; then
+ ac_cv_c_bigendian=no
+ else
+ # finding both strings is unlikely to happen, but who knows?
+ ac_cv_c_bigendian=unknown
+ fi
+ fi
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+
+ /* Are we little or big endian? From Harbison&Steele. */
+ union
+ {
+ long int l;
+ char c[sizeof (long int)];
+ } u;
+ u.l = 1;
+ return u.c[sizeof (long int) - 1] == 1;
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_c_bigendian=no
+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
+
+( exit $ac_status )
+ac_cv_c_bigendian=yes
+fi
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+ fi
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
+$as_echo "$ac_cv_c_bigendian" >&6; }
+ case $ac_cv_c_bigendian in #(
+ yes)
+ cat >>confdefs.h <<\_ACEOF
+#define WORDS_BIGENDIAN 1
+_ACEOF
+;; #(
+ no)
+ ;; #(
+ universal)
+
+cat >>confdefs.h <<\_ACEOF
+#define AC_APPLE_UNIVERSAL_BUILD 1
+_ACEOF
+
+ ;; #(
+ *)
+ { { $as_echo "$as_me:$LINENO: error: unknown endianness
+ presetting ac_cv_c_bigendian=no (or yes) will help" >&5
+$as_echo "$as_me: error: unknown endianness
+ presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
+ { (exit 1); exit 1; }; } ;;
+ esac
+
+{ $as_echo "$as_me:$LINENO: checking for inline" >&5
+$as_echo_n "checking for inline... " >&6; }
+if test "${ac_cv_c_inline+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_c_inline=no
+for ac_kw in inline __inline__ __inline; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* 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; }
+#endif
+
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_c_inline=$ac_kw
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ test "$ac_cv_c_inline" != no && break
+done
+
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
+$as_echo "$ac_cv_c_inline" >&6; }
+
+
+case $ac_cv_c_inline in
+ inline | yes) ;;
+ *)
+ case $ac_cv_c_inline in
+ no) ac_val=;;
+ *) ac_val=$ac_cv_c_inline;;
+ esac
+ cat >>confdefs.h <<_ACEOF
+#ifndef __cplusplus
+#define inline $ac_val
+#endif
+_ACEOF
+ ;;
+esac
+
+
+#AC_CANONICAL_HOST
+linux="no"
+sunos4="no"
+so_with_static_lib="yes"
+
+case "$host" in
+ *-openbsd2.6|*-openbsd2.5|*-openbsd2.4|*-openbsd2.3*)
+
+cat >>confdefs.h <<\_ACEOF
+#define OPENBSD 1
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
+#define BROKEN_SIOCGIFMTU 1
+_ACEOF
+
+ so_with_static_lib="no"
+
+ ;;
+ *-openbsd*)
+
+cat >>confdefs.h <<\_ACEOF
+#define OPENBSD 1
+_ACEOF
+
+ so_with_static_lib="no"
+
+ ;;
+ *-sgi-irix5*)
+
+cat >>confdefs.h <<\_ACEOF
+#define IRIX 1
+_ACEOF
+
+ no_libsocket="yes"
+ no_libnsl="yes"
+ if test -z "$GCC"; then
+ sgi_cc="yes"
+ fi
+ LDFLAGS="${LDFLAGS} -L/usr/local/lib"
+ extra_incl="-I/usr/local/include"
+ ;;
+ *-sgi-irix6*)
+
+cat >>confdefs.h <<\_ACEOF
+#define IRIX 1
+_ACEOF
+
+ no_libsocket="yes"
+ no_libnsl="yes"
+ if test -z "$GCC"; then
+ sgi_cc="yes"
+ fi
+ LDFLAGS="${LDFLAGS} -L/usr/local/lib"
+ extra_incl="-I/usr/local/include"
+ ;;
+ *-solaris*)
+
+cat >>confdefs.h <<\_ACEOF
+#define SOLARIS 1
+_ACEOF
+
+ CONFIGFLAGS="${CONFIGFLAGS} -DBSD_COMP -D_REENTRANT"
+ rt_nanosleep="yes"
+ ;;
+ *-sunos*)
+
+cat >>confdefs.h <<\_ACEOF
+#define SUNOS 1
+_ACEOF
+
+ sunos4="yes"
+ ;;
+ *-linux*)
+ linux="yes"
+
+cat >>confdefs.h <<\_ACEOF
+#define LINUX 1
+_ACEOF
+
+
+ extra_incl="-I/usr/include/pcap"
+ ;;
+ *-hpux10*|*-hpux11*)
+
+cat >>confdefs.h <<\_ACEOF
+#define HPUX 1
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
+#define WORDS_BIGENDIAN 1
+_ACEOF
+
+
+ extra_incl="-I/usr/local/include"
+ ;;
+ *-freebsd*)
+
+cat >>confdefs.h <<\_ACEOF
+#define FREEBSD 1
+_ACEOF
+
+ ;;
+ *-bsdi*)
+
+cat >>confdefs.h <<\_ACEOF
+#define BSDI 1
+_ACEOF
+
+ ;;
+ *-aix*)
+
+cat >>confdefs.h <<\_ACEOF
+#define AIX 1
+_ACEOF
+
+ ;;
+ *-osf4*)
+
+cat >>confdefs.h <<\_ACEOF
+#define OSF1 1
+_ACEOF
+
+ CONFIGFLAGS="${CONFIGFLAGS} -DOSF1"
+ ;;
+ *-osf5.1*)
+
+cat >>confdefs.h <<\_ACEOF
+#define OSF1 1
+_ACEOF
+
+ CONFIGFLAGS="${CONFIGFLAGS} -DOSF1"
+ ;;
+ *-tru64*)
+
+cat >>confdefs.h <<\_ACEOF
+#define OSF1 1
+_ACEOF
+
+ CONFIGFLAGS="${CONFIGFLAGS} -DOSF1"
+ ;;
+# it is actually -apple-darwin1.2 or -apple-rhapsody5.x but lets stick with this for the moment
+ *-apple*)
+
+cat >>confdefs.h <<\_ACEOF
+#define MACOS 1
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
+#define BROKEN_SIOCGIFMTU 1
+_ACEOF
+
+ LDFLAGS="${LDFLAGS} -L/sw/lib"
+ extra_incl="-I/sw/include"
+esac
+
+{ $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
+$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
+if test "${ac_cv_header_stdbool_h+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include
+#ifndef bool
+ "error: bool is not defined"
+#endif
+#ifndef false
+ "error: false is not defined"
+#endif
+#if false
+ "error: false is not 0"
+#endif
+#ifndef true
+ "error: true is not defined"
+#endif
+#if true != 1
+ "error: true is not 1"
+#endif
+#ifndef __bool_true_false_are_defined
+ "error: __bool_true_false_are_defined is not defined"
+#endif
+
+ struct s { _Bool s: 1; _Bool t; } s;
+
+ char a[true == 1 ? 1 : -1];
+ char b[false == 0 ? 1 : -1];
+ char c[__bool_true_false_are_defined == 1 ? 1 : -1];
+ char d[(bool) 0.5 == true ? 1 : -1];
+ bool e = &s;
+ char f[(_Bool) 0.0 == false ? 1 : -1];
+ char g[true];
+ char h[sizeof (_Bool)];
+ char i[sizeof s.t];
+ enum { j = false, k = true, l = false * true, m = true * 256 };
+ /* The following fails for
+ HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
+ _Bool n[m];
+ char o[sizeof n == m * sizeof n[0] ? 1 : -1];
+ char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
+# if defined __xlc__ || defined __GNUC__
+ /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
+ reported by James Lemley on 2005-10-05; see
+ http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
+ This test is not quite right, since xlc is allowed to
+ reject this program, as the initializer for xlcbug is
+ not one of the forms that C requires support for.
+ However, doing the test right would require a runtime
+ test, and that would make cross-compilation harder.
+ Let us hope that IBM fixes the xlc bug, and also adds
+ support for this kind of constant expression. In the
+ meantime, this test will reject xlc, which is OK, since
+ our stdbool.h substitute should suffice. We also test
+ this with GCC, where it should work, to detect more
+ quickly whether someone messes up the test in the
+ future. */
+ char digs[] = "0123456789";
+ int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
+# endif
+ /* Catch a bug in an HP-UX C compiler. See
+ http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
+ http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
+ */
+ _Bool q = true;
+ _Bool *pq = &q;
+
+int
+main ()
+{
+
+ *pq |= q;
+ *pq |= ! q;
+ /* Refer to every declared value, to avoid compiler optimizations. */
+ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
+ + !m + !n + !o + !p + !q + !pq);
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_header_stdbool_h=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_header_stdbool_h=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
+$as_echo "$ac_cv_header_stdbool_h" >&6; }
+{ $as_echo "$as_me:$LINENO: checking for _Bool" >&5
+$as_echo_n "checking for _Bool... " >&6; }
+if test "${ac_cv_type__Bool+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_type__Bool=no
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof (_Bool))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof ((_Bool)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_type__Bool=yes
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
+$as_echo "$ac_cv_type__Bool" >&6; }
+if test "x$ac_cv_type__Bool" = x""yes; then
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE__BOOL 1
+_ACEOF
+
+
+fi
+
+if test $ac_cv_header_stdbool_h = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_STDBOOL_H 1
+_ACEOF
+
+fi
+
+
+# ICC stuff
+ICC=no
+if eval "echo $CC | grep icc > /dev/null" ; then
+ if eval "$CC -help | grep libcxa > /dev/null" ; then
+ CFLAGS="$CFLAGS -static-libcxa"
+ LDFLAGS="$LDFLAGS -static-libcxa"
+ XCCFLAGS="-XCClinker -static-libcxa"
+ else
+ CFLAGS="$CFLAGS -static-intel"
+ LDFLAGS="$LDFLAGS -static-intel"
+ XCCFLAGS="-XCClinker -static-intel"
+ fi
+ #CFLAGS=`echo $CFLAGS | sed 's/-O2/-O3/'`
+ CFLAGS="$CFLAGS -O3 -ip -w1"
+ ICC=yes
+ GCC=
+fi
+
+
+# This is really meant for Solaris Sparc v9 where it has 32bit and 64bit
+# capability but builds 32bit by default
+# Check whether --enable-64bit-gcc was given.
+if test "${enable_64bit_gcc+set}" = set; then
+ enableval=$enable_64bit_gcc; enable_64bit_gcc="$enableval"
+else
+ enable_64bit_gcc="no"
+fi
+
+if test "x$enable_64bit_gcc" = "xyes"; then
+ CFLAGS="$CFLAGS -m64"
+fi
+
+# AC_PROG_YACC defaults to "yacc" when not found
+# this check defaults to "none"
+for ac_prog in bison yacc
+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:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_YACC+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$YACC"; then
+ ac_cv_prog_YACC="$YACC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_YACC="$ac_prog"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+YACC=$ac_cv_prog_YACC
+if test -n "$YACC"; then
+ { $as_echo "$as_me:$LINENO: result: $YACC" >&5
+$as_echo "$YACC" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$YACC" && break
+done
+test -n "$YACC" || YACC="none"
+
+# AC_PROG_YACC includes the -y arg if bison is found
+if test "x$YACC" = "xbison"; then
+ YACC="$YACC -y"
+fi
+
+# AC_PROG_LEX defaults to ":" when not found
+# this check defaults to "none"
+# We're using flex specific options so we don't support lex
+for ac_prog in flex
+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:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_LEX+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$LEX"; then
+ ac_cv_prog_LEX="$LEX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_LEX="$ac_prog"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+LEX=$ac_cv_prog_LEX
+if test -n "$LEX"; then
+ { $as_echo "$as_me:$LINENO: result: $LEX" >&5
+$as_echo "$LEX" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$LEX" && break
+done
+test -n "$LEX" || LEX="none"
+
+
+#
+
+
+
+
+
+
+
+
+
+
+for ac_header in \
+ inttypes.h \
+ math.h \
+ paths.h \
+ stdlib.h \
+ string.h \
+ strings.h \
+ unistd.h \
+ wchar.h \
+ sys/sockio.h \
+
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
+$as_echo_n "checking $ac_header usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
+$as_echo_n "checking $ac_header presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$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:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+
+fi
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+if test "x$ac_cv_header_wchar_h" = "xyes"; then
+ CONFIGFLAGS="${CONFIGFLAGS} -DSF_WCHAR"
+fi
+
+{ $as_echo "$as_me:$LINENO: checking for floor in -lm" >&5
+$as_echo_n "checking for floor in -lm... " >&6; }
+if test "${ac_cv_lib_m_floor+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* 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 ()
+{
+return floor ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_lib_m_floor=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_m_floor=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
+$as_echo "$ac_cv_lib_m_floor" >&6; }
+if test "x$ac_cv_lib_m_floor" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBM 1
+_ACEOF
+
+ LIBS="-lm $LIBS"
+
+fi
+
+
+{ $as_echo "$as_me:$LINENO: checking for ceil in -lm" >&5
+$as_echo_n "checking for ceil in -lm... " >&6; }
+if test "${ac_cv_lib_m_ceil+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* 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 ceil ();
+int
+main ()
+{
+return ceil ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_lib_m_ceil=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_m_ceil=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
+$as_echo "$ac_cv_lib_m_ceil" >&6; }
+if test "x$ac_cv_lib_m_ceil" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBM 1
+_ACEOF
+
+ LIBS="-lm $LIBS"
+
+fi
+
+
+
+for ac_header in uuid/uuid.h
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
+$as_echo_n "checking $ac_header usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
+$as_echo_n "checking $ac_header presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$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:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+
+fi
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+{ $as_echo "$as_me:$LINENO: checking for uuid_parse in -luuid" >&5
+$as_echo_n "checking for uuid_parse in -luuid... " >&6; }
+if test "${ac_cv_lib_uuid_uuid_parse+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-luuid $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* 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 uuid_parse ();
+int
+main ()
+{
+return uuid_parse ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_lib_uuid_uuid_parse=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_uuid_uuid_parse=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_parse" >&5
+$as_echo "$ac_cv_lib_uuid_uuid_parse" >&6; }
+if test "x$ac_cv_lib_uuid_uuid_parse" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBUUID 1
+_ACEOF
+
+ LIBS="-luuid $LIBS"
+
+fi
+
+fi
+
+done
+
+
+if test "x$rt_nanosleep" = "xyes"; then
+
+{ $as_echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
+$as_echo_n "checking for nanosleep in -lrt... " >&6; }
+if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lrt $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char nanosleep ();
+int
+main ()
+{
+return nanosleep ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_lib_rt_nanosleep=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_rt_nanosleep=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
+$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
+if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBRT 1
+_ACEOF
+
+ LIBS="-lrt $LIBS"
+
+fi
+
+fi
+
+if test -z "$no_libnsl"; then
+
+{ $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
+$as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
+if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lnsl $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* 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_ntoa ();
+int
+main ()
+{
+return inet_ntoa ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_lib_nsl_inet_ntoa=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_nsl_inet_ntoa=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
+$as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
+if test "x$ac_cv_lib_nsl_inet_ntoa" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBNSL 1
+_ACEOF
+
+ LIBS="-lnsl $LIBS"
+
+fi
+
+fi
+
+if test -z "$no_libsocket"; then
+
+{ $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
+$as_echo_n "checking for socket in -lsocket... " >&6; }
+if test "${ac_cv_lib_socket_socket+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsocket $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* 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 ()
+{
+return socket ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_lib_socket_socket=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_socket_socket=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
+$as_echo "$ac_cv_lib_socket_socket" >&6; }
+if test "x$ac_cv_lib_socket_socket" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBSOCKET 1
+_ACEOF
+
+ LIBS="-lsocket $LIBS"
+
+fi
+
+fi
+
+# SunOS4 has several things `broken'
+if test "$sunos4" != "no"; then
+
+for ac_func in vsnprintf
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case declares $ac_func.
+ For example, HP-UX 11i declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer to if __STDC__ is defined, since
+ exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include
+#else
+# include
+#endif
+
+#undef $ac_func
+
+/* 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 $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+else
+ LIBS="$LIBS -ldb"
+fi
+done
+
+
+for ac_func in strtoul
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case declares $ac_func.
+ For example, HP-UX 11i declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer to if __STDC__ is defined, since
+ exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include
+#else
+# include
+#endif
+
+#undef $ac_func
+
+/* 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 $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+else
+ LIBS="$LIBS -l44bsd"
+fi
+done
+
+fi
+
+# some funky macro to be backwards compatible with earlier autoconfs
+# in current they have AC_CHECK_DECLS
+
+
+
+
+# some stuff for declarations which were missed on sunos4 platform too.
+#
+# add `#undef NEED_DECL_FUNCTIONAME to acconfig.h` because autoheader
+# fails to work properly with custom macroses.
+# you will see also #undef for each SN_CHECK_DECLS macros invocation
+# because autoheader doesn't execute shell script commands.
+# it is possible to make loops using m4 but the code would look even
+# more confusing..
+for sn_decl in printf fprintf syslog puts fputs fputc fopen \
+ fclose fwrite fflush getopt bzero bcopy memset strtol \
+ strcasecmp strncasecmp strerror perror socket sendto \
+ vsnprintf snprintf strtoul
+do
+sn_def_decl=`echo $sn_decl | tr a-z A-Z`
+
+{ $as_echo "$as_me:$LINENO: checking whether $sn_decl must be declared" >&5
+$as_echo_n "checking whether $sn_decl must be declared... " >&6; }
+if { as_var=sn_cv_decl_needed_$sn_decl; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include
+#ifdef HAVE_STRING_H
+#include
+#endif
+#ifdef HAVE_STRINGS_H
+#include
+#endif
+#ifdef HAVE_STDLIB_H
+#include
+#endif
+#ifdef HAVE_UNISTD_H
+#include
+#endif
+#include
+#include
+#include
+
+int
+main ()
+{
+char *(*pfn); pfn = (char *(*)) $sn_decl;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ eval "sn_cv_decl_needed_$sn_decl=no"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "sn_cv_decl_needed_$sn_decl=yes"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+if eval "test \"`echo '$sn_cv_decl_needed_'$sn_decl`\" != no"; then
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
+$as_echo "yes" >&6; }
+
+
+cat >>confdefs.h <<_ACEOF
+#define NEED_DECL_$sn_def_decl 1
+_ACEOF
+
+
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+
+fi
+done
+
+
+
+
+
+
+
+
+
+
+for ac_func in sigaction strlcpy strlcat strerror vswprintf wprintf memrchr inet_ntop
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case declares $ac_func.
+ For example, HP-UX 11i declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer to if __STDC__ is defined, since
+ exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include
+#else
+# include
+#endif
+
+#undef $ac_func
+
+/* 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 $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+{ $as_echo "$as_me:$LINENO: checking for snprintf" >&5
+$as_echo_n "checking for snprintf... " >&6; }
+if test "${ac_cv_func_snprintf+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define snprintf to an innocuous variant, in case declares snprintf.
+ For example, HP-UX 11i declares gettimeofday. */
+#define snprintf innocuous_snprintf
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char snprintf (); below.
+ Prefer to if __STDC__ is defined, since
+ exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include
+#else
+# include
+#endif
+
+#undef snprintf
+
+/* 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 snprintf ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_snprintf || defined __stub___snprintf
+choke me
+#endif
+
+int
+main ()
+{
+return snprintf ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_func_snprintf=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_snprintf=no
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_snprintf" >&5
+$as_echo "$ac_cv_func_snprintf" >&6; }
+if test "x$ac_cv_func_snprintf" = x""yes; then
+ have_snprintf="yes"
+else
+ have_snprintf="no"
+fi
+
+ if test "x$have_snprintf" != "xyes"; then
+ BUILD_SNPRINTF_TRUE=
+ BUILD_SNPRINTF_FALSE='#'
+else
+ BUILD_SNPRINTF_TRUE='#'
+ BUILD_SNPRINTF_FALSE=
+fi
+
+if test "x$have_snprintf" = "xyes"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_SNPRINTF /**/
+_ACEOF
+
+fi
+
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ $as_echo "$as_me:$LINENO: checking size of char" >&5
+$as_echo_n "checking size of char... " >&6; }
+if test "${ac_cv_sizeof_char+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= 0)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid; break
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr $ac_mid + 1`
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (char))) < 0)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=$ac_mid; break
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_hi=`expr '(' $ac_mid ')' - 1`
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo= ac_hi=
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr '(' $ac_mid ')' + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in
+?*) ac_cv_sizeof_char=$ac_lo;;
+'') if test "$ac_cv_type_char" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (char)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_char=0
+ fi ;;
+esac
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+static long int longval () { return (long int) (sizeof (char)); }
+static unsigned long int ulongval () { return (long int) (sizeof (char)); }
+#include
+#include
+int
+main ()
+{
+
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (((long int) (sizeof (char))) < 0)
+ {
+ long int i = longval ();
+ if (i != ((long int) (sizeof (char))))
+ return 1;
+ fprintf (f, "%ld", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ((long int) (sizeof (char))))
+ return 1;
+ fprintf (f, "%lu", i);
+ }
+ /* Do not output a trailing newline, as this causes \r\n confusion
+ on some platforms. */
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_sizeof_char=`cat conftest.val`
+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
+
+( exit $ac_status )
+if test "$ac_cv_type_char" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (char)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_char=0
+ fi
+fi
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f conftest.val
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
+$as_echo "$ac_cv_sizeof_char" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_CHAR $ac_cv_sizeof_char
+_ACEOF
+
+
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ $as_echo "$as_me:$LINENO: checking size of short" >&5
+$as_echo_n "checking size of short... " >&6; }
+if test "${ac_cv_sizeof_short+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)];
+test_array [0] = 0
- # We can hardcode non-existent directories.
- if test "$hardcode_direct" != no &&
- # If the only mechanism to avoid hardcoding is shlibpath_var, we
- # have to relink, otherwise we might link with an installed library
- # when we should be linking with a yet-to-be-installed one
- ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
- test "$hardcode_minus_L" != no; then
- # Linking always hardcodes the temporary library directory.
- hardcode_action=relink
- else
- # We can link without hardcoding, and we can hardcode nonexisting dirs.
- hardcode_action=immediate
- fi
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid; break
else
- # We cannot hardcode anything, or else we can only hardcode existing
- # directories.
- hardcode_action=unsupported
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
-$as_echo "$hardcode_action" >&6; }
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-if test "$hardcode_action" = relink ||
- test "$inherit_rpath" = yes; then
- # Fast installation is not supported
- enable_fast_install=no
-elif test "$shlibpath_overrides_runpath" = yes ||
- test "$enable_shared" = no; then
- # Fast installation is not necessary
- enable_fast_install=needless
+ ac_lo=`expr $ac_mid + 1`
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid + 1`
fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)];
+test_array [0] = 0
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)];
+test_array [0] = 0
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=$ac_mid; break
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_hi=`expr '(' $ac_mid ')' - 1`
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid`
+fi
- if test "x$enable_dlopen" != xyes; then
- enable_dlopen=unknown
- enable_dlopen_self=unknown
- enable_dlopen_self_static=unknown
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
else
- lt_cv_dlopen=no
- lt_cv_dlopen_libs=
-
- case $host_os in
- beos*)
- lt_cv_dlopen="load_add_on"
- lt_cv_dlopen_libs=
- lt_cv_dlopen_self=yes
- ;;
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
- mingw* | pw32* | cegcc*)
- lt_cv_dlopen="LoadLibrary"
- lt_cv_dlopen_libs=
- ;;
+ ac_lo= ac_hi=
+fi
- cygwin*)
- lt_cv_dlopen="dlopen"
- lt_cv_dlopen_libs=
- ;;
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
- 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 test "${ac_cv_lib_dl_dlopen+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldl $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-
-/* 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 ();
+$ac_includes_default
int
main ()
{
-return dlopen ();
+static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
+test_array [0] = 0
+
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_dl_dlopen=yes
-else
- ac_cv_lib_dl_dlopen=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- 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" = x""yes; then :
- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid
else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
- lt_cv_dlopen="dyld"
- lt_cv_dlopen_libs=
- lt_cv_dlopen_self=yes
-
+ ac_lo=`expr '(' $ac_mid ')' + 1`
fi
- ;;
-
- *)
- ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
-if test "x$ac_cv_func_shl_load" = x""yes; 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 test "${ac_cv_lib_dld_shl_load+set}" = set; then :
- $as_echo_n "(cached) " >&6
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in
+?*) ac_cv_sizeof_short=$ac_lo;;
+'') if test "$ac_cv_type_short" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (short)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_short=0
+ fi ;;
+esac
else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldld $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-
-/* 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 ();
+$ac_includes_default
+static long int longval () { return (long int) (sizeof (short)); }
+static unsigned long int ulongval () { return (long int) (sizeof (short)); }
+#include
+#include
int
main ()
{
-return shl_load ();
+
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (((long int) (sizeof (short))) < 0)
+ {
+ long int i = longval ();
+ if (i != ((long int) (sizeof (short))))
+ return 1;
+ fprintf (f, "%ld", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ((long int) (sizeof (short))))
+ return 1;
+ fprintf (f, "%lu", i);
+ }
+ /* Do not output a trailing newline, as this causes \r\n confusion
+ on some platforms. */
+ return ferror (f) || fclose (f) != 0;
+
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_dld_shl_load=yes
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_sizeof_short=`cat conftest.val`
else
- ac_cv_lib_dld_shl_load=no
+ $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
+
+( exit $ac_status )
+if test "$ac_cv_type_short" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (short)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_short=0
+ fi
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
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" = x""yes; then :
- lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
-else
- ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
-if test "x$ac_cv_func_dlopen" = x""yes; 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 test "${ac_cv_lib_dl_dlopen+set}" = set; then :
+rm -f conftest.val
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
+$as_echo "$ac_cv_sizeof_short" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_SHORT $ac_cv_sizeof_short
+_ACEOF
+
+
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ $as_echo "$as_me:$LINENO: checking size of int" >&5
+$as_echo_n "checking size of int... " >&6; }
+if test "${ac_cv_sizeof_int+set}" = set; then
$as_echo_n "(cached) " >&6
else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldl $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-
-/* 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 ();
+$ac_includes_default
int
main ()
{
-return dlopen ();
+static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
+test_array [0] = 0
+
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_dl_dlopen=yes
-else
- ac_cv_lib_dl_dlopen=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- 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" = x""yes; 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 test "${ac_cv_lib_svld_dlopen+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lsvld $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-
-/* 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 ();
+$ac_includes_default
int
main ()
{
-return dlopen ();
+static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
+test_array [0] = 0
+
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_svld_dlopen=yes
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid; break
else
- ac_cv_lib_svld_dlopen=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr $ac_mid + 1`
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid + 1`
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" = x""yes; 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 test "${ac_cv_lib_dld_dld_link+set}" = set; then :
- $as_echo_n "(cached) " >&6
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldld $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
+test_array [0] = 0
-/* 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 ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
int
main ()
{
-return dld_link ();
+static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
+test_array [0] = 0
+
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_dld_dld_link=yes
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=$ac_mid; break
else
- ac_cv_lib_dld_dld_link=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- 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" = x""yes; then :
- lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
-fi
-
-
-fi
-
-
-fi
-
-
-fi
-
-
-fi
-
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_hi=`expr '(' $ac_mid ')' - 1`
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid`
fi
- ;;
- esac
-
- if test "x$lt_cv_dlopen" != xno; then
- enable_dlopen=yes
- else
- enable_dlopen=no
- fi
-
- case $lt_cv_dlopen in
- dlopen)
- save_CPPFLAGS="$CPPFLAGS"
- test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
-
- save_LDFLAGS="$LDFLAGS"
- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
-
- 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 test "${lt_cv_dlopen_self+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test "$cross_compiling" = yes; then :
- lt_cv_dlopen_self=cross
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
else
- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
- lt_status=$lt_dlunknown
- cat > conftest.$ac_ext <<_LT_EOF
-#line 11443 "configure"
-#include "confdefs.h"
-
-#if HAVE_DLFCN_H
-#include
-#endif
-
-#include
-
-#ifdef RTLD_GLOBAL
-# define LT_DLGLOBAL RTLD_GLOBAL
-#else
-# ifdef DL_GLOBAL
-# define LT_DLGLOBAL DL_GLOBAL
-# else
-# define LT_DLGLOBAL 0
-# endif
-#endif
-
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
- find out it does not work in some platform. */
-#ifndef LT_DLLAZY_OR_NOW
-# ifdef RTLD_LAZY
-# define LT_DLLAZY_OR_NOW RTLD_LAZY
-# else
-# ifdef DL_LAZY
-# define LT_DLLAZY_OR_NOW DL_LAZY
-# else
-# ifdef RTLD_NOW
-# define LT_DLLAZY_OR_NOW RTLD_NOW
-# else
-# ifdef DL_NOW
-# define LT_DLLAZY_OR_NOW DL_NOW
-# else
-# define LT_DLLAZY_OR_NOW 0
-# endif
-# endif
-# endif
-# endif
-#endif
-
-void fnord() { int i=42;}
-int main ()
-{
- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
- int status = $lt_dlunknown;
-
- if (self)
- {
- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
- /* dlclose (self); */
- }
- else
- puts (dlerror ());
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
- return status;
-}
-_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
- test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
- (./conftest; exit; ) >&5 2>/dev/null
- lt_status=$?
- case x$lt_status in
- x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
- x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
- x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
- esac
- else :
- # compilation failed
- lt_cv_dlopen_self=no
- fi
+ ac_lo= ac_hi=
fi
-rm -fr conftest*
-
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
-$as_echo "$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 test "${lt_cv_dlopen_self_static+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test "$cross_compiling" = yes; then :
- lt_cv_dlopen_self_static=cross
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid
else
- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
- lt_status=$lt_dlunknown
- cat > conftest.$ac_ext <<_LT_EOF
-#line 11539 "configure"
-#include "confdefs.h"
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-#if HAVE_DLFCN_H
-#include
-#endif
+ ac_lo=`expr '(' $ac_mid ')' + 1`
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in
+?*) ac_cv_sizeof_int=$ac_lo;;
+'') if test "$ac_cv_type_int" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (int)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_int=0
+ fi ;;
+esac
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+static long int longval () { return (long int) (sizeof (int)); }
+static unsigned long int ulongval () { return (long int) (sizeof (int)); }
#include
-
-#ifdef RTLD_GLOBAL
-# define LT_DLGLOBAL RTLD_GLOBAL
-#else
-# ifdef DL_GLOBAL
-# define LT_DLGLOBAL DL_GLOBAL
-# else
-# define LT_DLGLOBAL 0
-# endif
-#endif
-
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
- find out it does not work in some platform. */
-#ifndef LT_DLLAZY_OR_NOW
-# ifdef RTLD_LAZY
-# define LT_DLLAZY_OR_NOW RTLD_LAZY
-# else
-# ifdef DL_LAZY
-# define LT_DLLAZY_OR_NOW DL_LAZY
-# else
-# ifdef RTLD_NOW
-# define LT_DLLAZY_OR_NOW RTLD_NOW
-# else
-# ifdef DL_NOW
-# define LT_DLLAZY_OR_NOW DL_NOW
-# else
-# define LT_DLLAZY_OR_NOW 0
-# endif
-# endif
-# endif
-# endif
-#endif
-
-void fnord() { int i=42;}
-int main ()
+#include
+int
+main ()
{
- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
- int status = $lt_dlunknown;
- if (self)
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (((long int) (sizeof (int))) < 0)
{
- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
- /* dlclose (self); */
+ long int i = longval ();
+ if (i != ((long int) (sizeof (int))))
+ return 1;
+ fprintf (f, "%ld", i);
}
else
- puts (dlerror ());
+ {
+ unsigned long int i = ulongval ();
+ if (i != ((long int) (sizeof (int))))
+ return 1;
+ fprintf (f, "%lu", i);
+ }
+ /* Do not output a trailing newline, as this causes \r\n confusion
+ on some platforms. */
+ return ferror (f) || fclose (f) != 0;
- return status;
+ ;
+ return 0;
}
-_LT_EOF
- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
- (eval $ac_link) 2>&5
+_ACEOF
+rm -f 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:$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; } && test -s conftest${ac_exeext} 2>/dev/null; then
- (./conftest; exit; ) >&5 2>/dev/null
- lt_status=$?
- case x$lt_status in
- x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
- x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
- x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
- esac
- else :
- # compilation failed
- lt_cv_dlopen_self_static=no
- fi
-fi
-rm -fr conftest*
-
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_sizeof_int=`cat conftest.val`
+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
+( exit $ac_status )
+if test "$ac_cv_type_int" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (int)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_int=0
+ fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
-$as_echo "$lt_cv_dlopen_self_static" >&6; }
- fi
-
- CPPFLAGS="$save_CPPFLAGS"
- LDFLAGS="$save_LDFLAGS"
- LIBS="$save_LIBS"
- ;;
- esac
-
- case $lt_cv_dlopen_self in
- yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
- *) enable_dlopen_self=unknown ;;
- esac
-
- case $lt_cv_dlopen_self_static in
- yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
- *) enable_dlopen_self_static=unknown ;;
- esac
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
+rm -f conftest.val
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
+$as_echo "$ac_cv_sizeof_int" >&6; }
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_INT $ac_cv_sizeof_int
+_ACEOF
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ $as_echo "$as_me:$LINENO: checking size of long int" >&5
+$as_echo_n "checking size of long int... " >&6; }
+if test "${ac_cv_sizeof_long_int+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (long int))) >= 0)];
+test_array [0] = 0
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (long int))) <= $ac_mid)];
+test_array [0] = 0
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid; break
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_lo=`expr $ac_mid + 1`
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid + 1`
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (long int))) < 0)];
+test_array [0] = 0
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (long int))) >= $ac_mid)];
+test_array [0] = 0
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=$ac_mid; break
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_hi=`expr '(' $ac_mid ')' - 1`
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid`
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_lo= ac_hi=
+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; }
-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; }
-else
-# FIXME - insert some real tests, host_os isn't really good enough
- case $host_os in
- darwin*)
- 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; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- fi
- ;;
- *)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- ;;
- esac
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (long int))) <= $ac_mid)];
+test_array [0] = 0
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_lo=`expr '(' $ac_mid ')' + 1`
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in
+?*) ac_cv_sizeof_long_int=$ac_lo;;
+'') if test "$ac_cv_type_long_int" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long int)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (long int)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_long_int=0
+ fi ;;
+esac
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+static long int longval () { return (long int) (sizeof (long int)); }
+static unsigned long int ulongval () { return (long int) (sizeof (long int)); }
+#include
+#include
+int
+main ()
+{
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (((long int) (sizeof (long int))) < 0)
+ {
+ long int i = longval ();
+ if (i != ((long int) (sizeof (long int))))
+ return 1;
+ fprintf (f, "%ld", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ((long int) (sizeof (long int))))
+ return 1;
+ fprintf (f, "%lu", i);
+ }
+ /* Do not output a trailing newline, as this causes \r\n confusion
+ on some platforms. */
+ return ferror (f) || fclose (f) != 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_sizeof_long_int=`cat conftest.val`
+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
+( exit $ac_status )
+if test "$ac_cv_type_long_int" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long int)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (long int)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_long_int=0
+ fi
+fi
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f conftest.val
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
+$as_echo "$ac_cv_sizeof_long_int" >&6; }
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
+_ACEOF
- # 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; }
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ $as_echo "$as_me:$LINENO: checking size of long long int" >&5
+$as_echo_n "checking size of long long int... " >&6; }
+if test "${ac_cv_sizeof_long_long_int+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) >= 0)];
+test_array [0] = 0
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
-$as_echo_n "checking whether to build shared libraries... " >&6; }
- test "$can_build_shared" = "no" && enable_shared=no
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) <= $ac_mid)];
+test_array [0] = 0
- # On AIX, shared libraries and static libraries use the same namespace, and
- # are all built from PIC.
- case $host_os in
- aix3*)
- test "$enable_shared" = yes && enable_static=no
- if test -n "$RANLIB"; then
- archive_cmds="$archive_cmds~\$RANLIB \$lib"
- postinstall_cmds='$RANLIB $lib'
- fi
- ;;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid; break
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
- aix[4-9]*)
- if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
- test "$enable_shared" = yes && enable_static=no
- fi
- ;;
- esac
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
-$as_echo "$enable_shared" >&6; }
+ ac_lo=`expr $ac_mid + 1`
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid + 1`
+fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
-$as_echo_n "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; }
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) < 0)];
+test_array [0] = 0
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) >= $ac_mid)];
+test_array [0] = 0
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=$ac_mid; break
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_hi=`expr '(' $ac_mid ')' - 1`
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid`
fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-CC="$lt_save_CC"
-
-
-
-
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_lo= ac_hi=
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) <= $ac_mid)];
+test_array [0] = 0
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_lo=`expr '(' $ac_mid ')' + 1`
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in
+?*) ac_cv_sizeof_long_long_int=$ac_lo;;
+'') if test "$ac_cv_type_long_long_int" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long int)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (long long int)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_long_long_int=0
+ fi ;;
+esac
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+static long int longval () { return (long int) (sizeof (long long int)); }
+static unsigned long int ulongval () { return (long int) (sizeof (long long int)); }
+#include
+#include
+int
+main ()
+{
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (((long int) (sizeof (long long int))) < 0)
+ {
+ long int i = longval ();
+ if (i != ((long int) (sizeof (long long int))))
+ return 1;
+ fprintf (f, "%ld", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ((long int) (sizeof (long long int))))
+ return 1;
+ fprintf (f, "%lu", i);
+ }
+ /* Do not output a trailing newline, as this causes \r\n confusion
+ on some platforms. */
+ return ferror (f) || fclose (f) != 0;
- ac_config_commands="$ac_config_commands libtool"
+ ;
+ return 0;
+}
+_ACEOF
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_sizeof_long_long_int=`cat conftest.val`
+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
+( exit $ac_status )
+if test "$ac_cv_type_long_long_int" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long int)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (long long int)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_long_long_int=0
+ fi
+fi
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f conftest.val
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
+$as_echo "$ac_cv_sizeof_long_long_int" >&6; }
-# Only expand once:
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
+_ACEOF
-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 test "${ac_cv_prog_RANLIB+set}" = set; then :
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ $as_echo "$as_me:$LINENO: checking size of unsigned int" >&5
+$as_echo_n "checking size of unsigned int... " >&6; }
+if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
$as_echo_n "(cached) " >&6
else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) >= 0)];
+test_array [0] = 0
-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; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= $ac_mid)];
+test_array [0] = 0
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid; break
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_lo=`expr $ac_mid + 1`
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid + 1`
fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
- break 2
- fi
-done
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
-IFS=$as_save_IFS
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) < 0)];
+test_array [0] = 0
-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; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) >= $ac_mid)];
+test_array [0] = 0
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- 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;}
-ac_tool_warned=yes ;;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
esac
- RANLIB=$ac_ct_RANLIB
- fi
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=$ac_mid; break
else
- RANLIB="$ac_cv_prog_RANLIB"
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_hi=`expr '(' $ac_mid ')' - 1`
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid`
fi
- { $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 test "${ac_cv_c_bigendian+set}" = set; then :
- $as_echo_n "(cached) " >&6
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
else
- ac_cv_c_bigendian=unknown
- # See if we're dealing with a universal compiler.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#ifndef __APPLE_CC__
- not a universal capable compiler
- #endif
- typedef int dummy;
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+ ac_lo= ac_hi=
+fi
- # Check for potential -arch flags. It is not universal unless
- # there are at least two -arch flags with different values.
- ac_arch=
- ac_prev=
- for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
- if test -n "$ac_prev"; then
- case $ac_word in
- i?86 | x86_64 | ppc | ppc64)
- if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
- ac_arch=$ac_word
- else
- ac_cv_c_bigendian=universal
- break
- fi
- ;;
- esac
- ac_prev=
- elif test "x$ac_word" = "x-arch"; then
- ac_prev=arch
- fi
- done
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
+
rm -f core conftest.err conftest.$ac_objext 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
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include
- #include
-
+$ac_includes_default
int
main ()
{
-#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
- && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
- && LITTLE_ENDIAN)
- bogus endian macros
- #endif
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= $ac_mid)];
+test_array [0] = 0
;
return 0;
}
_ACEOF
-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
- #include
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr '(' $ac_mid ')' + 1`
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in
+?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
+'') if test "$ac_cv_type_unsigned_int" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (unsigned int)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_unsigned_int=0
+ fi ;;
+esac
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+static long int longval () { return (long int) (sizeof (unsigned int)); }
+static unsigned long int ulongval () { return (long int) (sizeof (unsigned int)); }
+#include
+#include
int
main ()
{
-#if BYTE_ORDER != BIG_ENDIAN
- not big endian
- #endif
+
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (((long int) (sizeof (unsigned int))) < 0)
+ {
+ long int i = longval ();
+ if (i != ((long int) (sizeof (unsigned int))))
+ return 1;
+ fprintf (f, "%ld", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ((long int) (sizeof (unsigned int))))
+ return 1;
+ fprintf (f, "%lu", i);
+ }
+ /* Do not output a trailing newline, as this causes \r\n confusion
+ on some platforms. */
+ return ferror (f) || fclose (f) != 0;
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_c_bigendian=yes
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_sizeof_unsigned_int=`cat conftest.val`
else
- ac_cv_c_bigendian=no
+ $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
+
+( exit $ac_status )
+if test "$ac_cv_type_unsigned_int" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (unsigned int)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_unsigned_int=0
+ fi
fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- fi
- if test $ac_cv_c_bigendian = unknown; then
- # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include
+rm -f conftest.val
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
+$as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
+_ACEOF
+
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ $as_echo "$as_me:$LINENO: checking size of unsigned long int" >&5
+$as_echo_n "checking size of unsigned long int... " >&6; }
+if test "${ac_cv_sizeof_unsigned_long_int+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
int
main ()
{
-#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
- bogus endian macros
- #endif
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long int))) >= 0)];
+test_array [0] = 0
;
return 0;
}
_ACEOF
-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
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include
-
+$ac_includes_default
int
main ()
{
-#ifndef _BIG_ENDIAN
- not big endian
- #endif
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long int))) <= $ac_mid)];
+test_array [0] = 0
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_c_bigendian=yes
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid; break
else
- ac_cv_c_bigendian=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- fi
- if test $ac_cv_c_bigendian = unknown; then
- # Compile a test program.
- 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[] =
- { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
- 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[] =
- { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
- short int ebcdic_mm[] =
- { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
- int use_ebcdic (int i) {
- return ebcdic_mm[i] + ebcdic_ii[i];
- }
- extern int foo;
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr $ac_mid + 1`
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
int
main ()
{
-return use_ascii (foo) == use_ebcdic (foo);
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long int))) < 0)];
+test_array [0] = 0
+
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
- ac_cv_c_bigendian=yes
- fi
- if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
- if test "$ac_cv_c_bigendian" = unknown; then
- ac_cv_c_bigendian=no
- else
- # finding both strings is unlikely to happen, but who knows?
- ac_cv_c_bigendian=unknown
- fi
- fi
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
int
main ()
{
-
- /* Are we little or big endian? From Harbison&Steele. */
- union
- {
- long int l;
- char c[sizeof (long int)];
- } u;
- u.l = 1;
- return u.c[sizeof (long int) - 1] == 1;
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long int))) >= $ac_mid)];
+test_array [0] = 0
;
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
- ac_cv_c_bigendian=no
-else
- ac_cv_c_bigendian=yes
-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_c_bigendian" >&5
-$as_echo "$ac_cv_c_bigendian" >&6; }
- case $ac_cv_c_bigendian in #(
- yes)
- $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
-;; #(
- no)
- ;; #(
- universal)
-
-$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
-
- ;; #(
- *)
- as_fn_error $? "unknown endianness
- presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
- esac
-
-
-#AC_CANONICAL_HOST
-linux="no"
-sunos4="no"
-
-case "$host" in
- *-openbsd2.6|*-openbsd2.5|*-openbsd2.4|*-openbsd2.3*)
-
-$as_echo "#define OPENBSD 1" >>confdefs.h
-
-
-$as_echo "#define BROKEN_SIOCGIFMTU 1" >>confdefs.h
-
-
- ;;
- *-openbsd*)
-
-$as_echo "#define OPENBSD 1" >>confdefs.h
-
-
- ;;
- *-sgi-irix5*)
-
-$as_echo "#define IRIX 1" >>confdefs.h
-
- no_libsocket="yes"
- no_libnsl="yes"
- if test -z "$GCC"; then
- sgi_cc="yes"
- fi
- LDFLAGS="${LDFLAGS} -L/usr/local/lib"
- extra_incl="-I/usr/local/include"
- ;;
- *-sgi-irix6*)
-
-$as_echo "#define IRIX 1" >>confdefs.h
-
- no_libsocket="yes"
- no_libnsl="yes"
- if test -z "$GCC"; then
- sgi_cc="yes"
- fi
- LDFLAGS="${LDFLAGS} -L/usr/local/lib"
- extra_incl="-I/usr/local/include"
- ;;
- *-solaris*)
-
-$as_echo "#define SOLARIS 1" >>confdefs.h
-
- CPPFLAGS="${CPPFLAGS} -DBSD_COMP -D_REENTRANT"
- rt_nanosleep="yes"
- ;;
- *-sunos*)
-
-$as_echo "#define SUNOS 1" >>confdefs.h
-
- sunos4="yes"
- ;;
- *-linux*)
- linux="yes"
-
-$as_echo "#define LINUX 1" >>confdefs.h
-
-
- extra_incl="-I/usr/include/pcap"
- ;;
- *-hpux10*|*-hpux11*)
-
-$as_echo "#define HPUX 1" >>confdefs.h
-
-
-$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
-
-
- extra_incl="-I/usr/local/include"
- ;;
-
- *-freebsd*)
-
-$as_echo "#define FREEBSD 1" >>confdefs.h
-
-
- ;;
- *-bsdi*)
-
-$as_echo "#define BSDI 1" >>confdefs.h
-
- ;;
- *-aix*)
-
-$as_echo "#define AIX 1" >>confdefs.h
-
- ;;
- *-osf4*)
-
-$as_echo "#define OSF1 1" >>confdefs.h
-
- ;;
- *-osf5.1*)
-
-$as_echo "#define OSF1 1" >>confdefs.h
-
- ;;
- *-tru64*)
-
-$as_echo "#define OSF1 1" >>confdefs.h
-
- ;;
-# it is actually -apple-darwin1.2 or -apple-rhapsody5.x but lets stick with this for the moment
- *-apple*)
-
-$as_echo "#define MACOS 1" >>confdefs.h
-
-
-$as_echo "#define BROKEN_SIOCGIFMTU 1" >>confdefs.h
-
- LDFLAGS="${LDFLAGS} -L/sw/lib"
- extra_incl="-I/sw/include"
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
esac
-
-# ICC stuff
-ICC=no
-if eval "echo $CC | grep icc > /dev/null" ; then
- if eval "$CC -help | grep libcxa > /dev/null" ; then
- CFLAGS="$CFLAGS -static-libcxa"
- LDFLAGS="$LDFLAGS -static-libcxa"
- XCCFLAGS="-XCClinker -static-libcxa"
- else
- CFLAGS="$CFLAGS -static-intel"
- LDFLAGS="$LDFLAGS -static-intel"
- XCCFLAGS="-XCClinker -static-intel"
- fi
- #CFLAGS=`echo $CFLAGS | sed 's/-O2/-O3/'`
- CFLAGS="$CFLAGS -O3 -ip -w1"
- ICC=yes
- GCC=
-fi
-
-
-# This is really meant for Solaris Sparc v9 where it has 32bit and 64bit
-# capability but builds 32bit by default
-# Check whether --enable-64bit-gcc was given.
-if test "${enable_64bit_gcc+set}" = set; then :
- enableval=$enable_64bit_gcc; enable_64bit_gcc="$enableval"
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=$ac_mid; break
else
- enable_64bit_gcc="no"
-fi
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-if test "x$enable_64bit_gcc" = "xyes"; then
- CFLAGS="$CFLAGS -m64"
+ ac_hi=`expr '(' $ac_mid ')' - 1`
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid`
fi
-# AC_PROG_YACC defaults to "yacc" when not found
-# this check defaults to "none"
-for ac_prog in bison yacc
-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 test "${ac_cv_prog_YACC+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$YACC"; then
- ac_cv_prog_YACC="$YACC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_YACC="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
-IFS=$as_save_IFS
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_lo= ac_hi=
fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-YACC=$ac_cv_prog_YACC
-if test -n "$YACC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
-$as_echo "$YACC" >&6; }
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long int))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_lo=`expr '(' $ac_mid ')' + 1`
+fi
- test -n "$YACC" && break
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
-test -n "$YACC" || YACC="none"
+case $ac_lo in
+?*) ac_cv_sizeof_unsigned_long_int=$ac_lo;;
+'') if test "$ac_cv_type_unsigned_long_int" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long int)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (unsigned long int)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_unsigned_long_int=0
+ fi ;;
+esac
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+static long int longval () { return (long int) (sizeof (unsigned long int)); }
+static unsigned long int ulongval () { return (long int) (sizeof (unsigned long int)); }
+#include
+#include
+int
+main ()
+{
-# AC_PROG_YACC includes the -y arg if bison is found
-if test "x$YACC" = "xbison"; then
- YACC="$YACC -y"
-fi
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (((long int) (sizeof (unsigned long int))) < 0)
+ {
+ long int i = longval ();
+ if (i != ((long int) (sizeof (unsigned long int))))
+ return 1;
+ fprintf (f, "%ld", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ((long int) (sizeof (unsigned long int))))
+ return 1;
+ fprintf (f, "%lu", i);
+ }
+ /* Do not output a trailing newline, as this causes \r\n confusion
+ on some platforms. */
+ return ferror (f) || fclose (f) != 0;
-# AC_PROG_LEX defaults to ":" when not found
-# this check defaults to "none"
-# We're using flex specific options so we don't support lex
-for ac_prog in flex
-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 test "${ac_cv_prog_LEX+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$LEX"; then
- ac_cv_prog_LEX="$LEX" # Let the user override the test.
+ ;
+ return 0;
+}
+_ACEOF
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_sizeof_unsigned_long_int=`cat conftest.val`
else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_LEX="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
+ $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
+( exit $ac_status )
+if test "$ac_cv_type_unsigned_long_int" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long int)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (unsigned long int)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_unsigned_long_int=0
+ fi
fi
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
-LEX=$ac_cv_prog_LEX
-if test -n "$LEX"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
-$as_echo "$LEX" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
+rm -f conftest.val
fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_int" >&5
+$as_echo "$ac_cv_sizeof_unsigned_long_int" >&6; }
- test -n "$LEX" && break
-done
-test -n "$LEX" || LEX="none"
-
-
-#
-for ac_header in strings.h string.h stdlib.h unistd.h sys/sockio.h paths.h inttypes.h wchar.h math.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
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_UNSIGNED_LONG_INT $ac_cv_sizeof_unsigned_long_int
_ACEOF
-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 test "${ac_cv_lib_m_floor+set}" = set; then :
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ $as_echo "$as_me:$LINENO: checking size of unsigned long long int" >&5
+$as_echo_n "checking size of unsigned long long int... " >&6; }
+if test "${ac_cv_sizeof_unsigned_long_long_int+set}" = set; then
$as_echo_n "(cached) " >&6
else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lm $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long int))) >= 0)];
+test_array [0] = 0
-/* 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 ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
int
main ()
{
-return floor ();
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long int))) <= $ac_mid)];
+test_array [0] = 0
+
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_m_floor=yes
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid; break
else
- ac_cv_lib_m_floor=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr $ac_mid + 1`
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid + 1`
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" = x""yes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBM 1
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long int))) < 0)];
+test_array [0] = 0
- LIBS="-lm $LIBS"
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long int))) >= $ac_mid)];
+test_array [0] = 0
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=$ac_mid; break
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_hi=`expr '(' $ac_mid ')' - 1`
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid`
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
-$as_echo_n "checking for ceil in -lm... " >&6; }
-if test "${ac_cv_lib_m_ceil+set}" = set; then :
- $as_echo_n "(cached) " >&6
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lm $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo= ac_hi=
+fi
-/* 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 ceil ();
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
int
main ()
{
-return ceil ();
+static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long int))) <= $ac_mid)];
+test_array [0] = 0
+
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_m_ceil=yes
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid
else
- ac_cv_lib_m_ceil=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- 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_ceil" >&5
-$as_echo "$ac_cv_lib_m_ceil" >&6; }
-if test "x$ac_cv_lib_m_ceil" = x""yes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBM 1
-_ACEOF
-
- LIBS="-lm $LIBS"
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_lo=`expr '(' $ac_mid ')' + 1`
fi
-
-if test "x$rt_nanosleep" = "xyes"; then
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
-$as_echo_n "checking for nanosleep in -lrt... " >&6; }
-if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
- $as_echo_n "(cached) " >&6
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in
+?*) ac_cv_sizeof_unsigned_long_long_int=$ac_lo;;
+'') if test "$ac_cv_type_unsigned_long_long_int" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long int)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (unsigned long long int)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_unsigned_long_long_int=0
+ fi ;;
+esac
else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lrt $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char nanosleep ();
+$ac_includes_default
+static long int longval () { return (long int) (sizeof (unsigned long long int)); }
+static unsigned long int ulongval () { return (long int) (sizeof (unsigned long long int)); }
+#include
+#include
int
main ()
{
-return nanosleep ();
+
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (((long int) (sizeof (unsigned long long int))) < 0)
+ {
+ long int i = longval ();
+ if (i != ((long int) (sizeof (unsigned long long int))))
+ return 1;
+ fprintf (f, "%ld", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ((long int) (sizeof (unsigned long long int))))
+ return 1;
+ fprintf (f, "%lu", i);
+ }
+ /* Do not output a trailing newline, as this causes \r\n confusion
+ on some platforms. */
+ return ferror (f) || fclose (f) != 0;
+
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_rt_nanosleep=yes
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_sizeof_unsigned_long_long_int=`cat conftest.val`
else
- ac_cv_lib_rt_nanosleep=no
+ $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
+
+( exit $ac_status )
+if test "$ac_cv_type_unsigned_long_long_int" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long int)
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot compute sizeof (unsigned long long int)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }; }
+ else
+ ac_cv_sizeof_unsigned_long_long_int=0
+ fi
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
-$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
-if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBRT 1
-_ACEOF
+rm -f conftest.val
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long_int" >&5
+$as_echo "$ac_cv_sizeof_unsigned_long_long_int" >&6; }
- LIBS="-lrt $LIBS"
-fi
-fi
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_UNSIGNED_LONG_LONG_INT $ac_cv_sizeof_unsigned_long_long_int
+_ACEOF
-if test -z "$no_libnsl"; then
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lnsl" >&5
-$as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
-if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then :
+
+
+# Check for int types
+{ $as_echo "$as_me:$LINENO: checking for u_int8_t" >&5
+$as_echo_n "checking for u_int8_t... " >&6; }
+if test "${ac_cv_type_u_int8_t+set}" = set; then
$as_echo_n "(cached) " >&6
else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lnsl $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ ac_cv_type_u_int8_t=no
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-
-/* 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_ntoa ();
+$ac_includes_default
int
main ()
{
-return inet_ntoa ();
+if (sizeof (u_int8_t))
+ return 0;
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_nsl_inet_ntoa=yes
-else
- ac_cv_lib_nsl_inet_ntoa=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- 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_inet_ntoa" >&5
-$as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
-if test "x$ac_cv_lib_nsl_inet_ntoa" = x""yes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBNSL 1
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
_ACEOF
-
- LIBS="-lnsl $LIBS"
-
-fi
-
-fi
-
-if test -z "$no_libsocket"; then
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
-$as_echo_n "checking for socket in -lsocket... " >&6; }
-if test "${ac_cv_lib_socket_socket+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lsocket $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-
-/* 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 ();
+$ac_includes_default
int
main ()
{
-return socket ();
+if (sizeof ((u_int8_t)))
+ return 0;
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_socket_socket=yes
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
else
- ac_cv_lib_socket_socket=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- 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" = x""yes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBSOCKET 1
-_ACEOF
-
- LIBS="-lsocket $LIBS"
-
-fi
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_cv_type_u_int8_t=yes
fi
-# SunOS4 has several things `broken'
-if test "$sunos4" != "no"; then
-for ac_func in vsnprintf
-do :
- ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
-if test "x$ac_cv_func_vsnprintf" = x""yes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_VSNPRINTF 1
-_ACEOF
-
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
else
- LIBS="$LIBS -ldb"
-fi
-done
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-for ac_func in strtoul
-do :
- ac_fn_c_check_func "$LINENO" "strtoul" "ac_cv_func_strtoul"
-if test "x$ac_cv_func_strtoul" = x""yes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_STRTOUL 1
-_ACEOF
-else
- LIBS="$LIBS -l44bsd"
fi
-done
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
+$as_echo "$ac_cv_type_u_int8_t" >&6; }
+if test "x$ac_cv_type_u_int8_t" = x""yes; then
-# some funky macro to be backwards compatible with earlier autoconfs
-# in current they have AC_CHECK_DECLS
-
-
-
+cat >>confdefs.h <<_ACEOF
+#define HAVE_U_INT8_T 1
+_ACEOF
-# some stuff for declarations which were missed on sunos4 platform too.
-#
-# add `#undef NEED_DECL_FUNCTIONAME to acconfig.h` because autoheader
-# fails to work properly with custom macroses.
-# you will see also #undef for each SN_CHECK_DECLS macros invocation
-# because autoheader doesn't execute shell script commands.
-# it is possible to make loops using m4 but the code would look even
-# more confusing..
-for sn_decl in printf fprintf syslog puts fputs fputc fopen \
- fclose fwrite fflush getopt bzero bcopy memset strtol \
- strcasecmp strncasecmp strerror perror socket sendto \
- vsnprintf snprintf strtoul
-do
-sn_def_decl=`echo $sn_decl | tr a-z A-Z`
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $sn_decl must be declared" >&5
-$as_echo_n "checking whether $sn_decl must be declared... " >&6; }
-if eval "test \"\${sn_cv_decl_needed_$sn_decl+set}\"" = set; then :
+fi
+{ $as_echo "$as_me:$LINENO: checking for u_int16_t" >&5
+$as_echo_n "checking for u_int16_t... " >&6; }
+if test "${ac_cv_type_u_int16_t+set}" = set; then
$as_echo_n "(cached) " >&6
else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ ac_cv_type_u_int16_t=no
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof (u_int16_t))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-
-#include
-#ifdef HAVE_STRING_H
-#include
-#endif
-#ifdef HAVE_STRINGS_H
-#include
-#endif
-#ifdef HAVE_STDLIB_H
-#include
-#endif
-#ifdef HAVE_UNISTD_H
-#include
-#endif
-#include
-#include
-#include
-
+$ac_includes_default
int
main ()
{
-char *(*pfn); pfn = (char *(*)) $sn_decl;
+if (sizeof ((u_int16_t)))
+ return 0;
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- eval "sn_cv_decl_needed_$sn_decl=no"
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
else
- eval "sn_cv_decl_needed_$sn_decl=yes"
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_type_u_int16_t=yes
fi
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-if eval "test \"`echo '$sn_cv_decl_needed_'$sn_decl`\" != no"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
+$as_echo "$ac_cv_type_u_int16_t" >&6; }
+if test "x$ac_cv_type_u_int16_t" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define NEED_DECL_$sn_def_decl 1
+#define HAVE_U_INT16_T 1
_ACEOF
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-
fi
-done
-
-
-for ac_func in strlcpy strlcat strerror vswprintf wprintf
-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
+{ $as_echo "$as_me:$LINENO: checking for u_int32_t" >&5
+$as_echo_n "checking for u_int32_t... " >&6; }
+if test "${ac_cv_type_u_int32_t+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_type_u_int32_t=no
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof (u_int32_t))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof ((u_int32_t)))
+ return 0;
+ ;
+ return 0;
+}
_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_cv_type_u_int32_t=yes
fi
-done
-
-ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
-if test "x$ac_cv_func_snprintf" = x""yes; then :
- have_snprintf="yes"
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
else
- have_snprintf="no"
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
fi
- if test "x$have_snprintf" != "xyes"; then
- BUILD_SNPRINTF_TRUE=
- BUILD_SNPRINTF_FALSE='#'
-else
- BUILD_SNPRINTF_TRUE='#'
- BUILD_SNPRINTF_FALSE=
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
+$as_echo "$ac_cv_type_u_int32_t" >&6; }
+if test "x$ac_cv_type_u_int32_t" = x""yes; then
-if test "x$have_snprintf" = "xyes"; then
+cat >>confdefs.h <<_ACEOF
+#define HAVE_U_INT32_T 1
+_ACEOF
-$as_echo "#define HAVE_SNPRINTF /**/" >>confdefs.h
fi
-
-# The cast to long int works around a bug in the HP C Compiler
-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
-# This bug is HP SR number 8606223364.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
-$as_echo_n "checking size of char... " >&6; }
-if test "${ac_cv_sizeof_char+set}" = set; then :
+{ $as_echo "$as_me:$LINENO: checking for u_int64_t" >&5
+$as_echo_n "checking for u_int64_t... " >&6; }
+if test "${ac_cv_type_u_int64_t+set}" = set; then
$as_echo_n "(cached) " >&6
else
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
-
+ ac_cv_type_u_int64_t=no
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof (u_int64_t))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof ((u_int64_t)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
else
- if test "$ac_cv_type_char" = yes; then
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "cannot compute sizeof (char)
-See \`config.log' for more details" "$LINENO" 5 ; }
- else
- ac_cv_sizeof_char=0
- fi
-fi
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_cv_type_u_int64_t=yes
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
-$as_echo "$ac_cv_sizeof_char" >&6; }
-
-
-
-cat >>confdefs.h <<_ACEOF
-#define SIZEOF_CHAR $ac_cv_sizeof_char
-_ACEOF
-
-# The cast to long int works around a bug in the HP C Compiler
-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
-# This bug is HP SR number 8606223364.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
-$as_echo_n "checking size of short... " >&6; }
-if test "${ac_cv_sizeof_short+set}" = set; then :
- $as_echo_n "(cached) " >&6
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
else
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-else
- if test "$ac_cv_type_short" = yes; then
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "cannot compute sizeof (short)
-See \`config.log' for more details" "$LINENO" 5 ; }
- else
- ac_cv_sizeof_short=0
- fi
-fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
-$as_echo "$ac_cv_sizeof_short" >&6; }
-
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
+$as_echo "$ac_cv_type_u_int64_t" >&6; }
+if test "x$ac_cv_type_u_int64_t" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define SIZEOF_SHORT $ac_cv_sizeof_short
+#define HAVE_U_INT64_T 1
_ACEOF
-# The cast to long int works around a bug in the HP C Compiler
-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
-# This bug is HP SR number 8606223364.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
-$as_echo_n "checking size of int... " >&6; }
-if test "${ac_cv_sizeof_int+set}" = set; then :
+fi
+{ $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
+$as_echo_n "checking for uint8_t... " >&6; }
+if test "${ac_cv_type_uint8_t+set}" = set; then
$as_echo_n "(cached) " >&6
else
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
-
-else
- if test "$ac_cv_type_int" = yes; then
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "cannot compute sizeof (int)
-See \`config.log' for more details" "$LINENO" 5 ; }
- else
- ac_cv_sizeof_int=0
- fi
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
-$as_echo "$ac_cv_sizeof_int" >&6; }
-
-
-
-cat >>confdefs.h <<_ACEOF
-#define SIZEOF_INT $ac_cv_sizeof_int
+ ac_cv_type_uint8_t=no
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof (uint8_t))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof ((uint8_t)))
+ return 0;
+ ;
+ return 0;
+}
_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_cv_type_uint8_t=yes
+fi
-# The cast to long int works around a bug in the HP C Compiler
-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
-# This bug is HP SR number 8606223364.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
-$as_echo_n "checking size of long int... " >&6; }
-if test "${ac_cv_sizeof_long_int+set}" = set; then :
- $as_echo_n "(cached) " >&6
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
else
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then :
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-else
- if test "$ac_cv_type_long_int" = yes; then
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "cannot compute sizeof (long int)
-See \`config.log' for more details" "$LINENO" 5 ; }
- else
- ac_cv_sizeof_long_int=0
- fi
-fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
-$as_echo "$ac_cv_sizeof_long_int" >&6; }
-
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
+$as_echo "$ac_cv_type_uint8_t" >&6; }
+if test "x$ac_cv_type_uint8_t" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
+#define HAVE_UINT8_T 1
_ACEOF
-# The cast to long int works around a bug in the HP C Compiler
-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
-# This bug is HP SR number 8606223364.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
-$as_echo_n "checking size of long long int... " >&6; }
-if test "${ac_cv_sizeof_long_long_int+set}" = set; then :
+fi
+{ $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
+$as_echo_n "checking for uint16_t... " >&6; }
+if test "${ac_cv_type_uint16_t+set}" = set; then
$as_echo_n "(cached) " >&6
else
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int" "$ac_includes_default"; then :
-
+ ac_cv_type_uint16_t=no
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof (uint16_t))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof ((uint16_t)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
else
- if test "$ac_cv_type_long_long_int" = yes; then
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "cannot compute sizeof (long long int)
-See \`config.log' for more details" "$LINENO" 5 ; }
- else
- ac_cv_sizeof_long_long_int=0
- fi
-fi
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_cv_type_uint16_t=yes
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
-$as_echo "$ac_cv_sizeof_long_long_int" >&6; }
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
+$as_echo "$ac_cv_type_uint16_t" >&6; }
+if test "x$ac_cv_type_uint16_t" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
+#define HAVE_UINT16_T 1
_ACEOF
-# The cast to long int works around a bug in the HP C Compiler
-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
-# This bug is HP SR number 8606223364.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
-$as_echo_n "checking size of unsigned int... " >&6; }
-if test "${ac_cv_sizeof_unsigned_int+set}" = set; then :
+fi
+{ $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
+$as_echo_n "checking for uint32_t... " >&6; }
+if test "${ac_cv_type_uint32_t+set}" = set; then
$as_echo_n "(cached) " >&6
else
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
-
+ ac_cv_type_uint32_t=no
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof (uint32_t))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof ((uint32_t)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
else
- if test "$ac_cv_type_unsigned_int" = yes; then
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "cannot compute sizeof (unsigned int)
-See \`config.log' for more details" "$LINENO" 5 ; }
- else
- ac_cv_sizeof_unsigned_int=0
- fi
-fi
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_cv_type_uint32_t=yes
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
-$as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
+$as_echo "$ac_cv_type_uint32_t" >&6; }
+if test "x$ac_cv_type_uint32_t" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
+#define HAVE_UINT32_T 1
_ACEOF
-# The cast to long int works around a bug in the HP C Compiler
-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
-# This bug is HP SR number 8606223364.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long int" >&5
-$as_echo_n "checking size of unsigned long int... " >&6; }
-if test "${ac_cv_sizeof_unsigned_long_int+set}" = set; then :
+fi
+{ $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
+$as_echo_n "checking for uint64_t... " >&6; }
+if test "${ac_cv_type_uint64_t+set}" = set; then
$as_echo_n "(cached) " >&6
else
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long int))" "ac_cv_sizeof_unsigned_long_int" "$ac_includes_default"; then :
-
+ ac_cv_type_uint64_t=no
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof (uint64_t))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof ((uint64_t)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
else
- if test "$ac_cv_type_unsigned_long_int" = yes; then
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "cannot compute sizeof (unsigned long int)
-See \`config.log' for more details" "$LINENO" 5 ; }
- else
- ac_cv_sizeof_unsigned_long_int=0
- fi
-fi
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_cv_type_uint64_t=yes
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long_int" >&5
-$as_echo "$ac_cv_sizeof_unsigned_long_int" >&6; }
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
+$as_echo "$ac_cv_type_uint64_t" >&6; }
+if test "x$ac_cv_type_uint64_t" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define SIZEOF_UNSIGNED_LONG_INT $ac_cv_sizeof_unsigned_long_int
+#define HAVE_UINT64_T 1
_ACEOF
-# The cast to long int works around a bug in the HP C Compiler
-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
-# This bug is HP SR number 8606223364.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long long int" >&5
-$as_echo_n "checking size of unsigned long long int... " >&6; }
-if test "${ac_cv_sizeof_unsigned_long_long_int+set}" = set; then :
+fi
+
+{ $as_echo "$as_me:$LINENO: checking for int8_t" >&5
+$as_echo_n "checking for int8_t... " >&6; }
+if test "${ac_cv_type_int8_t+set}" = set; then
$as_echo_n "(cached) " >&6
else
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long long int))" "ac_cv_sizeof_unsigned_long_long_int" "$ac_includes_default"; then :
-
+ ac_cv_type_int8_t=no
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof (int8_t))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof ((int8_t)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
else
- if test "$ac_cv_type_unsigned_long_long_int" = yes; then
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "cannot compute sizeof (unsigned long long int)
-See \`config.log' for more details" "$LINENO" 5 ; }
- else
- ac_cv_sizeof_unsigned_long_long_int=0
- fi
-fi
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_cv_type_int8_t=yes
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long_long_int" >&5
-$as_echo "$ac_cv_sizeof_unsigned_long_long_int" >&6; }
-
-
-cat >>confdefs.h <<_ACEOF
-#define SIZEOF_UNSIGNED_LONG_LONG_INT $ac_cv_sizeof_unsigned_long_long_int
-_ACEOF
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+fi
-# Check for int types
-ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
-if test "x$ac_cv_type_u_int8_t" = x""yes; then :
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
+$as_echo "$ac_cv_type_int8_t" >&6; }
+if test "x$ac_cv_type_int8_t" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define HAVE_U_INT8_T 1
+#define HAVE_INT8_T 1
_ACEOF
fi
-ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
-if test "x$ac_cv_type_u_int16_t" = x""yes; then :
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_U_INT16_T 1
+{ $as_echo "$as_me:$LINENO: checking for int16_t" >&5
+$as_echo_n "checking for int16_t... " >&6; }
+if test "${ac_cv_type_int16_t+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_type_int16_t=no
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof (int16_t))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof ((int16_t)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-
+ ac_cv_type_int16_t=yes
fi
-ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
-if test "x$ac_cv_type_u_int32_t" = x""yes; then :
-cat >>confdefs.h <<_ACEOF
-#define HAVE_U_INT32_T 1
-_ACEOF
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default"
-if test "x$ac_cv_type_u_int64_t" = x""yes; then :
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
+$as_echo "$ac_cv_type_int16_t" >&6; }
+if test "x$ac_cv_type_int16_t" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define HAVE_U_INT64_T 1
+#define HAVE_INT16_T 1
_ACEOF
fi
-ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
-if test "x$ac_cv_type_uint8_t" = x""yes; then :
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_UINT8_T 1
+{ $as_echo "$as_me:$LINENO: checking for int32_t" >&5
+$as_echo_n "checking for int32_t... " >&6; }
+if test "${ac_cv_type_int32_t+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_type_int32_t=no
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof (int32_t))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof ((int32_t)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-
+ ac_cv_type_int32_t=yes
fi
-ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
-if test "x$ac_cv_type_uint16_t" = x""yes; then :
-cat >>confdefs.h <<_ACEOF
-#define HAVE_UINT16_T 1
-_ACEOF
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
fi
-ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
-if test "x$ac_cv_type_uint32_t" = x""yes; then :
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
+$as_echo "$ac_cv_type_int32_t" >&6; }
+if test "x$ac_cv_type_int32_t" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define HAVE_UINT32_T 1
+#define HAVE_INT32_T 1
_ACEOF
fi
-ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
-if test "x$ac_cv_type_uint64_t" = x""yes; then :
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_UINT64_T 1
+{ $as_echo "$as_me:$LINENO: checking for int64_t" >&5
+$as_echo_n "checking for int64_t... " >&6; }
+if test "${ac_cv_type_int64_t+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_type_int64_t=no
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof (int64_t))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof ((int64_t)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-
+ ac_cv_type_int64_t=yes
fi
-ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
-if test "x$ac_cv_type_int8_t" = x""yes; then :
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-cat >>confdefs.h <<_ACEOF
-#define HAVE_INT8_T 1
-_ACEOF
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
-if test "x$ac_cv_type_int16_t" = x""yes; then :
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
+$as_echo "$ac_cv_type_int64_t" >&6; }
+if test "x$ac_cv_type_int64_t" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define HAVE_INT16_T 1
+#define HAVE_INT64_T 1
_ACEOF
fi
-ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
-if test "x$ac_cv_type_int32_t" = x""yes; then :
-cat >>confdefs.h <<_ACEOF
-#define HAVE_INT32_T 1
-_ACEOF
+{ $as_echo "$as_me:$LINENO: checking for boolean" >&5
+$as_echo_n "checking for boolean... " >&6; }
+if test "${ac_cv_type_boolean+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_type_boolean=no
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof (boolean))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+if (sizeof ((boolean)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+ ac_cv_type_boolean=yes
fi
-ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
-if test "x$ac_cv_type_int64_t" = x""yes; then :
-cat >>confdefs.h <<_ACEOF
-#define HAVE_INT64_T 1
-_ACEOF
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
fi
-
-ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "$ac_includes_default"
-if test "x$ac_cv_type_boolean" = x""yes; then :
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
+$as_echo "$ac_cv_type_boolean" >&6; }
+if test "x$ac_cv_type_boolean" = x""yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_BOOLEAN 1
@@ -13113,15 +19036,22 @@
# In case INADDR_NONE is not defined (like on Solaris)
have_inaddr_none="no"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for INADDR_NONE" >&5
+{ $as_echo "$as_me:$LINENO: checking for INADDR_NONE" >&5
$as_echo_n "checking for INADDR_NONE... " >&6; }
-if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+if test "$cross_compiling" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$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 ; }
+{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
@@ -13139,24 +19069,57 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
have_inaddr_none="yes"
else
- have_inaddr_none="no"
+ $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
+
+( exit $ac_status )
+have_inaddr_none="no"
fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_inaddr_none" >&5
+
+{ $as_echo "$as_me:$LINENO: result: $have_inaddr_none" >&5
$as_echo "$have_inaddr_none" >&6; }
if test "x$have_inaddr_none" = "xno"; then
-$as_echo "#define INADDR_NONE -1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define INADDR_NONE -1
+_ACEOF
fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
@@ -13169,16 +19132,45 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+
+cat >>confdefs.h <<\_ACEOF
+#define ERRLIST_PREDEFINED 1
+_ACEOF
+
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-$as_echo "#define ERRLIST_PREDEFINED 1" >>confdefs.h
fi
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __FUNCTION__" >&5
+{ $as_echo "$as_me:$LINENO: checking for __FUNCTION__" >&5
$as_echo_n "checking for __FUNCTION__... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
@@ -13191,24 +19183,51 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
sn_cv_have___FUNCTION__=yes
else
- sn_cv__have___FUNCTION__=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ sn_cv__have___FUNCTION__=no
fi
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
if test "x$sn_cv_have___FUNCTION__" = "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
-$as_echo "#define HAVE___FUNCTION__ 1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define HAVE___FUNCTION__ 1
+_ACEOF
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __func__" >&5
+ { $as_echo "$as_me:$LINENO: checking for __func__" >&5
$as_echo_n "checking for __func__... " >&6; }
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
@@ -13221,32 +19240,59 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
sn_cv_have___func__=yes
else
- sn_cv__have___func__=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ sn_cv__have___func__=no
fi
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
if test "x$sn_cv_have___func__" = "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
-$as_echo "#define HAVE___func__ 1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define HAVE___func__ 1
+_ACEOF
-$as_echo "#define __FUNCTION__ __func__" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define __FUNCTION__ __func__
+_ACEOF
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
- $as_echo "#define __FUNCTION__ \"mystery function\"" >>confdefs.h
+ cat >>confdefs.h <<\_ACEOF
+#define __FUNCTION__ "mystery function"
+_ACEOF
fi
fi
# Check whether --with-libpcap_includes was given.
-if test "${with_libpcap_includes+set}" = set; then :
+if test "${with_libpcap_includes+set}" = set; then
withval=$with_libpcap_includes; with_libpcap_includes="$withval"
else
with_libpcap_includes="no"
@@ -13255,7 +19301,7 @@
# Check whether --with-libpcap_libraries was given.
-if test "${with_libpcap_libraries+set}" = set; then :
+if test "${with_libpcap_libraries+set}" = set; then
withval=$with_libpcap_libraries; with_libpcap_libraries="$withval"
else
with_libpcap_libraries="no"
@@ -13274,7 +19320,7 @@
# --with-libpfring-* options
# Check whether --with-libpfring_includes was given.
-if test "${with_libpfring_includes+set}" = set; then :
+if test "${with_libpfring_includes+set}" = set; then
withval=$with_libpfring_includes; with_libpfring_includes="$withval"
else
with_libpfring_includes="no"
@@ -13283,7 +19329,7 @@
# Check whether --with-libpfring_libraries was given.
-if test "${with_libpfring_libraries+set}" = set; then :
+if test "${with_libpfring_libraries+set}" = set; then
withval=$with_libpfring_libraries; with_libpfring_libraries="$withval"
else
with_libpfring_libraries="no"
@@ -13299,14 +19345,19 @@
fi
LPCAP=""
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_datalink in -lpcap" >&5
+
+{ $as_echo "$as_me:$LINENO: checking for pcap_datalink in -lpcap" >&5
$as_echo_n "checking for pcap_datalink in -lpcap... " >&6; }
-if test "${ac_cv_lib_pcap_pcap_datalink+set}" = set; then :
+if test "${ac_cv_lib_pcap_pcap_datalink+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpcap $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
@@ -13324,18 +19375,43 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
ac_cv_lib_pcap_pcap_datalink=yes
else
- ac_cv_lib_pcap_pcap_datalink=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_pcap_pcap_datalink=no
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_datalink" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pcap_pcap_datalink" >&5
$as_echo "$ac_cv_lib_pcap_pcap_datalink" >&6; }
-if test "x$ac_cv_lib_pcap_pcap_datalink" = x""yes; then :
+if test "x$ac_cv_lib_pcap_pcap_datalink" = x""yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPCAP 1
_ACEOF
@@ -13351,12 +19427,146 @@
# using a pfring-enabled pcap.
if test "x$LPCAP" = "xno"; then
PFRING_H=""
- for ac_header in pfring.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "pfring.h" "ac_cv_header_pfring_h" "$ac_includes_default"
-if test "x$ac_cv_header_pfring_h" = x""yes; then :
+
+for ac_header in pfring.h
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
+$as_echo_n "checking $ac_header usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
+$as_echo_n "checking $ac_header presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$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:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+
+fi
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define HAVE_PFRING_H 1
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
else
@@ -13373,14 +19583,19 @@
# in configure.in. Durring linking, the pfring library (-lpfring) MUST come
# _after_ the libpcap library (-lpcap) or linking will fail.
PFRING_L=""
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pfring_open in -lpfring" >&5
+
+{ $as_echo "$as_me:$LINENO: checking for pfring_open in -lpfring" >&5
$as_echo_n "checking for pfring_open in -lpfring... " >&6; }
-if test "${ac_cv_lib_pfring_pfring_open+set}" = set; then :
+if test "${ac_cv_lib_pfring_pfring_open+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpfring $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
@@ -13398,18 +19613,43 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
ac_cv_lib_pfring_pfring_open=yes
else
- ac_cv_lib_pfring_pfring_open=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_pfring_pfring_open=no
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pfring_pfring_open" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pfring_pfring_open" >&5
$as_echo "$ac_cv_lib_pfring_pfring_open" >&6; }
-if test "x$ac_cv_lib_pfring_pfring_open" = x""yes; then :
+if test "x$ac_cv_lib_pfring_pfring_open" = x""yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPFRING 1
_ACEOF
@@ -13422,14 +19662,19 @@
LPFRING_PCAP=""
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pfring_open in -lpcap" >&5
+
+{ $as_echo "$as_me:$LINENO: checking for pfring_open in -lpcap" >&5
$as_echo_n "checking for pfring_open in -lpcap... " >&6; }
-if test "${ac_cv_lib_pcap_pfring_open+set}" = set; then :
+if test "${ac_cv_lib_pcap_pfring_open+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpcap -lpfring $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
@@ -13447,18 +19692,43 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
ac_cv_lib_pcap_pfring_open=yes
else
- ac_cv_lib_pcap_pfring_open=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_pcap_pfring_open=no
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pfring_open" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pcap_pfring_open" >&5
$as_echo "$ac_cv_lib_pcap_pfring_open" >&6; }
-if test "x$ac_cv_lib_pcap_pfring_open" = x""yes; then :
+if test "x$ac_cv_lib_pcap_pfring_open" = x""yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPCAP 1
_ACEOF
@@ -13484,15 +19754,22 @@
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_lex_destroy" >&5
+{ $as_echo "$as_me:$LINENO: checking for pcap_lex_destroy" >&5
$as_echo_n "checking for pcap_lex_destroy... " >&6; }
-if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+if test "$cross_compiling" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$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 ; }
+{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
@@ -13507,26 +19784,59 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
have_pcap_lex_destroy="yes"
else
- have_pcap_lex_destroy="no"
+ $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
+
+( exit $ac_status )
+have_pcap_lex_destroy="no"
fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pcap_lex_destroy" >&5
+
+{ $as_echo "$as_me:$LINENO: result: $have_pcap_lex_destroy" >&5
$as_echo "$have_pcap_lex_destroy" >&6; }
if test "x$have_pcap_lex_destroy" = "xyes"; then
-$as_echo "#define HAVE_PCAP_LEX_DESTROY 1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_PCAP_LEX_DESTROY 1
+_ACEOF
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_lib_version" >&5
+{ $as_echo "$as_me:$LINENO: checking for pcap_lib_version" >&5
$as_echo_n "checking for pcap_lib_version... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
int
@@ -13538,20 +19848,47 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
have_pcap_lib_version="yes"
else
- have_pcap_lib_version="no"
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ have_pcap_lib_version="no"
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pcap_lib_version" >&5
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $have_pcap_lib_version" >&5
$as_echo "$have_pcap_lib_version" >&6; }
if test "x$have_pcap_lib_version" = "xyes"; then
-$as_echo "#define HAVE_PCAP_LIB_VERSION 1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_PCAP_LIB_VERSION 1
+_ACEOF
fi
@@ -13559,7 +19896,7 @@
# Check whether --with-libpcre_includes was given.
-if test "${with_libpcre_includes+set}" = set; then :
+if test "${with_libpcre_includes+set}" = set; then
withval=$with_libpcre_includes; with_libpcre_includes="$withval"
else
with_libpcre_includes="no"
@@ -13567,35 +19904,170 @@
-# Check whether --with-libpcre_libraries was given.
-if test "${with_libpcre_libraries+set}" = set; then :
- withval=$with_libpcre_libraries; with_libpcre_libraries="$withval"
+# Check whether --with-libpcre_libraries was given.
+if test "${with_libpcre_libraries+set}" = set; then
+ withval=$with_libpcre_libraries; with_libpcre_libraries="$withval"
+else
+ with_libpcre_libraries="no"
+fi
+
+
+if test "x$with_libpcre_includes" != "xno"; then
+ CPPFLAGS="${CPPFLAGS} -I${with_libpcre_includes}"
+ ICONFIGFLAGS="${ICONFIGFLAGS} -I${with_libpcre_includes}"
+else
+ CPPFLAGS="${CPPFLAGS} `pcre-config --cflags`"
+fi
+
+if test "x$with_libpcre_libraries" != "xno"; then
+ LDFLAGS="${LDFLAGS} -L${with_libpcre_libraries}"
+else
+ LDFLAGS="${LDFLAGS} `pcre-config --libs`"
+fi
+
+# PCRE configuration (required)
+# Verify that we have the headers
+PCRE_H=""
+
+for ac_header in pcre.h
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
+$as_echo_n "checking $ac_header usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
+$as_echo_n "checking $ac_header presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
else
- with_libpcre_libraries="no"
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
fi
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
-if test "x$with_libpcre_includes" != "xno"; then
- CPPFLAGS="${CPPFLAGS} -I${with_libpcre_includes}"
-else
- CPPFLAGS="${CPPFLAGS} `pcre-config --cflags`"
-fi
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-if test "x$with_libpcre_libraries" != "xno"; then
- LDFLAGS="${LDFLAGS} -L${with_libpcre_libraries}"
-else
- LDFLAGS="${LDFLAGS} `pcre-config --libs`"
-fi
+ ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
-# PCRE configuration (required)
-# Verify that we have the headers
-PCRE_H=""
-for ac_header in pcre.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
-if test "x$ac_cv_header_pcre_h" = x""yes; then :
+fi
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define HAVE_PCRE_H 1
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
else
@@ -13614,14 +20086,19 @@
# Verify that we have the library
PCRE_L=""
pcre_version_six=""
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_compile in -lpcre" >&5
+
+{ $as_echo "$as_me:$LINENO: checking for pcre_compile in -lpcre" >&5
$as_echo_n "checking for pcre_compile in -lpcre... " >&6; }
-if test "${ac_cv_lib_pcre_pcre_compile+set}" = set; then :
+if test "${ac_cv_lib_pcre_pcre_compile+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpcre $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
@@ -13639,18 +20116,43 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
ac_cv_lib_pcre_pcre_compile=yes
else
- ac_cv_lib_pcre_pcre_compile=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_pcre_pcre_compile=no
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_compile" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_pcre_compile" >&5
$as_echo "$ac_cv_lib_pcre_pcre_compile" >&6; }
-if test "x$ac_cv_lib_pcre_pcre_compile" = x""yes; then :
+if test "x$ac_cv_lib_pcre_pcre_compile" = x""yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPCRE 1
_ACEOF
@@ -13668,9 +20170,13 @@
echo
exit 1
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpcre version 6.0 or greater" >&5
+ { $as_echo "$as_me:$LINENO: checking for libpcre version 6.0 or greater" >&5
$as_echo_n "checking for libpcre version 6.0 or greater... " >&6; }
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
int
@@ -13689,17 +20195,42 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
pcre_version_six="yes"
else
- pcre_version_six="no"
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ pcre_version_six="no"
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
fi
if test "x$pcre_version_six" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
echo
echo " ERROR! Libpcre library version >= 6.0 not found."
@@ -13707,91 +20238,535 @@
echo
exit 1
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-fi
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+
+
+
+if test "x$SIGNAL_SNORT_RELOAD" != "x" ; then
+
+cat >>confdefs.h <<_ACEOF
+#define SIGNAL_SNORT_RELOAD $SIGNAL_SNORT_RELOAD
+_ACEOF
+
+fi
+
+
+if test "x$SIGNAL_SNORT_DUMP_STATS" != "x" ; then
+
+cat >>confdefs.h <<_ACEOF
+#define SIGNAL_SNORT_DUMP_STATS $SIGNAL_SNORT_DUMP_STATS
+_ACEOF
+
+fi
+
+
+if test "x$SIGNAL_SNORT_ROTATE_STATS" != "x" ; then
+
+cat >>confdefs.h <<_ACEOF
+#define SIGNAL_SNORT_ROTATE_STATS $SIGNAL_SNORT_ROTATE_STATS
+_ACEOF
+
+fi
+
+
+if test "x$SIGNAL_SNORT_READ_ATTR_TBL" != "x" ; then
+
+cat >>confdefs.h <<_ACEOF
+#define SIGNAL_SNORT_READ_ATTR_TBL $SIGNAL_SNORT_READ_ATTR_TBL
+_ACEOF
+
+fi
+
+# Check whether --enable-dynamicplugin was given.
+if test "${enable_dynamicplugin+set}" = set; then
+ enableval=$enable_dynamicplugin; enable_dynamicplugin="$enableval"
+else
+ enable_dynamicplugin="yes"
+fi
+
+ if test "x$enable_dynamicplugin" = "xyes"; then
+ HAVE_DYNAMIC_PLUGINS_TRUE=
+ HAVE_DYNAMIC_PLUGINS_FALSE='#'
+else
+ HAVE_DYNAMIC_PLUGINS_TRUE='#'
+ HAVE_DYNAMIC_PLUGINS_FALSE=
+fi
+
+
+if test "x$enable_dynamicplugin" = "xyes"; then
+ CPPFLAGS="$CPPFLAGS -DDYNAMIC_PLUGIN"
+fi
+
+# Check whether --enable-so_with_static_lib was given.
+if test "${enable_so_with_static_lib+set}" = set; then
+ enableval=$enable_so_with_static_lib; enable_so_with_static_lib="$enableval"
+else
+ enable_so_with_static_lib=$so_with_static_lib
+fi
+
+ if test "x$enable_so_with_static_lib" = "xyes"; then
+ SO_WITH_STATIC_LIB_TRUE=
+ SO_WITH_STATIC_LIB_FALSE='#'
+else
+ SO_WITH_STATIC_LIB_TRUE='#'
+ SO_WITH_STATIC_LIB_FALSE=
+fi
+
+
+# Check whether --enable-control_socket was given.
+if test "${enable_control_socket+set}" = set; then
+ enableval=$enable_control_socket; enable_control_socket="$enableval"
+else
+ enable_control_socket="no"
+fi
+
+if test "x$linux" != "xyes"; then
+ if test "x$enable_control_socket" = "xyes"; then
+ { $as_echo "$as_me:$LINENO: WARNING: The control socket is only supported on Linux systems." >&5
+$as_echo "$as_me: WARNING: The control socket is only supported on Linux systems." >&2;}
+ enable_control_socket="no"
+ fi
+fi
+ if test "x$enable_control_socket" = "xyes"; then
+ BUILD_CONTROL_SOCKET_TRUE=
+ BUILD_CONTROL_SOCKET_FALSE='#'
+else
+ BUILD_CONTROL_SOCKET_TRUE='#'
+ BUILD_CONTROL_SOCKET_FALSE=
+fi
+
+if test "x$enable_control_socket" = "xyes"; then
+ CONFIGFLAGS="$CONFIGFLAGS -DCONTROL_SOCKET"
+fi
+
+# check for dnet first since some DAQs need it
+
+# Check whether --with-dnet_includes was given.
+if test "${with_dnet_includes+set}" = set; then
+ withval=$with_dnet_includes; with_dnet_includes="$withval"
+else
+ with_dnet_includes="no"
+fi
+
+
+
+# Check whether --with-dnet_libraries was given.
+if test "${with_dnet_libraries+set}" = set; then
+ withval=$with_dnet_libraries; with_dnet_libraries="$withval"
+else
+ with_dnet_libraries="no"
+fi
+
+
+if test "x$with_dnet_includes" != "xno"; then
+ CPPFLAGS="${CPPFLAGS} -I${with_dnet_includes}"
+else
+ CPPFLAGS="${CPPFLAGS} `dnet-config --cflags 2>/dev/null`"
+fi
+
+if test "x$with_dnet_libraries" != "xno"; then
+ LDFLAGS="${LDFLAGS} -L${with_dnet_libraries}"
+else
+ LDFLAGS="${LDFLAGS} `dnet-config --libs 2>/dev/null`"
+fi
+
+
+for ac_header in dnet.h
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
+$as_echo_n "checking $ac_header usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
+$as_echo_n "checking $ac_header presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$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:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+
+fi
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+else
+ DNET_H="no"
+fi
+
+done
+
+
+for ac_header in dumbnet.h
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
+$as_echo_n "checking $ac_header usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-# Check whether --enable-dynamicplugin was given.
-if test "${enable_dynamicplugin+set}" = set; then :
- enableval=$enable_dynamicplugin; enable_dynamicplugin="$enableval"
-else
- enable_dynamicplugin="yes"
+ ac_header_compiler=no
fi
- if test "x$enable_dynamicplugin" = "xyes"; then
- HAVE_DYNAMIC_PLUGINS_TRUE=
- HAVE_DYNAMIC_PLUGINS_FALSE='#'
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
+$as_echo_n "checking $ac_header presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
else
- HAVE_DYNAMIC_PLUGINS_TRUE='#'
- HAVE_DYNAMIC_PLUGINS_FALSE=
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
fi
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
-if test "x$enable_dynamicplugin" = "xyes"; then
- CPPFLAGS="$CPPFLAGS -DDYNAMIC_PLUGIN"
-fi
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
-# check for dumbnet first since some DAQs need it
+fi
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
-# Check whether --with-dumbnet_includes was given.
-if test "${with_dumbnet_includes+set}" = set; then :
- withval=$with_dumbnet_includes; with_dumbnet_includes="$withval"
else
- with_dumbnet_includes="no"
+ DUMBNET_H="no"
fi
+done
-# Check whether --with-dumbnet_libraries was given.
-if test "${with_dumbnet_libraries+set}" = set; then :
- withval=$with_dumbnet_libraries; with_dumbnet_libraries="$withval"
-else
- with_dumbnet_libraries="no"
+if test "x$DNET_H" = "xno" -a "x$DUMBNET_H" = "xno"; then
+ echo
+ echo " ERROR! dnet header not found, go get it from"
+ echo " http://code.google.com/p/libdnet/ or use the --with-dnet-*"
+ echo " options, if you have it installed in an unusual place"
+ exit
fi
-if test "x$with_dumbnet_includes" != "xno"; then
- CPPFLAGS="${CPPFLAGS} -I${with_dumbnet_includes}"
+{ $as_echo "$as_me:$LINENO: checking for eth_set in -ldnet" >&5
+$as_echo_n "checking for eth_set in -ldnet... " >&6; }
+if test "${ac_cv_lib_dnet_eth_set+set}" = set; then
+ $as_echo_n "(cached) " >&6
else
- CPPFLAGS="${CPPFLAGS} `dumbnet-config --cflags`"
-fi
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldnet $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
-if test "x$with_dumbnet_libraries" != "xno"; then
- LDFLAGS="${LDFLAGS} -L${with_dumbnet_libraries} -ldumbnet"
+/* 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 eth_set ();
+int
+main ()
+{
+return eth_set ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ ac_cv_lib_dnet_eth_set=yes
else
- LDFLAGS="${LDFLAGS} `dumbnet-config --libs`"
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dnet_eth_set=no
fi
-for ac_header in dumbnet.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "dumbnet.h" "ac_cv_header_dumbnet_h" "$ac_includes_default"
-if test "x$ac_cv_header_dumbnet_h" = x""yes; then :
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_eth_set" >&5
+$as_echo "$ac_cv_lib_dnet_eth_set" >&6; }
+if test "x$ac_cv_lib_dnet_eth_set" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define HAVE_DUMBNET_H 1
+#define HAVE_LIBDNET 1
_ACEOF
- DNET="yes"
+
+ LIBS="-ldnet $LIBS"
+
else
DNET="no"
fi
-done
-
-if test "x$DNET" = "xno"; then
- echo
- echo " ERROR! dumbnet header not found, go get it from"
- echo " http://code.google.com/p/libdnet/ or use the --with-dumbnet-*"
- echo " options, if you have it installed in an unusual place"
- exit
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for eth_set in -ldumbnet" >&5
+{ $as_echo "$as_me:$LINENO: checking for eth_set in -ldumbnet" >&5
$as_echo_n "checking for eth_set in -ldumbnet... " >&6; }
-if test "${ac_cv_lib_dumbnet_eth_set+set}" = set; then :
+if test "${ac_cv_lib_dumbnet_eth_set+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldumbnet $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
@@ -13809,34 +20784,65 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
ac_cv_lib_dumbnet_eth_set=yes
else
- ac_cv_lib_dumbnet_eth_set=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dumbnet_eth_set=no
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dumbnet_eth_set" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dumbnet_eth_set" >&5
$as_echo "$ac_cv_lib_dumbnet_eth_set" >&6; }
-if test "x$ac_cv_lib_dumbnet_eth_set" = x""yes; then :
- DNET="yes"
+if test "x$ac_cv_lib_dumbnet_eth_set" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBDUMBNET 1
+_ACEOF
+
+ LIBS="-ldumbnet $LIBS"
+
else
- DNET="no"
+ DUMBNET="no"
fi
-if test "x$DNET" = "xno"; then
+
+if test "x$DNET" = "xno" -a "x$DUMBNET" = "xno"; then
echo
- echo " ERROR! dumbnet library not found, go get it from"
- echo " http://code.google.com/p/libdnet/ or use the --with-dumbnet-*"
+ echo " ERROR! dnet library not found, go get it from"
+ echo " http://code.google.com/p/libdnet/ or use the --with-dnet-*"
echo " options, if you have it installed in an unusual place"
exit
fi
# Check whether --with-daq_includes was given.
-if test "${with_daq_includes+set}" = set; then :
+if test "${with_daq_includes+set}" = set; then
withval=$with_daq_includes; with_daq_includes="$withval"
else
with_daq_includes="no"
@@ -13845,7 +20851,7 @@
# Check whether --with-daq_libraries was given.
-if test "${with_daq_libraries+set}" = set; then :
+if test "${with_daq_libraries+set}" = set; then
withval=$with_daq_libraries; with_daq_libraries="$withval"
else
with_daq_libraries="no"
@@ -13854,6 +20860,7 @@
if test "x$with_daq_includes" != "xno"; then
CPPFLAGS="${CPPFLAGS} -I${with_daq_includes}"
+ ICONFIGFLAGS="${ICONFIGFLAGS} -I${with_daq_includes}"
fi
if test "x$with_daq_libraries" != "xno"; then
@@ -13861,7 +20868,7 @@
fi
# Check whether --enable-static_daq was given.
-if test "${enable_static_daq+set}" = set; then :
+if test "${enable_static_daq+set}" = set; then
enableval=$enable_static_daq; enable_static_daq="$enableval"
else
enable_static_daq="yes"
@@ -13871,14 +20878,18 @@
if test "x$enable_static_daq" = "xyes" \
-o "x$enable_dynamicplugin" = "xyes" ; \
then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
+ { $as_echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
$as_echo_n "checking for dlsym in -ldl... " >&6; }
-if test "${ac_cv_lib_dl_dlsym+set}" = set; then :
+if test "${ac_cv_lib_dl_dlsym+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldl $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
@@ -13896,18 +20907,43 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
ac_cv_lib_dl_dlsym=yes
else
- ac_cv_lib_dl_dlsym=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dl_dlsym=no
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ 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_dlsym" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
-if test "x$ac_cv_lib_dl_dlsym" = x""yes; then :
+if test "x$ac_cv_lib_dl_dlsym" = x""yes; then
DLLIB="yes"
else
DLLIB="no"
@@ -13917,14 +20953,18 @@
if test "$DLLIB" != "no"; then
LIBS="${LIBS} -ldl"
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -lc" >&5
+ { $as_echo "$as_me:$LINENO: checking for dlsym in -lc" >&5
$as_echo_n "checking for dlsym in -lc... " >&6; }
-if test "${ac_cv_lib_c_dlsym+set}" = set; then :
+if test "${ac_cv_lib_c_dlsym+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lc $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
@@ -13942,18 +20982,43 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
ac_cv_lib_c_dlsym=yes
else
- ac_cv_lib_c_dlsym=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_c_dlsym=no
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ 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_dlsym" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_dlsym" >&5
$as_echo "$ac_cv_lib_c_dlsym" >&6; }
-if test "x$ac_cv_lib_c_dlsym" = x""yes; then :
+if test "x$ac_cv_lib_c_dlsym" = x""yes; then
DLLIB="yes"
else
DLLIB="no"
@@ -13972,14 +21037,18 @@
if test "x$enable_static_daq" = "xyes"; then
LDAQ=""
LIBS="${LIBS} `daq-modules-config --static --libs`"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daq_load_modules in -ldaq_static" >&5
+ { $as_echo "$as_me:$LINENO: checking for daq_load_modules in -ldaq_static" >&5
$as_echo_n "checking for daq_load_modules in -ldaq_static... " >&6; }
-if test "${ac_cv_lib_daq_static_daq_load_modules+set}" = set; then :
+if test "${ac_cv_lib_daq_static_daq_load_modules+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldaq_static $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
@@ -13997,18 +21066,43 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
ac_cv_lib_daq_static_daq_load_modules=yes
else
- ac_cv_lib_daq_static_daq_load_modules=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_daq_static_daq_load_modules=no
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_daq_static_daq_load_modules" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_daq_static_daq_load_modules" >&5
$as_echo "$ac_cv_lib_daq_static_daq_load_modules" >&6; }
-if test "x$ac_cv_lib_daq_static_daq_load_modules" = x""yes; then :
+if test "x$ac_cv_lib_daq_static_daq_load_modules" = x""yes; then
LIBS="-ldaq_static ${LIBS}"
else
LDAQ="no"
@@ -14024,14 +21118,18 @@
fi
else
LDAQ=""
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daq_load_modules in -ldaq" >&5
+ { $as_echo "$as_me:$LINENO: checking for daq_load_modules in -ldaq" >&5
$as_echo_n "checking for daq_load_modules in -ldaq... " >&6; }
-if test "${ac_cv_lib_daq_daq_load_modules+set}" = set; then :
+if test "${ac_cv_lib_daq_daq_load_modules+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldaq $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
@@ -14049,41 +21147,171 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
ac_cv_lib_daq_daq_load_modules=yes
else
- ac_cv_lib_daq_daq_load_modules=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_daq_daq_load_modules=no
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_daq_daq_load_modules" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_daq_daq_load_modules" >&5
$as_echo "$ac_cv_lib_daq_daq_load_modules" >&6; }
-if test "x$ac_cv_lib_daq_daq_load_modules" = x""yes; then :
+if test "x$ac_cv_lib_daq_daq_load_modules" = x""yes; then
LIBS="${LIBS} -ldaq"
else
LDAQ="no"
fi
- if test "x$LDAQ" = "xno"; then
- echo
- echo " ERROR! daq library not found, go get it from"
- echo " http://www.snort.org/."
- #AC_MSG_ERROR("Fatal!")
- exit 1
- fi
+ if test "x$LDAQ" = "xno"; then
+ echo
+ echo " ERROR! daq library not found, go get it from"
+ echo " http://www.snort.org/."
+ #AC_MSG_ERROR("Fatal!")
+ exit 1
+ fi
+fi
+
+
+
+for ac_func in daq_hup_apply daq_acquire_with_meta
+do
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
+$as_echo_n "checking for $ac_func... " >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case declares $ac_func.
+ For example, HP-UX 11i declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer to if __STDC__ is defined, since
+ exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include
+#else
+# include
+#endif
+
+#undef $ac_func
+
+/* 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 $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
+ eval "$as_ac_var=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+as_val=`eval 'as_val=${'$as_ac_var'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
fi
+done
+
# any sparc platform has to have this one defined.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sparc" >&5
+{ $as_echo "$as_me:$LINENO: checking for sparc" >&5
$as_echo_n "checking for sparc... " >&6; }
if eval "echo $host_cpu|grep -i sparc >/dev/null"; then
-$as_echo "#define WORDS_MUSTALIGN 1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define WORDS_MUSTALIGN 1
+_ACEOF
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
# gcc, sparc and optimization not so good
@@ -14091,7 +21319,7 @@
NO_OPTIMIZE="yes"
fi
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -14099,15 +21327,22 @@
if eval "echo $host_cpu|grep -i sparc >/dev/null"; then
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -mcpu=v9 "
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sparc %time register" >&5
+ { $as_echo "$as_me:$LINENO: checking for sparc %time register" >&5
$as_echo_n "checking for sparc %time register... " >&6; }
- if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ if test "$cross_compiling" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$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 ; }
+{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
@@ -14121,20 +21356,49 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
sparcv9="yes"
else
- sparcv9="no"
+ $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
+
+( exit $ac_status )
+sparcv9="no"
fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sparcv9" >&5
+
+ { $as_echo "$as_me:$LINENO: result: $sparcv9" >&5
$as_echo "$sparcv9" >&6; }
if test "x$sparcv9" = "xyes"; then
-$as_echo "#define SPARCV9 1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define SPARCV9 1
+_ACEOF
else
CFLAGS="$OLD_CFLAGS"
@@ -14145,9 +21409,9 @@
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for visibility support" >&5
+ { $as_echo "$as_me:$LINENO: checking for visibility support" >&5
$as_echo_n "checking for visibility support... " >&6; }
- if test "${gl_cv_cc_visibility+set}" = set; then :
+ if test "${gl_cv_cc_visibility+set}" = set; then
$as_echo_n "(cached) " >&6
else
@@ -14155,7 +21419,11 @@
# Add -Werror flag since some compilers, e.g. icc 7.1, don't support it,
# but only warn about it instead of compilation failing
CFLAGS="$CFLAGS -Werror -fvisibility=hidden"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
extern __attribute__((__visibility__("hidden"))) int hiddenvar;
@@ -14170,29 +21438,51 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
gl_cv_cc_visibility="yes"
else
- gl_cv_cc_visibility="no"
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ gl_cv_cc_visibility="no"
fi
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
+ { $as_echo "$as_me:$LINENO: result: $gl_cv_cc_visibility" >&5
$as_echo "$gl_cv_cc_visibility" >&6; }
+ CFLAGS="$gl_save_CFLAGS"
if test "x$gl_cv_cc_visibility" = "xyes"; then
- CFLAGS="$gl_save_CFLAGS -fvisibility=hidden"
+ CCONFIGFLAGS="${CCONFIGFLAGS} -DSF_VISIBILITY -fvisibility=hidden"
-$as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_VISIBILITY 1
+_ACEOF
- else
- CFLAGS="$gl_save_CFLAGS"
fi
# Check whether --enable-build-dynamic-examples was given.
-if test "${enable_build_dynamic_examples+set}" = set; then :
+if test "${enable_build_dynamic_examples+set}" = set; then
enableval=$enable_build_dynamic_examples; build_dynamic_examples="$enableval"
else
build_dynamic_examples="no"
@@ -14216,7 +21506,7 @@
fi
# Check whether --enable-dlclose was given.
-if test "${enable_dlclose+set}" = set; then :
+if test "${enable_dlclose+set}" = set; then
enableval=$enable_dlclose; enable_dlclose="$enableval"
else
enable_dlclose="yes"
@@ -14224,19 +21514,21 @@
if test "x$enable_dlclose" = "xno"; then
-$as_echo "#define DISABLE_DLCLOSE_FOR_VALGRIND_TESTING 1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define DISABLE_DLCLOSE_FOR_VALGRIND_TESTING 1
+_ACEOF
fi
# Check whether --enable-ipv6 was given.
-if test "${enable_ipv6+set}" = set; then :
+if test "${enable_ipv6+set}" = set; then
enableval=$enable_ipv6; enable_ipv6="$enableval"
else
- enable_ipv6="no"
+ enable_ipv6="yes"
fi
if test "x$enable_ipv6" = "xyes"; then
- CPPFLAGS="$CPPFLAGS -DSUP_IP6"
+ CONFIGFLAGS="$CONFIGFLAGS -DSUP_IP6"
fi
if test "x$enable_ipv6" = "xyes"; then
HAVE_SUP_IP6_TRUE=
@@ -14248,10 +21540,10 @@
# Check whether --enable-zlib was given.
-if test "${enable_zlib+set}" = set; then :
+if test "${enable_zlib+set}" = set; then
enableval=$enable_zlib; enable_zlib="$enableval"
else
- enable_zlib="no"
+ enable_zlib="yes"
fi
if test "x$enable_zlib" = "xyes"; then
@@ -14264,12 +21556,146 @@
if test "x$enable_zlib" = "xyes"; then
Z_LIB=""
- for ac_header in zlib.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
-if test "x$ac_cv_header_zlib_h" = x""yes; then :
+
+for ac_header in zlib.h
+do
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
+$as_echo_n "checking $ac_header usability... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
+$as_echo_n "checking $ac_header presence... " >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ $as_echo "$as_me:$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:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
+$as_echo_n "checking for $ac_header... " >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+
+fi
+as_val=`eval 'as_val=${'$as_ac_Header'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
cat >>confdefs.h <<_ACEOF
-#define HAVE_ZLIB_H 1
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
else
@@ -14278,7 +21704,7 @@
done
- if test "x$ZLIB" = "xno"; then
+ if test "x$Z_LIB" = "xno"; then
echo
echo " ERROR! zlib header not found, go get it from"
echo " http://www.zlib.net"
@@ -14286,14 +21712,19 @@
fi
Z_LIB=""
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
+
+{ $as_echo "$as_me:$LINENO: checking for inflate in -lz" >&5
$as_echo_n "checking for inflate in -lz... " >&6; }
-if test "${ac_cv_lib_z_inflate+set}" = set; then :
+if test "${ac_cv_lib_z_inflate+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lz $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
@@ -14311,18 +21742,43 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
ac_cv_lib_z_inflate=yes
else
- ac_cv_lib_z_inflate=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_z_inflate=no
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflate" >&5
$as_echo "$ac_cv_lib_z_inflate" >&6; }
-if test "x$ac_cv_lib_z_inflate" = x""yes; then :
+if test "x$ac_cv_lib_z_inflate" = x""yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBZ 1
_ACEOF
@@ -14333,7 +21789,7 @@
Z_LIB="no"
fi
- if test "x$ZLIB" = "xno"; then
+ if test "x$Z_LIB" = "xno"; then
echo
echo " ERROR! zlib library not found, go get it from"
echo " http://www.zlib.net"
@@ -14344,10 +21800,10 @@
fi
# Check whether --enable-gre was given.
-if test "${enable_gre+set}" = set; then :
+if test "${enable_gre+set}" = set; then
enableval=$enable_gre; enable_gre="$enableval"
else
- enable_gre="no"
+ enable_gre="yes"
fi
if test "x$enable_gre" = "xyes"; then
@@ -14355,10 +21811,10 @@
fi
# Check whether --enable-mpls was given.
-if test "${enable_mpls+set}" = set; then :
+if test "${enable_mpls+set}" = set; then
enableval=$enable_mpls; enable_mpls="$enableval"
else
- enable_mpls="no"
+ enable_mpls="yes"
fi
if test "x$enable_mpls" = "xyes"; then
@@ -14366,10 +21822,10 @@
fi
# Check whether --enable-targetbased was given.
-if test "${enable_targetbased+set}" = set; then :
+if test "${enable_targetbased+set}" = set; then
enableval=$enable_targetbased; enable_targetbased="$enableval"
else
- enable_targetbased="no"
+ enable_targetbased="yes"
fi
@@ -14382,7 +21838,7 @@
fi
if test "x$enable_targetbased" = "xyes"; then
- CPPFLAGS="$CPPFLAGS -DTARGET_BASED"
+ CONFIGFLAGS="$CONFIGFLAGS -DTARGET_BASED"
LIBS="$LIBS -lpthread"
if test "$LEX" = "none"; then
echo
@@ -14403,10 +21859,10 @@
fi
# Check whether --enable-decoder-preprocessor-rules was given.
-if test "${enable_decoder_preprocessor_rules+set}" = set; then :
+if test "${enable_decoder_preprocessor_rules+set}" = set; then
enableval=$enable_decoder_preprocessor_rules; enable_decoder_preprocessor_rules="$enableval"
else
- enable_decoder_preprocessor_rules="no"
+ enable_decoder_preprocessor_rules="yes"
fi
if test "x$enable_decoder_preprocessor_rules" = "xyes"; then
@@ -14414,10 +21870,10 @@
fi
# Check whether --enable-ppm was given.
-if test "${enable_ppm+set}" = set; then :
+if test "${enable_ppm+set}" = set; then
enableval=$enable_ppm; enable_ppm="$enableval"
else
- enable_ppm="no"
+ enable_ppm="yes"
fi
if test "x$enable_ppm" = "xyes"; then
@@ -14425,18 +21881,18 @@
fi
# Check whether --enable-perfprofiling was given.
-if test "${enable_perfprofiling+set}" = set; then :
+if test "${enable_perfprofiling+set}" = set; then
enableval=$enable_perfprofiling; enable_perfprofiling="$enableval"
else
- enable_perfprofiling="no"
+ enable_perfprofiling="yes"
fi
if test "x$enable_perfprofiling" = "xyes"; then
- CPPFLAGS="$CPPFLAGS -DPERF_PROFILING"
+ CONFIGFLAGS="$CONFIGFLAGS -DPERF_PROFILING"
fi
# Check whether --enable-linux-smp-stats was given.
-if test "${enable_linux_smp_stats+set}" = set; then :
+if test "${enable_linux_smp_stats+set}" = set; then
enableval=$enable_linux_smp_stats; enable_linux_smp_stats="$enableval"
else
enable_linux_smp_stats="no"
@@ -14455,7 +21911,7 @@
fi
# Check whether --enable-inline-init-failopen was given.
-if test "${enable_inline_init_failopen+set}" = set; then :
+if test "${enable_inline_init_failopen+set}" = set; then
enableval=$enable_inline_init_failopen; enable_inline_init_failopen="$enableval"
else
enable_inline_init_failopen="no"
@@ -14467,7 +21923,7 @@
fi
# Check whether --enable-prelude was given.
-if test "${enable_prelude+set}" = set; then :
+if test "${enable_prelude+set}" = set; then
enableval=$enable_prelude; enable_prelude="$enableval"
else
enable_prelude="no"
@@ -14485,7 +21941,7 @@
if test "x$enable_prelude" = "xyes"; then
# Check whether --with-libprelude-prefix was given.
-if test "${with_libprelude_prefix+set}" = set; then :
+if test "${with_libprelude_prefix+set}" = set; then
withval=$with_libprelude_prefix; libprelude_config_prefix="$withval"
else
libprelude_config_prefix=""
@@ -14500,9 +21956,9 @@
# Extract the first word of "libprelude-config", so it can be a program name with args.
set dummy libprelude-config; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_LIBPRELUDE_CONFIG+set}" = set; then :
+if test "${ac_cv_path_LIBPRELUDE_CONFIG+set}" = set; then
$as_echo_n "(cached) " >&6
else
case $LIBPRELUDE_CONFIG in
@@ -14515,14 +21971,14 @@
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_LIBPRELUDE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
- done
+done
IFS=$as_save_IFS
test -z "$ac_cv_path_LIBPRELUDE_CONFIG" && ac_cv_path_LIBPRELUDE_CONFIG="no"
@@ -14531,16 +21987,16 @@
fi
LIBPRELUDE_CONFIG=$ac_cv_path_LIBPRELUDE_CONFIG
if test -n "$LIBPRELUDE_CONFIG"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPRELUDE_CONFIG" >&5
+ { $as_echo "$as_me:$LINENO: result: $LIBPRELUDE_CONFIG" >&5
$as_echo "$LIBPRELUDE_CONFIG" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
min_libprelude_version=0.9.6
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libprelude - version >= $min_libprelude_version" >&5
+ { $as_echo "$as_me:$LINENO: checking for libprelude - version >= $min_libprelude_version" >&5
$as_echo_n "checking for libprelude - version >= $min_libprelude_version... " >&6; }
no_libprelude=""
if test "$LIBPRELUDE_CONFIG" = "no" ; then
@@ -14562,10 +22018,14 @@
LDFLAGS="$LDFLAGS $LIBPRELUDE_LDFLAGS"
LIBS="$LIBS $LIBPRELUDE_LIBS"
rm -f conf.libpreludetest
- if test "$cross_compiling" = yes; then :
+ if test "$cross_compiling" = yes; then
echo $ac_n "cross compiling; assumed OK... $ac_c"
else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
@@ -14623,29 +22083,56 @@
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ :
else
- no_libprelude=yes
+ $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
+
+( exit $ac_status )
+no_libprelude=yes
fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
+
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
LDFLAGS="$ac_save_LDFLAGS"
fi
if test "x$no_libprelude" = x ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
use_prelude="yes"
else
if test -f conf.libpreludetest ; then
:
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
if test "$LIBPRELUDE_CONFIG" = "no" ; then
@@ -14661,7 +22148,11 @@
CFLAGS="$CFLAGS $LIBPRELUDE_CFLAGS"
LDFLAGS="$LDFLAGS $LIBPRELUDE_LDFLAGS"
LIBS="$LIBS $LIBPRELUDE_LIBS"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
@@ -14677,7 +22168,27 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding LIBPRELUDE or finding the wrong"
echo "*** version of LIBPRELUDE. If it is not finding LIBPRELUDE, you'll need to set your"
@@ -14689,13 +22200,18 @@
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
echo "***"
else
- echo "*** The test program failed to compile or link. See the file config.log for the"
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means LIBPRELUDE was incorrectly installed"
echo "*** or that you have moved LIBPRELUDE since it was installed. In the latter case, you"
echo "*** may want to edit the libprelude-config script: $LIBPRELUDE_CONFIG"
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
CFLAGS="$ac_save_CFLAGS"
LDFLAGS="$ac_save_LDFLAGS"
LIBS="$ac_save_LIBS"
@@ -14719,16 +22235,18 @@
LIBS="$LIBS ${LIBPRELUDE_LIBS}"
CFLAGS="$CFLAGS ${LIBPRELUDE_PTHREAD_CFLAGS}"
-$as_echo "#define HAVE_LIBPRELUDE 1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LIBPRELUDE 1
+_ACEOF
fi
fi
# Check whether --enable-pthread was given.
-if test "${enable_pthread+set}" = set; then :
+if test "${enable_pthread+set}" = set; then
enableval=$enable_pthread; enable_pthread="$enableval"
else
- enable_pthread="no"
+ enable_pthread="yes"
fi
@@ -14737,18 +22255,18 @@
fi
# Check whether --enable-debug-msgs was given.
-if test "${enable_debug_msgs+set}" = set; then :
+if test "${enable_debug_msgs+set}" = set; then
enableval=$enable_debug_msgs; enable_debug_msgs="$enableval"
else
enable_debug_msgs="no"
fi
if test "x$enable_debug_msgs" = "xyes"; then
- CPPFLAGS="$CPPFLAGS -DDEBUG"
+ CPPFLAGS="$CPPFLAGS -DDEBUG_MSGS"
fi
# Check whether --enable-debug was given.
-if test "${enable_debug+set}" = set; then :
+if test "${enable_debug+set}" = set; then
enableval=$enable_debug; enable_debug="$enableval"
else
enable_debug="no"
@@ -14762,10 +22280,24 @@
if echo $CFLAGS | grep -qve -g ; then
CFLAGS="$CFLAGS -g"
fi
+
+ CPPFLAGS="$CPPFLAGS -DDEBUG"
+fi
+
+# Check whether --enable-gdb was given.
+if test "${enable_gdb+set}" = set; then
+ enableval=$enable_gdb; enable_gdb="$enableval"
+else
+ enable_gdb="no"
+fi
+
+
+if test "x$enable_gdb" = "xyes"; then
+ CFLAGS="$CFLAGS -g -ggdb"
fi
# Check whether --enable-profile was given.
-if test "${enable_profile+set}" = set; then :
+if test "${enable_profile+set}" = set; then
enableval=$enable_profile; enable_profile="$enableval"
else
enable_profile="no"
@@ -14782,7 +22314,7 @@
fi
# Check whether --enable-ppm-test was given.
-if test "${enable_ppm_test+set}" = set; then :
+if test "${enable_ppm_test+set}" = set; then
enableval=$enable_ppm_test; enable_ppm_test="$enableval"
else
enable_ppm_test="no"
@@ -14794,7 +22326,7 @@
fi
# Check whether --enable-sourcefire was given.
-if test "${enable_sourcefire+set}" = set; then :
+if test "${enable_sourcefire+set}" = set; then
enableval=$enable_sourcefire; enable_sourcefire="$enableval"
else
enable_sourcefire="no"
@@ -14802,11 +22334,12 @@
if test "x$enable_sourcefire" = "xyes"; then
- CPPFLAGS="$CPPFLAGS -DSOURCEFIRE -DPERF_PROFILING -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR"
+ CPPFLAGS="$CPPFLAGS -DSOURCEFIRE -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR"
+ CONFIGFLAGS="$CONFIGFLAGS -DPERF_PROFILING"
fi
# Check whether --enable-corefiles was given.
-if test "${enable_corefiles+set}" = set; then :
+if test "${enable_corefiles+set}" = set; then
enableval=$enable_corefiles; enable_corefiles="$enableval"
else
enable_corefiles="yes"
@@ -14818,31 +22351,31 @@
fi
# Check whether --enable-active-response was given.
-if test "${enable_active_response+set}" = set; then :
+if test "${enable_active_response+set}" = set; then
enableval=$enable_active_response; enable_active_response="$enableval"
else
- enable_active_response="no"
+ enable_active_response="yes"
fi
# Check whether --enable-normalizer was given.
-if test "${enable_normalizer+set}" = set; then :
+if test "${enable_normalizer+set}" = set; then
enableval=$enable_normalizer; enable_normalizer="$enableval"
else
- enable_normalizer="no"
+ enable_normalizer="yes"
fi
# Check whether --enable-reload was given.
-if test "${enable_reload+set}" = set; then :
+if test "${enable_reload+set}" = set; then
enableval=$enable_reload; enable_reload="$enableval"
else
- enable_reload="no"
+ enable_reload="yes"
fi
# Check whether --enable-reload-error-restart was given.
-if test "${enable_reload_error_restart+set}" = set; then :
+if test "${enable_reload_error_restart+set}" = set; then
enableval=$enable_reload_error_restart; enable_reload_error_restart="$enableval"
else
enable_reload_error_restart="yes"
@@ -14851,17 +22384,19 @@
if test "x$enable_reload" = "xyes"; then
if test "x$enable_reload_error_restart" = "xyes"; then
- CPPFLAGS="$CPPFLAGS -DSNORT_RELOAD"
+ CONFIGFLAGS="$CONFIGFLAGS -DSNORT_RELOAD"
else
- CPPFLAGS="$CPPFLAGS -DSNORT_RELOAD -DRELOAD_ERROR_FATAL"
+ CONFIGFLAGS="$CONFIGFLAGS -DSNORT_RELOAD -DRELOAD_ERROR_FATAL"
fi
LIBS="$LIBS -lpthread"
fi
+configuring_database="no"
+
# Check whether --with-mysql was given.
-if test "${with_mysql+set}" = set; then :
+if test "${with_mysql+set}" = set; then
withval=$with_mysql; with_mysql="$withval"
else
with_mysql="no"
@@ -14870,7 +22405,7 @@
# Check whether --with-mysql_includes was given.
-if test "${with_mysql_includes+set}" = set; then :
+if test "${with_mysql_includes+set}" = set; then
withval=$with_mysql_includes; with_mysql_includes="$withval"; with_mysql="yes"
else
with_mysql_includes="no"
@@ -14879,7 +22414,7 @@
# Check whether --with-mysql_libraries was given.
-if test "${with_mysql_libraries+set}" = set; then :
+if test "${with_mysql_libraries+set}" = set; then
withval=$with_mysql_libraries; with_mysql_libraries="$withval"; with_mysql="yes"
else
with_mysql_libraries="no"
@@ -14888,6 +22423,7 @@
default_directory="/usr /usr/local"
if test "x$with_mysql" != "xno"; then
+ configuring_database="yes"
if test "x$with_mysql" = "xyes"; then
if test "x$with_mysql_includes" != "xno"; then
mysql_inc_directory="$with_mysql_includes";
@@ -14901,15 +22437,15 @@
fi
mysql_fail="yes"
elif test -d "$withval"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Providing a directory for the --with-mysql option" >&5
+ { $as_echo "$as_me:$LINENO: WARNING: Providing a directory for the --with-mysql option" >&5
$as_echo "$as_me: WARNING: Providing a directory for the --with-mysql option" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will be deprecated in the future in favour of" >&5
+ { $as_echo "$as_me:$LINENO: WARNING: will be deprecated in the future in favour of" >&5
$as_echo "$as_me: WARNING: will be deprecated in the future in favour of" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mysql-libraries and --with-mysql-includes" >&5
+ { $as_echo "$as_me:$LINENO: WARNING: --with-mysql-libraries and --with-mysql-includes" >&5
$as_echo "$as_me: WARNING: --with-mysql-libraries and --with-mysql-includes" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: options to address issues with non-standard" >&5
+ { $as_echo "$as_me:$LINENO: WARNING: options to address issues with non-standard" >&5
$as_echo "$as_me: WARNING: options to address issues with non-standard" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: installations and 64bit platforms." >&5
+ { $as_echo "$as_me:$LINENO: WARNING: installations and 64bit platforms." >&5
$as_echo "$as_me: WARNING: installations and 64bit platforms." >&2;}
mysql_inc_directory="$withval"
mysql_lib_directory="$withval"
@@ -14920,7 +22456,7 @@
mysql_fail="yes"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql" >&5
+ { $as_echo "$as_me:$LINENO: checking for mysql" >&5
$as_echo_n "checking for mysql... " >&6; }
for i in $mysql_inc_directory; do
@@ -15005,7 +22541,7 @@
exit 1
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
else
@@ -15030,22 +22566,27 @@
exit 1
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
LDFLAGS="${LDFLAGS} -L${MYSQL_LIB_DIR}"
CPPFLAGS="${CPPFLAGS} -I${MYSQL_INC_DIR} -DENABLE_MYSQL"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
+
+{ $as_echo "$as_me:$LINENO: checking for compress in -lz" >&5
$as_echo_n "checking for compress in -lz... " >&6; }
-if test "${ac_cv_lib_z_compress+set}" = set; then :
+if test "${ac_cv_lib_z_compress+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lz $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
@@ -15063,18 +22604,43 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
ac_cv_lib_z_compress=yes
else
- ac_cv_lib_z_compress=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_z_compress=no
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
$as_echo "$ac_cv_lib_z_compress" >&6; }
-if test "x$ac_cv_lib_z_compress" = x""yes; then :
+if test "x$ac_cv_lib_z_compress" = x""yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBZ 1
_ACEOF
@@ -15087,16 +22653,23 @@
fi
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql default client reconnect" >&5
+ { $as_echo "$as_me:$LINENO: checking for mysql default client reconnect" >&5
$as_echo_n "checking for mysql default client reconnect... " >&6; }
- if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ if test "$cross_compiling" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$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 ; }
+{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
@@ -15112,30 +22685,64 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
mysql_default_reconnect="no"
else
- mysql_default_reconnect="yes"
+ $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
+
+( exit $ac_status )
+mysql_default_reconnect="yes"
fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mysql_default_reconnect" >&5
+
+ { $as_echo "$as_me:$LINENO: result: $mysql_default_reconnect" >&5
$as_echo "$mysql_default_reconnect" >&6; }
if test "x$mysql_default_reconnect" = "xno"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql reconnect option" >&5
+ { $as_echo "$as_me:$LINENO: checking for mysql reconnect option" >&5
$as_echo_n "checking for mysql reconnect option... " >&6; }
- if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ if test "$cross_compiling" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$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 ; }
+{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
@@ -15151,34 +22758,70 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
mysql_has_reconnect="yes"
else
- mysql_has_reconnect="no"
+ $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
+
+( exit $ac_status )
+mysql_has_reconnect="no"
fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mysql_has_reconnect" >&5
+
+ { $as_echo "$as_me:$LINENO: result: $mysql_has_reconnect" >&5
$as_echo "$mysql_has_reconnect" >&6; }
if test "x$mysql_has_reconnect" = "xyes"; then
-$as_echo "#define MYSQL_HAS_OPT_RECONNECT 1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define MYSQL_HAS_OPT_RECONNECT 1
+_ACEOF
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql setting of reconnect option before connect bug" >&5
+ { $as_echo "$as_me:$LINENO: checking for mysql setting of reconnect option before connect bug" >&5
$as_echo_n "checking for mysql setting of reconnect option before connect bug... " >&6; }
- if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ if test "$cross_compiling" = yes; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$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 ; }
+{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
@@ -15194,22 +22837,51 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
+rm -f 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
mysql_has_reconnect_bug="no"
else
- mysql_has_reconnect_bug="yes"
+ $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
+
+( exit $ac_status )
+mysql_has_reconnect_bug="yes"
fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mysql_has_reconnect_bug" >&5
+
+ { $as_echo "$as_me:$LINENO: result: $mysql_has_reconnect_bug" >&5
$as_echo "$mysql_has_reconnect_bug" >&6; }
if test "x$mysql_has_reconnect_bug" = "xyes"; then
-$as_echo "#define MYSQL_HAS_OPT_RECONNECT_BUG 1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define MYSQL_HAS_OPT_RECONNECT_BUG 1
+_ACEOF
fi
fi
@@ -15218,7 +22890,7 @@
# Check whether --with-odbc was given.
-if test "${with_odbc+set}" = set; then :
+if test "${with_odbc+set}" = set; then
withval=$with_odbc; with_odbc="$withval"
else
with_odbc="no"
@@ -15226,6 +22898,7 @@
if test "x$with_odbc" != "xno"; then
+ configuring_database="yes"
if test "x$with_odbc" = "xyes"; then
odbc_directory="$default_directory"
odbc_fail="yes"
@@ -15237,7 +22910,7 @@
odbc_fail="no"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"for odbc\"" >&5
+ { $as_echo "$as_me:$LINENO: checking \"for odbc\"" >&5
$as_echo_n "checking \"for odbc\"... " >&6; }
for i in $odbc_directory; do
@@ -15269,7 +22942,7 @@
exit 1
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
else
@@ -15299,11 +22972,11 @@
exit 1
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
LDFLAGS="${LDFLAGS} -L${ODBC_LIB_DIR}"
CPPFLAGS="${CPPFLAGS} -I${ODBC_INC_DIR} -DENABLE_ODBC"
@@ -15314,7 +22987,7 @@
# Check whether --with-postgresql was given.
-if test "${with_postgresql+set}" = set; then :
+if test "${with_postgresql+set}" = set; then
withval=$with_postgresql; with_postgresql="$withval"
else
with_postgresql="no"
@@ -15323,7 +22996,7 @@
# Check whether --with-pgsql_includes was given.
-if test "${with_pgsql_includes+set}" = set; then :
+if test "${with_pgsql_includes+set}" = set; then
withval=$with_pgsql_includes; with_pgsql_includes="$withval"
else
with_pgsql_includes="no"
@@ -15331,6 +23004,7 @@
if test "x$with_postgresql" != "xno"; then
+ configuring_database="yes"
if test "x$with_postgresql" = "xyes"; then
postgresql_directory="$default_directory /usr/local/pgsql /usr/pgsql /usr/local"
postgresql_fail="yes"
@@ -15342,7 +23016,7 @@
postgresql_fail="no"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for postgresql" >&5
+ { $as_echo "$as_me:$LINENO: checking for postgresql" >&5
$as_echo_n "checking for postgresql... " >&6; }
if test "x$with_pgsql_includes" != "xno"; then
@@ -15397,7 +23071,7 @@
exit 1
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
fi
@@ -15434,22 +23108,27 @@
exit 1
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; };
fi
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
LDFLAGS="${LDFLAGS} -L${POSTGRESQL_LIB_DIR}"
CPPFLAGS="${CPPFLAGS} -I${POSTGRESQL_INC_DIR} -DENABLE_POSTGRESQL"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQexec in -lpq" >&5
+
+{ $as_echo "$as_me:$LINENO: checking for PQexec in -lpq" >&5
$as_echo_n "checking for PQexec in -lpq... " >&6; }
-if test "${ac_cv_lib_pq_PQexec+set}" = set; then :
+if test "${ac_cv_lib_pq_PQexec+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpq $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
@@ -15467,18 +23146,43 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
+rm -f conftest.$ac_objext 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:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then
ac_cv_lib_pq_PQexec=yes
else
- ac_cv_lib_pq_PQexec=no
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_pq_PQexec=no
fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+
+rm -rf conftest.dSYM
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ 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_PQexec" >&5
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pq_PQexec" >&5
$as_echo "$ac_cv_lib_pq_PQexec" >&6; }
-if test "x$ac_cv_lib_pq_PQexec" = x""yes; then :
+if test "x$ac_cv_lib_pq_PQexec" = x""yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPQ 1
_ACEOF
@@ -15502,7 +23206,7 @@
# Check whether --with-oracle was given.
-if test "${with_oracle+set}" = set; then :
+if test "${with_oracle+set}" = set; then
withval=$with_oracle; with_oracle="$withval"
else
with_oracle="no"
@@ -15510,6 +23214,7 @@
if test "x$with_oracle" != "xno"; then
+ configuring_database="yes"
if test "x$with_oracle" = "xyes"; then
oracle_directory="$default_directory ${ORACLE_HOME}"
oracle_fail="yes"
@@ -15521,7 +23226,7 @@
oracle_fail="no"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oracle" >&5
+ { $as_echo "$as_me:$LINENO: checking for oracle" >&5
$as_echo_n "checking for oracle... " >&6; }
for i in $oracle_directory; do
@@ -15550,7 +23255,7 @@
exit 1
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
else
@@ -15558,7 +23263,7 @@
ORACLE_CPP_FLAGS="$ORACLE_CPP_FLAGS -I$ORACLE_DIR/$i"
done
ORACLE_LIB_DIR="$ORACLE_DIR/lib"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
LDFLAGS="${LDFLAGS} -L${ORACLE_LIB_DIR}"
@@ -15574,24 +23279,36 @@
fi
fi
+# Check whether --enable-paf was given.
+if test "${enable_paf+set}" = set; then
+ enableval=$enable_paf; enable_paf="$enableval"
+else
+ enable_paf="yes"
+fi
+
+
+if test "x$enable_paf" = "xyes"; then
+ CPPFLAGS="${CPPFLAGS} -DENABLE_PAF"
+fi
+
# Check whether --enable-react was given.
-if test "${enable_react+set}" = set; then :
+if test "${enable_react+set}" = set; then
enableval=$enable_react; enable_react="$enableval"
else
- enable_react="no"
+ enable_react="yes"
fi
# Check whether --enable-flexresp3 was given.
-if test "${enable_flexresp3+set}" = set; then :
+if test "${enable_flexresp3+set}" = set; then
enableval=$enable_flexresp3; enable_flexresp3="$enableval"
else
- enable_flexresp3="no"
+ enable_flexresp3="yes"
fi
# Check whether --enable-aruba was given.
-if test "${enable_aruba+set}" = set; then :
+if test "${enable_aruba+set}" = set; then
enableval=$enable_aruba; enable_aruba="$enableval"
else
enable_aruba="no"
@@ -15606,7 +23323,7 @@
# flexresp3 options are a union of flexresp (deleted) and flexresp2
# options so we assume flexresp3 if multiple are enabled.
if test "x$enable_flexresp2" = "xyes"; then
- echo "WARNING: multiple flexresp versions enabled; using flexresp3"
+ echo "WARNING: multiple flexresp versions enabled; using flexresp3."
enable_flexresp2="no"
fi
fi
@@ -15638,7 +23355,7 @@
if test "x$enable_normalizer" = "xyes" \
-o "x$enable_sourcefire" = "xyes" ; \
then
- CPPFLAGS="${CPPFLAGS} -DNORMALIZER"
+ CONFIGFLAGS="${CONFIGFLAGS} -DNORMALIZER"
fi
if test "x$enable_active_response" = "xyes" \
@@ -15646,11 +23363,11 @@
-o "x$enable_react" = "xyes" \
-o "x$enable_sourcefire" = "xyes" ; \
then
- CPPFLAGS="${CPPFLAGS} -DACTIVE_RESPONSE"
+ CONFIGFLAGS="${CONFIGFLAGS} -DACTIVE_RESPONSE"
fi
# Check whether --enable-intel_soft_cpm was given.
-if test "${enable_intel_soft_cpm+set}" = set; then :
+if test "${enable_intel_soft_cpm+set}" = set; then
enableval=$enable_intel_soft_cpm; enable_intel_soft_cpm="$enableval"
else
enable_intel_soft_cpm="no"
@@ -15659,7 +23376,7 @@
# Check whether --with-intel_soft_cpm_includes was given.
-if test "${with_intel_soft_cpm_includes+set}" = set; then :
+if test "${with_intel_soft_cpm_includes+set}" = set; then
withval=$with_intel_soft_cpm_includes; with_intel_soft_cpm_includes="$withval"
else
with_intel_soft_cpm_includes="no"
@@ -15668,7 +23385,7 @@
# Check whether --with-intel_soft_cpm_libraries was given.
-if test "${with_intel_soft_cpm_libraries+set}" = set; then :
+if test "${with_intel_soft_cpm_libraries+set}" = set; then
withval=$with_intel_soft_cpm_libraries; with_intel_soft_cpm_libraries="$withval"
else
with_intel_soft_cpm_libraries="no"
@@ -15698,9 +23415,319 @@
CPPFLAGS="${CPPFLAGS} -DINTEL_SOFT_CPM"
fi
+# Check whether --enable-shared_rep was given.
+if test "${enable_shared_rep+set}" = set; then
+ enableval=$enable_shared_rep; enable_shared_rep="$enableval"
+else
+ enable_shared_rep="no"
+fi
+
+
+if test "x$enable_shared_rep" = "xyes"; then
+ if test "x$linux" = "xyes"; then
+ CPPFLAGS="${CPPFLAGS} -DSHARED_REP"
+ LIBS="$LIBS -lrt"
+ else
+ echo "WARNING: shared reputation is only available on linux."
+ enable_shared_rep="no"
+ fi
+fi
+
+ if test "x$enable_shared_rep" = "xyes"; then
+ HAVE_SHARED_REP_TRUE=
+ HAVE_SHARED_REP_FALSE='#'
+else
+ HAVE_SHARED_REP_TRUE='#'
+ HAVE_SHARED_REP_FALSE=
+fi
+
+
+# Check whether --enable-rzb-saac was given.
+if test "${enable_rzb_saac+set}" = set; then
+ enableval=$enable_rzb_saac; enable_rzb_saac="$enableval"
+else
+ enable_rzb_saac="no"
+fi
+
+
+
+# Check whether --with-librzb_api was given.
+if test "${with_librzb_api+set}" = set; then
+ withval=$with_librzb_api; with_librzb_api="$withval"
+else
+ with_librzb_api="no"
+fi
+
+
+if test "x$with_librzb_api" = "xno"; then
+ export PKG_CONFIG_PATH=$prefix/lib/pkgconfig:$PKG_CONFIG_PATH
+else
+ export PKG_CONFIG_PATH=$with_librzb_api/lib/pkgconfig:$PKG_CONFIG_PATH
+fi
+
+if test "x$enable_rzb_saac" = "xyes"; then
+ # 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:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$PKG_CONFIG"; then
+ ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_PKG_CONFIG="yes"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ if test "x$PKG_CONFIG" != "xyes"; then
+ echo
+ echo
+ echo " ERROR! pkg-config not found, go get it from"
+ echo " http://freedesktop.org"
+ exit
+ fi
+
+
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ case $PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_PKG_CONFIG"; then
+ ac_pt_PKG_CONFIG=$PKG_CONFIG
+ # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
+if test -n "$ac_pt_PKG_CONFIG"; then
+ { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_PKG_CONFIG" = x; then
+ PKG_CONFIG=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:$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;}
+ac_tool_warned=yes ;;
+esac
+ PKG_CONFIG=$ac_pt_PKG_CONFIG
+ fi
+else
+ PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+fi
+
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=0.9.0
+ { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+ PKG_CONFIG=""
+ fi
+
+fi
+
+pkg_failed=no
+{ $as_echo "$as_me:$LINENO: checking for RAZORBACK" >&5
+$as_echo_n "checking for RAZORBACK... " >&6; }
+
+if test -n "$RAZORBACK_CFLAGS"; then
+ pkg_cv_RAZORBACK_CFLAGS="$RAZORBACK_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"razorback >= 0.1.3\"") >&5
+ ($PKG_CONFIG --exists --print-errors "razorback >= 0.1.3") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ pkg_cv_RAZORBACK_CFLAGS=`$PKG_CONFIG --cflags "razorback >= 0.1.3" 2>/dev/null`
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$RAZORBACK_LIBS"; then
+ pkg_cv_RAZORBACK_LIBS="$RAZORBACK_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"razorback >= 0.1.3\"") >&5
+ ($PKG_CONFIG --exists --print-errors "razorback >= 0.1.3") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ pkg_cv_RAZORBACK_LIBS=`$PKG_CONFIG --libs "razorback >= 0.1.3" 2>/dev/null`
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ RAZORBACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "razorback >= 0.1.3" 2>&1`
+ else
+ RAZORBACK_PKG_ERRORS=`$PKG_CONFIG --print-errors "razorback >= 0.1.3" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$RAZORBACK_PKG_ERRORS" >&5
+
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+ LRZB=no
+elif test $pkg_failed = untried; then
+ LRZB=no
+else
+ RAZORBACK_CFLAGS=$pkg_cv_RAZORBACK_CFLAGS
+ RAZORBACK_LIBS=$pkg_cv_RAZORBACK_LIBS
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
+$as_echo "yes" >&6; }
+ :
+fi
+ if test "x$LRZB" = "xno"; then
+ echo
+ echo " ERROR! razorback_api library not found, go get it from"
+ echo " http://sourceforge.net/projects/razorbacktm/"
+ exit
+ fi
+fi
+
+ if test x$enable_rzb_saac = xyes; then
+ WANT_SF_SAAC_TRUE=
+ WANT_SF_SAAC_FALSE='#'
+else
+ WANT_SF_SAAC_TRUE='#'
+ WANT_SF_SAAC_FALSE=
+fi
+
+
+# Check whether --enable-large-pcap was given.
+if test "${enable_large_pcap+set}" = set; then
+ enableval=$enable_large_pcap; enable_large_pcap="$enableval"
+else
+ enable_large_pcap="no"
+fi
+
+
+if test "x$enable_large_pcap" = "xyes"; then
+ CPPFLAGS="${CPPFLAGS} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
+fi
+
# let's make some fixes..
+CFLAGS="${CFLAGS} ${CCONFIGFLAGS}"
CFLAGS=`echo $CFLAGS | sed -e 's/-I\/usr\/include //g'`
+CPPFLAGS="${CPPFLAGS} ${CONFIGFLAGS}"
CPPFLAGS=`echo $CPPFLAGS | sed -e 's/-I\/usr\/include //g'`
if test "x$GCC" = "xyes" ; then
@@ -15711,19 +23738,21 @@
fi
if test "x$linux" = "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linuxthreads" >&5
+ { $as_echo "$as_me:$LINENO: checking for linuxthreads" >&5
$as_echo_n "checking for linuxthreads... " >&6; }
tstr=`getconf GNU_LIBPTHREAD_VERSION 2>&1`
if test $? = 0; then # GNU_LIBPTHREAD_VERSION is a valid system variable
echo $tstr | grep -i linuxthreads > /dev/null 2>&1
if test $? = 0; then
-$as_echo "#define HAVE_LINUXTHREADS 1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LINUXTHREADS 1
+_ACEOF
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
else
@@ -15731,19 +23760,21 @@
$( ldd `which --skip-alias ls` | grep libc.so | awk '{print $3}' ) | grep -i linuxthreads > /dev/null 2>&1
if test $? = 0; then
-$as_echo "#define HAVE_LINUXTHREADS 1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LINUXTHREADS 1
+_ACEOF
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
fi
fi
if test "$LEX" != "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yylex_destroy support" >&5
+ { $as_echo "$as_me:$LINENO: checking for yylex_destroy support" >&5
$as_echo_n "checking for yylex_destroy support... " >&6; }
version=`$LEX --version | awk '{print $3}'`
@@ -15777,13 +23808,15 @@
fi
if test "x$have_yylex_destroy" = "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
-$as_echo "#define HAVE_YYLEX_DESTROY 1" >>confdefs.h
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_YYLEX_DESTROY 1
+_ACEOF
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
fi
@@ -15792,29 +23825,124 @@
if test "x$NO_OPTIMIZE" = "xyes"; then
CFLAGS=`echo $CFLAGS | sed -e "s/-O./-O0/"`
- # in case user override doesn't include -O
- if echo $CFLAGS | grep -qve -O0 ; then
- CFLAGS="$CFLAGS -O0"
- fi
-fi
+ # in case user override doesn't include -O
+ if echo $CFLAGS | grep -qve -O0 ; then
+ CFLAGS="$CFLAGS -O0"
+ fi
+fi
+
+if test "x$ADD_WERROR" = "xyes"; then
+ CFLAGS="$CFLAGS -Werror"
+fi
+
+if test -n "$GCC"; then
+ CFLAGS="$CFLAGS -Wall"
+fi
+
+echo $CFLAGS > cflags.out
+echo $CPPFLAGS > cppflags.out
+
+INCLUDES='-I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/sfutil $(extra_incl) -I$(top_srcdir)/src/output-plugins -I$(top_srcdir)/src/detection-plugins -I$(top_srcdir)/src/dynamic-plugins -I$(top_srcdir)/src/preprocessors -I$(top_srcdir)/src/preprocessors/portscan -I$(top_srcdir)/src/preprocessors/HttpInspect/include -I$(top_srcdir)/src/preprocessors/Stream5 -I$(top_srcdir)/src/target-based -I$(top_srcdir)/src/control'
+
+
+
+
+
+
+# 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
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# 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:$LINENO: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
+if test -z "$INSTALL"; then
+if test "${ac_cv_path_install+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ 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/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$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
+ # 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
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ rm -rf conftest.one conftest.two conftest.dir
+ 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" &&
+ 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"
+ break 3
+ fi
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+
+done
+IFS=$as_save_IFS
+
+rm -rf conftest.one conftest.two conftest.dir
-if test "x$ADD_WERROR" = "xyes"; then
- CFLAGS="$CFLAGS -Werror"
fi
-
-if test -n "$GCC"; then
- CFLAGS="$CFLAGS -Wall"
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
fi
+{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
-echo $CFLAGS > cflags.out
-echo $CPPFLAGS > cppflags.out
-
-INCLUDES='-I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/sfutil $(extra_incl) -I$(top_srcdir)/src/output-plugins -I$(top_srcdir)/src/detection-plugins -I$(top_srcdir)/src/dynamic-plugins -I$(top_srcdir)/src/preprocessors -I$(top_srcdir)/src/preprocessors/portscan -I$(top_srcdir)/src/preprocessors/HttpInspect/include -I$(top_srcdir)/src/preprocessors/Stream5 -I$(top_srcdir)/src/target-based'
-
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-ac_config_files="$ac_config_files snort.pc Makefile src/Makefile src/sfutil/Makefile src/detection-plugins/Makefile src/dynamic-examples/Makefile src/dynamic-examples/dynamic-preprocessor/Makefile src/dynamic-examples/dynamic-rule/Makefile src/dynamic-plugins/Makefile src/dynamic-plugins/sf_engine/Makefile src/dynamic-plugins/sf_engine/examples/Makefile src/dynamic-plugins/sf_preproc_example/Makefile src/dynamic-preprocessors/Makefile src/dynamic-preprocessors/libs/Makefile src/dynamic-preprocessors/ftptelnet/Makefile src/dynamic-preprocessors/smtp/Makefile src/dynamic-preprocessors/ssh/Makefile src/dynamic-preprocessors/dcerpc2/Makefile src/dynamic-preprocessors/sdf/Makefile src/dynamic-preprocessors/dns/Makefile src/dynamic-preprocessors/ssl/Makefile src/output-plugins/Makefile src/preprocessors/Makefile src/preprocessors/HttpInspect/Makefile src/preprocessors/HttpInspect/include/Makefile src/preprocessors/HttpInspect/utils/Makefile src/preprocessors/HttpInspect/anomaly_detection/Makefile src/preprocessors/HttpInspect/client/Makefile src/preprocessors/HttpInspect/event_output/Makefile src/preprocessors/HttpInspect/mode_inspection/Makefile src/preprocessors/HttpInspect/normalization/Makefile src/preprocessors/HttpInspect/server/Makefile src/preprocessors/HttpInspect/session_inspection/Makefile src/preprocessors/HttpInspect/user_interface/Makefile src/preprocessors/Stream5/Makefile src/parser/Makefile src/target-based/Makefile doc/Makefile contrib/Makefile schemas/Makefile rpm/Makefile preproc_rules/Makefile m4/Makefile etc/Makefile templates/Makefile tools/Makefile tools/u2boat/Makefile tools/u2spewfoo/Makefile src/win32/Makefile"
+ac_config_files="$ac_config_files snort.pc Makefile src/Makefile src/sfutil/Makefile src/control/Makefile src/detection-plugins/Makefile src/dynamic-examples/Makefile src/dynamic-examples/dynamic-preprocessor/Makefile src/dynamic-examples/dynamic-rule/Makefile src/dynamic-plugins/Makefile src/dynamic-plugins/sf_engine/Makefile src/dynamic-plugins/sf_engine/examples/Makefile src/dynamic-plugins/sf_preproc_example/Makefile src/dynamic-preprocessors/Makefile src/dynamic-preprocessors/libs/Makefile src/dynamic-preprocessors/libs/snort_preproc.pc src/dynamic-preprocessors/ftptelnet/Makefile src/dynamic-preprocessors/smtp/Makefile src/dynamic-preprocessors/ssh/Makefile src/dynamic-preprocessors/sip/Makefile src/dynamic-preprocessors/reputation/Makefile src/dynamic-preprocessors/gtp/Makefile src/dynamic-preprocessors/dcerpc2/Makefile src/dynamic-preprocessors/pop/Makefile src/dynamic-preprocessors/imap/Makefile src/dynamic-preprocessors/sdf/Makefile src/dynamic-preprocessors/dns/Makefile src/dynamic-preprocessors/ssl/Makefile src/dynamic-preprocessors/modbus/Makefile src/dynamic-preprocessors/dnp3/Makefile src/dynamic-preprocessors/rzb_saac/Makefile src/output-plugins/Makefile src/preprocessors/Makefile src/preprocessors/HttpInspect/Makefile src/preprocessors/HttpInspect/include/Makefile src/preprocessors/HttpInspect/utils/Makefile src/preprocessors/HttpInspect/anomaly_detection/Makefile src/preprocessors/HttpInspect/client/Makefile src/preprocessors/HttpInspect/event_output/Makefile src/preprocessors/HttpInspect/mode_inspection/Makefile src/preprocessors/HttpInspect/normalization/Makefile src/preprocessors/HttpInspect/server/Makefile src/preprocessors/HttpInspect/session_inspection/Makefile src/preprocessors/HttpInspect/user_interface/Makefile src/preprocessors/Stream5/Makefile src/parser/Makefile src/target-based/Makefile doc/Makefile contrib/Makefile rpm/Makefile preproc_rules/Makefile m4/Makefile etc/Makefile schemas/Makefile templates/Makefile tools/Makefile tools/control/Makefile tools/u2boat/Makefile tools/u2spewfoo/Makefile src/win32/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -15843,13 +23971,13 @@
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
+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
esac
case $ac_var in #(
_ | IFS | as_nl) ;; #(
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
+ *) $as_unset $ac_var ;;
esac ;;
esac
done
@@ -15857,8 +23985,8 @@
(set) 2>&1 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
*${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
+ # `set' does not quote correctly, so add quotes (double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
sed -n \
"s/'/'\\\\''/g;
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
@@ -15881,11 +24009,11 @@
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
if test -w "$cache_file"; then
test "x$cache_file" != "x/dev/null" &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+ { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
$as_echo "$as_me: updating cache $cache_file" >&6;}
cat confcache >$cache_file
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+ { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
fi
fi
@@ -15899,15 +24027,14 @@
ac_libobjs=
ac_ltlibobjs=
-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"`
# 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"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
done
LIBOBJS=$ac_libobjs
@@ -15923,75 +24050,147 @@
fi
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
- as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
if test -z "${BUILD_SNPRINTF_TRUE}" && test -z "${BUILD_SNPRINTF_FALSE}"; then
- as_fn_error $? "conditional \"BUILD_SNPRINTF\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SNPRINTF\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"BUILD_SNPRINTF\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
if test -z "${HAVE_DYNAMIC_PLUGINS_TRUE}" && test -z "${HAVE_DYNAMIC_PLUGINS_FALSE}"; then
- as_fn_error $? "conditional \"HAVE_DYNAMIC_PLUGINS\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DYNAMIC_PLUGINS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"HAVE_DYNAMIC_PLUGINS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${SO_WITH_STATIC_LIB_TRUE}" && test -z "${SO_WITH_STATIC_LIB_FALSE}"; then
+ { { $as_echo "$as_me:$LINENO: error: conditional \"SO_WITH_STATIC_LIB\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"SO_WITH_STATIC_LIB\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${BUILD_CONTROL_SOCKET_TRUE}" && test -z "${BUILD_CONTROL_SOCKET_FALSE}"; then
+ { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_CONTROL_SOCKET\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"BUILD_CONTROL_SOCKET\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
if test -z "${BUILD_DYNAMIC_EXAMPLES_TRUE}" && test -z "${BUILD_DYNAMIC_EXAMPLES_FALSE}"; then
- as_fn_error $? "conditional \"BUILD_DYNAMIC_EXAMPLES\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_DYNAMIC_EXAMPLES\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"BUILD_DYNAMIC_EXAMPLES\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
if test -z "${HAVE_SUP_IP6_TRUE}" && test -z "${HAVE_SUP_IP6_FALSE}"; then
- as_fn_error $? "conditional \"HAVE_SUP_IP6\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SUP_IP6\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"HAVE_SUP_IP6\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
- as_fn_error $? "conditional \"HAVE_ZLIB\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_ZLIB\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"HAVE_ZLIB\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
if test -z "${HAVE_TARGET_BASED_TRUE}" && test -z "${HAVE_TARGET_BASED_FALSE}"; then
- as_fn_error $? "conditional \"HAVE_TARGET_BASED\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_TARGET_BASED\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"HAVE_TARGET_BASED\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
if test -z "${BUILD_PROCPIDSTATS_TRUE}" && test -z "${BUILD_PROCPIDSTATS_FALSE}"; then
- as_fn_error $? "conditional \"BUILD_PROCPIDSTATS\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PROCPIDSTATS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"BUILD_PROCPIDSTATS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
if test -z "${BUILD_PRELUDE_TRUE}" && test -z "${BUILD_PRELUDE_FALSE}"; then
- as_fn_error $? "conditional \"BUILD_PRELUDE\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PRELUDE\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"BUILD_PRELUDE\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
if test -z "${BUILD_REACT_TRUE}" && test -z "${BUILD_REACT_FALSE}"; then
- as_fn_error $? "conditional \"BUILD_REACT\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_REACT\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"BUILD_REACT\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
if test -z "${BUILD_RESPOND3_TRUE}" && test -z "${BUILD_RESPOND3_FALSE}"; then
- as_fn_error $? "conditional \"BUILD_RESPOND3\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_RESPOND3\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"BUILD_RESPOND3\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
if test -z "${HAVE_INTEL_SOFT_CPM_TRUE}" && test -z "${HAVE_INTEL_SOFT_CPM_FALSE}"; then
- as_fn_error $? "conditional \"HAVE_INTEL_SOFT_CPM\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_INTEL_SOFT_CPM\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"HAVE_INTEL_SOFT_CPM\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${HAVE_SHARED_REP_TRUE}" && test -z "${HAVE_SHARED_REP_FALSE}"; then
+ { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SHARED_REP\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"HAVE_SHARED_REP\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${WANT_SF_SAAC_TRUE}" && test -z "${WANT_SF_SAAC_FALSE}"; then
+ { { $as_echo "$as_me:$LINENO: error: conditional \"WANT_SF_SAAC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"WANT_SF_SAAC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
fi
: ${CONFIG_STATUS=./config.status}
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:$LINENO: creating $CONFIG_STATUS" >&5
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
#! $SHELL
# Generated by $as_me.
# Run this file to recreate the current configuration.
@@ -16001,18 +24200,17 @@
debug=false
ac_cs_recheck=false
ac_cs_silent=false
-
SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+## --------------------- ##
+## M4sh Initialization. ##
+## --------------------- ##
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -16020,15 +24218,23 @@
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
+ case `(set -o) 2>/dev/null` in
+ *posix*) set -o posix ;;
esac
+
fi
+
+
+# PATH needs CR
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
as_nl='
'
export as_nl
@@ -16036,13 +24242,7 @@
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
+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
as_echo='printf %s\n'
as_echo_n='printf %s'
else
@@ -16053,7 +24253,7 @@
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
as_echo_n_body='eval
arg=$1;
- case $arg in #(
+ case $arg in
*"$as_nl"*)
expr "X$arg" : "X\\(.*\\)$as_nl";
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -16076,6 +24276,13 @@
}
fi
+# Support unset when possible.
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ as_unset=unset
+else
+ as_unset=false
+fi
+
# IFS
# We need space, tab and new line, in precisely that order. Quoting is
@@ -16085,15 +24292,15 @@
IFS=" "" $as_nl"
# Find who we are. Look in the path if we contain no directory separator.
-case $0 in #((
+case $0 in
*[\\/]* ) as_myself=$0 ;;
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
- done
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+done
IFS=$as_save_IFS
;;
@@ -16105,16 +24312,12 @@
fi
if test ! -f "$as_myself"; then
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
+ { (exit 1); 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 || :
+# Work around bugs in pre-3.0 UWIN ksh.
+for as_var in ENV MAIL MAILPATH
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
PS1='$ '
PS2='> '
@@ -16126,89 +24329,7 @@
LANGUAGE=C
export LANGUAGE
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-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
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-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 :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# 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 :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
+# Required to use basename.
if expr a : '\(a\)' >/dev/null 2>&1 &&
test "X`expr 00001 : '.*\(...\)'`" = X001; then
as_expr=expr
@@ -16222,12 +24343,8 @@
as_basename=false
fi
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
+# Name of the executable.
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
@@ -16247,25 +24364,76 @@
}
s/.*/./; q'`
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
+# CDPATH.
+$as_unset CDPATH
+
+
+
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
+
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+ # uniformly replaced by the line number. The first 'sed' inserts a
+ # line-number line after each line using $LINENO; the second 'sed'
+ # does the real work. The second script uses 'N' to pair each
+ # line-number line with the line containing $LINENO, and appends
+ # trailing '-' during substitution so that $LINENO is not a special
+ # case at line end.
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
+ # E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ 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
+ { (exit 1); exit 1; }; }
+
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
+case `echo -n x` in
-n*)
- case `echo 'xy\c'` in
+ case `echo 'x\c'` in
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
+ *) ECHO_C='\c';;
esac;;
*)
ECHO_N='-n';;
esac
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
@@ -16294,56 +24462,8 @@
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$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" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
+ as_mkdir_p=:
else
test -d ./-p && rmdir ./-p
as_mkdir_p=false
@@ -16362,10 +24482,10 @@
if test -d "$1"; then
test -d "$1/.";
else
- case $1 in #(
+ case $1 in
-*)set "./$1";;
esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
???[sx]*):;;*)false;;esac;fi
'\'' sh
'
@@ -16380,19 +24500,13 @@
exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
+# Save the log message, to keep $[0] and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by $as_me, which was
-generated by GNU Autoconf 2.67. Invocation command line was
+generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
@@ -16424,15 +24538,13 @@
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
+\`$as_me' instantiates files from templates according to the
+current configuration.
-Usage: $0 [OPTION]... [TAG]...
+Usage: $0 [OPTION]... [FILE]...
-h, --help print this help, then exit
-V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
-q, --quiet, --silent
do not print progress messages
-d, --debug don't remove temporary files
@@ -16451,17 +24563,16 @@
Configuration commands:
$config_commands
-Report bugs to the package provider."
+Report bugs to ."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
config.status
-configured by $0, generated by GNU Autoconf 2.67,
- with options \\"\$ac_cs_config\\"
+configured by $0, generated by GNU Autoconf 2.63,
+ with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-Copyright (C) 2010 Free Software Foundation, Inc.
+Copyright (C) 2008 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
@@ -16479,16 +24590,11 @@
while test $# != 0
do
case $1 in
- --*=?*)
+ --*=*)
ac_option=`expr "X$1" : 'X\([^=]*\)='`
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
ac_shift=:
;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
*)
ac_option=$1
ac_optarg=$2
@@ -16502,29 +24608,27 @@
ac_cs_recheck=: ;;
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
$as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$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"` ;;
- '') as_fn_error $? "missing file argument" ;;
esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
+ CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
ac_need_defaults=false;;
--header | --heade | --head | --hea )
$ac_shift
case $ac_optarg in
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
- as_fn_append CONFIG_HEADERS " '$ac_optarg'"
+ CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
ac_need_defaults=false;;
--he | --h)
# Conflict between --help and --header
- as_fn_error $? "ambiguous option: \`$1'
-Try \`$0 --help' for more information.";;
+ { $as_echo "$as_me: error: ambiguous option: $1
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; };;
--help | --hel | -h )
$as_echo "$ac_cs_usage"; exit ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
@@ -16532,10 +24636,11 @@
ac_cs_silent=: ;;
# This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
+ -*) { $as_echo "$as_me: error: unrecognized option: $1
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; } ;;
- *) as_fn_append ac_config_targets " $1"
+ *) ac_config_targets="$ac_config_targets $1"
ac_need_defaults=false ;;
esac
@@ -16848,6 +24953,7 @@
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
"src/sfutil/Makefile") CONFIG_FILES="$CONFIG_FILES src/sfutil/Makefile" ;;
+ "src/control/Makefile") CONFIG_FILES="$CONFIG_FILES src/control/Makefile" ;;
"src/detection-plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/detection-plugins/Makefile" ;;
"src/dynamic-examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-examples/Makefile" ;;
"src/dynamic-examples/dynamic-preprocessor/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-examples/dynamic-preprocessor/Makefile" ;;
@@ -16858,13 +24964,22 @@
"src/dynamic-plugins/sf_preproc_example/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-plugins/sf_preproc_example/Makefile" ;;
"src/dynamic-preprocessors/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/Makefile" ;;
"src/dynamic-preprocessors/libs/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/libs/Makefile" ;;
+ "src/dynamic-preprocessors/libs/snort_preproc.pc") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/libs/snort_preproc.pc" ;;
"src/dynamic-preprocessors/ftptelnet/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/ftptelnet/Makefile" ;;
"src/dynamic-preprocessors/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/smtp/Makefile" ;;
"src/dynamic-preprocessors/ssh/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/ssh/Makefile" ;;
+ "src/dynamic-preprocessors/sip/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/sip/Makefile" ;;
+ "src/dynamic-preprocessors/reputation/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/reputation/Makefile" ;;
+ "src/dynamic-preprocessors/gtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/gtp/Makefile" ;;
"src/dynamic-preprocessors/dcerpc2/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/dcerpc2/Makefile" ;;
+ "src/dynamic-preprocessors/pop/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/pop/Makefile" ;;
+ "src/dynamic-preprocessors/imap/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/imap/Makefile" ;;
"src/dynamic-preprocessors/sdf/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/sdf/Makefile" ;;
"src/dynamic-preprocessors/dns/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/dns/Makefile" ;;
"src/dynamic-preprocessors/ssl/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/ssl/Makefile" ;;
+ "src/dynamic-preprocessors/modbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/modbus/Makefile" ;;
+ "src/dynamic-preprocessors/dnp3/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/dnp3/Makefile" ;;
+ "src/dynamic-preprocessors/rzb_saac/Makefile") CONFIG_FILES="$CONFIG_FILES src/dynamic-preprocessors/rzb_saac/Makefile" ;;
"src/output-plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/output-plugins/Makefile" ;;
"src/preprocessors/Makefile") CONFIG_FILES="$CONFIG_FILES src/preprocessors/Makefile" ;;
"src/preprocessors/HttpInspect/Makefile") CONFIG_FILES="$CONFIG_FILES src/preprocessors/HttpInspect/Makefile" ;;
@@ -16883,18 +24998,21 @@
"src/target-based/Makefile") CONFIG_FILES="$CONFIG_FILES src/target-based/Makefile" ;;
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
- "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
"rpm/Makefile") CONFIG_FILES="$CONFIG_FILES rpm/Makefile" ;;
"preproc_rules/Makefile") CONFIG_FILES="$CONFIG_FILES preproc_rules/Makefile" ;;
"m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
+ "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
"templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
+ "tools/control/Makefile") CONFIG_FILES="$CONFIG_FILES tools/control/Makefile" ;;
"tools/u2boat/Makefile") CONFIG_FILES="$CONFIG_FILES tools/u2boat/Makefile" ;;
"tools/u2spewfoo/Makefile") CONFIG_FILES="$CONFIG_FILES tools/u2spewfoo/Makefile" ;;
"src/win32/Makefile") CONFIG_FILES="$CONFIG_FILES src/win32/Makefile" ;;
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
+ *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
+$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
+ { (exit 1); exit 1; }; };;
esac
done
@@ -16921,7 +25039,7 @@
trap 'exit_status=$?
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
' 0
- trap 'as_fn_exit 1' 1 2 13 15
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
}
# Create a (secure) tmp directory for tmp files.
@@ -16932,7 +25050,11 @@
{
tmp=./conf$$-$RANDOM
(umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+} ||
+{
+ $as_echo "$as_me: cannot create a temporary directory in ." >&2
+ { (exit 1); exit 1; }
+}
# Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES.
@@ -16940,13 +25062,7 @@
if test -n "$CONFIG_FILES"; then
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
+ac_cr='
'
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
ac_cs_awk_cr='\\r'
@@ -16963,18 +25079,24 @@
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
echo "_ACEOF"
} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+ { (exit 1); exit 1; }; }
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
. ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+ { (exit 1); exit 1; }; }
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
if test $ac_delim_n = $ac_delim_num; then
break
elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+ { (exit 1); exit 1; }; }
else
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
fi
@@ -16996,7 +25118,7 @@
t delim
:nl
h
-s/\(.\{148\}\)..*/\1/
+s/\(.\{148\}\).*/\1/
t more1
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
p
@@ -17010,7 +25132,7 @@
t nl
:delim
h
-s/\(.\{148\}\)..*/\1/
+s/\(.\{148\}\).*/\1/
t more2
s/["\\]/\\&/g; s/^/"/; s/$/"/
p
@@ -17063,28 +25185,22 @@
else
cat
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+ || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
+$as_echo "$as_me: error: could not setup config files machinery" >&2;}
+ { (exit 1); exit 1; }; }
_ACEOF
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
+s/:*\$(srcdir):*/:/
+s/:*\${srcdir}:*/:/
+s/:*@srcdir@:*/:/
+s/^\([^=]*=[ ]*\):*/\1/
s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
s/^[^=]*=[ ]*$//
}'
fi
@@ -17112,7 +25228,9 @@
if test -z "$ac_t"; then
break
elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
+$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
+ { (exit 1); exit 1; }; }
else
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
fi
@@ -17197,7 +25315,9 @@
_ACAWK
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
+$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
+ { (exit 1); exit 1; }; }
fi # test -n "$CONFIG_HEADERS"
@@ -17210,7 +25330,9 @@
esac
case $ac_mode$ac_tag in
:[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
+ :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
+$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
+ { (exit 1); exit 1; }; };;
:[FH]-) ac_tag=-:-;;
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
esac
@@ -17238,10 +25360,12 @@
[\\/$]*) false;;
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
+ { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
+$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
+ { (exit 1); exit 1; }; };;
esac
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
+ ac_file_inputs="$ac_file_inputs '$ac_f'"
done
# Let's still pretend it is `configure' which instantiates (i.e., don't
@@ -17252,7 +25376,7 @@
`' 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:$LINENO: creating $ac_file" >&5
$as_echo "$as_me: creating $ac_file" >&6;}
fi
# Neutralize special characters interpreted by sed in replacement strings.
@@ -17265,7 +25389,9 @@
case $ac_tag in
*:-:* | *:-) cat >"$tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
+ { (exit 1); exit 1; }; } ;;
esac
;;
esac
@@ -17293,7 +25419,47 @@
q
}
s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
+ { as_dir="$ac_dir"
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$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" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
+$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
+ { (exit 1); exit 1; }; }; }
ac_builddir=.
case "$ac_dir" in
@@ -17350,6 +25516,7 @@
# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=
+
ac_sed_dataroot='
/datarootdir/ {
p
@@ -17359,11 +25526,12 @@
/@docdir@/p
/@infodir@/p
/@localedir@/p
-/@mandir@/p'
+/@mandir@/p
+'
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:$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;}
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
@@ -17373,7 +25541,7 @@
s&@infodir@&$infodir&g
s&@localedir@&$localedir&g
s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
+ s&\\\${datarootdir}&$datarootdir&g' ;;
esac
_ACEOF
@@ -17402,22 +25570,26 @@
$ac_datarootdir_hack
"
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
+ { (exit 1); exit 1; }; }
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$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:$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'
-which seems to be undefined. Please make sure it is defined" >&2;}
+which seems to be undefined. Please make sure it is defined." >&2;}
rm -f "$tmp/stdin"
case $ac_file in
-) cat "$tmp/out" && rm -f "$tmp/out";;
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
+ { (exit 1); exit 1; }; }
;;
:H)
#
@@ -17428,19 +25600,25 @@
$as_echo "/* $configure_input */" \
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
} >"$tmp/config.h" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
+ { (exit 1); exit 1; }; }
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
+ { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
$as_echo "$as_me: $ac_file is unchanged" >&6;}
else
rm -f "$ac_file"
mv "$tmp/config.h" "$ac_file" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
+$as_echo "$as_me: error: could not create $ac_file" >&2;}
+ { (exit 1); exit 1; }; }
fi
else
$as_echo "/* $configure_input */" \
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
- || as_fn_error $? "could not create -" "$LINENO" 5
+ || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
+$as_echo "$as_me: error: could not create -" >&2;}
+ { (exit 1); exit 1; }; }
fi
# Compute "$ac_file"'s index in $config_headers.
_am_arg="$ac_file"
@@ -17478,7 +25656,7 @@
s/.*/./; q'`/stamp-h$_am_stamp_count
;;
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
+ :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
$as_echo "$as_me: executing $ac_file commands" >&6;}
;;
esac
@@ -17573,7 +25751,47 @@
q
}
s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
+ { as_dir=$dirpart/$fdir
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$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" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
+$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
+ { (exit 1); exit 1; }; }; }
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
@@ -18220,12 +26438,15 @@
done # for ac_tag
-as_fn_exit 0
+{ (exit 0); exit 0; }
_ACEOF
+chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save
test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+ { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
+ { (exit 1); exit 1; }; }
# configure is writing to config.log, and then calls config.status.
@@ -18246,10 +26467,10 @@
exec 5>>config.log
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
# would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
+ $ac_cs_success || { (exit 1); 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:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
@@ -18276,3 +26497,25 @@
EOF
fi
+
+if test "x$configuring_database" = "xyes"; then
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ echo "!! WARNING: Database output plugins are deprecated as of Snort 2.9.2 and will be"
+ echo "!! removed in Snort 2.9.3. The recommended approach to logging is to"
+ echo "!! use unified2 with barnyard2 or similar."
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+fi
+
+if test "x$enable_aruba" = "xyes"; then
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ echo "!! WARNING: Arubu output plugin is deprecated as of Snort 2.9.2 and will be"
+ echo "!! removed in Snort 2.9.3."
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+fi
+
+if test "x$enable_prelude" = "xyes"; then
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ echo "!! WARNING: Prelude output plugin is deprecated as of Snort 2.9.2 and will be"
+ echo "!! removed in Snort 2.9.3."
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+fi
diff -Nru snort-2.9.0.1/configure.in snort-2.9.2/configure.in
--- snort-2.9.0.1/configure.in 2011-12-28 14:36:52.000000000 -0800
+++ snort-2.9.2/configure.in 2011-12-07 10:33:49.000000000 -0800
@@ -1,4 +1,4 @@
-# $Id$
+# $Id$
AC_INIT
AC_CONFIG_SRCDIR([src/snort.c])
AC_PREREQ(2.50)
@@ -6,7 +6,7 @@
AM_CONFIG_HEADER(config.h)
# When changing the snort version, please also update the VERSION
# definition in "src/win32/WIN32-Includes/config.h"
-AM_INIT_AUTOMAKE(snort,2.9.0.1)
+AM_INIT_AUTOMAKE(snort,2.9.2)
NO_OPTIMIZE="no"
ADD_WERROR="no"
@@ -26,19 +26,23 @@
AC_PROG_LIBTOOL
AC_PROG_RANLIB
AC_C_BIGENDIAN
+AC_C_INLINE
#AC_CANONICAL_HOST
linux="no"
sunos4="no"
+so_with_static_lib="yes"
case "$host" in
*-openbsd2.6|*-openbsd2.5|*-openbsd2.4|*-openbsd2.3*)
AC_DEFINE([OPENBSD],[1],[Define if OpenBSD])
AC_DEFINE([BROKEN_SIOCGIFMTU],[1],[Define if BROKEN_SIOCGIFMTU])
+ so_with_static_lib="no"
;;
*-openbsd*)
AC_DEFINE([OPENBSD],[1],[Define if OpenBSD < 2.3])
+ so_with_static_lib="no"
;;
*-sgi-irix5*)
@@ -63,7 +67,7 @@
;;
*-solaris*)
AC_DEFINE([SOLARIS],[1],[Define if Solaris])
- CPPFLAGS="${CPPFLAGS} -DBSD_COMP -D_REENTRANT"
+ CONFIGFLAGS="${CONFIGFLAGS} -DBSD_COMP -D_REENTRANT"
rt_nanosleep="yes"
;;
*-sunos*)
@@ -82,10 +86,8 @@
AC_SUBST(extra_incl)
extra_incl="-I/usr/local/include"
;;
-
*-freebsd*)
AC_DEFINE([FREEBSD],[1],[Define if FreeBSD])
-
;;
*-bsdi*)
AC_DEFINE([BSDI],[1],[Define if BSDi])
@@ -95,14 +97,17 @@
;;
*-osf4*)
AC_DEFINE([OSF1],[1],[Define if OSF-4])
+ CONFIGFLAGS="${CONFIGFLAGS} -DOSF1"
;;
*-osf5.1*)
AC_DEFINE([OSF1],[1],[Define if OSF-5.1])
+ CONFIGFLAGS="${CONFIGFLAGS} -DOSF1"
;;
*-tru64*)
AC_DEFINE([OSF1],[1],[Define if Tru64])
+ CONFIGFLAGS="${CONFIGFLAGS} -DOSF1"
;;
-# it is actually -apple-darwin1.2 or -apple-rhapsody5.x but lets stick with this for the moment
+# it is actually -apple-darwin1.2 or -apple-rhapsody5.x but lets stick with this for the moment
*-apple*)
AC_DEFINE([MACOS],[1],[Define if MacOS])
AC_DEFINE([BROKEN_SIOCGIFMTU],[1],[Define if broken SIOCGIFMTU])
@@ -110,6 +115,8 @@
extra_incl="-I/sw/include"
esac
+AC_HEADER_STDBOOL
+
# ICC stuff
ICC=no
if eval "echo $CC | grep icc > /dev/null" ; then
@@ -154,10 +161,26 @@
#
dnl checking headers
-AC_CHECK_HEADERS([strings.h string.h stdlib.h unistd.h sys/sockio.h paths.h inttypes.h wchar.h math.h])
+AC_CHECK_HEADERS([ \
+ inttypes.h \
+ math.h \
+ paths.h \
+ stdlib.h \
+ string.h \
+ strings.h \
+ unistd.h \
+ wchar.h \
+ sys/sockio.h \
+])
+
+if test "x$ac_cv_header_wchar_h" = "xyes"; then
+ CONFIGFLAGS="${CONFIGFLAGS} -DSF_WCHAR"
+fi
AC_CHECK_LIB([m],[floor])
AC_CHECK_LIB([m],[ceil])
+AC_CHECK_HEADERS(uuid/uuid.h, [AC_CHECK_LIB(uuid,uuid_parse)])
+
if test "x$rt_nanosleep" = "xyes"; then
AC_CHECK_LIB([rt],[nanosleep])
fi
@@ -202,7 +225,7 @@
#include
]], [[char *(*pfn); pfn = (char *(*)) $1;]])],[eval "sn_cv_decl_needed_$1=no"],[eval "sn_cv_decl_needed_$1=yes"]) ])
-if eval "test \"`echo '$sn_cv_decl_needed_'$1`\" != no"; then
+if eval "test \"`echo '$sn_cv_decl_needed_'$1`\" != no"; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
@@ -230,13 +253,13 @@
# you will see also #undef for each SN_CHECK_DECLS macros invocation
# because autoheader doesn't execute shell script commands.
# it is possible to make loops using m4 but the code would look even
-# more confusing..
+# more confusing..
SN_CHECK_DECLS(printf fprintf syslog puts fputs fputc fopen \
fclose fwrite fflush getopt bzero bcopy memset strtol \
strcasecmp strncasecmp strerror perror socket sendto \
vsnprintf snprintf strtoul)
-AC_CHECK_FUNCS([strlcpy strlcat strerror vswprintf wprintf])
+AC_CHECK_FUNCS([sigaction strlcpy strlcat strerror vswprintf wprintf memrchr inet_ntop])
AC_CHECK_FUNC([snprintf],[have_snprintf="yes"],[have_snprintf="no"])
AM_CONDITIONAL(BUILD_SNPRINTF, test "x$have_snprintf" != "xyes")
@@ -351,11 +374,11 @@
AC_CHECK_HEADERS(pfring.h,, PFRING_H="no")
# It is important to have the AC_CHECK_LIB for the pfring library BEFORE
-# the one for pfring-enabled pcap. When the Makefile is created, all the
-# libraries used during linking are added to the LIBS variable in the
-# Makefile in the opposite order that their AC_CHECK_LIB macros appear
-# in configure.in. Durring linking, the pfring library (-lpfring) MUST come
-# _after_ the libpcap library (-lpcap) or linking will fail.
+# the one for pfring-enabled pcap. When the Makefile is created, all the
+# libraries used during linking are added to the LIBS variable in the
+# Makefile in the opposite order that their AC_CHECK_LIB macros appear
+# in configure.in. Durring linking, the pfring library (-lpfring) MUST come
+# _after_ the libpcap library (-lpcap) or linking will fail.
PFRING_L=""
AC_CHECK_LIB(pfring, pfring_open,, PFRING_L="no")
@@ -432,6 +455,7 @@
if test "x$with_libpcre_includes" != "xno"; then
CPPFLAGS="${CPPFLAGS} -I${with_libpcre_includes}"
+ ICONFIGFLAGS="${ICONFIGFLAGS} -I${with_libpcre_includes}"
else
CPPFLAGS="${CPPFLAGS} `pcre-config --cflags`"
fi
@@ -458,7 +482,7 @@
pcre_version_six=""
AC_CHECK_LIB(pcre, pcre_compile, ,PCRE_L="no")
if test "x$PCRE_L" = "xno"; then
- echo
+ echo
echo " ERROR! Libpcre library not found."
echo " Get it from http://www.pcre.org"
echo
@@ -478,7 +502,7 @@
if test "x$pcre_version_six" != "xyes"; then
AC_MSG_RESULT(no)
- echo
+ echo
echo " ERROR! Libpcre library version >= 6.0 not found."
echo " Get it from http://www.pcre.org"
echo
@@ -487,8 +511,29 @@
AC_MSG_RESULT(yes)
fi
+
+AC_ARG_VAR(SIGNAL_SNORT_RELOAD, set the SIGNAL_SNORT_RELOAD value)
+if test "x$SIGNAL_SNORT_RELOAD" != "x" ; then
+ AC_DEFINE_UNQUOTED([SIGNAL_SNORT_RELOAD], [$SIGNAL_SNORT_RELOAD], [Set by user])
+fi
+
+AC_ARG_VAR(SIGNAL_SNORT_DUMP_STATS, set the SIGNAL_SNORT_DUMP_STATS value)
+if test "x$SIGNAL_SNORT_DUMP_STATS" != "x" ; then
+ AC_DEFINE_UNQUOTED([SIGNAL_SNORT_DUMP_STATS], [$SIGNAL_SNORT_DUMP_STATS], [Set by user])
+fi
+
+AC_ARG_VAR(SIGNAL_SNORT_ROTATE_STATS, set the SIGNAL_SNORT_ROTATE_STATS value)
+if test "x$SIGNAL_SNORT_ROTATE_STATS" != "x" ; then
+ AC_DEFINE_UNQUOTED([SIGNAL_SNORT_ROTATE_STATS], [$SIGNAL_SNORT_ROTATE_STATS], [Set by user])
+fi
+
+AC_ARG_VAR(SIGNAL_SNORT_READ_ATTR_TBL, set the SIGNAL_SNORT_READ_ATTR_TBL value)
+if test "x$SIGNAL_SNORT_READ_ATTR_TBL" != "x" ; then
+ AC_DEFINE_UNQUOTED([SIGNAL_SNORT_READ_ATTR_TBL], [$SIGNAL_SNORT_READ_ATTR_TBL], [Set by user])
+fi
+
AC_ARG_ENABLE(dynamicplugin,
-[ --enable-dynamicplugin Enable Ability to dynamically load preprocessors, detection engine, and rules lib (on by default, use --disable to not use dynamic libraries)],
+[ --disable-dynamicplugin Enable Ability to dynamically load preprocessors, detection engine, and rules lib (on by default, use --disable to not use dynamic libraries)],
enable_dynamicplugin="$enableval", enable_dynamicplugin="yes")
AM_CONDITIONAL(HAVE_DYNAMIC_PLUGINS, test "x$enable_dynamicplugin" = "xyes")
@@ -496,41 +541,64 @@
CPPFLAGS="$CPPFLAGS -DDYNAMIC_PLUGIN"
fi
-# check for dumbnet first since some DAQs need it
-AC_ARG_WITH(dumbnet_includes,
- [ --with-dumbnet-includes=DIR libdumbnet include directory],
- [with_dumbnet_includes="$withval"],[with_dumbnet_includes="no"])
-
-AC_ARG_WITH(dumbnet_libraries,
- [ --with-dumbnet-libraries=DIR libdumbnet library directory],
- [with_dumbnet_libraries="$withval"],[with_dumbnet_libraries="no"])
+AC_ARG_ENABLE(so_with_static_lib,
+[ --enable-so-with-static-lib Enable linking of dynamically loaded preprocessors with a static preprocessor library],
+ enable_so_with_static_lib="$enableval", enable_so_with_static_lib=$so_with_static_lib)
+AM_CONDITIONAL(SO_WITH_STATIC_LIB, test "x$enable_so_with_static_lib" = "xyes")
+
+AC_ARG_ENABLE(control_socket,
+[ --enable-control-socket Enable the control socket],
+ enable_control_socket="$enableval", enable_control_socket="no")
+if test "x$linux" != "xyes"; then
+ if test "x$enable_control_socket" = "xyes"; then
+ AC_MSG_WARN([[The control socket is only supported on Linux systems.]])
+ enable_control_socket="no"
+ fi
+fi
+AM_CONDITIONAL(BUILD_CONTROL_SOCKET, test "x$enable_control_socket" = "xyes")
+if test "x$enable_control_socket" = "xyes"; then
+ CONFIGFLAGS="$CONFIGFLAGS -DCONTROL_SOCKET"
+fi
+
+# check for dnet first since some DAQs need it
+AC_ARG_WITH(dnet_includes,
+ [ --with-dnet-includes=DIR libdnet include directory],
+ [with_dnet_includes="$withval"],[with_dnet_includes="no"])
+
+AC_ARG_WITH(dnet_libraries,
+ [ --with-dnet-libraries=DIR libdnet library directory],
+ [with_dnet_libraries="$withval"],[with_dnet_libraries="no"])
-if test "x$with_dumbnet_includes" != "xno"; then
- CPPFLAGS="${CPPFLAGS} -I${with_dumbnet_includes}"
+if test "x$with_dnet_includes" != "xno"; then
+ CPPFLAGS="${CPPFLAGS} -I${with_dnet_includes}"
else
- CPPFLAGS="${CPPFLAGS} `dumbnet-config --cflags`"
+ CPPFLAGS="${CPPFLAGS} `dnet-config --cflags 2>/dev/null`"
fi
-if test "x$with_dumbnet_libraries" != "xno"; then
- LDFLAGS="${LDFLAGS} -L${with_dumbnet_libraries} -ldumbnet"
+if test "x$with_dnet_libraries" != "xno"; then
+ LDFLAGS="${LDFLAGS} -L${with_dnet_libraries}"
else
- LDFLAGS="${LDFLAGS} `dumbnet-config --libs`"
+ LDFLAGS="${LDFLAGS} `dnet-config --libs 2>/dev/null`"
fi
-AC_CHECK_HEADERS(dumbnet.h, DNET="yes", DNET="no")
-if test "x$DNET" = "xno"; then
+AC_CHECK_HEADERS(dnet.h,,DNET_H="no")
+AC_CHECK_HEADERS(dumbnet.h,,DUMBNET_H="no")
+
+if test "x$DNET_H" = "xno" -a "x$DUMBNET_H" = "xno"; then
echo
- echo " ERROR! dumbnet header not found, go get it from"
- echo " http://code.google.com/p/libdnet/ or use the --with-dumbnet-*"
+ echo " ERROR! dnet header not found, go get it from"
+ echo " http://code.google.com/p/libdnet/ or use the --with-dnet-*"
echo " options, if you have it installed in an unusual place"
exit
fi
-AC_CHECK_LIB(dumbnet, eth_set, DNET="yes", DNET="no")
-if test "x$DNET" = "xno"; then
+AC_CHECK_LIB(dnet, eth_set,,[DNET="no"])
+AC_CHECK_LIB(dumbnet, eth_set,,[DUMBNET="no"])
+
+if test "x$DNET" = "xno" -a "x$DUMBNET" = "xno"; then
echo
- echo " ERROR! dumbnet library not found, go get it from"
- echo " http://code.google.com/p/libdnet/ or use the --with-dumbnet-*"
+ echo " ERROR! dnet library not found, go get it from"
+ echo " http://code.google.com/p/libdnet/ or use the --with-dnet-*"
echo " options, if you have it installed in an unusual place"
exit
fi
@@ -545,6 +613,7 @@
if test "x$with_daq_includes" != "xno"; then
CPPFLAGS="${CPPFLAGS} -I${with_daq_includes}"
+ ICONFIGFLAGS="${ICONFIGFLAGS} -I${with_daq_includes}"
fi
if test "x$with_daq_libraries" != "xno"; then
@@ -552,7 +621,7 @@
fi
AC_ARG_ENABLE(static_daq,
-[ --enable-static-daq Link static DAQ modules.],
+[ --disable-static-daq Link static DAQ modules.],
enable_static_daq="$enableval", enable_static_daq="yes")
if test "x$enable_static_daq" = "xyes" \
@@ -601,6 +670,8 @@
fi
fi
+AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta])
+
# any sparc platform has to have this one defined.
AC_MSG_CHECKING(for sparc)
if eval "echo $host_cpu|grep -i sparc >/dev/null"; then
@@ -657,12 +728,11 @@
[gl_cv_cc_visibility="no"])
])
AC_MSG_RESULT([$gl_cv_cc_visibility])
+ CFLAGS="$gl_save_CFLAGS"
if test "x$gl_cv_cc_visibility" = "xyes"; then
- CFLAGS="$gl_save_CFLAGS -fvisibility=hidden"
+ CCONFIGFLAGS="${CCONFIGFLAGS} -DSF_VISIBILITY -fvisibility=hidden"
AC_DEFINE([HAVE_VISIBILITY],[1],
[Define if the compiler supports visibility declarations.])
- else
- CFLAGS="$gl_save_CFLAGS"
fi
])
CC_VISIBILITY()
@@ -681,28 +751,28 @@
fi
AC_ARG_ENABLE(dlclose,
-[ --enable-dlclose Only use if you are developing dynamic preprocessors or shared object rules. Disable (--disable-dlclose) for testing valgrind leaks in dynamic libraries so a usable backtrace is reported. Enabled by default.],
+[ --disable-dlclose Only use if you are developing dynamic preprocessors or shared object rules. Disable (--disable-dlclose) for testing valgrind leaks in dynamic libraries so a usable backtrace is reported. Enabled by default.],
enable_dlclose="$enableval", enable_dlclose="yes")
if test "x$enable_dlclose" = "xno"; then
AC_DEFINE([DISABLE_DLCLOSE_FOR_VALGRIND_TESTING],[1],[Don't close opened shared objects for valgrind leak testing of dynamic libraries])
fi
AC_ARG_ENABLE(ipv6,
-[ --enable-ipv6 Enable IPv6 support],
- enable_ipv6="$enableval", enable_ipv6="no")
+[ --disable-ipv6 Disable IPv6 support],
+ enable_ipv6="$enableval", enable_ipv6="yes")
if test "x$enable_ipv6" = "xyes"; then
- CPPFLAGS="$CPPFLAGS -DSUP_IP6"
+ CONFIGFLAGS="$CONFIGFLAGS -DSUP_IP6"
fi
AM_CONDITIONAL(HAVE_SUP_IP6, test "x$enable_ipv6" = "xyes")
AC_ARG_ENABLE(zlib,
-[ --enable-zlib Enable Http Response Decompression],
- enable_zlib="$enableval", enable_zlib="no")
+[ --disable-zlib Enable Http Response Decompression],
+ enable_zlib="$enableval", enable_zlib="yes")
AM_CONDITIONAL(HAVE_ZLIB, test "x$enable_zlib" = "xyes")
if test "x$enable_zlib" = "xyes"; then
Z_LIB=""
AC_CHECK_HEADERS(zlib.h,, Z_LIB="no")
- if test "x$ZLIB" = "xno"; then
+ if test "x$Z_LIB" = "xno"; then
echo
echo " ERROR! zlib header not found, go get it from"
echo " http://www.zlib.net"
@@ -711,7 +781,7 @@
Z_LIB=""
AC_CHECK_LIB(z, inflate,, Z_LIB="no")
- if test "x$ZLIB" = "xno"; then
+ if test "x$Z_LIB" = "xno"; then
echo
echo " ERROR! zlib library not found, go get it from"
echo " http://www.zlib.net"
@@ -722,26 +792,26 @@
fi
AC_ARG_ENABLE(gre,
-[ --enable-gre Enable GRE and IP in IP encapsulation support],
- enable_gre="$enableval", enable_gre="no")
+[ --disable-gre Enable GRE and IP in IP encapsulation support],
+ enable_gre="$enableval", enable_gre="yes")
if test "x$enable_gre" = "xyes"; then
CPPFLAGS="$CPPFLAGS -DGRE"
fi
AC_ARG_ENABLE(mpls,
-[ --enable-mpls Enable MPLS support],
- enable_mpls="$enableval", enable_mpls="no")
+[ --disable-mpls Enable MPLS support],
+ enable_mpls="$enableval", enable_mpls="yes")
if test "x$enable_mpls" = "xyes"; then
CPPFLAGS="$CPPFLAGS -DMPLS"
fi
AC_ARG_ENABLE(targetbased,
-[ --enable-targetbased Enable Target-Based Support in Stream, Frag, and Rules (adds pthread support implicitly)],
- enable_targetbased="$enableval", enable_targetbased="no")
+[ --disable-targetbased Enable Target-Based Support in Stream, Frag, and Rules (adds pthread support implicitly)],
+ enable_targetbased="$enableval", enable_targetbased="yes")
AM_CONDITIONAL(HAVE_TARGET_BASED, test "x$enable_targetbased" = "xyes")
if test "x$enable_targetbased" = "xyes"; then
- CPPFLAGS="$CPPFLAGS -DTARGET_BASED"
+ CONFIGFLAGS="$CONFIGFLAGS -DTARGET_BASED"
LIBS="$LIBS -lpthread"
if test "$LEX" = "none"; then
echo
@@ -762,24 +832,24 @@
fi
AC_ARG_ENABLE(decoder-preprocessor-rules,
-[ --enable-decoder-preprocessor-rules Enable rule actions for decoder and preprocessor events],
- enable_decoder_preprocessor_rules="$enableval", enable_decoder_preprocessor_rules="no")
+[ --disable-decoder-preprocessor-rules Enable rule actions for decoder and preprocessor events],
+ enable_decoder_preprocessor_rules="$enableval", enable_decoder_preprocessor_rules="yes")
if test "x$enable_decoder_preprocessor_rules" = "xyes"; then
CPPFLAGS="$CPPFLAGS -DPREPROCESSOR_AND_DECODER_RULE_EVENTS"
fi
AC_ARG_ENABLE(ppm,
-[ --enable-ppm Enable packet/rule performance monitor],
- enable_ppm="$enableval", enable_ppm="no")
+[ --disable-ppm Enable packet/rule performance monitor],
+ enable_ppm="$enableval", enable_ppm="yes")
if test "x$enable_ppm" = "xyes"; then
CPPFLAGS="$CPPFLAGS -DPPM_MGR"
fi
AC_ARG_ENABLE(perfprofiling,
-[ --enable-perfprofiling Enable preprocessor and rule performance profiling],
- enable_perfprofiling="$enableval", enable_perfprofiling="no")
+[ --disable-perfprofiling Enable preprocessor and rule performance profiling],
+ enable_perfprofiling="$enableval", enable_perfprofiling="yes")
if test "x$enable_perfprofiling" = "xyes"; then
- CPPFLAGS="$CPPFLAGS -DPERF_PROFILING"
+ CONFIGFLAGS="$CONFIGFLAGS -DPERF_PROFILING"
fi
AC_ARG_ENABLE(linux-smp-stats,
@@ -813,9 +883,9 @@
fi
fi
-AC_ARG_ENABLE(pthread,
-[ --enable-pthread Enable pthread support],
- enable_pthread="$enableval", enable_pthread="no")
+AC_ARG_ENABLE(pthread,
+[ --disable-pthread Disable pthread support],
+ enable_pthread="$enableval", enable_pthread="yes")
if test "x$enable_pthread" = "xyes"; then
LIBS="$LIBS -lpthread"
@@ -825,7 +895,7 @@
[ --enable-debug-msgs Enable debug printing options (bugreports and developers only)],
enable_debug_msgs="$enableval", enable_debug_msgs="no")
if test "x$enable_debug_msgs" = "xyes"; then
- CPPFLAGS="$CPPFLAGS -DDEBUG"
+ CPPFLAGS="$CPPFLAGS -DDEBUG_MSGS"
fi
AC_ARG_ENABLE(debug,
@@ -839,6 +909,16 @@
if echo $CFLAGS | grep -qve -g ; then
CFLAGS="$CFLAGS -g"
fi
+
+ CPPFLAGS="$CPPFLAGS -DDEBUG"
+fi
+
+AC_ARG_ENABLE(gdb,
+[ --enable-gdb Enable gdb debugging information],
+ enable_gdb="$enableval", enable_gdb="no")
+
+if test "x$enable_gdb" = "xyes"; then
+ CFLAGS="$CFLAGS -g -ggdb"
fi
AC_ARG_ENABLE(profile,
@@ -855,7 +935,7 @@
fi
AC_ARG_ENABLE(ppm-test,
-[ --enable-ppm-test Enable packet/rule performance monitor],
+[ --disable-ppm-test Enable packet/rule performance monitor],
enable_ppm_test="$enableval", enable_ppm_test="no")
if test "x$enable_ppm_test" = "xyes"; then
@@ -863,48 +943,51 @@
fi
AC_ARG_ENABLE(sourcefire,
-[ --enable-sourcefire Enable Sourcefire specific build options],
+[ --enable-sourcefire Enable Sourcefire specific build options, encompasing --enable-perfprofiling,--enable-decoder-preprocessor-rules, --enable-ppm],
enable_sourcefire="$enableval", enable_sourcefire="no")
if test "x$enable_sourcefire" = "xyes"; then
- CPPFLAGS="$CPPFLAGS -DSOURCEFIRE -DPERF_PROFILING -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR"
+ CPPFLAGS="$CPPFLAGS -DSOURCEFIRE -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR"
+ CONFIGFLAGS="$CONFIGFLAGS -DPERF_PROFILING"
fi
AC_ARG_ENABLE(corefiles,
[ --disable-corefiles Prevent Snort from generating core files],
enable_corefiles="$enableval", enable_corefiles="yes")
-if test "x$enable_corefiles" = "xno"; then
+if test "x$enable_corefiles" = "xno"; then
CPPFLAGS="$CPPFLAGS -DNOCOREFILE"
fi
AC_ARG_ENABLE(active-response,
-[ --enable-active-response Enable reject injection],
- enable_active_response="$enableval", enable_active_response="no")
+[ --disable-active-response Enable reject injection],
+ enable_active_response="$enableval", enable_active_response="yes")
AC_ARG_ENABLE(normalizer,
-[ --enable-normalizer Enable packet/stream normalizations],
- enable_normalizer="$enableval", enable_normalizer="no")
+[ --disable-normalizer Enable packet/stream normalizations],
+ enable_normalizer="$enableval", enable_normalizer="yes")
AC_ARG_ENABLE(reload,
-[ --enable-reload Enable reloading a configuration without restarting],
- enable_reload="$enableval", enable_reload="no")
+[ --disable-reload Enable reloading a configuration without restarting],
+ enable_reload="$enableval", enable_reload="yes")
AC_ARG_ENABLE(reload-error-restart,
-[ --enable-reload-error-restart Enable restarting on reload error],
+[ --disable-reload-error-restart Enable restarting on reload error],
enable_reload_error_restart="$enableval", enable_reload_error_restart="yes")
if test "x$enable_reload" = "xyes"; then
if test "x$enable_reload_error_restart" = "xyes"; then
- CPPFLAGS="$CPPFLAGS -DSNORT_RELOAD"
+ CONFIGFLAGS="$CONFIGFLAGS -DSNORT_RELOAD"
else
- CPPFLAGS="$CPPFLAGS -DSNORT_RELOAD -DRELOAD_ERROR_FATAL"
+ CONFIGFLAGS="$CONFIGFLAGS -DSNORT_RELOAD -DRELOAD_ERROR_FATAL"
fi
LIBS="$LIBS -lpthread"
fi
-AC_ARG_WITH(mysql,
+configuring_database="no"
+
+AC_ARG_WITH(mysql,
[ --with-mysql=DIR Support for MySQL],
[ with_mysql="$withval"],
[ with_mysql="no" ])
@@ -919,6 +1002,7 @@
default_directory="/usr /usr/local"
if test "x$with_mysql" != "xno"; then
+ configuring_database="yes"
if test "x$with_mysql" = "xyes"; then
if test "x$with_mysql_includes" != "xno"; then
mysql_inc_directory="$with_mysql_includes";
@@ -988,7 +1072,7 @@
MYSQL_LIB_DIR="$i/mysql"
break 2
fi
- done
+ done
fi
if test -z "$MYSQL_LIB_DIR"; then
str="$i/mysql/lib/libmysqlclient.*"
@@ -1100,12 +1184,13 @@
fi
fi
-AC_ARG_WITH(odbc,
+AC_ARG_WITH(odbc,
[ --with-odbc=DIR Support for ODBC],
[ with_odbc="$withval" ],
[ with_odbc="no" ])
if test "x$with_odbc" != "xno"; then
+ configuring_database="yes"
if test "x$with_odbc" = "xyes"; then
odbc_directory="$default_directory"
odbc_fail="yes"
@@ -1142,7 +1227,7 @@
str="$ODBC_DIR/lib/libodbc.*"
for j in `echo $str`; do
- if test -r "$j"; then
+ if test -r "$j"; then
ODBC_LIB_DIR="$ODBC_DIR/lib"
ODBC_LIB="odbc"
fi
@@ -1151,7 +1236,7 @@
dnl if test -z "$ODBC_LIB_DIR"; then
dnl str="$ODBC_DIR/lib/libiodbc.*"
dnl for j in `echo $str`; do
-dnl if test -r $j; then
+dnl if test -r $j; then
dnl ODBC_LIB_DIR="$ODBC_DIR/lib"
dnl ODBC_LIB="iodbc"
dnl fi
@@ -1173,7 +1258,7 @@
fi
fi
-AC_ARG_WITH(postgresql,
+AC_ARG_WITH(postgresql,
[ --with-postgresql=DIR Support for PostgreSQL],
[ with_postgresql="$withval" ],
[ with_postgresql="no" ])
@@ -1184,6 +1269,7 @@
[with_pgsql_includes="no" ])
if test "x$with_postgresql" != "xno"; then
+ configuring_database="yes"
if test "x$with_postgresql" = "xyes"; then
postgresql_directory="$default_directory /usr/local/pgsql /usr/pgsql /usr/local"
postgresql_fail="yes"
@@ -1280,12 +1366,13 @@
fi
fi
-AC_ARG_WITH(oracle,
+AC_ARG_WITH(oracle,
[ --with-oracle=DIR Support for Oracle],
[ with_oracle="$withval" ],
[ with_oracle="no" ])
if test "x$with_oracle" != "xno"; then
+ configuring_database="yes"
if test "x$with_oracle" = "xyes"; then
oracle_directory="$default_directory ${ORACLE_HOME}"
oracle_fail="yes"
@@ -1335,13 +1422,21 @@
fi
fi
+AC_ARG_ENABLE(paf,
+[ --disable-paf disable protocol aware flushing],
+ enable_paf="$enableval", enable_paf="yes")
+
+if test "x$enable_paf" = "xyes"; then
+ CPPFLAGS="${CPPFLAGS} -DENABLE_PAF"
+fi
+
AC_ARG_ENABLE(react,
-[ --enable-react Intercept and terminate offending HTTP accesses],
- enable_react="$enableval", enable_react="no")
+[ --disable-react Intercept and terminate offending HTTP accesses],
+ enable_react="$enableval", enable_react="yes")
AC_ARG_ENABLE(flexresp3,
-[ --enable-flexresp3 Flexible Responses (v3) on hostile connection attempts],
- enable_flexresp3="$enableval", enable_flexresp3="no")
+[ --disable-flexresp3 Flexible Responses (v3) on hostile connection attempts],
+ enable_flexresp3="$enableval", enable_flexresp3="yes")
AC_ARG_ENABLE(aruba,
[ --enable-aruba Enable Aruba output plugin],
@@ -1355,7 +1450,7 @@
# flexresp3 options are a union of flexresp (deleted) and flexresp2
# options so we assume flexresp3 if multiple are enabled.
if test "x$enable_flexresp2" = "xyes"; then
- echo "WARNING: multiple flexresp versions enabled; using flexresp3"
+ echo "WARNING: multiple flexresp versions enabled; using flexresp3."
enable_flexresp2="no"
fi
fi
@@ -1373,7 +1468,7 @@
if test "x$enable_normalizer" = "xyes" \
-o "x$enable_sourcefire" = "xyes" ; \
then
- CPPFLAGS="${CPPFLAGS} -DNORMALIZER"
+ CONFIGFLAGS="${CONFIGFLAGS} -DNORMALIZER"
fi
if test "x$enable_active_response" = "xyes" \
@@ -1381,7 +1476,7 @@
-o "x$enable_react" = "xyes" \
-o "x$enable_sourcefire" = "xyes" ; \
then
- CPPFLAGS="${CPPFLAGS} -DACTIVE_RESPONSE"
+ CONFIGFLAGS="${CONFIGFLAGS} -DACTIVE_RESPONSE"
fi
AC_ARG_ENABLE(intel_soft_cpm,
@@ -1412,14 +1507,75 @@
CPPFLAGS="${CPPFLAGS} -DINTEL_SOFT_CPM"
fi
+AC_ARG_ENABLE(shared_rep,
+ [ --enable-shared-rep Enable use of Shared Memory for Reputation (Linux only)],
+ enable_shared_rep="$enableval", enable_shared_rep="no")
+
+if test "x$enable_shared_rep" = "xyes"; then
+ if test "x$linux" = "xyes"; then
+ CPPFLAGS="${CPPFLAGS} -DSHARED_REP"
+ LIBS="$LIBS -lrt"
+ else
+ echo "WARNING: shared reputation is only available on linux."
+ enable_shared_rep="no"
+ fi
+fi
+
+AM_CONDITIONAL(HAVE_SHARED_REP, test "x$enable_shared_rep" = "xyes")
+
+AC_ARG_ENABLE(rzb-saac,
+[ --enable-rzb-saac Enable Razorback SaaC support],
+ enable_rzb_saac="$enableval", enable_rzb_saac="no")
+
+AC_ARG_WITH(librzb_api,
+ [ --with-librzb-api=DIR librazorback_api directory],
+ [with_librzb_api="$withval"],[with_librzb_api="no"])
+
+if test "x$with_librzb_api" = "xno"; then
+ export PKG_CONFIG_PATH=$prefix/lib/pkgconfig:$PKG_CONFIG_PATH
+else
+ export PKG_CONFIG_PATH=$with_librzb_api/lib/pkgconfig:$PKG_CONFIG_PATH
+fi
+
+if test "x$enable_rzb_saac" = "xyes"; then
+ AC_CHECK_PROG(PKG_CONFIG,pkg-config,yes)
+ if test "x$PKG_CONFIG" != "xyes"; then
+ echo
+ echo
+ echo " ERROR! pkg-config not found, go get it from"
+ echo " http://freedesktop.org"
+ exit
+ fi
+
+ PKG_CHECK_MODULES([RAZORBACK], [razorback >= 0.1.3], [], [LRZB=no])
+ if test "x$LRZB" = "xno"; then
+ echo
+ echo " ERROR! razorback_api library not found, go get it from"
+ echo " http://sourceforge.net/projects/razorbacktm/"
+ exit
+ fi
+fi
+
+AM_CONDITIONAL([WANT_SF_SAAC], [test x$enable_rzb_saac = xyes])
+
+AC_ARG_ENABLE(large-pcap,
+[ --enable-large-pcap Enable support for pcaps larger than 2 GB],
+ enable_large_pcap="$enableval", enable_large_pcap="no")
+
+if test "x$enable_large_pcap" = "xyes"; then
+ CPPFLAGS="${CPPFLAGS} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
+fi
+
# let's make some fixes..
+CFLAGS="${CFLAGS} ${CCONFIGFLAGS}"
CFLAGS=`echo $CFLAGS | sed -e 's/-I\/usr\/include //g'`
+CPPFLAGS="${CPPFLAGS} ${CONFIGFLAGS}"
CPPFLAGS=`echo $CPPFLAGS | sed -e 's/-I\/usr\/include //g'`
if test "x$GCC" = "xyes" ; then
echo `$CC -v 2>&1` | grep "version 4" > /dev/null
- if test $? = 0 ; then
+ if test $? = 0 ; then
CFLAGS="$CFLAGS -fno-strict-aliasing"
fi
fi
@@ -1509,9 +1665,12 @@
echo $CFLAGS > cflags.out
echo $CPPFLAGS > cppflags.out
-INCLUDES='-I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/sfutil $(extra_incl) -I$(top_srcdir)/src/output-plugins -I$(top_srcdir)/src/detection-plugins -I$(top_srcdir)/src/dynamic-plugins -I$(top_srcdir)/src/preprocessors -I$(top_srcdir)/src/preprocessors/portscan -I$(top_srcdir)/src/preprocessors/HttpInspect/include -I$(top_srcdir)/src/preprocessors/Stream5 -I$(top_srcdir)/src/target-based'
+INCLUDES='-I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/sfutil $(extra_incl) -I$(top_srcdir)/src/output-plugins -I$(top_srcdir)/src/detection-plugins -I$(top_srcdir)/src/dynamic-plugins -I$(top_srcdir)/src/preprocessors -I$(top_srcdir)/src/preprocessors/portscan -I$(top_srcdir)/src/preprocessors/HttpInspect/include -I$(top_srcdir)/src/preprocessors/Stream5 -I$(top_srcdir)/src/target-based -I$(top_srcdir)/src/control'
AC_SUBST(INCLUDES)
+AC_SUBST(CONFIGFLAGS)
+AC_SUBST(CCONFIGFLAGS)
+AC_SUBST(ICONFIGFLAGS)
AC_PROG_INSTALL
AC_CONFIG_FILES([ \
@@ -1519,6 +1678,7 @@
Makefile \
src/Makefile \
src/sfutil/Makefile \
+src/control/Makefile \
src/detection-plugins/Makefile \
src/dynamic-examples/Makefile \
src/dynamic-examples/dynamic-preprocessor/Makefile \
@@ -1529,13 +1689,22 @@
src/dynamic-plugins/sf_preproc_example/Makefile \
src/dynamic-preprocessors/Makefile \
src/dynamic-preprocessors/libs/Makefile \
+src/dynamic-preprocessors/libs/snort_preproc.pc \
src/dynamic-preprocessors/ftptelnet/Makefile \
src/dynamic-preprocessors/smtp/Makefile \
src/dynamic-preprocessors/ssh/Makefile \
+src/dynamic-preprocessors/sip/Makefile \
+src/dynamic-preprocessors/reputation/Makefile \
+src/dynamic-preprocessors/gtp/Makefile \
src/dynamic-preprocessors/dcerpc2/Makefile \
+src/dynamic-preprocessors/pop/Makefile \
+src/dynamic-preprocessors/imap/Makefile \
src/dynamic-preprocessors/sdf/Makefile \
src/dynamic-preprocessors/dns/Makefile \
src/dynamic-preprocessors/ssl/Makefile \
+src/dynamic-preprocessors/modbus/Makefile \
+src/dynamic-preprocessors/dnp3/Makefile \
+src/dynamic-preprocessors/rzb_saac/Makefile \
src/output-plugins/Makefile \
src/preprocessors/Makefile \
src/preprocessors/HttpInspect/Makefile \
@@ -1554,13 +1723,14 @@
src/target-based/Makefile \
doc/Makefile \
contrib/Makefile \
-schemas/Makefile \
rpm/Makefile \
preproc_rules/Makefile \
m4/Makefile \
etc/Makefile \
+schemas/Makefile \
templates/Makefile \
tools/Makefile \
+tools/control/Makefile \
tools/u2boat/Makefile \
tools/u2spewfoo/Makefile \
src/win32/Makefile])
@@ -1588,3 +1758,25 @@
EOF
fi
+
+if test "x$configuring_database" = "xyes"; then
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ echo "!! WARNING: Database output plugins are deprecated as of Snort 2.9.2 and will be"
+ echo "!! removed in Snort 2.9.3. The recommended approach to logging is to"
+ echo "!! use unified2 with barnyard2 or similar."
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+fi
+
+if test "x$enable_aruba" = "xyes"; then
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ echo "!! WARNING: Arubu output plugin is deprecated as of Snort 2.9.2 and will be"
+ echo "!! removed in Snort 2.9.3."
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+fi
+
+if test "x$enable_prelude" = "xyes"; then
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ echo "!! WARNING: Prelude output plugin is deprecated as of Snort 2.9.2 and will be"
+ echo "!! removed in Snort 2.9.3."
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+fi
diff -Nru snort-2.9.0.1/contrib/Makefile.in snort-2.9.2/contrib/Makefile.in
--- snort-2.9.0.1/contrib/Makefile.in 2010-10-08 02:56:51.000000000 -0700
+++ snort-2.9.2/contrib/Makefile.in 2011-12-07 11:23:17.000000000 -0800
@@ -58,7 +58,9 @@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
+CCONFIGFLAGS = @CCONFIGFLAGS@
CFLAGS = @CFLAGS@
+CONFIGFLAGS = @CONFIGFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
@@ -73,6 +75,7 @@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
GREP = @GREP@
+ICONFIGFLAGS = @ICONFIGFLAGS@
INCLUDES = @INCLUDES@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
@@ -109,13 +112,19 @@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
RANLIB = @RANLIB@
+RAZORBACK_CFLAGS = @RAZORBACK_CFLAGS@
+RAZORBACK_LIBS = @RAZORBACK_LIBS@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
+SIGNAL_SNORT_DUMP_STATS = @SIGNAL_SNORT_DUMP_STATS@
+SIGNAL_SNORT_READ_ATTR_TBL = @SIGNAL_SNORT_READ_ATTR_TBL@
+SIGNAL_SNORT_RELOAD = @SIGNAL_SNORT_RELOAD@
+SIGNAL_SNORT_ROTATE_STATS = @SIGNAL_SNORT_ROTATE_STATS@
STRIP = @STRIP@
VERSION = @VERSION@
XCCFLAGS = @XCCFLAGS@
diff -Nru snort-2.9.0.1/debian/changelog snort-2.9.2/debian/changelog
--- snort-2.9.0.1/debian/changelog 2011-12-28 14:36:52.000000000 -0800
+++ snort-2.9.2/debian/changelog 2011-12-28 09:41:39.000000000 -0800
@@ -1,3 +1,108 @@
+snort (2.9.2-1) unstable; urgency=low
+
+ * New upstream release
+ * Switch to dpkg-source 3.0 (quilt) format
+ * Port across all changes from Snort 2.8.5.2-5 and later in unstable
+ * debian/snort.postinst: create the directory that the checksum for
+ snort.debian.conf will be created in if it doesn't already exist
+ * debian/rules: tell dh_makeshlibs to not call ldconfig in the
+ preinst/postinst of snort-common-libraries
+ * debian/rules: don't install README.WIN32 into snort-doc
+
+ -- Andrew Pollock Tue, 27 Dec 2011 17:22:03 -0800
+
+snort (2.8.5.2-9.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Empty dependency_libs in libtool la file(s).
+ http://wiki.debian.org/ReleaseGoals/LAFileRemoval Closes: #621859
+
+ -- Andreas Metzler Sat, 18 Jun 2011 14:08:33 +0200
+
+snort (2.8.5.2-9) unstable; urgency=low
+
+ * debian/rules: Change gs-common Build-Depends-Indep to ghostscript fo fix
+ FTBFS, thanks to Andreas Metzler for the solution. (Closes: 618197)
+
+ -- Javier Fernandez-Sanguino Pen~a Sun, 10 Apr 2011 10:57:55 +0200
+
+snort (2.8.5.2-8) unstable; urgency=low
+
+ * debian/snort{,-mysql,-pgsql}.config: Remove the '-o' from
+ DEBIAN_SNORT_OPTIONS that was prepended by the postinst script in
+ version 2.8.5.2-2 on upgrades.
+ * debian/snort{,-mysql,-pgsql}.prerm: Change /usr/sbin/nessus to /usr/sbin/snort
+
+ -- Javier Fernandez-Sanguino Pen~a Thu, 22 Jan 2011 12:18:03 +0100
+
+snort (2.8.5.2-7) unstable; urgency=low
+
+ * debian/snort{,-mysql,-pgsql}.config: Remove the '-p' from
+ DEBIAN_SNORT_OPTIONS that is prepended by the postinst script (if disable
+ promiscuous is set) before adding it to the debconf value to prevent this
+ option from being readded again and again on reinstall. (Closes: #608635)
+ * debian/snort{,-mysql,-pgsql}.postinst: Remove the temporary file used to
+ test if the configuration files has not been modified when upgrading to
+ a new version.
+
+ -- Javier Fernandez-Sanguino Pen~a Sun, 02 Jan 2011 20:47:26 +0100
+
+snort (2.8.5.2-6) unstable; urgency=high
+
+ * debian/snort{,-mysql,-pgsql}.postinst: Introduce code to be able to manage
+ the situation in which a local admin has introduced changes in the
+ /etc/snort/snort.debian.conf configuration file manually. Keep the
+ local changes and leave the file untouched on upgrades. (Closes: #608590)
+ * debian/snort-{mysql,-pgsql}.postinst:
+ - Introduce code to be able to manage the situation in which a local
+ admin has introduced changes in /etc/snort/database.conf and has not
+ used dpkg-reconfigure. Keep the local changes and do not touch the
+ file on upgrades.
+ - Generate the database.conf regardless of the status of the
+ db-pending-config file as we need the configuration file in any case.
+ * debian/snort{,-mysql,-pgsql}.config: Read the values of the configuration
+ file /etc/snort/snort.debian.conf and use them to set to preseed all the
+ debconf values. This ensures that local changes are reloaded into debconf
+ if any changes are made in the file and makes it possible to regenerate
+ the file with dpkg-reconfigure.
+ * debian/snort{,-mysql,-inline,-pgsq}.config: Make it possible to debug the
+ scripts through the use of the DEBIAN_SCRIPT_DEBUG environment variable
+ * debian/snort-{mysql,pgsql}.config: Fix error in call of template which
+ belongs to the snort package. Use the proper template now.
+ * debian/README-database.Debian: Fix syntax error in MySQL example calls and
+ reword the text a bit to clarify that the provided information are just
+ examples on how to setup the databases.
+ * debian/po/: Use debconf-updatepo to remove obsolete translations from PO
+ files.
+ * debian/NEWS: Remove the indication that database.conf should not be
+ manually edited.
+
+ -- Javier Fernandez-Sanguino Pen~a Sat, 01 Jan 2011 23:40:30 +0100
+
+snort (2.8.5.2-5) unstable; urgency=high
+
+ * Final RC bug fix:
+ * snort-common: Create the database.conf file on package's configuration not
+ on the preinstallation script (Closes: #607801)
+ * Lintian fixes:
+ * debian/control: Upgrade standards version, no changes required
+ * debian/snort.init.d: add $remote_fs to Required-Start and Required-Stop
+ * debian/snort.templates: Move the config_error template over to
+ debian/snort-common.templates as it is used there
+ * debian/snort-{mysql,pgsql}.templates: remove the config_error template
+ there as it is not used
+ * debian/control: Upgrade the Build-Depends on debhelper
+ * src/parser.c: Typo fix argu*e*ment -> argument
+ * src/preprocessors/spp_perfmonitor.c,
+ src/dynamic-preprocessors/dns/spp_dns.c:
+ Typo fix: sep*e*rated --> separated
+ * rules/web-misc.rules: Limit the depth when searching for an HTTP version
+ to prevent false positives from apt-get User-Agent string (LP: #258155)
+ * debian/snort.init.d: Separate warning message from main messages.
+ * debian/TODO: review contents and update
+
+ -- Javier Fernandez-Sanguino Pen~a Sun, 26 Dec 2010 13:20:25 +0100
+
snort (2.9.0.1-2) experimental; urgency=low
* [ The Merry Xmas for experimental users Release ! ]
@@ -10,7 +115,7 @@
snort (2.8.5.2-4) unstable; urgency=high
* [ The Merry Xmas and Merry RC bug fixing Release! ]
- * debian/snort-common.preinst:
+ * debian/snort-common.preinst:
- Fix how the files are generated and use Perl instead of bash's echo
as the latter will interpret content in the configuration file
and will botch it
diff -Nru snort-2.9.0.1/debian/control snort-2.9.2/debian/control
--- snort-2.9.0.1/debian/control 2011-12-28 14:36:52.000000000 -0800
+++ snort-2.9.2/debian/control 2011-12-27 13:53:38.000000000 -0800
@@ -3,9 +3,9 @@
Priority: optional
Maintainer: Javier Fernandez-Sanguino Pen~a
Uploaders: Pascal Hakim
-Build-Depends: libnet1-dev, libpcap0.8-dev, libpcre3-dev, debhelper (>= 4.1.13), libmysqlclient15-dev | libmysqlclient-dev, libpq-dev, po-debconf (>= 0.5.0), libprelude-dev, libgnutls-dev, libdumbnet-dev, libdaq-dev
-Build-Depends-Indep: texlive, texlive-latex-base, gs-common
-Standards-Version: 3.8.3
+Build-Depends: libnet1-dev, libpcap0.8-dev, libpcre3-dev, debhelper (>= 5.0.0), libmysqlclient15-dev | libmysqlclient-dev, libpq-dev, po-debconf (>= 0.5.0), libprelude-dev, libgnutls-dev, libdumbnet-dev, libdaq-dev, flex, bison
+Build-Depends-Indep: texlive, texlive-latex-base, ghostscript
+Standards-Version: 3.9.1
Homepage: http://www.snort.org/
Package: snort
diff -Nru snort-2.9.0.1/debian/NEWS snort-2.9.2/debian/NEWS
--- snort-2.9.0.1/debian/NEWS 2011-12-28 14:36:52.000000000 -0800
+++ snort-2.9.2/debian/NEWS 2011-12-27 14:04:45.000000000 -0800
@@ -4,9 +4,6 @@
(and configured automatically through Debconf) has now been moved to the
/etc/snort/database.conf file.
- Please make changes to your database setup using 'dpkg-reconfigure'
- and do not edit that file directly.
-
Note that this file might be empty if you are not logging to a database
-- Javier Fernandez-Sanguino Pen~a Mon, 20 Dec 2010 15:31:24 +0100
diff -Nru snort-2.9.0.1/debian/patches/config snort-2.9.2/debian/patches/config
--- snort-2.9.0.1/debian/patches/config 1969-12-31 16:00:00.000000000 -0800
+++ snort-2.9.2/debian/patches/config 2011-12-28 10:19:47.000000000 -0800
@@ -0,0 +1,162 @@
+Description: Debianize the upstream Snort configuration file
+ Make the paths FHS compliant
+ Add in additional rules shipped with the Debian package
+Author: Javier Fernandez-Sanguino Pen~a
+Origin: vendor
+Last-Update: 2011-11-28
+
+--- snort-2.9.2.orig/etc/snort.conf
++++ snort-2.9.2/etc/snort.conf
+@@ -46,6 +46,7 @@ ipvar HOME_NET any
+
+ # Set up the external network addresses. Leave as "any" in most situations
+ ipvar EXTERNAL_NET any
++#ipvar EXTERNAL_NET !$HOME_NET
+
+ # List of DNS servers on your network
+ ipvar DNS_SERVERS $HOME_NET
+@@ -95,9 +96,9 @@ ipvar AIM_SERVERS [64.12.24.0/23,64.12.2
+ # Path to your rules files (this can be a relative path)
+ # Note for Windows users: You are advised to make this an absolute path,
+ # such as: c:\snort\rules
+-var RULE_PATH ../rules
+-var SO_RULE_PATH ../so_rules
+-var PREPROC_RULE_PATH ../preproc_rules
++var RULE_PATH /etc/snort/rules
++var SO_RULE_PATH /etc/snort/so_rules
++var PREPROC_RULE_PATH /etc/snort/preproc_rules
+
+ ###################################################
+ # Step #2: Configure the decoder. For more information, see README.decode
+@@ -217,13 +218,13 @@ config event_queue: max_queue 8 log 3 or
+ ###################################################
+
+ # path to dynamic preprocessor libraries
+-dynamicpreprocessor directory /usr/local/lib/snort_dynamicpreprocessor/
++dynamicpreprocessor directory /usr/lib/snort_dynamicpreprocessor/
+
+ # path to base preprocessor engine
+-dynamicengine /usr/local/lib/snort_dynamicengine/libsf_engine.so
++dynamicengine /usr/lib/snort_dynamicengine/libsf_engine.so
+
+ # path to dynamic rules libraries
+-dynamicdetection directory /usr/local/lib/snort_dynamicrules
++# dynamicdetection directory /usr/lib/snort_dynamicrules
+
+ ###################################################
+ # Step #5: Configure preprocessors
+@@ -477,11 +478,19 @@ preprocessor pop: \
+ # output alert_syslog: LOG_AUTH LOG_ALERT
+
+ # pcap
+-# output log_tcpdump: tcpdump.log
++output log_tcpdump: tcpdump.log
+
+ # database
+ # output database: alert, , user= password= test dbname= host=
+ # output database: log, , user= password= test dbname= host=
++#
++# On Debian Systems, the database configuration is kept in a separate file:
++# /etc/snort/database.conf.
++# This file can be empty, if you are not using any database information
++# If you are using databases, please edit that file instead of this one, to
++# ensure smoother upgrades to future versions of this package.
++include database.conf
++#
+
+ # prelude
+ # output alert_prelude
+@@ -504,47 +513,63 @@ include $RULE_PATH/local.rules
+ include $RULE_PATH/attack-responses.rules
+ include $RULE_PATH/backdoor.rules
+ include $RULE_PATH/bad-traffic.rules
+-include $RULE_PATH/blacklist.rules
+-include $RULE_PATH/botnet-cnc.rules
++# include $RULE_PATH/blacklist.rules
++# include $RULE_PATH/botnet-cnc.rules
+ include $RULE_PATH/chat.rules
+-include $RULE_PATH/content-replace.rules
++# include $RULE_PATH/content-replace.rules
+ include $RULE_PATH/ddos.rules
+ include $RULE_PATH/dns.rules
+ include $RULE_PATH/dos.rules
++include $RULE_PATH/community-dos.rules
+ include $RULE_PATH/exploit.rules
++include $RULE_PATH/community-exploit.rules
+ include $RULE_PATH/finger.rules
+ include $RULE_PATH/ftp.rules
++include $RULE_PATH/community-ftp.rules
+ include $RULE_PATH/icmp.rules
+ include $RULE_PATH/icmp-info.rules
+ include $RULE_PATH/imap.rules
++include $RULE_PATH/community-imap.rules
+ include $RULE_PATH/info.rules
+ include $RULE_PATH/misc.rules
+ include $RULE_PATH/multimedia.rules
+ include $RULE_PATH/mysql.rules
+ include $RULE_PATH/netbios.rules
+ include $RULE_PATH/nntp.rules
++include $RULE_PATH/community-nntp.rules
+ include $RULE_PATH/oracle.rules
++include $RULE_PATH/community-oracle.rules
+ include $RULE_PATH/other-ids.rules
+ include $RULE_PATH/p2p.rules
+-include $RULE_PATH/phishing-spam.rules
++# include $RULE_PATH/phishing-spam.rules
+ include $RULE_PATH/policy.rules
++# include $RULE_PATH/community-policy.rules
++# include $RULE_PATH/community-inappropriate.rules
++# include $RULE_PATH/community-game.rules
++# include $RULE_PATH/community-misc.rules
+ include $RULE_PATH/pop2.rules
+ include $RULE_PATH/pop3.rules
+ include $RULE_PATH/rpc.rules
+ include $RULE_PATH/rservices.rules
+-include $RULE_PATH/scada.rules
++# include $RULE_PATH/scada.rules
+ include $RULE_PATH/scan.rules
++# Note: this rule is extremely chatty, enable with care
+ include $RULE_PATH/shellcode.rules
+ include $RULE_PATH/smtp.rules
++include $RULE_PATH/community-smtp.rules
+ include $RULE_PATH/snmp.rules
+-include $RULE_PATH/specific-threats.rules
+-include $RULE_PATH/spyware-put.rules
++# include $RULE_PATH/specific-threats.rules
++# include $RULE_PATH/spyware-put.rules
+ include $RULE_PATH/sql.rules
+ include $RULE_PATH/telnet.rules
+ include $RULE_PATH/tftp.rules
+ include $RULE_PATH/virus.rules
+-include $RULE_PATH/voip.rules
+-include $RULE_PATH/web-activex.rules
++include $RULE_PATH/community-virus.rules
++include $RULE_PATH/community-bot.rules
++# include $RULE_PATH/voip.rules
++include $RULE_PATH/community-sip.rules
++# Specific web server rules:
++# include $RULE_PATH/web-activex.rules
+ include $RULE_PATH/web-attacks.rules
+ include $RULE_PATH/web-cgi.rules
+ include $RULE_PATH/web-client.rules
+@@ -553,6 +578,20 @@ include $RULE_PATH/web-frontpage.rules
+ include $RULE_PATH/web-iis.rules
+ include $RULE_PATH/web-misc.rules
+ include $RULE_PATH/web-php.rules
++include $RULE_PATH/web-attacks.rules
++include $RULE_PATH/community-sql-injection.rules
++include $RULE_PATH/community-web-client.rules
++include $RULE_PATH/community-web-dos.rules
++include $RULE_PATH/community-web-iis.rules
++include $RULE_PATH/community-web-misc.rules
++include $RULE_PATH/community-web-php.rules
++include $RULE_PATH/web-attacks.rules
++include $RULE_PATH/community-sql-injection.rules
++include $RULE_PATH/community-web-client.rules
++include $RULE_PATH/community-web-dos.rules
++include $RULE_PATH/community-web-iis.rules
++include $RULE_PATH/community-web-misc.rules
++include $RULE_PATH/community-web-php.rules
+ include $RULE_PATH/x11.rules
+
+ ###################################################
diff -Nru snort-2.9.0.1/debian/patches/documentation snort-2.9.2/debian/patches/documentation
--- snort-2.9.0.1/debian/patches/documentation 1969-12-31 16:00:00.000000000 -0800
+++ snort-2.9.2/debian/patches/documentation 2011-12-28 10:22:00.000000000 -0800
@@ -0,0 +1,435 @@
+Description: Additional documentation
+Last-Update: 2011-11-28
+
+--- /dev/null
++++ snort-2.9.2/doc/RELEASE.NOTES.2.3
+@@ -0,0 +1,133 @@
++2005-04-22 - Snort 2.3.3 Released
++
++* Fixed sfPortscan Open Ports not getting suppressed.
++
++* Added new mini-preprocessor to catch the X-Link2State vulnerability.
++ See Snort manual for details.
++
++2005-03-10 - Snort 2.3.2 Released
++
++* Removed end-of-line parser fix in favor of completely reworking
++ this at the next parser overhaul.
++
++2005-03-09 - Snort 2.3.1 Released
++
++* Fixed issue where the number of flowbits were too small. Thanks Marc
++ Norton for the fix.
++
++* Fixed parsing of comments at end of line in config file. In
++ snort.conf, anything that follows a # on a line is considered a
++ comment. Thanks Steve Sturges for the fix.
++
++* Fixed alignment issue causing sfPortscan to crash on Solaris/HPUX.
++ Thanks Andy Mullican for the fix. Thanks Senthil Prabu.S and
++ Jonathan Miner for working with us on this.
++
++2005-01-25 - Snort 2.3.0 Final Released
++
++* Fixed issue with sfPortscan reporting incorrect IP datagram length.
++ Thanks Jon Hart for the test case and finding the bug, and Marc Norton
++ for resolving the issue.
++
++* Threshold/Suppression now prints properly when logging to syslog.
++ Thanks Sekure for pointing out the problem. Thanks Steve Sturges for
++ working on the fix.
++
++* Threshold memcap argument now correctly handles non-integer input.
++ Thanks nnposter for the patch.
++
++* Fixed issue reported by Allan Jensen, where on MacOS X, ppp links were
++ not decoded properly. Thanks Dan Roelker for the fix.
++
++* Snort manual and FAQ are updated for 2.3. Thanks Jen Harvey for your
++ work on putting it all together.
++
++2004-12-15 - Snort 2.3.0 RC2 Released
++
++* Small performance improvement to arpspoof and also fixed a problem
++ where the list of configured IP/MAC entries would contain only one
++ entry and leaked memory (Jeff Nathan).
++
++* Fixed a problem affecting MacOS X where linking may fail with
++ non-standard libraries when global symbols are encountered multiple
++ times (Jeff Nathan).
++
++* Ignore RST|ACK midstream pickup case so we don't get an evasive TCP
++ alerts. Thanks for the report, Sekure. Thanks Dan Roelker for the fix.
++
++* Moved CheckLogDir() to after parsing snort.conf (for IDS mode) so the
++ logdir config will work if the default or command-line logdir does not
++ exist on the system. Thanks Dan Roelker.
++
++* Fixed bug when setting the doe_ptr on a successful pcre match.
++ It is now set relative to base_ptr. Thanks Steve Sturges for the
++ fix.
++
++* Added from_beginning and multiplier options for byte_jump.
++ from_beginning skips bytes from the beginning of the content,
++ instead of from the location immediately following the number
++ of bytes to skip. multiplier takes a numeric argument, and
++ skips x times that number of bytes. Thanks again to Steve Sturges.
++
++* In "fast" output, now log only actual packet contents when UDP
++ data length is greater than actual data length. Thanks Brian
++ Caswell for spotting this, and Andrew Mullican for working on the fix.
++
++* Please check the ChangeLog for further details.
++
++2004-11-18 - Snort 2.3.0 RC1 Released
++
++* Added IPS functionality from Snort-Inline. A big thanks to the
++ Snort-Inline guys (Jed Haile, Rob McMillen, William Metcalf, and Victor
++ Julien). Also, Thanks Dan Roelker for doing the integrating of
++ Snort-Inline into the official Snort project.
++
++* Added new portscan detector. The design and implementation was headed
++ up by Dan Roelker, and included Marc Norton and Jeremy Hewlett.
++
++* Numerous changes for better 64bit Snort support from Jeremy Hewlett and
++ Marc Norton. Additionally, an --enable-64bit-gcc option was added to
++ configure. However, there are still some memory alignment issues to
++ work out before 64bit mode is fully functional, patches are welcomed.
++ Thanks Chris Baker for doing 64bit testing.
++
++* Added not_established keyword to the flow detection option. This allows
++ snort to do dynamic firewall rulesets. Experimental for now.
++
++* Added an enforce_state keyword to stream4 so we won't pick up midstream
++ sessions. This works well for asynchronous links and also for
++ just monitoring legitimate traffic.
++
++* Relocated ./contrib files to http://www.snort.org/dl/contrib as many
++ are not maintained by Sourcefire and are out of date. The rpm and
++ schema files have been relocated in their respective 'rpm' and 'schemas'
++ directories under the snort parent directory.
++
++* perfmonitor config line can now be configured with "accumulate" or
++ "reset." Thanks Marc Norton for the feature, and Barry Basselgia for
++ pointing out the issue. Thanks Scott Dexter and Andreas Ostling for
++ doing some initial testing.
++
++* Fixed 64-bit bug in sfmemcap.c found and tested by Ryan Matteson
++ and Clay McClure. Thanks guys.
++
++* Fixed reference times to match log time for first packet, for an event
++ generated by a reassembled packet. Incremented event ID to give
++ unique ID for each packet. Also made unified logging compatible with
++ Windows. Thanks Andrew Mullican for the fix.
++
++* Fixed linux perfmonitoring stats for the 2.6 kernel. Thanks to
++ everyone that reported this bug. Thanks Dan Roelker for the fix.
++
++* Get thresholding/suppression to work for alerts that do not
++ contain an ip header (primarily decode alerts). Thanks
++ Brian Caswell.
++
++* Fix conditions where snort would log double web alerts that
++ contained only content options (no uricontents). Thanks to kawa for
++ finding and reporting this bug.
++
++* Fix suppression/thresholding bug for non-rule alerts. Thanks to
++ Alex Butcher for reporting it to us.
++
++* Many other bug fixes, please check the ChangeLog for details.
+--- /dev/null
++++ snort-2.9.2/doc/RELEASE.NOTES.2.6
+@@ -0,0 +1,114 @@
++2007-05-09 - Snort 2.6.1.5 Released
++[*] New Additions
++ * Updated HttpInspect to normalize parameters that are part of the
++ client request body in the same way it normalizes HTTP URIs.
++ Added a modifier keyword to be used in conjunction with a content
++ option in the rules to search only the normalized HTTP client request
++ body. Also added stats for HttpInspect to track number of various
++ types of normalizations and HTTP methods.
++
++[*] Improvements
++ * Fix header files to avoid conflicts with system files on BSD for
++ IPv6 data structures.
++
++ * Fix possible memory leak in Stream4 when HttpInspect is being
++ used.
++
++2007-03-26 - Snort 2.6.1.4 Released
++[*] New Additions
++ * Added detection for BSD IPv6 fragmentation overflow (CVE-2007-1365).
++ New options configure the behavior of the detection and new decoder
++ alerts for truncated IPv6 headers and a Fragmentation alert for the
++ specific overflow attack.
++
++[*] Security Improvements
++ * Updated code to use safer functions that perform bounds checking
++ when doing string or memory copies and snprintf buffer writes.
++ Ensure null termination on string buffers and perform initialization
++ on memory allocations.
++
++2007-02-18 - Snort 2.6.1.3 Released
++[*] Improvements
++ * Updated DCE/RPC dynamic protocol normalizer to perform additional
++ boundary checking when reassembling SMB fragments. This addresses
++ a potential remotely exploitable stack-based buffer overflow.
++
++ * Updated Frag3 to protect against potential for fragments without
++ ethernet header being passed from iptables to Snort inline.
++
++2006-12-07 - Snort 2.6.1.2 Released
++[*] Improvements
++ * Fixed problem with snort using high CPU and potentially reprocessing
++ the same TCP reassembled packets with a sequence number wrap and
++ packets missing from the queue (out of order, dropped, or async
++ network).
++
++ * Updated DCE/RPC dynamic protocol normalizer to protect against
++ integer underflow conditions.
++
++ * Updated unified output plugin to work correctly on certain 64bit
++ platforms where timeval structure is a different size. A patch
++ to barnyard that is associated with this fix can be found at:
++ http://secure.lv/~nikns/stuff/barnyard_64bit.diff.
++
++2006-11-22 - Snort 2.6.1.1 Released
++[*] Improvements
++ * Fixed problem with snort using high CPU and potentially reprocessing
++ the same TCP reassembled packets at session end or TCP ACK of only
++ part of a packet.
++
++2006-11-16 - Snort 2.6.1 Released
++[*] New Additions
++ * Support for UDP "session" tracking to Stream4. Enable via
++ --enable-stream4udp option to configure script. This allows
++ the use of flow option with UDP rules. Includes tracking
++ of stats for UDP sessions. A session is created for rules that
++ use the flow or flowbits keywords. Also provided the ability to
++ ignore UDP any any -> any any rules as a performance improvement.
++
++ * Stream5 (for Beta testing) as replacement for Stream4
++ and Flow preprocessors. See README.stream for details.
++
++ * Allow blocking of entire session in inline mode via stream API.
++ All subsequent packets on that session are blocked.
++
++ * Dynamic DCE/RPC protocol normalizer and defragmentation
++ module. See README.dcerpc for details.
++
++ * SSH (for Beta testing) protocol analyzer. See README.ssh for
++ details.
++
++ * Support for GRE encapsulated protocol (experimental). Enable via
++ --enable-gre option to configure script.
++
++ * Aruba networks output plugin (experimental). See README.ARUBA for
++ details. Enable via --enable-aruba option to configure script.
++
++ * Smaller memory footprint pattern mattcher using Aho-Corasick,
++ using NFA. Use 'config detection: search-method ac-bnfa' to
++ enable. This will become the default pattern matcher in future
++ releases. Wu-Manhber has been deprecated (mwm).
++
++[*] Improvements
++
++ * Added parameter to dynamicengine to allow specification of
++ directory instead of implicit file. This will load all engine shared
++ libraries within the specified directory. Can also use
++ --dynamic-engine-lib-dir command-line option. Fix handling of
++ loading multiple instances of the same dynamic library (engine,
++ detection, or preprocessor).
++
++ * Updates to HTTP inspect to handle different versions of IIS with
++ the related iis profiles. See README.httpinspect for details.
++
++ * Cleaned up inline initialization to better handle test mode.
++
++ * Updates to interface dependent variable definitions.
++
++ * Added stats for packets not yet processed -- those that are still in
++ the buffer used by pcap.
++
++ * Fixed issue with fewer alerts being generated when snort is compiled
++ with gcc 4.x by using no-strict-aliasing flag.
++
++ * Require each rule to have a unique sid/gid pair.
+--- snort-2.9.2.orig/doc/README.database
++++ snort-2.9.2/doc/README.database
+@@ -332,6 +332,9 @@ IV. Changelog
+
+ V. Changelog of Database schema
+
++2007-03-15 -- v107
++ + ALL: Updated to include signature.sig_gid to log the generator ID
++
+ 2002-09-03 -- v106
+ + ALL: added sensor.last_cid to store the last used cid for a
+ given sid
+--- /dev/null
++++ snort-2.9.2/doc/RELEASE.NOTES.2.7
+@@ -0,0 +1,23 @@
++2007-07-09 - Snort 2.7.0
++
++[*] New Additions
++ * Stream5 is now the default stream processor and replaces both flow
++ and Stream4. Refer to the Snort manual and README.stream5 for
++ details on how to configure it for OS target-specific TCP
++ processing.
++
++[*] Improvements
++ * Fixed header files to avoid conflicts with system files on BSD for
++ IPv6 data structures.
++
++ * Reduced memory footprint for smtp preprocessor.
++
++ * Ensured Snort frees memory from preprocessors before exit. Only
++ outstanding memory in use is related to pattern matcher and
++ rules.
++
++[*] Security Improvements
++ * Further updates that use safer functions that perform bounds checking
++ when doing string or memory copies and snprintf buffer writes.
++ Ensure null termination on string buffers and perform initialization
++ on memory allocations.
+--- /dev/null
++++ snort-2.9.2/doc/RELEASE.NOTES.2.4
+@@ -0,0 +1,138 @@
++2006-06-05 - Snort 2.4.5 Released
++ * Fixed potential evasion in URI content buffers
++ * Fixed potential evasion in Stream4
++
++2006-03-08 - Snort 2.4.4 Released
++[*] Improvements
++ * Fixed ip options handling in Frag3.
++ * Fixed bug in Wu-Manbher implementation regarding multiple
++ recurring patterns.
++ * Fixed a config file parsing bug which required DNS resolution
++ in certain circumstances.
++ * Updated perfmonitor to properly handle wraps on 64 bit platforms.
++ * Fixed crash in portscan related to bogus data in sfxhash.
++ * Fixed memory leak in Frag3.
++ * Allow use of 0 as a value to -G.
++
++2005-10-17 - Snort 2.4.3 Released
++[*] Improvements
++ * Fixed possible buffer overflow in back orifice preprocessor.
++ * Added snort.conf options to bo preprocessor for finer control of
++ alerting and dropping of bo traffic.
++ * Added alert to detect the bo buffer overflow attack against snort.
++
++2005-09-28 - Snort 2.4.2 Released
++[*] Improvements
++ * Fixed crash bug with -T and default logging setup first reported by
++ Zultan.
++ * Corrected Win32 directory setup for new WinPCAP.
++
++2005-09-16 - Snort 2.4.1 Released
++[*] New additions
++ * Added a -K command line option to manually select the logging mode using
++ a single switch. The -b and -N switches will be deprecated in version
++ 2.7. Pcap logging is now the default for Snort at startup, use "-K ascii"
++ to revert to old behavior.
++
++[*] Improvements
++ * Win32 version now supports winpcap 3.1 and MySQL client 4.13.
++ * Added event on zero-length RPC fragments.
++ * Fixed TCP SACK processing for text based outputs that could result in a
++ DoS.
++ * General improvements to frag3 including Teardrop detection fix.
++ * Fixed a bug in the PPPoE decoder.
++ * Added patch for time stats from Bill Parker. Enable with configure
++ --enable-timestats.
++ * Fixed IDS mode bailing at startup if logdir is specified in snort.conf
++ and /var/log/snort doesn't exist.
++ * Added decoder for IPEnc for OpenBSD. Thanks Jason Ish for the patch
++ (long time ago) and Chris Kuethe for reraising the issue.
++ * Allow snort to use usernames (-u) and groupnames (-g) that include
++ numbers. Thanks to Shaick for the patch.
++ * Fixed broken -T option.
++ * Change ip_proto to ip for portscan configuration. Thanks David Bianco
++ for pointing this out.
++ * Fix for prelude initialization. Thanks Yoann Vandoorselaere for the
++ update.
++ * For content matches, when subsequent rule options fail, start searching
++ again in correct location.
++ * Updated Win32 to handle pflog patch.
++ * Added support for new OpenBSD pflog format. Older pflog format,
++ OpenBSD 3.3 and earlier is still supported. Thanks Breno Leitao
++ and Christian Reis for the patch.
++ * Added statistics counter for ETH_LOOPBACK packets. Thanks rmkml
++ for the patch.
++
++2005-07-22 - Snort 2.4.0 Released
++
++[*] Distribution Change
++ * Rules are no longer distributed as part of the Snort releases, they are
++ available as a separate download from snort.org. This was done for
++ three reasons:
++ 1) To better manage the new rules licensing.
++ 2) To reduce the size of the engine download.
++ 3) To move the thousands of documentation files for the rules into
++ the rules tarballs. If you've ever checked Snort out of CVS you'll
++ know why this is a Good Thing.
++
++[*] New additions
++ * Added new IP defragmentation preprocessor, Frag3. The frag3 preprocessor
++ is a target-based IP defragmentation module, and is intended as a
++ replacement for the frag2 module. Check out the README.frag3 for full
++ info on this new preprocessor.
++
++ * Libprelude support has been added (enable with --enable-prelude).
++ Thanks Yoann Vandoorselaere!
++
++ * An "ftpbounce" rule detection plugin was added for easier detection of
++ FTP bounce attacks.
++
++ * Added a new Snort config option, "ignore_ports," to ignore packets
++ based on port number. This is similar to bpf filters, but done within
++ snort.conf.
++
++[*] Improvements
++ * Snort startup messages printed in syslog now contain a PID before each
++ entry. Thanks Sekure for initially bringing this up.
++
++ * Stream4: Performance improvements.
++
++ * Stream4: Added 'max_session_limit' option which limits number of
++ concurrent sessions tracked. Added favor_old/favor_new options that
++ affect order in which packets are put together for reassembly.
++
++ * Stream4: New configuration options to manage flushpoints for improved
++ anti-evasion. The flush_behavior option selects flushpoint management
++ mode. New flush_base, flush_range, and flush_seed manage randomized
++ flushing. Check out the snort.conf file for full config data on the
++ new flush options.
++
++ * Added two more alerts for BackOrifice client and server packets. This
++ allows specific alerts to be suppressed.
++
++ * PerfMon preprocessor updated to include more detailed stats for rebuilt
++ packets (applayer, wire, fragmented & TCP). Also added 'atexitonly'
++ option that dumps stats at exit of snort, and command line -Z flag to
++ specify the file to which stats are logged.
++
++ * Added new Http Inspect config item, "tab_uri_delimiter," which if
++ specified, lets a tab character (0x09) act as the delimiter for a URI.
++
++ * Added a '-G' command line flag to snort that specifies the Snort
++ instance log identifier. It takes a single argument that can be either
++ hex (prefaced with 0x) or decimal. The unified log files will include
++ the instance ID when the -G flag is used.
++
++ * "Same SRC/DST" (sid 527) and "Loopback Traffic" (sid 528) are now
++ handled in the IP decoder. Those sids are now considered obsolete.
++
++ * Http_Inspect "flow_depth" option now accepts a -1 value which tells
++ Snort to ignore all server-side traffic.
++
++ * RPMs have been updated to be more portable, and also now include a
++ "--with inline" option for those wanting to build Inline RPMs. Thanks
++ Daniel Wittenberg and JP Vossen for your help!
++
++ * Many, many bug fixes have also gone into this release, please see the
++ ChangeLog for details.
++
diff -Nru snort-2.9.0.1/debian/patches/fix_ftbfs_in_faq.tex snort-2.9.2/debian/patches/fix_ftbfs_in_faq.tex
--- snort-2.9.0.1/debian/patches/fix_ftbfs_in_faq.tex 1969-12-31 16:00:00.000000000 -0800
+++ snort-2.9.2/debian/patches/fix_ftbfs_in_faq.tex 2011-12-28 10:16:14.000000000 -0800
@@ -0,0 +1,33 @@
+Description: Fix FTBFS caused by html.sty being unavailable
+Author: Javier Fernandez-Sanguino Pen~a
+
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/365872
+Last-Update: 2011-12-28
+
+
+--- snort-2.9.2.orig/doc/faq.tex
++++ snort-2.9.2/doc/faq.tex
+@@ -2,7 +2,7 @@
+
+ %latex2html -info 0 -local_icons -show_section_numbers -link 2 -split +1 faq.tex
+ \documentclass{article}
+-\usepackage{html}
++\usepackage{hyperref}
+ \usepackage{graphicx}
+ \usepackage{fancyhdr}
+ \usepackage{makeidx}
+@@ -98,11 +98,11 @@ book. (route++)
+
+ \newpage
+
+-\begin{latexonly}
++%\begin{latexonly}
+ \tableofcontents
+
+ \newpage
+-\end{latexonly}
++%\end{latexonly}
+
+ \section{Background}
+
diff -Nru snort-2.9.0.1/debian/patches/fix_ftbfs_in_manual.tex snort-2.9.2/debian/patches/fix_ftbfs_in_manual.tex
--- snort-2.9.0.1/debian/patches/fix_ftbfs_in_manual.tex 1969-12-31 16:00:00.000000000 -0800
+++ snort-2.9.2/debian/patches/fix_ftbfs_in_manual.tex 2011-12-28 10:17:31.000000000 -0800
@@ -0,0 +1,48 @@
+Description: Fix FTBFS in manual.tex caused by missing html.sty
+Author: Michael Bienia
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/436244
+Last-Update: 2011-11-28
+
+--- snort-2.9.2.orig/doc/snort_manual.tex
++++ snort-2.9.2/doc/snort_manual.tex
+@@ -16,7 +16,7 @@
+ %\IfFileExists{url.sty}{\usepackage{url}}
+ % {\newcommand{\url}{\texttt}}
+
+-\usepackage{html}
++\usepackage{hyperref}
+
+ % \makeatletter
+
+@@ -71,18 +71,18 @@
+ }
+ %\end{latexonly}
+
+-\begin{htmlonly}
+-\newenvironment{note}{
+- \begin{rawhtml}
+- |
+- Note:
+- \end{rawhtml}
+-}{
+- \begin{rawhtml}
+- |
+- \end{rawhtml}
+-}
+-\end{htmlonly}
++%\begin{htmlonly}
++%\newenvironment{note}{
++% \begin{rawhtml}
++% |
++% Note:
++% \end{rawhtml}
++%}{
++% \begin{rawhtml}
++% |
++% \end{rawhtml}
++%}
++%\end{htmlonly}
+
+ \usepackage{babel}
+
diff -Nru snort-2.9.0.1/debian/patches/fix_upstream_typos snort-2.9.2/debian/patches/fix_upstream_typos
--- snort-2.9.0.1/debian/patches/fix_upstream_typos 1969-12-31 16:00:00.000000000 -0800
+++ snort-2.9.2/debian/patches/fix_upstream_typos 2011-12-27 14:38:13.000000000 -0800
@@ -0,0 +1,22 @@
+--- a/src/dynamic-preprocessors/dns/spp_dns.c
++++ b/src/dynamic-preprocessors/dns/spp_dns.c
+@@ -279,7 +279,7 @@
+ if (( !cur_tokenp ) || ( strcmp(cur_tokenp, "{" )))
+ {
+ DynamicPreprocessorFatalMessage("%s(%d) Bad value specified for %s. Must start "
+- "with '{' and be space seperated.\n",
++ "with '{' and be space separated.\n",
+ *(_dpd.config_file), *(_dpd.config_line),
+ DNS_PORTS_KEYWORD);
+ //free(argcpyp);
+--- a/src/parser.c
++++ b/src/parser.c
+@@ -4828,7 +4828,7 @@
+
+ if(filespec == NULL)
+ {
+- FatalError("no arguement in this file option, remove extra ':' at the end of the alert option\n");
++ FatalError("no argument in this file option, remove extra ':' at the end of the alert option\n");
+ }
+
+ /* look for ".." in the string and complain and exit if it is found */
diff -Nru snort-2.9.0.1/debian/patches/rules snort-2.9.2/debian/patches/rules
--- snort-2.9.0.1/debian/patches/rules 1969-12-31 16:00:00.000000000 -0800
+++ snort-2.9.2/debian/patches/rules 2011-12-28 10:20:49.000000000 -0800
@@ -0,0 +1,12610 @@
+Description: Additional community rules
+Origin: other
+Last-Update: 2011-11-28
+
+--- /dev/null
++++ b/rules/community-web-dos.rules
+@@ -0,0 +1,5 @@
++# Copyright 2005 Sourcefire, Inc. All Rights Reserved.
++# These rules are licensed under the GNU General Public License.
++# Please see the file LICENSE in this directory for more details.
++# $Id: community-web-dos.rules,v 1.8 2005/03/08 14:41:42 bmc Exp $
++
+--- /dev/null
++++ b/rules/pop2.rules
+@@ -0,0 +1,26 @@
++# Copyright 2001-2005 Sourcefire, Inc. All Rights Reserved
++#
++# This file may contain proprietary rules that were created, tested and
++# certified by Sourcefire, Inc. (the "VRT Certified Rules") as well as
++# rules that were created by Sourcefire and other third parties and
++# distributed under the GNU General Public License (the "GPL Rules"). The
++# VRT Certified Rules contained in this file are the property of
++# Sourcefire, Inc. Copyright 2005 Sourcefire, Inc. All Rights Reserved.
++# The GPL Rules created by Sourcefire, Inc. are the property of
++# Sourcefire, Inc. Copyright 2002-2005 Sourcefire, Inc. All Rights
++# Reserved. All other GPL Rules are owned and copyrighted by their
++# respective owners (please see www.snort.org/contributors for a list of
++# owners and their respective copyrights). In order to determine what
++# rules are VRT Certified Rules or GPL Rules, please refer to the VRT
++# Certified Rules License Agreement.
++#
++#
++# $Id: pop2.rules,v 1.11.2.2.2.1 2005/05/16 22:17:52 mwatchinski Exp $
++#--------------
++# POP2 RULES
++#--------------
++
++alert tcp $EXTERNAL_NET any -> $HOME_NET 109 (msg:"POP2 FOLD overflow attempt"; flow:established,to_server; content:"FOLD"; nocase; isdataat:256,relative; pcre:"/^FOLD\s[^\n]{256}/smi"; reference:bugtraq,283; reference:cve,1999-0920; reference:nessus,10130; classtype:attempted-admin; sid:1934; rev:10;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 109 (msg:"POP2 FOLD arbitrary file attempt"; flow:established,to_server; content:"FOLD"; nocase; pcre:"/^FOLD\s+\//smi"; classtype:misc-attack; sid:1935; rev:5;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 109 (msg:"POP2 x86 Linux overflow"; flow:established,to_server; content:"|EB|,[|89 D9 80 C1 06|9|D9 7C 07 80 01|"; reference:bugtraq,283; reference:cve,1999-0920; reference:nessus,10130; classtype:attempted-admin; sid:284; rev:8;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 109 (msg:"POP2 x86 Linux overflow"; flow:established,to_server; content:"|FF FF FF|/BIN/SH|00|"; reference:bugtraq,283; reference:cve,1999-0920; reference:nessus,10130; classtype:attempted-admin; sid:285; rev:8;)
+--- /dev/null
++++ b/rules/backdoor.rules
+@@ -0,0 +1,119 @@
++# Copyright 2001-2005 Sourcefire, Inc. All Rights Reserved
++#
++# This file may contain proprietary rules that were created, tested and
++# certified by Sourcefire, Inc. (the "VRT Certified Rules") as well as
++# rules that were created by Sourcefire and other third parties and
++# distributed under the GNU General Public License (the "GPL Rules"). The
++# VRT Certified Rules contained in this file are the property of
++# Sourcefire, Inc. Copyright 2005 Sourcefire, Inc. All Rights Reserved.
++# The GPL Rules created by Sourcefire, Inc. are the property of
++# Sourcefire, Inc. Copyright 2002-2005 Sourcefire, Inc. All Rights
++# Reserved. All other GPL Rules are owned and copyrighted by their
++# respective owners (please see www.snort.org/contributors for a list of
++# owners and their respective copyrights). In order to determine what
++# rules are VRT Certified Rules or GPL Rules, please refer to the VRT
++# Certified Rules License Agreement.
++#
++#
++# $Id: backdoor.rules,v 1.44.2.6.2.3 2005/05/31 17:13:02 mwatchinski Exp $
++#---------------
++# BACKDOOR RULES
++#---------------
++#
++
++alert tcp $EXTERNAL_NET 27374 -> $HOME_NET any (msg:"BACKDOOR subseven 22"; flow:to_server,established; content:"|0D 0A|[RPL]002|0D 0A|"; reference:arachnids,485; reference:url,www.hackfix.org/subseven/; classtype:misc-activity; sid:103; rev:7;)
++alert tcp $HOME_NET 16959 -> $EXTERNAL_NET any (msg:"BACKDOOR subseven DEFCON8 2.1 access"; flow:from_server,established; content:"PWD"; classtype:trojan-activity; sid:107; rev:6;)
++
++
++alert tcp $HOME_NET 12345:12346 -> $EXTERNAL_NET any (msg:"BACKDOOR netbus active"; flow:from_server,established; content:"NetBus"; reference:arachnids,401; classtype:misc-activity; sid:109; rev:5;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 12345:12346 (msg:"BACKDOOR netbus getinfo"; flow:to_server,established; content:"GetInfo|0D|"; reference:arachnids,403; classtype:misc-activity; sid:110; rev:4;)
++
++alert tcp $HOME_NET 20034 -> $EXTERNAL_NET any (msg:"BACKDOOR NetBus Pro 2.0 connection established"; flow:from_server,established; flowbits:isset,backdoor.netbus_2.connect; content:"BN|10 00 02 00|"; depth:6; content:"|05 00|"; depth:2; offset:8; classtype:misc-activity; sid:115; rev:9;)
++
++# 3150, 4120
++alert udp $EXTERNAL_NET any -> $HOME_NET 2140 (msg:"BACKDOOR DeepThroat 3.1 Connection attempt"; content:"00"; depth:2; reference:mcafee,98574; reference:nessus,10053; classtype:misc-activity; sid:1980; rev:4;)
++alert udp $HOME_NET 2140 -> $EXTERNAL_NET any (msg:"BACKDOOR DeepThroat 3.1 Server Response"; content:"Ahhhh My Mouth Is Open"; reference:arachnids,106; reference:mcafee,98574; reference:nessus,10053; classtype:misc-activity; sid:195; rev:7;)
++alert udp $EXTERNAL_NET any -> $HOME_NET 3150 (msg:"BACKDOOR DeepThroat 3.1 Connection attempt [3150]"; content:"00"; depth:2; reference:mcafee,98574; reference:nessus,10053; classtype:misc-activity; sid:1981; rev:3;)
++alert udp $HOME_NET 3150 -> $EXTERNAL_NET any (msg:"BACKDOOR DeepThroat 3.1 Server Response [3150]"; content:"Ahhhh My Mouth Is Open"; reference:arachnids,106; reference:mcafee,98574; reference:nessus,10053; classtype:misc-activity; sid:1982; rev:3;)
++alert udp $EXTERNAL_NET any -> $HOME_NET 4120 (msg:"BACKDOOR DeepThroat 3.1 Connection attempt [4120]"; content:"00"; depth:2; reference:mcafee,98574; reference:nessus,10053; classtype:misc-activity; sid:1983; rev:3;)
++alert udp $HOME_NET 4120 -> $EXTERNAL_NET any (msg:"BACKDOOR DeepThroat 3.1 Server Response [4120]"; content:"Ahhhh My Mouth Is Open"; reference:arachnids,106; reference:mcafee,98574; reference:nessus,10053; classtype:misc-activity; sid:1984; rev:3;)
++
++
++alert tcp $HOME_NET 6789 -> $EXTERNAL_NET any (msg:"BACKDOOR Doly 2.0 access"; flow:established,from_server; content:"Wtzup Use"; depth:32; reference:arachnids,312; classtype:misc-activity; sid:119; rev:5;)
++alert tcp $HOME_NET 1015 -> $EXTERNAL_NET any (msg:"BACKDOOR Doly 1.5 server response"; flow:from_server,established; content:"Connected."; classtype:trojan-activity; sid:1985; rev:2;)
++
++
++alert tcp $EXTERNAL_NET 1024: -> $HOME_NET 2589 (msg:"BACKDOOR - Dagger_1.4.0_client_connect"; flow:to_server,established; content:"|0B 00 00 00 07 00 00 00|Connect"; depth:16; reference:arachnids,483; reference:url,www.tlsecurity.net/backdoor/Dagger.1.4.html; classtype:misc-activity; sid:104; rev:7;)
++alert tcp $HOME_NET 2589 -> $EXTERNAL_NET 1024: (msg:"BACKDOOR - Dagger_1.4.0"; flow:from_server,established; content:"2|00 00 00 06 00 00 00|Drives|24 00|"; depth:16; reference:arachnids,484; reference:url,www.tlsecurity.net/backdoor/Dagger.1.4.html; classtype:misc-activity; sid:105; rev:7;)
++alert tcp $EXTERNAL_NET 80 -> $HOME_NET 1054 (msg:"BACKDOOR ACKcmdC trojan scan"; flow:stateless; ack:101058054; flags:A,12; seq:101058054; reference:arachnids,445; classtype:misc-activity; sid:106; rev:9;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 7597 (msg:"BACKDOOR QAZ Worm Client Login access"; flow:to_server,established; content:"qazwsx.hsq"; reference:MCAFEE,98775; classtype:misc-activity; sid:108; rev:6;)
++
++
++alert tcp $HOME_NET 146 -> $EXTERNAL_NET 1024: (msg:"BACKDOOR Infector.1.x"; flow:established,from_server; content:"WHATISIT"; reference:arachnids,315; classtype:misc-activity; sid:117; rev:6;)
++alert tcp $HOME_NET 666 -> $EXTERNAL_NET 1024: (msg:"BACKDOOR SatansBackdoor.2.0.Beta"; flow:established,from_server; content:"Remote|3A| You are connected to me."; reference:arachnids,316; classtype:misc-activity; sid:118; rev:5;)
++alert tcp $HOME_NET 146 -> $EXTERNAL_NET 1000:1300 (msg:"BACKDOOR Infector 1.6 Server to Client"; flow:established,from_server; content:"WHATISIT"; reference:cve,1999-0660; reference:nessus,11157; classtype:misc-activity; sid:120; rev:8;)
++alert tcp $EXTERNAL_NET 1000:1300 -> $HOME_NET 146 (msg:"BACKDOOR Infector 1.6 Client to Server Connection Request"; flow:to_server,established; content:"FC "; reference:cve,1999-0660; reference:nessus,11157; classtype:misc-activity; sid:121; rev:8;)
++
++alert tcp $HOME_NET 31785 -> $EXTERNAL_NET any (msg:"BACKDOOR HackAttack 1.20 Connect"; flow:established,from_server; content:"host"; classtype:misc-activity; sid:141; rev:5;)
++
++alert tcp $EXTERNAL_NET !80 -> $HOME_NET 21554 (msg:"BACKDOOR GirlFriendaccess"; flow:to_server,established; content:"Girl"; reference:arachnids,98; classtype:misc-activity; sid:145; rev:5;)
++alert tcp $HOME_NET 30100 -> $EXTERNAL_NET any (msg:"BACKDOOR NetSphere access"; flow:established,from_server; content:"NetSphere"; reference:arachnids,76; classtype:misc-activity; sid:146; rev:5;)
++alert tcp $HOME_NET 6969 -> $EXTERNAL_NET any (msg:"BACKDOOR GateCrasher"; flow:established,from_server; content:"GateCrasher"; reference:arachnids,99; classtype:misc-activity; sid:147; rev:5;)
++alert tcp $HOME_NET 5401:5402 -> $EXTERNAL_NET any (msg:"BACKDOOR BackConstruction 2.1 Connection"; flow:established,from_server; content:"c|3A 5C|"; classtype:misc-activity; sid:152; rev:6;)
++alert tcp $HOME_NET 23476 -> $EXTERNAL_NET any (msg:"BACKDOOR DonaldDick 1.53 Traffic"; flow:from_server,established; content:"pINg"; reference:mcafee,98575; classtype:misc-activity; sid:153; rev:6;)
++alert tcp $HOME_NET 30100:30102 -> $EXTERNAL_NET any (msg:"BACKDOOR NetSphere 1.31.337 access"; flow:from_server,established; content:"NetSphere"; reference:arachnids,76; classtype:misc-activity; sid:155; rev:5;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 666 (msg:"BACKDOOR BackConstruction 2.1 Client FTP Open Request"; flow:to_server,established; content:"FTPON"; classtype:misc-activity; sid:157; rev:5;)
++alert tcp $HOME_NET 666 -> $EXTERNAL_NET any (msg:"BACKDOOR BackConstruction 2.1 Server FTP Open Reply"; flow:from_server,established; content:"FTP Port open"; classtype:misc-activity; sid:158; rev:5;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 5032 (msg:"BACKDOOR NetMetro File List"; flow:to_server,established; content:"--"; reference:arachnids,79; classtype:misc-activity; sid:159; rev:6;)
++# alert tcp $EXTERNAL_NET 5031 -> $HOME_NET !53:80 (msg:"BACKDOOR NetMetro Incoming Traffic"; flow:stateless; flags:A+; reference:arachnids,79; classtype:misc-activity; sid:160; rev:6;)
++alert udp $EXTERNAL_NET 3344 -> $HOME_NET 3345 (msg:"BACKDOOR Matrix 2.0 Client connect"; content:"activate"; reference:arachnids,83; classtype:misc-activity; sid:161; rev:4;)
++alert udp $EXTERNAL_NET 3345 -> $HOME_NET 3344 (msg:"BACKDOOR Matrix 2.0 Server access"; content:"logged in"; reference:arachnids,83; classtype:misc-activity; sid:162; rev:4;)
++alert tcp $HOME_NET 5714 -> $EXTERNAL_NET any (msg:"BACKDOOR WinCrash 1.0 Server Active"; flow:stateless; flags:SA,12; content:"|B4 B4|"; reference:arachnids,36; classtype:misc-activity; sid:163; rev:9;)
++alert icmp 255.255.255.0/24 any -> $HOME_NET any (msg:"BACKDOOR SIGNATURE - Q ICMP"; dsize:>1; itype:0; reference:arachnids,202; classtype:misc-activity; sid:183; rev:4;)
++alert tcp 255.255.255.0/24 any -> $HOME_NET any (msg:"BACKDOOR Q access"; flow:stateless; dsize:>1; flags:A+; reference:arachnids,203; classtype:misc-activity; sid:184; rev:7;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 79 (msg:"BACKDOOR CDK"; flow:to_server,established; content:"ypi0ca"; depth:15; nocase; reference:arachnids,263; classtype:misc-activity; sid:185; rev:5;)
++
++
++alert tcp $HOME_NET 555 -> $EXTERNAL_NET any (msg:"BACKDOOR PhaseZero Server Active on Network"; flow:established,from_server; content:"phAse"; classtype:misc-activity; sid:208; rev:5;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"BACKDOOR w00w00 attempt"; flow:to_server,established; content:"w00w00"; reference:arachnids,510; classtype:attempted-admin; sid:209; rev:4;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"BACKDOOR attempt"; flow:to_server,established; content:"backdoor"; nocase; classtype:attempted-admin; sid:210; rev:3;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"BACKDOOR MISC r00t attempt"; flow:to_server,established; content:"r00t"; classtype:attempted-admin; sid:211; rev:3;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"BACKDOOR MISC rewt attempt"; flow:to_server,established; content:"rewt"; classtype:attempted-admin; sid:212; rev:3;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"BACKDOOR MISC Linux rootkit attempt"; flow:to_server,established; content:"wh00t!"; classtype:attempted-admin; sid:213; rev:4;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"BACKDOOR MISC Linux rootkit attempt lrkr0x"; flow:to_server,established; content:"lrkr0x"; classtype:attempted-admin; sid:214; rev:4;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"BACKDOOR MISC Linux rootkit attempt"; flow:to_server,established; content:"d13hh["; nocase; classtype:attempted-admin; sid:215; rev:4;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"BACKDOOR MISC Linux rootkit satori attempt"; flow:to_server,established; content:"satori"; reference:arachnids,516; classtype:attempted-admin; sid:216; rev:6;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"BACKDOOR MISC sm4ck attempt"; flow:to_server,established; content:"hax0r"; classtype:attempted-admin; sid:217; rev:3;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"BACKDOOR MISC Solaris 2.5 attempt"; flow:to_server,established; content:"friday"; classtype:attempted-user; sid:218; rev:4;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"BACKDOOR HidePak backdoor attempt"; flow:to_server,established; content:"StoogR"; classtype:misc-activity; sid:219; rev:6;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"BACKDOOR HideSource backdoor attempt"; flow:to_server,established; content:"wank"; classtype:misc-activity; sid:220; rev:6;)
++alert tcp $EXTERNAL_NET 31790 -> $HOME_NET 31789 (msg:"BACKDOOR hack-a-tack attempt"; flow:stateless; flags:A+; content:"A"; depth:1; reference:arachnids,314; classtype:attempted-recon; sid:614; rev:8;)
++alert ip any any -> 216.80.99.202 any (msg:"BACKDOOR fragroute trojan connection attempt"; reference:bugtraq,4898; classtype:trojan-activity; sid:1791; rev:2;)
++alert udp $EXTERNAL_NET any -> $HOME_NET 35555 (msg:"BACKDOOR win-trin00 connection attempt"; content:"png []..Ks l44"; depth:14; reference:cve,2000-0138; reference:nessus,10307; classtype:attempted-admin; sid:1853; rev:6;)
++
++
++# NOTES: this string should be within the first 3 bytes of the connection
++alert tcp $EXTERNAL_NET any -> $HOME_NET 33270 (msg:"BACKDOOR trinity connection attempt"; flow:to_server,established; content:"!@|23|"; depth:3; reference:cve,2000-0138; reference:nessus,10501; classtype:attempted-admin; sid:1843; rev:6;)
++alert tcp any any -> 212.146.0.34 1963 (msg:"BACKDOOR TCPDUMP/PCAP trojan traffic"; flow:stateless; reference:url,hlug.fscker.com; classtype:trojan-activity; sid:1929; rev:5;)
++alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:"BACKDOOR SubSeven 2.1 Gold server connection response"; flow:from_server,established; content:"connected. time/date|3A| "; depth:22; content:"version|3A| GOLD 2.1"; distance:1; reference:mcafee,10566; reference:nessus,10409; classtype:misc-activity; sid:2100; rev:6;)
++
++alert tcp $EXTERNAL_NET any -> $HOME_NET 34012 (msg:"BACKDOOR Remote PC Access connection attempt"; flow:to_server,established; content:"|28 00 01 00 04 00 00 00 00 00 00 00|"; depth:12; reference:nessus,11673; classtype:trojan-activity; sid:2124; rev:3;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET any (msg:"BACKDOOR typot trojan traffic"; flow:stateless; flags:S,12; window:55808; reference:mcafee,100406; classtype:trojan-activity; sid:2182; rev:8;)
++alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:"BACKDOOR FsSniffer connection attempt"; flow:to_server,established; content:"RemoteNC Control Password|3A|"; reference:nessus,11854; classtype:trojan-activity; sid:2271; rev:2;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 3127:3199 (msg:"BACKDOOR DoomJuice file upload attempt"; flow:to_server,established; content:"|85 13|<|9E A2|"; depth:5; reference:url,securityresponse.symantec.com/avcenter/venc/data/w32.hllw.doomjuice.html; classtype:trojan-activity; sid:2375; rev:3;)
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"BACKDOOR sensepost.exe command shell attempt"; flow:to_server,established; uricontent:"/sensepost.exe"; nocase; reference:nessus,11003; classtype:web-application-activity; sid:989; rev:11;)
++alert tcp $HOME_NET 2000 -> $EXTERNAL_NET any (msg:"BACKDOOR Insane Network 4.0 connection established"; flow:from_server,established; content:"Insane Network vs 4.0 by Suid Flow|0A 0D|www.blackcode.com|0A 0D|[r00t]|23|"; depth:62; classtype:misc-activity; sid:3015; rev:3;)
++alert tcp $HOME_NET 63536 -> $EXTERNAL_NET any (msg:"BACKDOOR Insane Network 4.0 connection established port 63536"; flow:from_server,established; content:"Insane Network vs 4.0 by Suid Flow|0A 0D|www.blackcode.com|0A 0D|[r00t]|23|"; depth:62; classtype:misc-activity; sid:3016; rev:3;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 22222 (msg:"BACKDOOR RUX the Tick get system directory attempt"; flow:to_server,established; content:"SYSDIR"; depth:6; classtype:misc-activity; sid:3011; rev:1;)
++alert tcp $HOME_NET 23432 -> $EXTERNAL_NET any (msg:"BACKDOOR Asylum 0.1 connection established"; flow:from_server,established; flowbits:isset,backdoor.asylum.connect; content:"GNT"; depth:3; classtype:misc-activity; sid:3014; rev:3;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 22222 (msg:"BACKDOOR RUX the Tick get windows directory attempt"; flow:to_server,established; content:"WINDIR"; depth:6; classtype:misc-activity; sid:3010; rev:1;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 23432 (msg:"BACKDOOR Asylum 0.1 connection request"; flow:to_server,established; content:"RQS"; depth:3; flowbits:set,backdoor.asylum.connect; flowbits:noalert; classtype:misc-activity; sid:3013; rev:2;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 20034 (msg:"BACKDOOR NetBus Pro 2.0 connection request"; flow:to_server,established; content:"BN |00 02 00|"; depth:6; content:"|05 00|"; depth:2; offset:8; flowbits:set,backdoor.netbus_2.connect; flowbits:noalert; classtype:misc-activity; sid:3009; rev:2;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 22222 (msg:"BACKDOOR RUX the Tick upload/execute arbitrary file attempt"; flow:to_server,established; content:"ABCJZDATEIV"; depth:11; classtype:misc-activity; sid:3012; rev:1;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 1020 (msg:"BACKDOOR Vampire 1.2 connection request"; flow:to_server,established; content:"Hello..."; depth:8; flowbits:set,backdoor.vampire_12.connect; flowbits:noalert; classtype:misc-activity; sid:3063; rev:2;)
++alert tcp $HOME_NET 1020 -> $EXTERNAL_NET any (msg:"BACKDOOR Vampire 1.2 connection confirmation"; flow:from_server,established; flowbits:isset,backdoor.vampire_12.connect; content:"Vampire v1.2 Server On-Line....."; depth:32; classtype:misc-activity; sid:3064; rev:2;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 5880 (msg:"BACKDOOR Y3KRAT 1.5 Connect Client Response"; flow:to_server,established; content:"getclient"; depth:9; flowbits:isset,backdoor.y3krat_15.connect; flowbits:set,backdoor.y3krat_15.client.response; flowbits:noalert; classtype:misc-activity; sid:3082; rev:1;)
++alert tcp $HOME_NET 5880 -> $EXTERNAL_NET any (msg:"BACKDOOR Y3KRAT 1.5 Connect"; flow:from_server,established; content:"connected"; depth:9; flowbits:set,backdoor.y3krat_15.connect; flowbits:noalert; classtype:misc-activity; sid:3081; rev:1;)
++alert tcp $HOME_NET 5880 -> $EXTERNAL_NET any (msg:"BACKDOOR Y3KRAT 1.5 Connection confirmation"; flow:from_server, established; content:"client"; depth:6; flowbits:isset, backdoor.y3krat_15.client.response; classtype:misc-activity; sid:3083; rev:1;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 31337 (msg:"BACKDOOR BackOrifice 2000 Inbound Traffic"; flow:to_server,established; content:"1j|D0 D9|"; classtype:trojan-activity; sid:3155; rev:2;)
++alert tcp $EXTERNAL_NET any -> $HOME_NET 3127:3198 (msg:"BACKDOOR mydoom.a backdoor upload/execute attempt"; flow:to_server,established; content:"|85 13|<|9E A2|"; depth:5; classtype:trojan-activity; sid:3272; rev:2;)
+--- /dev/null
++++ b/rules/telnet.rules
+@@ -0,0 +1,42 @@
++# Copyright 2001-2005 Sourcefire, Inc. All Rights Reserved
++#
++# This file may contain proprietary rules that were created, tested and
++# certified by Sourcefire, Inc. (the "VRT Certified Rules") as well as
++# rules that were created by Sourcefire and other third parties and
++# distributed under the GNU General Public License (the "GPL Rules"). The
++# VRT Certified Rules contained in this file are the property of
++# Sourcefire, Inc. Copyright 2005 Sourcefire, Inc. All Rights Reserved.
++# The GPL Rules created by Sourcefire, Inc. are the property of
++# Sourcefire, Inc. Copyright 2002-2005 Sourcefire, Inc. All Rights
++# Reserved. All other GPL Rules are owned and copyrighted by their
++# respective owners (please see www.snort.org/contributors for a list of
++# owners and their respective copyrights). In order to determine what
++# rules are VRT Certified Rules or GPL Rules, please refer to the VRT
++# Certified Rules License Agreement.
++#
++#
++# $Id: telnet.rules,v 1.35.2.4.2.5 2005/06/29 15:35:04 mwatchinski Exp $
++#-------------
++# TELNET RULES
++#-------------
++#
++# These signatures are based on various telnet exploits and unpassword
++# protected accounts.
++#
++
++
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"TELNET Solaris memory mismanagement exploit attempt"; flow:to_server,established; content:"|A0 23 A0 10 AE 23 80 10 EE 23 BF EC 82 05 E0 D6 90|%|E0|"; classtype:shellcode-detect; sid:1430; rev:7;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"TELNET SGI telnetd format bug"; flow:to_server,established; content:"_RLD"; content:"bin/sh"; reference:arachnids,304; reference:bugtraq,1572; reference:cve,2000-0733; classtype:attempted-admin; sid:711; rev:8;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"TELNET ld_library_path"; flow:to_server,established; content:"ld_library_path"; reference:arachnids,367; reference:bugtraq,459; reference:cve,1999-0073; classtype:attempted-admin; sid:712; rev:8;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"TELNET livingston DOS"; flow:to_server,established; content:"|FF F3 FF F3 FF F3 FF F3 FF F3|"; rawbytes; reference:arachnids,370; reference:bugtraq,2225; reference:cve,1999-0218; classtype:attempted-dos; sid:713; rev:10;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"TELNET resolv_host_conf"; flow:to_server,established; content:"resolv_host_conf"; reference:arachnids,369; reference:bugtraq,2181; reference:cve,2001-0170; classtype:attempted-admin; sid:714; rev:7;)
++alert tcp $TELNET_SERVERS 23 -> $EXTERNAL_NET any (msg:"TELNET Attempted SU from wrong group"; flow:from_server,established; content:"to su root"; nocase; classtype:attempted-admin; sid:715; rev:6;)
++alert tcp $TELNET_SERVERS 23 -> $EXTERNAL_NET any (msg:"TELNET not on console"; flow:from_server,established; content:"not on system console"; nocase; reference:arachnids,365; classtype:bad-unknown; sid:717; rev:6;)
++alert tcp $TELNET_SERVERS 23 -> $EXTERNAL_NET any (msg:"TELNET root login"; flow:from_server,established; content:"login|3A| root"; classtype:suspicious-login; sid:719; rev:7;)
++alert tcp $TELNET_SERVERS 23 -> $EXTERNAL_NET any (msg:"TELNET bsd telnet exploit response"; flow:from_server,established; content:"|0D 0A|[Yes]|0D 0A FF FE 08 FF FD|&"; rawbytes; reference:bugtraq,3064; reference:cve,2001-0554; reference:nessus,10709; classtype:attempted-admin; sid:1252; rev:15;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"TELNET bsd exploit client finishing"; flow:to_client,established; dsize:>200; content:"|FF F6 FF F6 FF FB 08 FF F6|"; depth:50; offset:200; rawbytes; reference:bugtraq,3064; reference:cve,2001-0554; reference:nessus,10709; classtype:successful-admin; sid:1253; rev:13;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"TELNET 4Dgifts SGI account attempt"; flow:to_server,established; content:"4Dgifts"; reference:cve,1999-0501; reference:nessus,11243; classtype:suspicious-login; sid:709; rev:9;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"TELNET EZsetup account attempt"; flow:to_server,established; content:"OutOfBox"; reference:cve,1999-0501; reference:nessus,11244; classtype:suspicious-login; sid:710; rev:9;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"TELNET APC SmartSlot default admin account attempt"; flow:to_server,established; content:"TENmanUFactOryPOWER"; reference:bugtraq,9681; reference:cve,2004-0311; reference:nessus,12066; classtype:suspicious-login; sid:2406; rev:4;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"TELNET login buffer non-evasive overflow attempt"; flow:to_server,established; flowbits:isnotset,ttyprompt; content:"|FF FA|'|00 00|"; rawbytes; pcre:"/T.*?T.*?Y.*?P.*?R.*?O.*?M.*?P.*?T/RBi"; flowbits:set,ttyprompt; reference:bugtraq,3681; reference:cve,2001-0797; classtype:attempted-admin; sid:3274; rev:3;)
++alert tcp $EXTERNAL_NET any -> $TELNET_SERVERS 23 (msg:"TELNET login buffer overflow attempt"; flow:to_server,established; flowbits:isnotset,ttyprompt; content:"|FF FA|'|00 00|TTYPROMPT|01|"; rawbytes; flowbits:set,ttyprompt; reference:bugtraq,3681; reference:cve,2001-0797; classtype:attempted-admin; sid:3147; rev:3;)
+--- /dev/null
++++ b/rules/experimental.rules
+@@ -0,0 +1,27 @@
++# Copyright 2001-2005 Sourcefire, Inc. All Rights Reserved
++#
++# This file may contain proprietary rules that were created, tested and
++# certified by Sourcefire, Inc. (the "VRT Certified Rules") as well as
++# rules that were created by Sourcefire and other third parties and
++# distributed under the GNU General Public License (the "GPL Rules"). The
++# VRT Certified Rules contained in this file are the property of
++# Sourcefire, Inc. Copyright 2005 Sourcefire, Inc. All Rights Reserved.
++# The GPL Rules created by Sourcefire, Inc. are the property of
++# Sourcefire, Inc. Copyright 2002-2005 Sourcefire, Inc. All Rights
++# Reserved. All other GPL Rules are owned and copyrighted by their
++# respective owners (please see www.snort.org/contributors for a list of
++# owners and their respective copyrights). In order to determine what
++# rules are VRT Certified Rules or GPL Rules, please refer to the VRT
++# Certified Rules License Agreement.
++#
++#
++# $Id: experimental.rules,v 1.78.2.1.2.1 2005/05/16 22:17:51 mwatchinski Exp $
++# ---------------
++# EXPERIMENTAL RULES
++# ---------------
++# These signatures are experimental, new and may trigger way too often.
++#
++# Be forwarned, this is our testing ground. We put new signatures here for
++# testing before incorporating them into the default signature set. This is
++# for bleeding edge stuff only.
++#
+--- /dev/null
++++ b/rules/web-php.rules
+@@ -0,0 +1,162 @@
++# Copyright 2001-2005 Sourcefire, Inc. All Rights Reserved
++#
++# This file may contain proprietary rules that were created, tested and
++# certified by Sourcefire, Inc. (the "VRT Certified Rules") as well as
++# rules that were created by Sourcefire and other third parties and
++# distributed under the GNU General Public License (the "GPL Rules"). The
++# VRT Certified Rules contained in this file are the property of
++# Sourcefire, Inc. Copyright 2005 Sourcefire, Inc. All Rights Reserved.
++# The GPL Rules created by Sourcefire, Inc. are the property of
++# Sourcefire, Inc. Copyright 2002-2005 Sourcefire, Inc. All Rights
++# Reserved. All other GPL Rules are owned and copyrighted by their
++# respective owners (please see www.snort.org/contributors for a list of
++# owners and their respective copyrights). In order to determine what
++# rules are VRT Certified Rules or GPL Rules, please refer to the VRT
++# Certified Rules License Agreement.
++#
++#
++# $Id: web-php.rules,v 1.21.2.2.2.2 2005/07/22 19:19:54 mwatchinski Exp $
++#--------------
++# WEB-PHP RULES
++#--------------
++
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP bb_smilies.php access"; flow:to_server,established; uricontent:"/bb_smilies.php"; nocase; reference:url,www.securiteam.com/securitynews/Serious_security_hole_in_PHP-Nuke__bb_smilies_.html; classtype:web-application-activity; sid:1774; rev:3;)
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP content-disposition memchr overflow"; flow:to_server,established; content:"Content-Disposition|3A|"; nocase; content:"name=|22 CC CC CC CC CC|"; reference:bugtraq,4183; reference:cve,2002-0081; reference:nessus,10867; classtype:web-application-attack; sid:1423; rev:14;)
++# alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP content-disposition"; flow:to_server,established; content:"Content-Disposition|3A|"; nocase; content:"form-data|3B|"; reference:bugtraq,4183; reference:cve,2002-0081; reference:nessus,10867; classtype:web-application-attack; sid:1425; rev:13;)
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP squirrel mail spell-check arbitrary command attempt"; flow:to_server,established; uricontent:"/squirrelspell/modules/check_me.mod.php"; nocase; content:"SQSPELL_APP["; nocase; reference:bugtraq,3952; classtype:web-application-attack; sid:1736; rev:6;)
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP squirrel mail theme arbitrary command attempt"; flow:to_server,established; uricontent:"/left_main.php"; nocase; content:"cmdd="; reference:bugtraq,4385; reference:cve,2002-0516; classtype:web-application-attack; sid:1737; rev:6;)
++
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP DNSTools administrator authentication bypass attempt"; flow:to_server,established; uricontent:"/dnstools.php"; nocase; content:"user_logged_in=true"; nocase; content:"user_dnstools_administrator=true"; nocase; reference:bugtraq,4617; reference:cve,2002-0613; classtype:web-application-attack; sid:1739; rev:6;)
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP DNSTools authentication bypass attempt"; flow:to_server,established; uricontent:"/dnstools.php"; nocase; content:"user_logged_in=true"; reference:bugtraq,4617; reference:cve,2002-0613; classtype:web-application-attack; sid:1740; rev:5;)
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP DNSTools access"; flow:to_server,established; uricontent:"/dnstools.php"; nocase; reference:bugtraq,4617; reference:cve,2002-0613; classtype:web-application-activity; sid:1741; rev:5;)
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP Blahz-DNS dostuff.php modify user attempt"; flow:to_server,established; uricontent:"/dostuff.php?action=modify_user"; nocase; reference:bugtraq,4618; reference:cve,2002-0599; classtype:web-application-attack; sid:1742; rev:5;)
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP Blahz-DNS dostuff.php access"; flow:to_server,established; uricontent:"/dostuff.php"; nocase; reference:bugtraq,4618; reference:cve,2002-0599; classtype:web-application-activity; sid:1743; rev:5;)
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP Messagerie supp_membre.php access"; flow:to_server,established; uricontent:"/supp_membre.php"; nocase; reference:bugtraq,4635; classtype:web-application-activity; sid:1745; rev:3;)
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP php.exe access"; flow:to_server,established; uricontent:"/php.exe"; nocase; reference:url,www.securitytracker.com/alerts/2002/Jan/1003104.html; classtype:web-application-activity; sid:1773; rev:3;)
++
++
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP directory.php arbitrary command attempt"; flow:to_server,established; uricontent:"/directory.php"; content:"dir="; content:"|3B|"; reference:bugtraq,4278; reference:cve,2002-0434; classtype:misc-attack; sid:1815; rev:4;)
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP directory.php access"; flow:to_server,established; uricontent:"/directory.php"; reference:bugtraq,4278; reference:cve,2002-0434; classtype:misc-attack; sid:1816; rev:3;)
++alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP PHP-Wiki cross site scripting attempt"; flow:established,to_server; uricontent:"/modules.php?"; uricontent:"name=Wiki"; nocase; uricontent:"
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3144.txt
+@@ -0,0 +1,77 @@
++Rule:
++
++--
++Sid:
++3144
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in Microsoft systems using Server Message Block (SMB).
++
++--
++Impact:
++Serious. Execution of arbitrary code leading to unauthorized
++administrative access to the target host. Denial of Service (DoS) is
++also possible.
++
++--
++Detailed Information:
++SMB is a client - server protocol used in sharing resources such as
++files, printers, ports, named pipes and other things, between machines
++on a network.
++
++A vulnerability in the Microsoft implementation of SMB exists due to a
++programming error which may present an attacker with the opportunity to
++exploit the service and run code of their choosing on an affected
++system. The attacker may then cause a DoS condition in the service or
++possibly gain unauthorized access to the target host.
++
++A malicious attacker can exploit the vulnerability by sending a
++malicious response from a server in response to a client request using
++SMB.
++
++--
++Affected Systems:
++ Microsoft Windows 2003
++ Microsoft Windows 2000
++ Microsoft Windows XP
++
++--
++Attack Scenarios:
++An attacker can supply extra data in the message from the server
++containing code of their choosing to be run on the client.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Turn off windows file and print services.
++
++Use Samba as an alternative.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++eEye:
++http://www.eeye.com/html/research/advisories/AD20050208.html
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/546.txt
+@@ -0,0 +1,56 @@
++Rule:
++
++--
++Sid:
++546
++
++--
++Summary:
++This event is generated when an attempt is made to navigate in an FTP session to a hidden directory name that begins with a space.
++
++--
++Impact:
++Unauthorized file storage. An attacker may attempt to navigate on an FTP server to a directory name that begins with a space to list or store unauthorized files such as unlicensed software.
++
++--
++Detailed Information:
++An attacker may attempt to hide unauthorized files in a hidden directory name that begins with a space. This hidden directory is hard to discover, permitting attackers to store unauthorized "warez" files, such as unlicensed or pirated software.
++
++--
++Affected Systems:
++FTP servers
++
++--
++Attack Scenarios:
++An attacker may navigate to the hidden directory name that begins with a space to list or store unauthorized files.
++
++--
++Ease of Attack:
++Simple
++
++--
++False Positives:
++It is remotely possible that an authorized directory exists with a name that begins with a space.
++
++--
++False Negatives:
++Hidden directories other than those with names that begin with a space may be used to store "warez" files.
++
++--
++Corrective Action:
++Assign restrictive permissions to all directories so unauthorized users cannot navigate or write to them.
++
++Regularly monitor directories for sudden or drastic increased use of space.
++
++--
++Contributors:
++Original rule writer unknown
++Modified by Brian Caswell
++Snort documentation contributed by Chaos
++Sourcefire Research Team
++Judy Novak
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/432.txt
+@@ -0,0 +1,61 @@
++Rule:
++
++--
++
++Sid:
++432
++
++--
++
++Summary:
++This event is generated when a host generates and ICMP Type 40 Code 3 Decryption Failed datagram.
++
++--
++
++Impact:
++ICMP Type 40 Code 3 datagrams are an indication that a received datagram failed a decryption check for a given SPI. Normally this is an indication that hosts using IP Security Protocols such as AH or ESP have been configured incorrectly or are failing to establish a session with another host.
++
++--
++
++Detailed Information:
++Hosts using IP Security Protocols such as AH or ESP generate ICMP Type 40 datagrams when a failure condition occurs. ICMP Type 40 Code 3 datagrams are generated when a received datagram fails the decryption check for a given SPI (Security Parameters Index).
++
++--
++
++Attack Scenarios:
++None known
++
++--
++
++Ease of Attack:
++Numerous tools and scripts can generate this type of ICMP datagram.
++
++--
++
++False Positives:
++None known
++
++--
++
++False Negatives:
++None known
++
++--
++
++Corrective Action:
++ICMP Type 40 datagrams not normally seen on the network. Currently Sourcefire is unaware of any hardware that has implemented these types of ICMP datagrams. Hosts generating these types of ICMP datagrams should be investigated for nefarious activity or configuration errors.
++
++--
++
++Contributors:
++Original Rule writer unknown
++Sourcefire Research Team
++Matthew Watchinski (matt.watchinski@sourcefire.com)
++
++--
++
++Additional References:
++RFC2521
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2534.txt
+@@ -0,0 +1,61 @@
++Rule:
++
++--
++Sid:
++2534
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in the Microsoft implementation of SSL Version 3.
++
++--
++Impact:
++Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in the handling of SSL Version 3 requests that
++can be manipulated to cause a DoS condition in various software
++implementations used on Microsoft operating systems.
++
++The condition exists because of poor error handling routines in the
++Microsoft Secure Sockets Layer (SSL) library. SSL requests containing an
++invalid field, sent to vulnerable systems can cause the affected host to stop
++handling any further requests.
++
++--
++Affected Systems:
++ Microsoft Windows 2000, 2003 and XP systems using SSL
++
++--
++Attack Scenarios:
++An attcker needs to make an SSL request to an affected system that
++contains an invalid field.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches
++
++--
++Contributors:
++Sourcefire Research Team
++Matt Watchinski
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3316.txt
+@@ -0,0 +1,70 @@
++Rule:
++
++--
++Sid:
++3316
++
++--
++Summary:
++This rule generates an event when an attempt is made to exploit a known
++vulnerability in Microsoft RPC DCOM.
++
++--
++Impact:
++Execution of arbitrary code leading to full administrator access of the
++machine. Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in Microsoft RPC DCOM such that execution of
++arbitrary code or a Denial of Service condition can be issued against a
++host by sending malformed data via RPC.
++
++The Distributed Component Object Model (DCOM) handles DCOM requests sent
++by clients to a server using RPC. A malformed request to an RPC port
++will result in a buffer overflow condition that will present the
++attacker with the opportunity to execute arbitrary code with the
++privileges of the local system account.
++
++--
++Affected Systems:
++ Windows NT 4.0
++ Windows NT 4.0 Terminal Server Edition
++ Windows 2000
++ Windows XP
++ Windows Server 2003
++
++--
++Attack Scenarios:
++An attacker may make a request for a file with an overly long filename
++via a network share.
++
++--
++Ease of Attack:
++Simple. Expoit code exists.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Block access to RPC ports 135, 139 and 445 for both TCP and UDP
++protocols from external sources using a packet filtering firewall.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3034.txt
+@@ -0,0 +1,67 @@
++Rule:
++
++--
++Sid:
++3034
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in a Samba implementation.
++
++--
++Impact:
++Serious. Possible execution of arbitrary code.
++
++--
++Detailed Information:
++Samba is a file and print serving system for heterogenous networks. It
++is available for use as a service and client on UNIX/Linux systems and as
++a client for Microsoft Windows systems.
++
++Samba uses the SMB/CIFS protocols to allow communication between client
++and server. The SMB protocol contains many commands and is commonly used
++to control network devices and systems from a remote location. A
++vulnerability exists in the way the smb daemon processes commands sent by
++a client system when accessing resources on the remote server.The problem
++exists in the allocation of memory which can be exploited by an attacker
++to cause an integer overflow, possibly leading to the execution of
++arbitrary code on the affected system with the privileges of the user
++running the smbd process.
++
++--
++Affected Systems:
++ Samba 3.0.8 and prior
++
++--
++Attack Scenarios:
++An attacker needs to supply specially crafted data to the smb daemon to
++overflow a buffer containing the information for the access control lists
++to be applied to files in the smb query.
++
++--
++Ease of Attack:
++Difficult.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patch
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1919.txt
+@@ -0,0 +1,59 @@
++Rule:
++--
++Sid:
++1919
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a buffer overflow or denial of service vulnerability associated with FTP CWD command.
++
++--
++Impact:
++Remote access or denial of service. A successful attack can cause a denial of service or allow remote execution of arbitrary commands with privileges of the process running the FTP server.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to exploit various vulnerabilities associated with the FTP CWD command of different FTP servers. It is possible to cause a denial of service attack or gain remote access to execute arbitrary commands with the privileges of the process running the FTP server by sending an overly long argument with the FTP CWD command.
++
++--
++Affected Systems:
++Hosts running BlackMoon FTP Server 1.0 through 1.5.
++Hosts running Argosoft FRP server 1.0.
++Hosts running TYPSoft FTP Server 0.7x.
++
++--
++Attack Scenarios:
++An attacker can supply an overly long file argument with the CWD command, causing a denial of service or buffer overflow.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Upgrade to the latest non-affected version of the software.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++Judy Novak
++
++--
++Additional References:
++
++CVE:
++http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0126
++http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2000-1194
++http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2000-1035
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/386.txt
+@@ -0,0 +1,60 @@
++Rule:
++
++--
++Sid:
++386
++
++--
++Summary:
++This event is generated when an internal server replies to an external request for network subnet mask information, which may allow an attacker to learn information about the network for use in later attacks.
++
++--
++Impact:
++Information gathering.
++
++--
++Detailed Information:
++If an attacker sends an ICMP request to an internal server for address mask information (SID 388 should trigger when this activity is seen), an internal server may reply with subnet mask information. This can provide an attacker with information about subnet mask configuration that can be useful for future attacks.
++
++--
++Affected Systems:
++Any system that responds to ICMP address mask requests.
++
++--
++Attack Scenarios:
++An attacker can send an ICMP request for subnet mask information to the internal network. The server replies, providing the attacker with information about network subnet configuration.
++
++--
++Ease of Attack:
++Simple. Tools that use this method of information gathering are freely available.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Use a packet filtering firewall that restricts ICMP type 17 (address mask requests) from entering the protected network, and restricts ICMP type 18 packets (address mask replies) from exiting the protected network.
++
++--
++Contributors:
++Original rule writer unknown
++Sourcefire Research Team
++Matthew Watchinski
++Sourcefire Technical Publications Team
++Jen Harvey
++
++--
++Additional References:
++
++CVE
++http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-1999-0524
++
++ArachNIDS
++http://www.whitehats.com/cgi/arachNIDS/Show?_id=ids216
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000168.txt
+@@ -0,0 +1,59 @@
++Rule:
++
++--
++Sid:
++100000168
++
++--
++Summary:
++The password-cracking tool Hydra has been detected in HTTP traffic.
++
++--
++Impact:
++An attacker may be attempting to break into one or more web servers monitored
++by Snort via a brute-force password attack. If successful, the attacker may
++gain unauthorized access to internal networks.
++
++--
++Detailed Information:
++Hydra is a password-cracking tool released by a group of security experts
++called THC, "The Hacker's Choice." Requests sent by this tool to a web server
++contain the User-Agent string "Mozilla/4.0 (Hydra)". Since normal browsers'
++User-Agent strings do not contain the string "(Hydra)", the presence of this
++string indicates that the Hydra tool is likely being used.
++
++--
++Affected Systems:
++Any system running a web server.
++
++--
++Attack Scenarios:
++Attackers will use the Hydra password-cracking tool.
++
++--
++Ease of Attack:
++Simple, as the program is publicly available and is well-documented.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Check system logs and Snort alert logs for suspicious activity, particularly
++unusual logons. Ensure that secure passwords are being used throughout your
++network.
++
++--
++Contributors:
++rmkml
++Sourcefire Research Team
++
++--
++Additional References
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000146.txt
+@@ -0,0 +1,62 @@
++Rule:
++
++--
++Sid:
++100000146
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a
++directory traversal associated with Imail Web Calendaring
++servicel
++
++--
++Impact:
++A successful attack can permit a user to navigate outside
++of the web root directory and read files.
++
++--
++Detailed Information:
++The Imail Web Calendaring Server does not properly sanitize
++a malformed URL that contains directory traversal characters.
++This vulnerability is associated with static objects identified
++by names ending in .jsp, .jpg, .gif, .wav, .css, or .htm. This
++can permit an unauthorized user to examine files that may contain
++sensitive information.
++
++--
++Affected Systems:
++Ipswitch IMail Server 8.2 and prior
++Ipswitch IMail Server 8.15 and prior
++
++--
++Attack Scenarios:
++An attacker send a URI containing a directory traversal to view
++sensitive files on a vulnerable server.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Upgrade to the most current non-affected version of the product.
++
++--
++Contributors:
++Sourcefire Research Team
++Judy Novak
++
++--
++Additional References
++Other:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/355.txt
+@@ -0,0 +1,64 @@
++Rule:
++
++--
++Sid:
++355
++
++--
++Summary:
++This event is generated when a password of "wh00t" is used to login to an File Transfer Protocol (FTP) server.
++
++--
++Impact:
++Remote root access. The attack may indicate that the FTP server has been compromised.
++
++--
++Detailed Information:
++The password "wh00t" is a common backdoor password associated with a compromised root account. If this password is observed, it may indicate that the FTP server has been compromised and a backdoor root account with a password of "wh00t" has been created. Alternately, this may indicate a failed attempt of an attacker attempting to locate FTP servers compromised by others.
++
++--
++Affected Systems:
++FTP servers.
++
++--
++Attack Scenarios:
++An attacker may compromise a host and create a backdoor account. An attacker may attempt to locate FTP servers with a backdoor account.
++
++--
++Ease of Attack:
++Simple
++
++--
++False Positives:
++It is very remotely possible that a legitimate password of "wh00t" exists.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Examine the suspected compromised host for unauthorized changes.
++
++Make sure that the suspected compromised host has all security patches applied.
++
++Log activity to and from the suspected compromised host.
++
++Examine other systems on the network for evidence of compromise.
++
++If a compromised is discovered, reinstall the operating system.
++
++--
++Contributors:
++Orignal rule written by Ron Gula
++Documented by Steven Alexander
++Sourcefire Research Team
++Judy Novak
++
++--
++Additional References:
++
++Arachnids:
++http://www.whitehats.com/info/IDS324
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000550.txt
+@@ -0,0 +1,71 @@
++Rule:
++
++--
++Sid:
++100000550
++--
++Summary:
++This event is generated when an attempt is made to access the file "comment.php
++which contains known vulnerabilities in the "Project Eros BBSEngine"
++application running on a webserver.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution of
++arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to access a file with known
++vulnerabilities from a remote machine used by the "Project Eros BBSEngine"
++application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also
++be possible for an attacker to execute system binaries or malicious code of the
++attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to
++a CGI application running ona web server. Some applications do not perform
++stringent checks when validating the credentials of a client host connecting to
++the services offered on a host server. This can lead to unauthorized access and
++possibly escalated privileges to that of the administrator. Data stored on the
++machine can be compromised and trust relationships between the victim server
++and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using Project Eros BBSEngine
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own
++credentials to gain access. Alternatively the attacker can exploit weaknesses
++to gain access as the administrator by supplying input of their choosing to the
++underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had
++all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3428.txt
+@@ -0,0 +1,70 @@
++Rule:
++
++--
++Sid:
++3428
++
++--
++Summary:
++This rule generates an event when an attempt is made to exploit a known
++vulnerability in Microsoft RPC DCOM.
++
++--
++Impact:
++Execution of arbitrary code leading to full administrator access of the
++machine. Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in Microsoft RPC DCOM such that execution of
++arbitrary code or a Denial of Service condition can be issued against a
++host by sending malformed data via RPC.
++
++The Distributed Component Object Model (DCOM) handles DCOM requests sent
++by clients to a server using RPC. A malformed request to an RPC port
++will result in a buffer overflow condition that will present the
++attacker with the opportunity to execute arbitrary code with the
++privileges of the local system account.
++
++--
++Affected Systems:
++ Windows NT 4.0
++ Windows NT 4.0 Terminal Server Edition
++ Windows 2000
++ Windows XP
++ Windows Server 2003
++
++--
++Attack Scenarios:
++An attacker may make a request for a file with an overly long filename
++via a network share.
++
++--
++Ease of Attack:
++Simple. Expoit code exists.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Block access to RPC ports 135, 139 and 445 for both TCP and UDP
++protocols from external sources using a packet filtering firewall.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1571.txt
+@@ -0,0 +1,64 @@
++Rule:
++
++--
++Sid:
++1571
++
++--
++Summary:
++This event is generated when an attempt is made to execute a directory
++traversal attack.
++
++--
++Impact:
++Information disclosure. This is a directory traversal attempt which can
++lead to information disclosure and possible exposure of sensitive
++system information.
++
++--
++Detailed Information:
++Directory traversal attacks usually target web, web applications and ftp
++servers that do not correctly check the path to a file when requested by
++the client.
++
++This can lead to the disclosure of sensitive system information which may
++be used by an attacker to further compromise the system.
++
++--
++Affected Systems:
++
++--
++Attack Scenarios:
++An authorized user or anonymous user can use the directory traversal
++technique, to browse folders outside the ftp root directory. Information
++gathered may be used in further attacks against the host.
++
++--
++Ease of Attack:
++Simple. No exploit software required.
++
++--
++False Positives:
++None known
++
++--
++False Negatives:
++None known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches
++
++Upgrade the software to the latest non-affected version.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/658.txt
+@@ -0,0 +1,59 @@
++Rule:
++
++--
++Sid:
++658
++
++--
++Summary:
++This event is generated when a denial of service is attempted on a Microsoft Exchange mail server.
++
++--
++Impact:
++Denial of service. This will cause the Exchange server to fail.
++
++--
++Detailed Information:
++A vulnerability exists in Microsoft Exchange 5.5 that causes a denial of service if a MIME header contains the string 'charset = ""'. The Exchange server does not properly handle this MIME header string, causing it to crash.
++
++--
++Affected Systems:
++Microsoft Exchange server 5.5
++
++--
++Attack Scenarios:
++An attacker can supply a malicious string in the MIME header causing the Exchange server to fail.
++
++--
++Ease of Attack:
++Easy. An attacker can telnet to port 25 of the Exchange server, start a dialogue with the server, and supply the malicious string in the MIME header.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Apply the appropriate patch or upgrade to Exchange 5.5 service Pack 4.
++
++--
++Contributors:
++Original rule writer unknown
++Sourcefire Research Team
++Judy Novak
++
++--
++Additional References:
++
++Microsoft:
++http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/bulletin/ms00-082.asp
++
++Miscellaneous:
++http://packetstormsecurity.nl/0011-exploits/exchange.dos.txt
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000778.txt
+@@ -0,0 +1,56 @@
++
++
++Rule:
++
++--
++Sid:
++100000778
++--
++Summary:
++This event is generated when an attempt is made to exploit a cross site scripting vulnerability in the "PHPMailList" application running on a webserver.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized administrative access to the server or application. Possible execution of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to exploit a cross site scripting vulnerability via the "email" parameter in the "maillist.php" script used by the "PHPMailList" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also be possible for an attacker to retrieve sensitive data, execute system binaries or malicious code of the attackers choosing.
++
++--
++Affected Systems:
++All systems running CGI applications using PHPMailList
++--
++Attack Scenarios:
++An attacker can supply a malicious link designed to steal information from a user clicking on that link.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++The Cross Site Scripting (XSS) FAQ
++http://www.cgisecurity.com/articles/xss-faq.shtml
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000500.txt
+@@ -0,0 +1,72 @@
++Rule:
++
++--
++Sid:
++100000500
++--
++Summary:
++This event is generated when an attempt is made to exploit a remote file
++include vulnerability in the "PictureDis" application running on a webserver.
++Access to the file "wpfiles.php" using a remote file being passed as the "lang"
++parameter may indicate that an exploitation attempt has been attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution of
++arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to include a file from a
++remote machine via the "lang" parameter in the "wpfiles.php" script used by the
++"PictureDis" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also
++be possible for an attacker to execute system binaries or malicious code of the
++attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to
++a CGI application running ona web server. Some applications do not perform
++stringent checks when validating the credentials of a client host connecting to
++the services offered on a host server. This can lead to unauthorized access and
++possibly escalated privileges to that of the administrator. Data stored on the
++machine can be compromised and trust relationships between the victim server
++and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using PictureDis
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own
++credentials to gain access. Alternatively the attacker can exploit weaknesses
++to gain access as the administrator by supplying input of their choosing to the
++underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had
++all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2177.txt
+@@ -0,0 +1,63 @@
++Rule:
++
++--
++Sid:
++2176
++
++
++--
++Summary:
++This event is generated when an attempt is made to access a system
++folder via SMB.
++
++--
++Impact:
++Serious. This folder contains important operating system information.
++
++--
++Detailed Information:
++This event indicates that an attempt was made to access a folder
++containing important operating system files using SMB across the
++network.
++
++--
++Affected Systems:
++Microsoft Windows systems.
++
++--
++Attack Scenarios:
++If this folder is accessible via SMB the attacker can replace or view
++important operating system files.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Check the host for signs of system compromise.
++
++Turn off file and print sharing on the target host.
++
++Use a packet filtering firewall to disallow SMB access to the host from
++sources external to the protected network.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2495.txt
+@@ -0,0 +1,61 @@
++Rule:
++
++--
++Sid:
++2495
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in the Microsoft RPC service.
++
++--
++Impact:
++Denial of Service (DoS). Possible execution of arbitrary code leading to
++unauthorized remote access to the victim host.
++
++--
++Detailed Information:
++It may be possible for an attacker to cause a DoS condition in the
++Microsoft RPC service when multiple simultaneous requests are made to a
++vulnerable host. This can lead to an exhaustion of system resources
++causing the DoS.
++
++--
++Affected Systems:
++ Windows systems running RPC services
++
++--
++Attack Scenarios:
++An attacker may attempt to bind to the RPC service many times in an
++attempt to cause the DoS condition to occur.
++
++--
++Ease of Attack:
++Difficult.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Block access to RPC ports 135, 139 and 445 for both TCP and UDP
++protocols from external sources using a packet filtering firewall.
++
++Apply the appropriate vendor supplied patches
++
++--
++Contributors:
++Sourcefire Research Team
++Matt Watchinski
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3343.txt
+@@ -0,0 +1,70 @@
++Rule:
++
++--
++Sid:
++3343
++
++--
++Summary:
++This rule generates an event when an attempt is made to exploit a known
++vulnerability in Microsoft RPC DCOM.
++
++--
++Impact:
++Execution of arbitrary code leading to full administrator access of the
++machine. Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in Microsoft RPC DCOM such that execution of
++arbitrary code or a Denial of Service condition can be issued against a
++host by sending malformed data via RPC.
++
++The Distributed Component Object Model (DCOM) handles DCOM requests sent
++by clients to a server using RPC. A malformed request to an RPC port
++will result in a buffer overflow condition that will present the
++attacker with the opportunity to execute arbitrary code with the
++privileges of the local system account.
++
++--
++Affected Systems:
++ Windows NT 4.0
++ Windows NT 4.0 Terminal Server Edition
++ Windows 2000
++ Windows XP
++ Windows Server 2003
++
++--
++Attack Scenarios:
++An attacker may make a request for a file with an overly long filename
++via a network share.
++
++--
++Ease of Attack:
++Simple. Expoit code exists.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Block access to RPC ports 135, 139 and 445 for both TCP and UDP
++protocols from external sources using a packet filtering firewall.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000315.txt
+@@ -0,0 +1,71 @@
++Rule:
++
++--
++Sid:
++100000315
++
++--
++Summary:
++This event is generated when an HTTP client issues a PUT request to upload
++a document into the web content area.
++
++--
++Impact:
++The PUT method is a legitimate HTTP command that allows an authorized user
++to upload a document into the web content tree. It is most often associated
++with the WebDAV content management protocol.
++
++Although there are some legitimate uses for the PUT method, it is also a
++frequent source of web site defacement, as attackers can easily abuse
++misconfigured web servers that allow unrestricted PUT functionality from
++arbitrary users.
++
++--
++Detailed Information:
++The rule searches for HTTP requests using the PUT method, and tracks
++these sessions. The rule is intended to be used with SID 100000316 to
++track successful PUT requests, which may represent successful defacement
++attacks, instead of all PUT requests.
++
++Administrators who wish to track all PUT requests (successful or not) should
++remove the "flowbits:noalert;" section of this rule.
++
++--
++Affected Systems:
++Any web server
++
++--
++Attack Scenarios:
++An attacker can issue a PUT reuqest via a script, many different pieces of
++software, or through a manual connection to any web server port.
++
++--
++Ease of Attack:
++Simple. Numerous tools exist for creating PUT requests, including some geared
++specifically towards web site defacement.
++
++--
++False Positives:
++Organizations that use WebDAV to manage their web content may experience
++false positives, as the PUT method is a normal part of the WebDAV protocol.
++Additionally, any other legitimate web applications which use the PUT method
++will generate false positives.
++
++--
++False Negatives:
++None
++
++--
++Corrective Action:
++In cases of web site defacement, delete the newly-created file(s) and/or
++restore them from a reliable backup. In all cases, be sure to tune web server
++configuration to allow PUT requests only where necessary for a legitimate web
++application to function.
++
++--
++Contributors:
++David J. Bianco,
++
++--
++Additional References:
++http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2378.txt
+@@ -0,0 +1,64 @@
++Rule:
++
++--
++Sid:
++2378
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in Checkpoint VPN-1.
++
++--
++Impact:
++Unauthorized administrative access to Checkpoint VPN-1 systems
++
++--
++Detailed Information:
++Checkpoint VPN-1, SecuRemote and SecureClient contain an error that
++affects the processing of large Certificate requests to the VPN service.
++By sending a large amount of data in the Certificate Request payload an
++attacker may cause a buffer overflow condition to occur, presenting an
++opportunity to execute code of their choosing with the privileges of the
++user running the service, usually root.
++
++--
++Affected Systems:
++ CheckPoint Software FW-1 1.4.1 Service packs prior to SP6
++ CheckPoint Software FW-1 Next Generation FP1, FP0
++ CheckPoint Software VPN-1 1.4.1 SP5a
++ CheckPoint Software VPN-1 Next Generation FP1, FP0
++
++--
++Attack Scenarios:
++An attacker could supply a large Certificate Request payload containing
++code to be executed on the system.
++
++--
++Ease of Attack:
++Proof of concept code exists.
++
++--
++False Positives:
++None known
++
++--
++False Negatives:
++None known
++
++--
++Corrective Action:
++Upgrade to the latest non-affected version of the software
++
++Apply the appropriate vendor supplied patches
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3172.txt
+@@ -0,0 +1,70 @@
++Rule:
++
++--
++Sid:
++3172
++
++--
++Summary:
++This rule generates an event when an attempt is made to exploit a known
++vulnerability in Microsoft RPC DCOM.
++
++--
++Impact:
++Execution of arbitrary code leading to full administrator access of the
++machine. Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in Microsoft RPC DCOM such that execution of
++arbitrary code or a Denial of Service condition can be issued against a
++host by sending malformed data via RPC.
++
++The Distributed Component Object Model (DCOM) handles DCOM requests sent
++by clients to a server using RPC. A malformed request to an RPC port
++will result in a buffer overflow condition that will present the
++attacker with the opportunity to execute arbitrary code with the
++privileges of the local system account.
++
++--
++Affected Systems:
++ Windows NT 4.0
++ Windows NT 4.0 Terminal Server Edition
++ Windows 2000
++ Windows XP
++ Windows Server 2003
++
++--
++Attack Scenarios:
++An attacker may make a request for a file with an overly long filename
++via a network share.
++
++--
++Ease of Attack:
++Simple. Expoit code exists.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Block access to RPC ports 135, 139 and 445 for both TCP and UDP
++protocols from external sources using a packet filtering firewall.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/642.txt
+@@ -0,0 +1,62 @@
++Rule:
++
++--
++Sid: 642
++
++--
++Summary:
++This event is generated when a buffer overflow attack is attempted against a target machine.
++
++--
++Impact:
++Serious. The attacker may be able to gain remote access to the system or have the ability to execute arbitrary code with the privileges of a system user.
++
++
++--
++Detailed Information:
++This rule tracks the bit combination which may occur in network packets aimed at overflowing HP-UX UNIX network services. The buffer overflow attack attempts to force the vulnerable application to execute attacker-controlled code in order to gain interactive access or run arbitrary commands on the vulnerable system.
++
++A specific string used during the overflow is application-dependent however, a platform-specific command or code may be present and is detected by this rule.
++
++--
++Attack Scenarios:
++An attacker launches an overflow exploit against a vulnerable FTP server and gains the ability to start a shell session, thus obtaining interactive access to the target.
++
++--
++Ease of Attack:
++Simple
++
++
++--
++False Positives:
++This event may be generated by legitimate traffic to the specified port.
++
++
++--
++False Negatives:
++This event is specific to the shell code defined in the rule.
++Other shell code sequences may not be detected.
++
++--
++Corrective Action:
++Check the target host for other signs of compromise.
++
++Look for other events concerning the target host.
++
++Apply vendor supplied patches and keep the operating system up to date.
++
++--
++Contributors:
++Original Rule Writer Unkown
++Snort documentation contributed by Anton Chuvakin
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++Arachnids:
++http://www.whitehats.com/info/IDS358
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000445.txt
+@@ -0,0 +1,61 @@
++
++
++Rule:
++
++--
++Sid:
++100000445
++
++--
++Summary:
++Particle Gallery is susceptible to an injection attack due to a lack
++of input validation on the imageid variable used in the viewimage.php
++component.
++
++--
++Impact:
++The injection attack could result in data leakage, or potential remote
++compromise.
++
++--
++Detailed Information:
++Particle Gallery is prone to an SQL-injection vulnerability. This issue is due
++to a failure in the application to properly sanitize user-supplied input
++before using it in an SQL query.
++
++A successful exploit could allow an attacker to compromise the application,
++access or modify data, or exploit vulnerabilities in the underlying database
++implementation.
++
++The data type assigned to the column referenced by the variable is int, so
++there should never be any text or characters outside of the int used to
++identify the image.
++
++--
++Attack Scenarios:
++Variable manipulation can be done with any browser.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Edit code and add input validation.
++
++--
++Contributors:
++Dan Ramaswami
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1012.txt
+@@ -0,0 +1,62 @@
++Rule:
++
++--
++Sid:
++1012
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in a web server running Microsoft Internet Information
++Server.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution
++of arbitrary code of the attackers choosing in some cases. Denial of
++Service is possible.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to compromise a host
++running Microsoft Internet Information Server (IIS). Many known
++vulnerabilities exist for this platform and the attack scenarios are
++legion.
++
++--
++Affected Systems:
++ All systems running Microsoft IIS
++
++--
++Attack Scenarios:
++Many attack vectors are possible from simple directory traversal to
++exploitation of buffer overflow conditions.
++
++--
++Ease of Attack:
++Simple. Many exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1238.txt
+@@ -0,0 +1,71 @@
++Rule:
++
++--
++Sid:
++1238
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability on a web server or a web application resident on a web
++server.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server. Possible execution of arbitrary code of
++the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to compromise a host
++running a Web server or a vulnerable application on a web server.
++
++Many known vulnerabilities exist for each implementation and the
++attack scenarios are legion.
++
++Some applications do not perform stringent checks when validating the
++credentials of a client host connecting to the services offered on a
++host server. This can lead to unauthorized access and possibly escalated
++privileges to that of the administrator. Data stored on the machine can
++be compromised and trust relationships between the victim server and
++other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++ All systems using a web server.
++
++--
++Attack Scenarios:
++Many attack vectors are possible from simple directory traversal to
++exploitation of buffer overflow conditions.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++Check the host logfiles and application logs for signs of compromise.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1577.txt
+@@ -0,0 +1,71 @@
++Rule:
++
++--
++Sid:
++1577
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability on a web server or a web application resident on a web
++server.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server. Possible execution of arbitrary code of
++the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to compromise a host
++running a Web server or a vulnerable application on a web server.
++
++Many known vulnerabilities exist for each implementation and the
++attack scenarios are legion.
++
++Some applications do not perform stringent checks when validating the
++credentials of a client host connecting to the services offered on a
++host server. This can lead to unauthorized access and possibly escalated
++privileges to that of the administrator. Data stored on the machine can
++be compromised and trust relationships between the victim server and
++other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++ All systems using a web server.
++
++--
++Attack Scenarios:
++Many attack vectors are possible from simple directory traversal to
++exploitation of buffer overflow conditions.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++Check the host logfiles and application logs for signs of compromise.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/385.txt
+@@ -0,0 +1,70 @@
++Rule:
++
++--
++Sid:
++385
++
++--
++Summary:
++This event is generated when a Windows traceroute (tracert) is detected.
++
++--
++Impact:
++Information gathering. A traceroute can be used to discover live hosts and network topologies.
++
++--
++Detailed Information:
++A Windows traceroute command uses an ICMP echo request with a lower than normal Time to Live (TTL) value to identify live hosts and network topolgies. The TTL value is manipulated by the sending host to discover all routers traversed from the source host to the destination host. Eventually, a TTL value of 1 is observed, which elicits an ICMP error message of time exceeded in-transit. A router sends this ICMP error message to the host running traceroute. The traceroute host will record this as a router and continue to incrementally manipulate the TTL until the destination host is reached.
++
++Additionally There are at least three different implementations of
++traceroute. In one implementation traceroute works by sending an ICMP
++Echo Request packet to a destination host with a TTL value of 1. If the
++host is more than one hop away, the first route that receives the back
++will send back an ICMP packet indicating that the TTL was exceeded. The
++address of this router is then listed as the first hop. The packet is
++then sent out again with a TTL of 2. This continues until the
++destination host is able to reply or some maximum TTL value is reached.
++
++The other two implementations use the same TTL-based concept with an
++ICMP type of 30(traceroute) or with an UDP packet destined for an
++ephemeral port.
++
++--
++Affected Systems:
++All
++
++--
++Attack Scenarios:
++An attacker may use a traceroute to discover live hosts and routers on a target network in preparation for an attack.
++
++--
++Ease of Attack:
++Simple
++
++--
++False Positives:
++The traceroute command may be used to legitimately troubleshoot networking problems.
++
++--
++False Negatives:
++None known
++
++--
++Corrective Action:
++Block inbound ICMP echo requests.
++
++--
++Contributors:
++Original Rule Writer Max Vision
++Sourcefire Research Team
++Judy Novak
++Nigel Houghton
++Snort documentation contributed by by Steven Alexander
++
++--
++Additional References:
++
++Arachnids:
++http://www.whitehats.com/info/IDS118
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1961.txt
+@@ -0,0 +1,58 @@
++Rule:
++
++--
++Sid:
++1961
++
++--
++Summary:
++This event is generated when an attempt is made through a portmap GETPORT request to discover the port where the Remote Procedure Call (RPC) rquotad is listening.
++
++
++--
++Impact:
++Information disclosure. This request is used to discover which port rquotad is using. Attackers can also learn what versions of the rquotad protocol are accepted by rquotad.
++
++--
++Detailed Information:
++The portmapper service registers all RPC services on UNIX hosts. It can be queried to determine the port where RPC services such as rquotad run. The rquotad RPC service can be queried for user disk usage and the limits of a local file system which is mounted by a remote machine over NFS. A vulnerability associated with rquotad may permit the execution of arbitrary commands with the privileges of root.
++
++--
++Affected Systems:
++All hosts running the UNIX portmapper.
++
++--
++Attack Scenarios:
++An attacker can query the portmapper to discover the port where rquotad runs. This may be a precursor to accessing rquotad.
++
++--
++Ease of Attack:
++Easy.
++
++--
++False Positives:
++If a legitimate remote user is allowed to access rquotad, this rule may trigger.
++
++--
++False Negatives:
++This rule detects probes of the portmapper service for rquotad, not probes of the rquotad service itself. Because RPC services often listen on fairly arbitrary ports, it may not be possible to detect misuses of the rquotad service itself. An attacker may attempt to go directly to the rquotad port without querying the portmapper service, which would not trigger the rule.
++
++--
++Corrective Action:
++Limit remote access to RPC services.
++
++Filter RPC ports at the firewall to ensure access is denied to RPC-enabled machines.
++
++Disable unneeded RPC services.
++
++--
++Contributors:
++Original rule written by Max Vision
++Modified by Brian Caswell
++Sourcefire Research Team
++Judy Novak
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/227.txt
+@@ -0,0 +1,56 @@
++Rule:
++--
++Sid:
++227
++
++--
++Summary:
++This event is generated when a Stacheldraht handler attempts to confirm that an agent has the ability to spoof a source IP.
++
++--
++Impact:
++Severe. This indicates that a Stacheldraht agent exists on the destination host.
++
++--
++Detailed Information:
++The Stacheldraht DDoS uses a tiered structure of compromised hosts to coordinate and participate in a distributed denial of service attack.
++
++There are "handler" hosts that are used to coordinate the attacks and "agent" hosts that launch the attack. In order for an agent host to make a good participant in a distributed denial of service, it must be able to spoof source IPs to elude detection. After a host becomes an agent, a test is conducted to see whether the agent can spoof a source IP. If the handler receives such a communication from the agent, it responds with an ICMP echo request with an ICMP identification number of 1000 and a content of "spoofworks" in the payload.
++
++--
++Affected Systems:
++Any Stacheldraht compromised host.
++
++--
++Attack Scenarios:
++A host on which a Stacheldraht agent has been installed will attempt to send a packet with a spoofed source IP to the handler. If the handler receives this communication, it will reply to the agent informing it that all 32 bits of source IP of DDoS traffic can be spoofed.
++
++--
++Ease of Attack:
++Simple. Stacheldraht code is freely available.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Use egress filtering in your network to prevent traffic leaving your network that is not part of the internal address space so source IPs cannot be spoofed.
++
++--
++Contributors:
++Original rule written by Max Vision
++Sourcefire Research Team
++Judy Novak
++
++--
++Additional References:
++
++Arachnids:
++http://www.whitehats.com/info/IDS192
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/497.txt
+@@ -0,0 +1,56 @@
++Rule:
++
++--
++Sid: 497
++
++--
++Summary:
++This event is generated by the successful completion of a file transfer operation. This may be indicative of post-compromise behavior indicating the use of a Windows command shell for copying files.
++
++--
++Impact:
++Serious. An attacker may have the ability to transfer files from the victim host.
++
++--
++Detailed Information:
++This event indicates that a file was successfully copied using Windows command line shell. The string "1 file(s) copied" is shown after the successful completion of a Windows "copy" command.
++
++Seeing this response in HTTP traffic indicates that an attacker may have been able to spawn a shell bound to a web port and has successfully executed the copy command. Note that the source address of this event is actually the victim and not that of the attacker.
++
++--
++
++Attack Scenarios:
++An attacker gains an access to a Windows web server via an IIS vulnerability and then copies "cmd.exe" into the directory accessible by the web server, thus creating a backdoor to access the system.
++
++--
++
++Ease of Attack:
++Simple. This may be post-attack behavior and can be indicative of the successful exploitation of a vulnerable system.
++
++--
++
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++
++Corrective Action:
++Investigate the web server for other signs of compromise
++
++Look for other events generated by the same IP addresses.
++
++--
++Contributors:
++Original rule writer unknown
++Snort documentation contributed by Anton Chuvakin
++Sourcefire Research Team
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3270.txt
+@@ -0,0 +1,70 @@
++Rule:
++
++--
++Sid:
++3270
++
++--
++Summary:
++This rule generates an event when an attempt is made to exploit a known
++vulnerability in Microsoft RPC DCOM.
++
++--
++Impact:
++Execution of arbitrary code leading to full administrator access of the
++machine. Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in Microsoft RPC DCOM such that execution of
++arbitrary code or a Denial of Service condition can be issued against a
++host by sending malformed data via RPC.
++
++The Distributed Component Object Model (DCOM) handles DCOM requests sent
++by clients to a server using RPC. A malformed request to an RPC port
++will result in a buffer overflow condition that will present the
++attacker with the opportunity to execute arbitrary code with the
++privileges of the local system account.
++
++--
++Affected Systems:
++ Windows NT 4.0
++ Windows NT 4.0 Terminal Server Edition
++ Windows 2000
++ Windows XP
++ Windows Server 2003
++
++--
++Attack Scenarios:
++An attacker may make a request for a file with an overly long filename
++via a network share.
++
++--
++Ease of Attack:
++Simple. Expoit code exists.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Block access to RPC ports 135, 139 and 445 for both TCP and UDP
++protocols from external sources using a packet filtering firewall.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000463.txt
+@@ -0,0 +1,73 @@
++Rule:
++
++--
++Sid:
++100000463
++--
++Summary:
++This event is generated when an attempt is made to exploit a remote file
++include vulnerability in the "Joomla" application running on a webserver.
++Access to the file "joomla.php" using a remote file being passed as the
++"includepath" parameter may indicate that an exploitation attempt has been
++attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution of
++arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to include a file from a
++remote machine via the "includepath" parameter in the "joomla.php" script used
++by the "Joomla" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also
++be possible for an attacker to execute system binaries or malicious code of the
++attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to
++a CGI application running ona web server. Some applications do not perform
++stringent checks when validating the credentials of a client host connecting to
++the services offered on a host server. This can lead to unauthorized access and
++possibly escalated privileges to that of the administrator. Data stored on the
++machine can be compromised and trust relationships between the victim server
++and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using Joomla
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own
++credentials to gain access. Alternatively the attacker can exploit weaknesses
++to gain access as the administrator by supplying input of their choosing to the
++underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had
++all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/372.txt
+@@ -0,0 +1,56 @@
++Rule:
++
++--
++Sid:
++372
++
++--
++Summary:
++This event is generated when an ICMP echo request is made from a Windows host running Delphi software.
++
++--
++Impact:
++Information gathering. An ICMP echo request can determine if a host is active.
++
++--
++Detailed Information:
++An ICMP echo request is used by the ping command to elicit an ICMP echo reply from a listening live host. An echo request that originates from a Windows host running Delphi software contains a unique payload in the message request.
++
++--
++Affected Systems:
++All
++
++--
++Attack Scenarios:
++An attacker may attempt to determine live hosts in a network prior to launching an attack.
++
++--
++Ease of Attack:
++Simple
++
++--
++False Positives:
++An ICMP echo request may be used to legimately troubleshoot networking problems.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Block inbound ICMP echo requests.
++
++--
++Contributors:
++Original rule written by Max Vision
++Documented by Steven Alexander
++Sourcefire Research Team
++Judy Novak
++
++--
++Additional References:
++
++Arachnids:
++http://www.whitehats.com/info/IDS155
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3160.txt
+@@ -0,0 +1,70 @@
++Rule:
++
++--
++Sid:
++3160
++
++--
++Summary:
++This rule generates an event when an attempt is made to exploit a known
++vulnerability in Microsoft RPC DCOM.
++
++--
++Impact:
++Execution of arbitrary code leading to full administrator access of the
++machine. Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in Microsoft RPC DCOM such that execution of
++arbitrary code or a Denial of Service condition can be issued against a
++host by sending malformed data via RPC.
++
++The Distributed Component Object Model (DCOM) handles DCOM requests sent
++by clients to a server using RPC. A malformed request to an RPC port
++will result in a buffer overflow condition that will present the
++attacker with the opportunity to execute arbitrary code with the
++privileges of the local system account.
++
++--
++Affected Systems:
++ Windows NT 4.0
++ Windows NT 4.0 Terminal Server Edition
++ Windows 2000
++ Windows XP
++ Windows Server 2003
++
++--
++Attack Scenarios:
++An attacker may make a request for a file with an overly long filename
++via a network share.
++
++--
++Ease of Attack:
++Simple. Expoit code exists.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Block access to RPC ports 135, 139 and 445 for both TCP and UDP
++protocols from external sources using a packet filtering firewall.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1144.txt
+@@ -0,0 +1,71 @@
++Rule:
++
++--
++Sid:
++1144
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability on a web server or a web application resident on a web
++server.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server. Possible execution of arbitrary code of
++the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to compromise a host
++running a Web server or a vulnerable application on a web server.
++
++Many known vulnerabilities exist for each implementation and the
++attack scenarios are legion.
++
++Some applications do not perform stringent checks when validating the
++credentials of a client host connecting to the services offered on a
++host server. This can lead to unauthorized access and possibly escalated
++privileges to that of the administrator. Data stored on the machine can
++be compromised and trust relationships between the victim server and
++other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++ All systems using a web server.
++
++--
++Attack Scenarios:
++Many attack vectors are possible from simple directory traversal to
++exploitation of buffer overflow conditions.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++Check the host logfiles and application logs for signs of compromise.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3235.txt
+@@ -0,0 +1,70 @@
++Rule:
++
++--
++Sid:
++3235
++
++--
++Summary:
++This rule generates an event when an attempt is made to exploit a known
++vulnerability in Microsoft RPC DCOM.
++
++--
++Impact:
++Execution of arbitrary code leading to full administrator access of the
++machine. Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in Microsoft RPC DCOM such that execution of
++arbitrary code or a Denial of Service condition can be issued against a
++host by sending malformed data via RPC.
++
++The Distributed Component Object Model (DCOM) handles DCOM requests sent
++by clients to a server using RPC. A malformed request to an RPC port
++will result in a buffer overflow condition that will present the
++attacker with the opportunity to execute arbitrary code with the
++privileges of the local system account.
++
++--
++Affected Systems:
++ Windows NT 4.0
++ Windows NT 4.0 Terminal Server Edition
++ Windows 2000
++ Windows XP
++ Windows Server 2003
++
++--
++Attack Scenarios:
++An attacker may make a request for a file with an overly long filename
++via a network share.
++
++--
++Ease of Attack:
++Simple. Expoit code exists.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Block access to RPC ports 135, 139 and 445 for both TCP and UDP
++protocols from external sources using a packet filtering firewall.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1564.txt
+@@ -0,0 +1,71 @@
++Rule:
++
++--
++Sid:
++1564
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability on a web server or a web application resident on a web
++server.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server. Possible execution of arbitrary code of
++the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to compromise a host
++running a Web server or a vulnerable application on a web server.
++
++Many known vulnerabilities exist for each implementation and the
++attack scenarios are legion.
++
++Some applications do not perform stringent checks when validating the
++credentials of a client host connecting to the services offered on a
++host server. This can lead to unauthorized access and possibly escalated
++privileges to that of the administrator. Data stored on the machine can
++be compromised and trust relationships between the victim server and
++other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++ All systems using a web server.
++
++--
++Attack Scenarios:
++Many attack vectors are possible from simple directory traversal to
++exploitation of buffer overflow conditions.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++Check the host logfiles and application logs for signs of compromise.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2825.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++2825
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database server.
++
++--
++Impact:
++Serious. Possible execution of arbitrary code and Denial of Service.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database implementation. Multiple buffer
++overflow conditions are present in numerous packages and procedures.
++
++Exploitation of these vulnerable procedures may allow an attacker to
++execute code of their choosing as the user running the database. In the
++case of databases running on Microsoft Windows platforms, this is the
++Local System account which may mean a compromise of the operating system
++as well as the database.
++
++This event indicates that an attempt has been made to exploit a
++vulnerability in the procedure validate_flavor_definition
++. This procedure is included in
++sys.dbms_repcat_fla.
++
++--
++Affected Systems:
++ Oracle Oracle9i
++
++--
++Attack Scenarios:
++If an attacker can supply enough data to the procedure in question, it
++may be possible to cause the overflow condition to occur and present the
++attacker with the opportunity to execute code of their choosing.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patch
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Alex Kirk
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2389.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++2389
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a buffer
++overflow vulnerability associated with WuFtpd RNTO command.
++
++--
++Impact:
++Remote access. A successful attack may permit the remote execution of
++arbitrary commands with system privileges.
++
++--
++Detailed Information:
++WuFtpd is an FTP server based on BSD ftpd. A vulnerability exists
++with the RNTO command that can cause a buffer overflow and permit the
++execution of arbitrary commands with system privileges. The buffer
++overflow can be caused by supplying an overly long argument to the RNTO
++command.
++
++The issue exists in the realpath() function. It is possible for an
++attacker to send malformed data to the realpath() function that will
++cause the overflow condition to occur.
++
++--
++Affected Systems:
++ Multiple systems using affected C libraries, libc
++
++--
++Attack Scenarios:
++An attacker can use one of the publicly available exploit scripts to
++cause the overflow to occur.
++
++--
++Ease of Attack:
++Simple. Many exploits exist.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Upgrade to the latest non-affected version of the software.
++
++Use scp as an alternative to ftp
++
++Disallow ftp access to internal resources from external sources
++
++Recompile binaries statically linked to the system libc implementation
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1857.txt
+@@ -0,0 +1,64 @@
++Rule:
++--
++Sid:
++1857
++--
++Summary:
++This event is generated when a client is requesting the file "robot.txt"
++from a web server.
++
++--
++Impact:
++Information Disclosure. This file may contain data that could provide an
++attacker with information that could assist in an attack on the server.
++
++--
++Detailed Information:
++In the early days of the web, when search engines first began indexing
++sites, it was often desirable to tell the indexing programs, referred
++to as robots, not to index certain parts of a site. A standarized
++method of accomplishing this was created; by placing a file called
++"robot.txt" or "robots.txt" in the root of your web site which search
++engines could read and which would tell them what parts of your site you
++did not want indexed. However, this file can also be very valuable to
++potential attackers if it contains information such as restricted
++directories, cgi-bin locations, etc.
++
++--
++Affected Systems:
++Any web site that uses this method to communicate with robots.
++
++--
++Attack Scenarios:
++An attacker can read the "robot.txt" file and use any sensitive data in
++it to profile your site in preparation for an attack.
++
++--
++Ease of Attack:
++Simple. No exploit software required. Any browser can request a copy of
++"robot.txt" from the server.
++
++--
++False Positives:
++Many. Most automated search engine indexing programs still request this
++file prior to crawling through a web site.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure that your "robot.txt" file, if you need one, does not contain any
++sensitive data.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Snort documentation contributed by Kevin Peuhkurinen
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/297.txt
+@@ -0,0 +1,59 @@
++SID:
++297
++--
++
++Rule:
++--
++
++Summary:
++This event is triggered when an attempt is made to overflow an imapd
++server.
++--
++
++Impact:
++Commands may be run on the IMAP server as the root user, This can lead
++to a complete compromise of the targeted system
++--
++
++Detailed Information:
++Failure to check the size of the value passed to the 'AUTHENTICATE'
++command on certain IMAPD implementations can lead to a buffer overflow.
++This in turn can allow arbitrary commands to be executed on the server.
++--
++
++Affected Systems:
++ Netscape Messaging Server 3.55, University of Washington imapd 10.234
++--
++
++Attack Scenarios:
++An attacker may attempt to exploit a vulnerable imapd server, permitting
++the execution of arbitrary commands possibly with the privilege of user
++"root".
++--
++
++Ease of Attack:
++Simple. Sample exploit code is available.
++--
++
++False Positives:
++None known
++--
++
++False Negatives:
++None known
++--
++
++Corrective Action:
++Vendors have provided updated versions, upgrading will resolve this problem
++--
++
++Contributors:
++Snort documentation contributed by matthew harvey
++Original Rule Writer Unknown
++Sourcefire Research Team
++Nigel Houghton
++
++--
++References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1729.txt
+@@ -0,0 +1,53 @@
++Rule:
++
++--
++Sid: 1729
++
++--
++Summary:
++This event is generated when activity relating to network chat clients is detected.
++
++--
++Impact:
++Policy Violation. Use of chat clients to communicate with unkown external sources may be against the policy of many organizations.
++
++--
++Detailed Information:
++Instant Messaging (IM) and other chat related client software can allow users to transfer files directly between hosts. This can allow malicious users to circumvent the protection offered by a network firewall.
++
++Vulnerabilities in these clients may also allow remote attackers to gain unauthorized access to a host.
++
++--
++Attack Scenarios:
++A user may transfer sensitive company information to an external party using the file transfer capabilities of an IM client.
++
++An attacker might utilize a vulnerability in an IM client to gain access to a host, then upload a Trojan Horse program to gain control of that host.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Disallow the use of IM clients on the protected network and enforce or implement an organization wide policy on the use of IM clients.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++IRC Protocol
++http://www.irchelp.org/irchelp/rfc/
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/973.txt
+@@ -0,0 +1,59 @@
++Rule:
++
++--
++Sid:
++973
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a buffer overflow associated with a file with a .idc extension.
++
++--
++Impact:
++Remote access. This attack may permit the execution of arbitrary commands on the victim server.
++
++--
++Detailed Information:
++Microsoft Internet Information Service (IIS) supports files extensions including .idc that call the ISM.DLL. A buffer overflow vulnerability exists in ISM.DLL code when it receives a malformed request, permitting the execution of arbitrary code.
++
++--
++Affected Systems:
++IIS 4.0 hosts
++
++--
++Attack Scenarios:
++An attacker can send a malformed request of a .idc file that causes a buffer overflow.
++
++--
++Ease of Attack:
++Simple. Exploit code is freely available.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Upgrade to a more current version of IIS.
++
++--
++Contributors:
++Original rule writer unknown
++Modified by Brian Caswell
++Sourcefire Research Team
++Judy Novak
++
++--
++Additional References:
++
++CVE
++http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-1999-0874
++
++Bugtraq:
++http://www.securityfocus.com/bid/307
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2506.txt
+@@ -0,0 +1,60 @@
++Rule:
++
++--
++Sid:
++2506
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in the Microsoft implementation of SSL Version 3.
++
++--
++Impact:
++Denial of Service (DoS).
++--
++Detailed Information:
++A vulnerability exists in the handling of SSL Version 3 requests that
++can be manipulated to cause a DoS condition in various software
++implementations used on Microsoft operating systems.
++
++The condition exists because of poor error handling routines in the
++Microsoft Secure Sockets Layer (SSL) library. SSL requests containing an
++invalid field, sent to vulnerable systems can cause the affected host to stop
++handling any further requests.
++
++--
++Affected Systems:
++ Microsoft Windows 2000, 2003 and XP systems using SSL
++
++--
++Attack Scenarios:
++An attcker needs to make an SSL request to an affected system that
++contains an invalid field.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches
++
++--
++Contributors:
++Sourcefire Research Team
++Matt Watchinski
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3220.txt
+@@ -0,0 +1,70 @@
++Rule:
++
++--
++Sid:
++3220
++
++--
++Summary:
++This rule generates an event when an attempt is made to exploit a known
++vulnerability in Microsoft RPC DCOM.
++
++--
++Impact:
++Execution of arbitrary code leading to full administrator access of the
++machine. Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in Microsoft RPC DCOM such that execution of
++arbitrary code or a Denial of Service condition can be issued against a
++host by sending malformed data via RPC.
++
++The Distributed Component Object Model (DCOM) handles DCOM requests sent
++by clients to a server using RPC. A malformed request to an RPC port
++will result in a buffer overflow condition that will present the
++attacker with the opportunity to execute arbitrary code with the
++privileges of the local system account.
++
++--
++Affected Systems:
++ Windows NT 4.0
++ Windows NT 4.0 Terminal Server Edition
++ Windows 2000
++ Windows XP
++ Windows Server 2003
++
++--
++Attack Scenarios:
++An attacker may make a request for a file with an overly long filename
++via a network share.
++
++--
++Ease of Attack:
++Simple. Expoit code exists.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Block access to RPC ports 135, 139 and 445 for both TCP and UDP
++protocols from external sources using a packet filtering firewall.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1072.txt
+@@ -0,0 +1,64 @@
++Rule:
++
++--
++Sid:
++1072
++
++--
++Summary:
++This event is generated when an attempt is made to execute a directory
++traversal attack.
++
++--
++Impact:
++Information disclosure. This is a directory traversal attempt which can
++lead to information disclosure and possible exposure of sensitive
++system information.
++
++--
++Detailed Information:
++Directory traversal attacks usually target web, web applications and ftp
++servers that do not correctly check the path to a file when requested by
++the client.
++
++This can lead to the disclosure of sensitive system information which may
++be used by an attacker to further compromise the system.
++
++--
++Affected Systems:
++
++--
++Attack Scenarios:
++An authorized user or anonymous user can use the directory traversal
++technique, to browse folders outside the ftp root directory. Information
++gathered may be used in further attacks against the host.
++
++--
++Ease of Attack:
++Simple. No exploit software required.
++
++--
++False Positives:
++None known
++
++--
++False Negatives:
++None known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches
++
++Upgrade the software to the latest non-affected version.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/640.txt
+@@ -0,0 +1,59 @@
++Rule:
++
++--
++Sid: 640
++
++--
++Summary:
++This event is generated when a buffer overflow attack is attempted against a target machine.
++
++--
++Impact:
++Serious. The attacker may be able to gain remote access to the system or have the ability to execute arbitrary code with the privileges of a system user.
++
++
++--
++Detailed Information:
++This rule tracks the bit combination which may occur in network packets aimed at overflowing IRIX MIPS network services. The buffer overflow attack attempts to force the vulnerable application to execute attacker-controlled code in order to gain interactive access or run arbitrary commands on the vulnerable system.
++
++A specific string used during the overflow is application-dependent however, a platform-specific command or code may be present and is detected by this rule.
++
++--
++Attack Scenarios:
++An attacker launches an overflow exploit against a vulnerable FTP server and gains the ability to start a shell session, thus obtaining interactive access to the target.
++
++--
++Ease of Attack:
++Simple
++
++
++--
++False Positives:
++This event may be generated by legitimate traffic to the specified port.
++
++
++--
++False Negatives:
++This event is specific to the shell code defined in the rule.
++Other shell code sequences may not be detected.
++
++--
++Corrective Action:
++Check the target host for other signs of compromise.
++
++Look for other events concerning the target host.
++
++Apply vendor supplied patches and keep the operating system up to date.
++
++--
++Contributors:
++Original Rule Writer Unkown
++Snort documentation contributed by Anton Chuvakin
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1288.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++1288
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in a web server running Microsoft FrontPage
++Server Extensions.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution
++of arbitrary code of the attackers choosing in some cases. Denial of
++Service is possible.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to compromise a host
++running Microsoft FrontPage Server Extensions. Many known
++vulnerabilities exist for this platform and the attack scenarios are
++legion. In particular this rule generates events when the directory
++_vti_bin is accessed. This directory contains sensitive files that may
++be utilized in an attack against the server.
++
++--
++Affected Systems:
++ All systems running Microsoft FrontPage Server Extensions
++
++--
++Attack Scenarios:
++Many attack vectors are possible from simple directory traversal to
++exploitation of buffer overflow conditions.
++
++--
++Ease of Attack:
++Simple. Many exploits exist.
++
++--
++False Positives:
++A user who is using the "discuss" toolbar in Microsoft Internet Explorer
++may inadvertently generate an event from this rule, due to the browser
++making a check for Office Server Extensions. See this URI for more
++details.
++
++ http://www.webmasterworld.com/forum39/2158.htm
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000484.txt
+@@ -0,0 +1,63 @@
++Rule:
++
++--
++Sid:
++100000484
++--
++Summary:
++This event is generated when an attempt is made to exploit a cross site
++scripting vulnerability in the "Confixx" application running on a webserver.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution of
++arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to exploit a cross site
++scripting vulnerability via the "lpath" parameter in the "ftp_index.php" script
++used by the "Confixx" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also
++be possible for an attacker to retrieve sensitive data, execute system binaries
++or malicious code of the attackers choosing.
++
++--
++Affected Systems:
++All systems running CGI applications using Confixx
++--
++Attack Scenarios:
++An attacker can supply a malicious link designed to steal information from a
++user clicking on that link.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had
++all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++The Cross Site Scripting (XSS) FAQ
++http://www.cgisecurity.com/articles/xss-faq.shtml
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000713.txt
+@@ -0,0 +1,55 @@
++
++
++Rule:
++
++--
++Sid:
++100000713
++--
++Summary:
++This event is generated when an attempt is made to exploit a remote file include vulnerability in the "PHPRaid" application running on a webserver. Access to the file "roster.php" using a remote file being passed as the "phpraid_dir" parameter may indicate that an exploitation attempt has been attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized administrative access to the server or application. Possible execution of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to include a file from a remote machine via the "phpraid_dir" parameter in the "roster.php" script used by the "PHPRaid" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also be possible for an attacker to execute system binaries or malicious code of the attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to a CGI application running ona web server. Some applications do not perform stringent checks when validating the credentials of a client host connecting to the services offered on a host server. This can lead to unauthorized access and possibly escalated privileges to that of the administrator. Data stored on the machine can be compromised and trust relationships between the victim server and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using PHPRaid
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own credentials to gain access. Alternatively the attacker can exploit weaknesses to gain access as the administrator by supplying input of their choosing to the underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/609.txt
+@@ -0,0 +1,60 @@
++Rule:
++
++--
++Sid: 609
++
++--
++Summary:
++This event is generated due to the use of a suspicious login attempt
++
++--
++Impact:
++Serious. If successful the attacker may have gained superuser access to the host.
++
++--
++Detailed Information:
++This rule generates an event when a connection is made using "rsh" whilst passing the parameter "-froot".
++
++A bug in some implementations of the "rsh" daemon software allowed remote root access using the "-froot" parameter for the "rsh command"
++
++--
++Attack Scenarios:
++If a UNIX machine has the "rsh" service running and is vulnerable to this bug, in can be exploited simply by running the "rsh" command with "-froot" flag. For example, rlogin host.foo.com -l -froot
++
++--
++Ease of Attack:
++Simple, no exploit software required
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Investigate logs on the target host for further details and more signs of suspicious activity
++
++Use ssh for remote access instead of rlogin.
++
++Disable the "rsh" service if not used, apply a patch if appropriate.
++
++--
++Contributors:
++Original rule by Max Vision modified from a signature written by Ron Gula
++Snort documentation contributed by Anton Chuvakin
++Sourcefire Research Team
++Nigel Houghton
++
++--
++Additional References:
++
++CVE:
++http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-1999-0113
++
++Arachnids:
++http://www.whitehats.com/info/IDS387
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000555.txt
+@@ -0,0 +1,63 @@
++Rule:
++
++--
++Sid:
++100000555
++--
++Summary:
++This event is generated when an attempt is made to exploit a cross site
++scripting vulnerability in the "VebiMiau" application running on a webserver.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution of
++arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to exploit a cross site
++scripting vulnerability via the "lid" parameter in the "error.php" script used
++by the "VebiMiau" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also
++be possible for an attacker to retrieve sensitive data, execute system binaries
++or malicious code of the attackers choosing.
++
++--
++Affected Systems:
++All systems running CGI applications using VebiMiau
++--
++Attack Scenarios:
++An attacker can supply a malicious link designed to steal information from a
++user clicking on that link.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had
++all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++The Cross Site Scripting (XSS) FAQ
++http://www.cgisecurity.com/articles/xss-faq.shtml
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/158.txt
+@@ -0,0 +1,103 @@
++Rule:
++
++--
++Sid:
++152, 157-158
++
++--
++Summary:
++Backdoor.Backconstruction is a Trojan Horse.
++
++--
++Impact:
++Possible theft of data via download, upload of files, execution of files
++and reboot the targeted machine.
++
++--
++Detailed Information:
++This Trojan affects the following operating systems:
++
++ Windows 95
++ Windows 98
++ Windows ME
++
++The Trojan changes system registry settings to add the Backconstruction
++sever to programs normally started on boot. Due to the nature of this
++Trojan it is unlikely that the attacker's client IP address has been
++spoofed.
++
++ SID Message
++ --- -------
++ 152 BackConstruction 2.1 Connection (outgoing TCP
++connection)
++ 157 BackConstruction 2.1 Client FTP Open Request (incoming
++TCP connection)
++ 158 BackConstruction 2.1 Server FTP Open Reply (outging TCP
++connection)
++
++This Trojan is commonly used to install other Trojan programs.
++
++--
++Attack Scenarios:
++This Trojan may be delivered to the target in a number of ways. This
++event is indicative of an existing infection being activated. Initial
++compromise can be in the form of a Win32 installation program that may
++use the extension ".jpg" or ".bmp" when delivered via e-mail for
++example.
++
++--
++Ease of Attack:
++This is Trojan activity, the target machine may already be compromised.
++Updated virus definition files are essential in detecting this Trojan.
++
++The Trojan server is located at :\WINDOWS\Cmctl32.exe
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++
++Edit the system registry to remove the extra keys or restore a
++previously known good copy of the registry.
++
++Affected registry keys are:
++
++ HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\
++
++Registry keys added are:
++
++ Shell = ":\WINDOWS\Cmctl32.exe"
++
++Removal of this entry is required.
++
++Delete the file :\WINDOWS\Cmctl32.exe
++
++Ending the Trojan process is also necessary. A reboot of the infected
++machine is recommended.
++
++--
++Contributors:
++Original Rule Writer Max Vision
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++Whitehats arachNIDS
++http://www.whitehats.com/info/IDS505
++
++Dark-e:
++http://www.dark-e.com/archive/trojans/backc/21/index.shtml
++
++Pest Patrol:
++www.pestpatrol.com/PestInfo/b/back_construction.asp
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3443.txt
+@@ -0,0 +1,54 @@
++Rule:
++
++--
++Sid:
++3443
++
++--
++Summary:
++This rule does not generate an event. It is used in conjunction with
++other rules to reduce the possibility of false postives from occuring.
++
++--
++Impact:
++Unknown.
++
++--
++Detailed Information:
++This rule does not generate an event. It is used in conjunction with
++other rules to reduce the possibility of false postives from occuring.
++
++--
++Affected Systems:
++ NA
++
++--
++Attack Scenarios:
++NA
++
++--
++Ease of Attack:
++NA
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++NA
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2892.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++2892
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database server.
++
++--
++Impact:
++Serious. Possible execution of arbitrary code and Denial of Service.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database implementation. Multiple buffer
++overflow conditions are present in numerous packages and procedures.
++
++Exploitation of these vulnerable procedures may allow an attacker to
++execute code of their choosing as the user running the database. In the
++case of databases running on Microsoft Windows platforms, this is the
++Local System account which may mean a compromise of the operating system
++as well as the database.
++
++This event indicates that an attempt has been made to exploit a
++vulnerability in the procedure drop_priority_nvarchar2
++. This procedure is included in
++sys.dbms_repcat_conf.
++
++--
++Affected Systems:
++ Oracle Oracle9i
++
++--
++Attack Scenarios:
++If an attacker can supply enough data to the procedure in question, it
++may be possible to cause the overflow condition to occur and present the
++attacker with the opportunity to execute code of their choosing.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patch
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Alex Kirk
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000648.txt
+@@ -0,0 +1,73 @@
++Rule:
++
++--
++Sid:
++100000648
++--
++Summary:
++This event is generated when an attempt is made to exploit a remote file
++include vulnerability in the "Indexu" application running on a webserver.
++Access to the file "whos.php" using a remote file being passed as the
++"admin_template_path" parameter may indicate that an exploitation attempt has
++been attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution of
++arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to include a file from a
++remote machine via the "admin_template_path" parameter in the "whos.php" script
++used by the "Indexu" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also
++be possible for an attacker to execute system binaries or malicious code of the
++attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to
++a CGI application running ona web server. Some applications do not perform
++stringent checks when validating the credentials of a client host connecting to
++the services offered on a host server. This can lead to unauthorized access and
++possibly escalated privileges to that of the administrator. Data stored on the
++machine can be compromised and trust relationships between the victim server
++and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using Indexu
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own
++credentials to gain access. Alternatively the attacker can exploit weaknesses
++to gain access as the administrator by supplying input of their choosing to the
++underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had
++all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000510.txt
+@@ -0,0 +1,75 @@
++Rule:
++
++--
++Sid:
++100000510
++--
++Summary:
++This event is generated when an attempt is made to exploit an SQL injection
++vulnerability in the "VBZoom" application running on a webserver. Access to the
++file "rank.php" with SQL commands being passed as the "MemberID" parameter may
++indicate that an exploitation attempt has been attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution of
++arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to inject SQL code from a
++remote machine via the "MemberID" parameter in the "rank.php" script used by
++the "VBZoom" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also
++be possible for an attacker to compromise the database backend for the
++application, the attacker may also be able to execute system binaries or
++malicious code of their choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to
++a CGI application running ona web server. Some applications do not perform
++stringent checks when validating the credentials of a client host connecting to
++the services offered on a host server. This can lead to unauthorized access and
++possibly escalated privileges to that of the administrator. Data stored on the
++machine can be compromised and trust relationships between the victim server
++and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using VBZoom
++--
++Attack Scenarios:
++An attacker can inject SQL commands to the backend database for an application
++if user input is not correctly sanitized or checked before passing that input
++to the database.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had
++all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++SQL Injection Attack and Defense
++http://www.securitydocs.com/library/3587
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/898.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++898
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in a CGI web application running on a server.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution
++of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to gain unauthorized
++access to a CGI application running ona web server. Some applications do
++not perform stringent checks when validating the credentials of a client
++host connecting to the services offered on a host server. This can lead
++to unauthorized access and possibly escalated privileges to that of the
++administrator. Data stored on the machine can be compromised and trust
++relationships between the victim server and other hosts can be exploited by the attacker.
++
++If stringent input checks are not performed by the CGI application, it
++may also be possible for an attacker to execute system binaries or
++malicious code of the attackers choosing.
++
++--
++Affected Systems:
++ All systems running CGI applications
++
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her
++own credentials to gain access. Alternatively the attacker can exploit
++weaknesses to gain access as the administrator by supplying input of
++their choosing to the underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2669.txt
+@@ -0,0 +1,62 @@
++Rule:
++
++--
++Sid:
++2669
++
++--
++Summary:
++This event is generated when an attempt is made to access the file
++ibillpm.pl.
++
++--
++Impact:
++Possible unauthorized administrative access to the victim host.
++Information disclosure.
++
++--
++Detailed Information:
++The script ibillpm.pl is used to process billing and payment via a CGI
++application over the Internet.
++
++The application suffers from a weak default password scheme that could
++be used by an attacker to take control of a user account and view
++billing details.
++
++--
++Affected Systems:
++ iBill Internet Billing Company Processing Plus
++
++--
++Attack Scenarios:
++An attacker can supply the username and default password for a user to
++the script to gain control.
++
++--
++Ease of Attack:
++Simple
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Uninstall the script ibillpm.pl
++
++Only allow usage from authenticated users
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Alex Kirk
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2554.txt
+@@ -0,0 +1,71 @@
++Rule:
++
++--
++Sid:
++2554
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in Oracle Application Server Web Cache.
++
++--
++
++Impact:
++Serious. Possible execution of arbitrary code leading to remote
++administrative access.
++
++--
++Detailed Information:
++The Oracle Application Server Web Cache is vulnerable to a buffer
++overrun caused by poor checking of the length of an HTTP Header. If a
++large invalid HTTP Request Method is supplied to a vulnerable system, an
++attacker may be presented with the opportunity to overrun a fixed length
++buffer and subsequently execute code of their choosing on the server.
++
++--
++Affected Systems:
++Oracle Application Server Web Cache 10g 9.0.4 .0
++Oracle Oracle9i Application Server Web Cache 2.0 .0.4
++Oracle Oracle9i Application Server Web Cache 9.0.2 .3
++Oracle Oracle9i Application Server Web Cache 9.0.2 .2
++Oracle Oracle9i Application Server Web Cache 9.0.3 .1
++
++--
++
++Attack Scenarios:
++An attacker might supply an HTTP Request Method of more than 432 bytes,
++causing the overflow to occur.
++
++--
++
++Ease of Attack:
++Simple.
++
++--
++
++False Positives:
++None Known
++
++--
++False Negatives:
++This rule examines Oracle Web Cache server on port 7777 or 7778. It is possible
++to configure the Oracle Web Cache server to run on different ports. The rule
++should be configured to reflect the appropriate ports of Oracle Web Cache
++servers on your network.
++
++--
++
++Corrective Action:
++Apply the appropriate vendor supplied patch
++
++--
++Contributors:
++Sourcefire Research Team
++Judy Novak
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1083.txt
+@@ -0,0 +1,71 @@
++Rule:
++
++--
++Sid:
++1083
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability on a web server or a web application resident on a web
++server.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server. Possible execution of arbitrary code of
++the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to compromise a host
++running a Web server or a vulnerable application on a web server.
++
++Many known vulnerabilities exist for each implementation and the
++attack scenarios are legion.
++
++Some applications do not perform stringent checks when validating the
++credentials of a client host connecting to the services offered on a
++host server. This can lead to unauthorized access and possibly escalated
++privileges to that of the administrator. Data stored on the machine can
++be compromised and trust relationships between the victim server and
++other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++ All systems using a web server.
++
++--
++Attack Scenarios:
++Many attack vectors are possible from simple directory traversal to
++exploitation of buffer overflow conditions.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++Check the host logfiles and application logs for signs of compromise.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000820.txt
+@@ -0,0 +1,56 @@
++Rule:
++
++--
++Sid:
++100000820
++--
++Summary:
++This event is generated when an attempt is made to exploit an SQL injection vulnerability in the "SaPHPLesson" application running on a webserver. Access to the file "add.php" with SQL commands being passed as the "forumid" parameter may indicate that an exploitation attempt has been attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized administrative access to the server or application. Possible execution of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to inject SQL code from a remote machine via the "forumid" parameter in the "add.php" script used by the "SaPHPLesson" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also be possible for an attacker to compromise the database backend for the application, the attacker may also be able to execute system binaries or malicious code of their choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to a CGI application running ona web server. Some applications do not perform stringent checks when validating the credentials of a client host connecting to the services offered on a host server. This can lead to unauthorized access and possibly escalated privileges to that of the administrator. Data stored on the machine can be compromised and trust relationships between the victim server and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using SaPHPLesson
++--
++Attack Scenarios:
++An attacker can inject SQL commands to the backend database for an application if user input is not correctly sanitized or checked before passing that input to the database.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++SQL Injection Attack and Defense
++http://www.securitydocs.com/library/3587
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1353.txt
+@@ -0,0 +1,46 @@
++Rule:
++
++--
++Sid:
++1353
++
++--
++Summary:
++Attempted nasm command access via web.
++
++--
++Impact:
++Attempt to compile a binary on a host.
++
++--
++Detailed Information:
++This is an attempt to compiile a program source on a host. NASM is the Netwide Assembler which is capable of compiling a variety of sources on a variety of platforms into executable binary files. The attacker could possibly compile a program needed for other attacks on the system or install a binary program of his choosing.
++
++--
++Attack Scenarios:
++The attacker can make a standard HTTP request that contains '/bin/nasm'in the URI.
++
++--
++Ease of Attack:
++Simple HTTP request.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++
++Webservers should not be allowed to view or execute files and binaries outside of it's designated web root or cgi-bin. This command may also be requested on a command line should the attacker gain access to the machine. Whenever possible, sensitive files and certain areas of the filesystem should have the system immutable flag set to prevent files from being added to the host. On BSD derived systems, setting the systems runtime securelevel also prevents the securelevel from being changed. (note: the securelevel can only be increased).
++--
++Contributors:
++Sourcefire Research Team
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2780.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++2780
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database server.
++
++--
++Impact:
++Serious. Possible execution of arbitrary code and Denial of Service.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database implementation. Multiple buffer
++overflow conditions are present in numerous packages and procedures.
++
++Exploitation of these vulnerable procedures may allow an attacker to
++execute code of their choosing as the user running the database. In the
++case of databases running on Microsoft Windows platforms, this is the
++Local System account which may mean a compromise of the operating system
++as well as the database.
++
++This event indicates that an attempt has been made to exploit a
++vulnerability in the procedure drop_site_priority
++. This procedure is included in
++dbms_repcat.
++
++--
++Affected Systems:
++ Oracle Oracle9i
++
++--
++Attack Scenarios:
++If an attacker can supply enough data to the procedure in question, it
++may be possible to cause the overflow condition to occur and present the
++attacker with the opportunity to execute code of their choosing.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patch
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Alex Kirk
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1200.txt
+@@ -0,0 +1,61 @@
++Rule:
++
++--
++Sid:
++1200
++
++--
++Summary:
++This event is generated when an invalid URL response is sent from a
++webserver to a client.
++
++--
++Impact:
++Information gathering and possible Denial of Service (DoS).
++
++--
++Detailed Information:
++This event is generated when an invalid URL response is sent from a
++webserver to a client. It is possible under some circumstances, to cause
++a DoS condition by supplying an invalid URL to a web server running an
++affected version of Microsoft IIS 4.0. Certain invalid URLs can cause
++the system to make an invalid memory request that will in turn stop the
++IIS service from running.
++
++--
++Affected Systems:
++ Microsoft IIS 4.0 on NT systems
++
++--
++Attack Scenarios:
++The attacker would merely need to make a web request using an invalid
++URL.
++
++--
++Ease of Attack:
++Simple. No exploit software required.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Upgrade the system to the latest non-affected version of the software.
++
++Apply the appropriate vendor supplied patches.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1803.txt
+@@ -0,0 +1,62 @@
++Rule:
++
++--
++Sid:
++1803
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in a web server running Microsoft Internet Information
++Server.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution
++of arbitrary code of the attackers choosing in some cases. Denial of
++Service is possible.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to compromise a host
++running Microsoft Internet Information Server (IIS). Many known
++vulnerabilities exist for this platform and the attack scenarios are
++legion.
++
++--
++Affected Systems:
++ All systems running Microsoft IIS
++
++--
++Attack Scenarios:
++Many attack vectors are possible from simple directory traversal to
++exploitation of buffer overflow conditions.
++
++--
++Ease of Attack:
++Simple. Many exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/239.txt
+@@ -0,0 +1,65 @@
++Rule:
++
++--
++Sid:
++239
++
++--
++Summary:
++This event is generated when a DDoS Shaft handler communicates with a Shaft agent. It is also possible that this event may be generated when any host attempts to discover a Shaft agent.
++
++--
++Impact:
++Attempted DDoS. If the listed source IP is in your network, it may be a Shaft handler or a host attempting to discover Shaft agents. If the listed destination IP is in your network, it may be a Shaft agent.
++
++--
++Detailed Information:
++The Shaft DDoS uses a tiered structure of compromised hosts to coordinate and participate in a distributed denial of service attack. Handlers communicate with agents to direct them to launch attacks. A handler may communicate with an agent using a UDP packet to destination port 18753 with a content of "alive tijgu. This communication checks if an agent is alive and uses a default password of "tijgu".
++
++--
++Affected Systems:
++Any Shaft compromised host.
++
++--
++Attack Scenarios:
++A Shaft handler needs to discover if an agent is alive before directing it to launch an attack.
++
++--
++Ease of Attack:
++Simple. Shaft code is freely available.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Perform proper forensic analysis on the suspected compromised host to discover the means of compromise.
++
++Rebuild a confirmed compromised host.
++
++Use a packet-filtering firewall to block inappropriate traffic to the network to prevent hosts from being compromised.
++
++
++--
++Contributors:
++Original rule written by Max Vision
++Sourcefire Research Team
++Judy Novak
++
++--
++Additional References:
++
++Arachnids:
++http://www.whitehats.com/info/IDS255
++
++Miscellaneous:
++http://biocserver.cwru.edu/~jose/shaft_analysis/
++
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2999.txt
+@@ -0,0 +1,66 @@
++Rule:
++
++--
++Sid:
++2999
++
++--
++Summary:
++This event is generated when an attempt is made to shutdown a Windows
++system via SMB.
++
++--
++Impact:
++Serious.
++
++--
++Detailed Information:
++This event indicates that an attempt was made to shutdown a Windows
++system via SMB across the network.
++
++It may be possible for an attacker to manipulate a Windows system
++from a remote location. Shutting down a system may lead to a Denial of
++Service for the target host.
++
++--
++Affected Systems:
++ Microsoft Windows systems.
++
++--
++Attack Scenarios:
++An attacker may be able to manipulate a target system using SMB. The
++attacker may gain complete control over the affected system.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Check the host for signs of system compromise.
++
++Turn off file and print sharing on the target host.
++
++Use a packet filtering firewall to disallow SMB access to the host from
++sources external to the protected network.
++
++Disallow remote registry manipulation.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1627.txt
+@@ -0,0 +1,65 @@
++Rule:
++
++--
++Sid:
++1627
++
++--
++Summary:
++This event is generated when packets on the network are using an
++unassigned or reserved IP protocol.
++
++--
++Impact:
++Possible prelude to system compromise.
++
++--
++Detailed Information:
++Under normal circumstances IP packets do not use unassigned or reserved
++protocols.
++
++an indicator of unauthorized network use, reconnaisance activity or
++system compromise. These rules may also generate an event due to
++improperly configured network devices.
++
++--
++Affected Systems:
++ All
++
++--
++Attack Scenarios:
++The attacker may send specially crafted packets using an unassigned or
++reserved protocol.
++
++--
++Ease of Attack:
++Simple
++
++--
++False Positives:
++Research or testing of new protocols may trigger this event.
++
++Novell use protocol 224 for the Cluster heart beat
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Use a packet filtering device to reject packets using an unknown
++protocol.
++
++--
++Contributors:
++Original rule writer unknown
++Sourcefire Research Team
++Nigel Houghton
++
++--
++Additional References:
++
++IANA
++http://www.iana.org/assignments/protocol-numbers
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1718.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++1718
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in a CGI web application running on a server.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution
++of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to gain unauthorized
++access to a CGI application running ona web server. Some applications do
++not perform stringent checks when validating the credentials of a client
++host connecting to the services offered on a host server. This can lead
++to unauthorized access and possibly escalated privileges to that of the
++administrator. Data stored on the machine can be compromised and trust
++relationships between the victim server and other hosts can be exploited by the attacker.
++
++If stringent input checks are not performed by the CGI application, it
++may also be possible for an attacker to execute system binaries or
++malicious code of the attackers choosing.
++
++--
++Affected Systems:
++ All systems running CGI applications
++
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her
++own credentials to gain access. Alternatively the attacker can exploit
++weaknesses to gain access as the administrator by supplying input of
++their choosing to the underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000468.txt
+@@ -0,0 +1,72 @@
++Rule:
++
++--
++Sid:
++100000468
++--
++Summary:
++This event is generated when an attempt is made to exploit a remote file
++include vulnerability in the "WebprojectDB" application running on a webserver.
++Access to the file "lang.php" using a remote file being passed as the "INCDIR"
++parameter may indicate that an exploitation attempt has been attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution of
++arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to include a file from a
++remote machine via the "INCDIR" parameter in the "lang.php" script used by the
++"WebprojectDB" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also
++be possible for an attacker to execute system binaries or malicious code of the
++attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to
++a CGI application running ona web server. Some applications do not perform
++stringent checks when validating the credentials of a client host connecting to
++the services offered on a host server. This can lead to unauthorized access and
++possibly escalated privileges to that of the administrator. Data stored on the
++machine can be compromised and trust relationships between the victim server
++and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using WebprojectDB
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own
++credentials to gain access. Alternatively the attacker can exploit weaknesses
++to gain access as the administrator by supplying input of their choosing to the
++underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had
++all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/724.txt
+@@ -0,0 +1,90 @@
++Rule:
++
++--
++Sid:
++724
++
++--
++Summary:
++This event is generated when worm activity is detected. More specifcally
++this event indicates possible "My Romeo" propogation.
++
++--
++Impact:
++Serious. The victim host may be infected with a worm.
++
++--
++Detailed Information:
++This worm propogates via electronic mail and exploits a known
++vulnerability in the way that versions of Microsoft Outlook and Internet
++Explorer handle trusted HTML pages. The worm is launched via a compiled
++HTML file (.chm) which is used by Microsoft WIndows Help.
++
++The executable part of the worm is called from within the trusted
++compiled HTML file. The worm attempts to propagate using hard coded
++addresses of SMTP servers.
++
++This worm is also Known As: Romeo and Juliet, W32/Verona, TrojBlebla.A
++
++--
++Affected Systems:
++ Microsoft Windows 9x
++ Microsoft Windows 2000
++
++--
++Attack Scenarios:
++Symantec Anti-Virus center states that the worm arrives as an email
++message that has an HTML body and two attachments named Myjuliet.chm
++and Myromeo.exe. The subject of the email is selected at random from
++the following set:
++
++Romeo&Juliet
++hello world
++subject
++ble bla, bee
++I Love You ;)
++sorry...
++Hey you !
++Matrix has you...
++my picture
++from shake-beer
++
++--
++Ease of Attack:
++Simple. This is worm activity.
++
++--
++False Positives:
++Legitimate electronic mail containing the known subject lines used by
++MyRomeo may cause this rule to generate an event.
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches and service packs.
++
++Use Anti-Virus software to detect and delete virus laden email.
++
++This worm makes changes to the system registry, removal of the affected
++registry keys should be done using an appropriate virus removal tool or
++by an experienced Windows administrator.
++
++--
++Contributors:
++Original Rule Writer Max Vision
++Sourcefire Research Team
++Nigel Houghton
++
++--
++Additional References:
++
++McAfee
++http://vil.nai.com/vil/content/v_98894.htm
++
++Symantec Security Response
++http://securityresponse.symantec.com/avcenter/venc/data/w32.blebla.worm.html
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1046.txt
+@@ -0,0 +1,67 @@
++Rule:
++
++--
++Sid: 1046
++
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a potential weakness on a host running Microsoft Internet Information Server (IIS).
++
++--
++Impact:
++Information gathering possible administrator access.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to exploit potential weaknesses in a host running Microsoft IIS.
++
++The attacker may be trying to gain information on the IIS implementation on the host, this may be the prelude to an attack against that host using that information.
++
++The attacker may also be trying to gain administrator access to the host, garner information on users of the system or retrieve sensitive customer information.
++
++Some applications may store sensitive information such as database connections, user information, passwords and customer information in files accessible via a web interface. Care should be taken to ensure these files are not accessible to external sources.
++
++--
++Affected Systems:
++Any host using IIS.
++
++--
++Attack Scenarios:
++An attacker can retrieve a sensitive file containing information on the IIS implementation. The attacker might then gain administrator access to the site, deface the content or gain access to a database.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Check the IIS implementation on the host. Ensure all measures have been taken to deny access to sensitive files.
++
++Ensure that the IIS implementation is fully patched.
++
++Ensure that the underlying operating system is fully patched.
++
++Employ strategies to harden the IIS implementation and operating system.
++
++Check the host for signs of compromise.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2409.txt
+@@ -0,0 +1,65 @@
++Rule:
++
++--
++Sid:
++2409
++
++--
++Summary:
++This event is generated when an attempt is made to overflow a buffer by
++supplying a very long username to an APOP POP3 service.
++
++--
++Impact:
++Serious. Several POP3 servers are vulnerable to USER buffer overflows.
++
++--
++Detailed Information:
++By supplying more than 626 bytes of data to the APOP USER command on 1st
++Class Internet Solutions' 1st Class Mail Server, an attacker may
++overflow a buffer resulting in the opportunity to execute code of their
++choosing on the targeted machine with the privileges of the user running
++the service.
++
++Other Mail software may be prone to this attack.
++
++--
++Affected Systems:
++ 1st Class Mail Server
++
++--
++Attack Scenarios:
++An attacker may connect to the service and supply an over-long username
++to overflow the buffer.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Upgrade to the latest non-affected version of the software.
++
++Check for other events generated by the source IP address.
++
++--
++Contributors:
++Sourcefire Research Team
++Matt Watchinski
++Nigel Houghton
++
++--
++Additional References:
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2689.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++2689
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database server.
++
++--
++Impact:
++Serious. Possible execution of arbitrary code and Denial of Service.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database implementation. Multiple buffer
++overflow conditions are present in numerous packages and procedures.
++
++Exploitation of these vulnerable procedures may allow an attacker to
++execute code of their choosing as the user running the database. In the
++case of databases running on Microsoft Windows platforms, this is the
++Local System account which may mean a compromise of the operating system
++as well as the database.
++
++This event indicates that an attempt has been made to exploit a
++vulnerability in the procedure disable_receiver_trace
++. This procedure is included in
++sys.dbms_internal_repcat.
++
++--
++Affected Systems:
++ Oracle Oracle9i
++
++--
++Attack Scenarios:
++If an attacker can supply enough data to the procedure in question, it
++may be possible to cause the overflow condition to occur and present the
++attacker with the opportunity to execute code of their choosing.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patch
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Alex Kirk
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000742.txt
+@@ -0,0 +1,55 @@
++
++
++Rule:
++
++--
++Sid:
++100000742
++--
++Summary:
++This event is generated when an attempt is made to exploit a remote file include vulnerability in the "Geeklog" application running on a webserver. Access to the file "functions.inc" using a remote file being passed as the "$_CONF[path]" parameter may indicate that an exploitation attempt has been attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized administrative access to the server or application. Possible execution of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to include a file from a remote machine via the "$_CONF[path]" parameter in the "functions.inc" script used by the "Geeklog" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also be possible for an attacker to execute system binaries or malicious code of the attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to a CGI application running ona web server. Some applications do not perform stringent checks when validating the credentials of a client host connecting to the services offered on a host server. This can lead to unauthorized access and possibly escalated privileges to that of the administrator. Data stored on the machine can be compromised and trust relationships between the victim server and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using Geeklog
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own credentials to gain access. Alternatively the attacker can exploit weaknesses to gain access as the administrator by supplying input of their choosing to the underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3080.txt
+@@ -0,0 +1,65 @@
++Rule:
++
++--
++Sid:
++3080
++
++--
++Summary:
++This event is generated when a remote attacker sends an overly long "secure"
++query to a host acting as an Unreal engine server. This may
++indicate an attempt to exploit a buffer overflow vulnerability.
++
++--
++Impact:
++Serious. A successful buffer overflow can permit the execution of arbitrary
++code on a vulnerable system.
++
++--
++Detailed Information:
++Unreal Tournament 2003 and 2004 are popular games developed by EpicGames and
++available for Linux, Windows and Macintosh platforms. The Unreal engine is
++used for both client and server functionality. An overly long "secure"
++query can be sent to the game server, causing a buffer overflow and the
++subsequent execution of arbitrary code.
++
++--
++Affected Systems:
++ Multiple versions of the Unreal Engine running on Linux, Microsoft
++ Windows and Macintosh platforms.
++
++--
++Attack Scenarios:
++An attacker can send an overly long "secure" query to a vulnerable host, causing
++a buffer overflow and the subsequent execution of arbitrary code.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++Unreal servers can be configured to run on arbitrary ports.
++Administrators should either change the port used in the rule or create
++a variable for the ports to be used in the rule.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Upgrade to the most current nonaffected version of the software.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Judy Novak
++
++--
++Additional References:
++
++OSVDB
++http://www.osvdb.org/displayvuln.php?osvdb_id=7217&Lookup=Lookup
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3286.txt
+@@ -0,0 +1,70 @@
++Rule:
++
++--
++Sid:
++3286
++
++--
++Summary:
++This rule generates an event when an attempt is made to exploit a known
++vulnerability in Microsoft RPC DCOM.
++
++--
++Impact:
++Execution of arbitrary code leading to full administrator access of the
++machine. Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in Microsoft RPC DCOM such that execution of
++arbitrary code or a Denial of Service condition can be issued against a
++host by sending malformed data via RPC.
++
++The Distributed Component Object Model (DCOM) handles DCOM requests sent
++by clients to a server using RPC. A malformed request to an RPC port
++will result in a buffer overflow condition that will present the
++attacker with the opportunity to execute arbitrary code with the
++privileges of the local system account.
++
++--
++Affected Systems:
++ Windows NT 4.0
++ Windows NT 4.0 Terminal Server Edition
++ Windows 2000
++ Windows XP
++ Windows Server 2003
++
++--
++Attack Scenarios:
++An attacker may make a request for a file with an overly long filename
++via a network share.
++
++--
++Ease of Attack:
++Simple. Expoit code exists.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Block access to RPC ports 135, 139 and 445 for both TCP and UDP
++protocols from external sources using a packet filtering firewall.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2458.txt
+@@ -0,0 +1,52 @@
++Rule:
++
++--
++Sid:
++2458
++
++--
++Summary:
++This event is generated when a host in your network that has Yahoo Instant Messenger running has joined a chat room or is examining chat rooms to join.
++
++--
++Impact:
++Possible policy violation. Instant Messenger programs may not be appropriate in certain network environments.
++
++--
++Detailed Information:
++Yahoo IM provides a means of allowing users who share similar interests to join a chat room and exchange messages. While there are no known exploits associated with exchanging messages, this type of activity may not be appropriate in certain network environments.
++
++--
++Affected Systems:
++Any host running Yahoo Instant Messenger.
++
++--
++Attack Scenarios:
++No known attacks.
++
++--
++Ease of Attack:
++No known attacks.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++It may be possible for Yahoo IM traffic to use other ports than the default expected ones.
++
++--
++Corrective Action:
++Disallow the use of IM clients on the protected network and enforce or implement an organization wide policy on the use of IM clients.
++
++--
++Contributors:
++Sourcefire Research Team
++Judy Novak
++--
++Additional References:
++Yahoo Protocol
++http://www.cse.iitb.ac.in/~varunk/YahooProtocol.htm
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1590.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++1590
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in a CGI web application running on a server.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution
++of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to gain unauthorized
++access to a CGI application running ona web server. Some applications do
++not perform stringent checks when validating the credentials of a client
++host connecting to the services offered on a host server. This can lead
++to unauthorized access and possibly escalated privileges to that of the
++administrator. Data stored on the machine can be compromised and trust
++relationships between the victim server and other hosts can be exploited by the attacker.
++
++If stringent input checks are not performed by the CGI application, it
++may also be possible for an attacker to execute system binaries or
++malicious code of the attackers choosing.
++
++--
++Affected Systems:
++ All systems running CGI applications
++
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her
++own credentials to gain access. Alternatively the attacker can exploit
++weaknesses to gain access as the administrator by supplying input of
++their choosing to the underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1920.txt
+@@ -0,0 +1,57 @@
++Nigel: Old reference pointed to something totally unrelated.
++Rule:
++--
++
++Sid:
++1920
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a vulnerability associated with the FTP SITE NEWER command that may cause a denial of service or allow the upload of executable files.
++
++--
++Impact:
++Remote access or denial of service. A successful attack can cause a denial of service or allow the upload of executable files on the vulnerable FTP server.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to exploit a vulnerability associated with the WU-FTP server version of the SITE NEWER command. It is possible to cause a denial of service attack that consumes memory or upload files to execute arbitrary commands with the privileges of the process running the FTP server.
++
++--
++Affected Systems:
++Hosts running WU-FTPD 2.5.0.
++
++--
++Attack Scenarios:
++An attacker can cause a denial of service or upload files to execute arbitrary commands on the vulnerable FTP server.
++
++--
++Ease of Attack:
++Difficult. No known exploits available.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Upgrade to the latest non-affected version of the software.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++Judy Novak
++
++--
++Additional References:
++
++Bugtraq:
++http://www.securityfocus.com/bid/737
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3156.txt
+@@ -0,0 +1,70 @@
++Rule:
++
++--
++Sid:
++3156
++
++--
++Summary:
++This rule generates an event when an attempt is made to exploit a known
++vulnerability in Microsoft RPC DCOM.
++
++--
++Impact:
++Execution of arbitrary code leading to full administrator access of the
++machine. Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in Microsoft RPC DCOM such that execution of
++arbitrary code or a Denial of Service condition can be issued against a
++host by sending malformed data via RPC.
++
++The Distributed Component Object Model (DCOM) handles DCOM requests sent
++by clients to a server using RPC. A malformed request to an RPC port
++will result in a buffer overflow condition that will present the
++attacker with the opportunity to execute arbitrary code with the
++privileges of the local system account.
++
++--
++Affected Systems:
++ Windows NT 4.0
++ Windows NT 4.0 Terminal Server Edition
++ Windows 2000
++ Windows XP
++ Windows Server 2003
++
++--
++Attack Scenarios:
++An attacker may make a request for a file with an overly long filename
++via a network share.
++
++--
++Ease of Attack:
++Simple. Expoit code exists.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Block access to RPC ports 135, 139 and 445 for both TCP and UDP
++protocols from external sources using a packet filtering firewall.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/696.txt
+@@ -0,0 +1,64 @@
++Rule:
++
++--
++Sid:
++696
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in Microsoft SQL.
++
++--
++Impact:
++Information gathering and data integrity compromise. Possible unauthorized
++administrative access to the server or application.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to gain unauthorized
++access to an implementation of Microsoft SQL server or client. This can
++lead to unauthorized access and possibly escalated privileges to that of
++the administrator. Data stored on the machine can be compromised and
++trust relationships between the victim server and other hosts can be
++exploited by the attacker.
++
++--
++Affected Systems:
++
++--
++Attack Scenarios:
++An attacker can access the authentication mechanism and supply his/her
++own credentials to gain access. Alternatively the attacker can exploit
++weaknesses to gain access as the administrator.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Disallow administrative access from sources external to the protected
++network.
++
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/326.txt
+@@ -0,0 +1,72 @@
++Rule:
++
++--
++Sid: 326
++
++--
++
++Summary:
++This event is generated when a remote command execution exploit against
++a finger daemon is attempted.
++
++--
++Impact:
++Serious. The attacker may be presented with the opportunity to run a
++command of his choice on the target UNIX system
++
++--
++Detailed Information:
++This event is generated when a specific attack against a vulnerable
++version of finger daemon is detected.
++
++The Finger daemon is used to provide information about users on a UNIX
++system. It used to be installed and enabled by default on most
++UNIX/Linux systems. The attack may allow an attacker to execute a
++command remotely on a target system with the privileges of the user
++running the "finger" daemon. The user is usually defined in the
++/etc/inetd.conf file and is commonly designated as "nobody".
++
++--
++Attack Scenarios:
++An attacker may try the attack and then executes a command to download a
++backdoor to the target system. He then connects to the system and may
++attempt to escalate his privileges by exploiting a local SUID
++application to gain "root" privileges.
++
++--
++Ease of Attack:
++Simple, no exploit software is required, just a specially formatted finger query
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Disable the finger daemon or limit the addresses that can access the
++service via firewall or TCP wrappers.
++
++--
++Contributors:
++Original rule written by Max Vision
++Snort documentation contributed by Anton Chuvakin
++Sourcefire Research Team
++Nigel Houghton
++
++--
++Additional References:
++
++Arachnids:
++http://www.whitehats.com/info/IDS379
++
++Bugtraq:
++http://online.securityfocus.com/bid/974
++
++CVE:
++http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-1999-0150
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000355.txt
+@@ -0,0 +1,58 @@
++
++
++Rule:
++
++--
++Sid:
++100000355
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a remote file include vulnerability in the "eSyndiCat" application running on a webserver. Access to the file "cron.php" using a remote file being passed as the "path_to_config" parameter may indicate that an exploitation attempt has been attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized administrative access to the server or application. Possible execution of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to include a file from a remote machine via the "path_to_config" parameter in the "cron.php" script used by the "eSyndiCat" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also be possible for an attacker to execute system binaries or malicious code of the attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to a CGI application running ona web server. Some applications do not perform stringent checks when validating the credentials of a client host connecting to the services offered on a host server. This can lead to unauthorized access and possibly escalated privileges to that of the administrator. Data stored on the machine can be compromised and trust relationships between the victim server and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using eSyndiCat
++
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own credentials to gain access. Alternatively the attacker can exploit weaknesses to gain access as the administrator by supplying input of their choosing to the underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2887.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++2887
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database server.
++
++--
++Impact:
++Serious. Possible execution of arbitrary code and Denial of Service.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database implementation. Multiple buffer
++overflow conditions are present in numerous packages and procedures.
++
++Exploitation of these vulnerable procedures may allow an attacker to
++execute code of their choosing as the user running the database. In the
++case of databases running on Microsoft Windows platforms, this is the
++Local System account which may mean a compromise of the operating system
++as well as the database.
++
++This event indicates that an attempt has been made to exploit a
++vulnerability in the procedure drop_delete_resolution
++. This procedure is included in
++sys.dbms_repcat_conf.
++
++--
++Affected Systems:
++ Oracle Oracle9i
++
++--
++Attack Scenarios:
++If an attacker can supply enough data to the procedure in question, it
++may be possible to cause the overflow condition to occur and present the
++attacker with the opportunity to execute code of their choosing.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patch
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Alex Kirk
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/881.txt
+@@ -0,0 +1,72 @@
++Rule:
++
++--
++Sid:
++881
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in a CGI web application running on a server.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution
++of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to gain unauthorized
++access to a CGI application running ona web server. Some applications do
++not perform stringent checks when validating the credentials of a client
++host connecting to the services offered on a host server. This can lead
++to unauthorized access and possibly escalated privileges to that of the
++administrator. Data stored on the machine can be compromised and trust
++relationships between the victim server and other hosts can be exploited by the attacker.
++
++If stringent input checks are not performed by the CGI application, it
++may also be possible for an attacker to execute system binaries or
++malicious code of the attackers choosing.
++
++--
++Affected Systems:
++ All systems running CGI applications
++
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her
++own credentials to gain access. Alternatively the attacker can exploit
++weaknesses to gain access as the administrator by supplying input of
++their choosing to the underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++Guide to network resource tools:
++http://www.acad.bg/beginner/gnrt/specialist/archie.html
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/993.txt
+@@ -0,0 +1,67 @@
++Rule:
++
++--
++Sid: 993
++
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a potential weakness on a host running Microsoft Internet Information Server (IIS).
++
++--
++Impact:
++Information gathering possible administrator access.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to exploit potential weaknesses in a host running Microsoft IIS.
++
++The attacker may be trying to gain information on the IIS implementation on the host, this may be the prelude to an attack against that host using that information.
++
++The attacker may also be trying to gain administrator access to the host, garner information on users of the system or retrieve sensitive customer information.
++
++Some applications may store sensitive information such as database connections, user information, passwords and customer information in files accessible via a web interface. Care should be taken to ensure these files are not accessible to external sources.
++
++--
++Affected Systems:
++Any host using IIS.
++
++--
++Attack Scenarios:
++An attacker can retrieve a sensitive file containing information on the IIS implementation. The attacker might then gain administrator access to the site, deface the content or gain access to a database.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Check the IIS implementation on the host. Ensure all measures have been taken to deny access to sensitive files.
++
++Ensure that the IIS implementation is fully patched.
++
++Ensure that the underlying operating system is fully patched.
++
++Employ strategies to harden the IIS implementation and operating system.
++
++Check the host for signs of compromise.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2629.txt
+@@ -0,0 +1,73 @@
++Rule:
++
++--
++Sid:
++2629
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in a Oracle database implementation.
++
++--
++Impact:
++Serious. Execution of arbitrary code may be possible. A Denial of
++Service (DoS) condition may also be caused.
++
++--
++Detailed Information:
++Oracle databases may use a built-in procedure to assist in database
++replication. The "register_user_repgroup" procedure contains a
++programming error that may allow an attacker to execute a buffer
++overflow attack.
++
++This overflow is triggered by a long string in a parameter for the
++procedure.
++
++If you are running Oracle on a Windows server, make sure that the
++variable $ORACLE_PORTS is set to a value of "any".
++
++--
++Affected Systems:
++ Oracle 9i
++
++--
++Attack Scenarios:
++An attacker can supply a long string to the "privilege_type" variable
++to cause the overflow. The result could permit the attacker to gain
++escalated privileges and run code of their choosing. This attack
++requires an attacker to logon to the database with a valid username
++and password combination.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Matt Watchinski
++Brian Caswell
++Nigel Houghton
++Judy Novak
++
++--
++Additional References:
++
++Other:
++http://www.appsecinc.com/Policy/PolicyCheck94.html
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/313.txt
+@@ -0,0 +1,57 @@
++Rule:
++
++--
++Sid: 313
++
++--
++Summary:
++This event is generated when an attempt to exploit a buffer overflow condition in ntalkd is made.
++
++--
++Impact:
++Serious. System compromize presenting the attacker with the opportunity to gain remote access to the victim host or execute arbitrary code with the privileges of the superuser account.
++
++--
++Detailed Information:
++Some versions of the Network Talk Daemon (ntalkd) are vulnerable to a buffer overflow condition which can present the attacker with a root shell.
++
++Talk is used to communicate between users of UNIX based operating systems. A vulnerability exists such that a buffer overflow condition in talk can be exploited by a malicious user. This may then present the attacker with the opportunity to gain root access to the target system.
++
++Affected Versions:
++ Multiple vendors
++
++--
++Attack Scenarios:
++Once the overflow has been created, the attacker is able to supply incorrect hostname information to the target system and gain root access.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Upgrade to the latest non-affected version of the software.
++
++Apply vendor supplied patches.
++
++--
++Contributors:
++Original rule writer unknown
++Sourcefire Research Team
++Nigel Houghton
++
++--
++Additional References:
++
++Bugtraq:
++http://www.securityfocus.com/bid/210
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000847.txt
+@@ -0,0 +1,55 @@
++
++
++Rule:
++
++--
++Sid:
++100000847
++--
++Summary:
++This event is generated when an attempt is made to exploit a remote file include vulnerability in the "Sitemap" application running on a webserver. Access to the file "sitemap.xml.php" using a remote file being passed as the "mosConfig_absolute_path" parameter may indicate that an exploitation attempt has been attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized administrative access to the server or application. Possible execution of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to include a file from a remote machine via the "mosConfig_absolute_path" parameter in the "sitemap.xml.php" script used by the "Sitemap" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also be possible for an attacker to execute system binaries or malicious code of the attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to a CGI application running ona web server. Some applications do not perform stringent checks when validating the credentials of a client host connecting to the services offered on a host server. This can lead to unauthorized access and possibly escalated privileges to that of the administrator. Data stored on the machine can be compromised and trust relationships between the victim server and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using Sitemap
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own credentials to gain access. Alternatively the attacker can exploit weaknesses to gain access as the administrator by supplying input of their choosing to the underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000677.txt
+@@ -0,0 +1,73 @@
++Rule:
++
++--
++Sid:
++100000677
++--
++Summary:
++This event is generated when an attempt is made to exploit a remote file
++include vulnerability in the "Harpia" application running on a webserver.
++Access to the file "topics.php" using a remote file being passed as the
++"header_prog" parameter may indicate that an exploitation attempt has been
++attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution of
++arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to include a file from a
++remote machine via the "header_prog" parameter in the "topics.php" script used
++by the "Harpia" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also
++be possible for an attacker to execute system binaries or malicious code of the
++attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to
++a CGI application running ona web server. Some applications do not perform
++stringent checks when validating the credentials of a client host connecting to
++the services offered on a host server. This can lead to unauthorized access and
++possibly escalated privileges to that of the administrator. Data stored on the
++machine can be compromised and trust relationships between the victim server
++and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using Harpia
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own
++credentials to gain access. Alternatively the attacker can exploit weaknesses
++to gain access as the administrator by supplying input of their choosing to the
++underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had
++all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1052.txt
+@@ -0,0 +1,64 @@
++Rule:
++
++--
++Sid:
++1052
++
++--
++Summary:
++This event is generated when an attempt is made to execute a directory
++traversal attack.
++
++--
++Impact:
++Information disclosure. This is a directory traversal attempt which can
++lead to information disclosure and possible exposure of sensitive
++system information.
++
++--
++Detailed Information:
++Directory traversal attacks usually target web, web applications and ftp
++servers that do not correctly check the path to a file when requested by
++the client.
++
++This can lead to the disclosure of sensitive system information which may
++be used by an attacker to further compromise the system.
++
++--
++Affected Systems:
++
++--
++Attack Scenarios:
++An authorized user or anonymous user can use the directory traversal
++technique, to browse folders outside the ftp root directory. Information
++gathered may be used in further attacks against the host.
++
++--
++Ease of Attack:
++Simple. No exploit software required.
++
++--
++False Positives:
++None known
++
++--
++False Negatives:
++None known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches
++
++Upgrade the software to the latest non-affected version.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2214.txt
+@@ -0,0 +1,56 @@
++Rule:
++
++--
++Sid:
++2214
++
++--
++Summary:
++This event is generated when an attempt is made to access mailview.cgi on an internal web server. This may indicate an attempt to exploit a directory traversal vulnerability in MailStudio 2000 2.0 and earlier.
++
++--
++Impact:
++Information disclosure.
++
++--
++Detailed Information:
++MailStudio 2000 is mail server software for Solaris or Linux operating systems. It contains a vulnerability where data sent to mailview.cgi is not properly parsed. This can allow an attacker to use directory traversal techniques (/../) within the "html" parameter to view arbitrary files on the system, including other users' email, configuration files, and password files.
++
++--
++Affected Systems:
++Systems running MailStudio 2000 2.0 and earlier.
++
++--
++Attack Scenarios:
++An attacker sends a specially crafted HTTP request to a vulnerable web server with another user's email file as the html argument. The attacker will then be able to view the file.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++If a legitimate remote user accesses mailview.cgi, this rule may generate an event.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++It is not known if this vulnerability has been fixed. Contact the vendor, 3R Soft (http://www.3rsoft.com), for more information.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++Sourcefire Technical Publications Team
++Jennifer Harvey
++
++--
++Additional References:
++Bugtraq
++http://www.securityfocus.com/bid/1335
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3053.txt
+@@ -0,0 +1,64 @@
++Rule:
++
++--
++Sid:
++3053
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in Ethereal.
++
++--
++Impact:
++Serious. Denial of Service (DoS).
++
++--
++Detailed Information:
++Ethereal is a multi-platform network protocol analyser capable of
++displaying network data to the user in a graphical user interface.
++
++An error in the processing of access control lists (ACLs) concerning the
++size of the access control entries (ACEs) may lead to a Denial of Service
++(DoS) condition in Ethereal. The ACL parsing routine trusts the size of
++the ACE given in the packet during processing. If a sufficiently large ACL
++structure is supplied combined with a specified ACE size of 0, it is
++possible to cause the DoS condition to occur.
++
++--
++Affected Systems:
++ Ethereal 0.10.7 and prior
++
++--
++Attack Scenarios:
++An attacker needs to craft packet data containing large NT ACLs, the
++attacker then needs to specify one of the ACEs as having a size of 0.
++
++--
++Ease of Attack:
++Moderate.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patch
++
++Upgrade to the latest non-affected version of the software.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2698.txt
+@@ -0,0 +1,67 @@
++Rule:
++
++--
++Sid:
++2698
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database server.
++
++--
++Impact:
++Serious. Possible execution of arbitrary code and Denial of Service.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database implementation. Multiple buffer
++overflow conditions are present in numerous packages and procedures.
++
++Exploitation of these vulnerable procedures may allow an attacker to
++execute code of their choosing as the user running the database. In the
++case of databases running on Microsoft Windows platforms, this is the
++Local System account which may mean a compromise of the operating system
++as well as the database.
++
++This event indicates that an attempt has been made to exploit a
++vulnerability in the procedure create file.
++
++--
++Affected Systems:
++ Oracle Oracle9i
++
++--
++Attack Scenarios:
++If an attacker can supply enough data to the procedure in question, it
++may be possible to cause the overflow condition to occur and present the
++attacker with the opportunity to execute code of their choosing.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patch
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Alex Kirk
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/686.txt
+@@ -0,0 +1,60 @@
++Rule:
++
++--
++Sid:
++
++--
++
++Summary:
++This event is generated when a command is issued to an SQL database server that may result in a serious compromise of the data stored on that system.
++
++--
++Impact:
++Serious. An attacker may have gained administrator access to the system.
++
++--
++Detailed Information:
++This event is generated when an attacker issues a special command to an SQL database that may result in a serious compromise of all data stored on that system.
++
++Such commands may be used to gain access to a system with the privileges of an administrator, delete data, add data, add users, delete users, return sensitive information or gain intelligence on the server software for further system compromise.
++
++This connection can either be a legitimate telnet connection or the result of spawning a remote shell as a consequence of a successful network exploit.
++
++--
++
++Attack Scenarios:
++Simple. These are SQL database commands.
++
++--
++
++Ease of Attack:
++Simple.
++
++--
++
++False Positives:
++This event may be generated by a database administrator logging in and issuing database commands from a location outside the protected network.
++
++--
++False Negatives:
++None Known
++
++--
++
++Corrective Action:
++Disallow direct access to the SQL server from sources external to the protected network.
++
++Ensure that this event was not generated by a legitimate session then investigate the server for signs of compromise
++
++Look for other events generated by the same IP addresses.
++
++--
++Contributors:
++Original Rule Writer Unknown
++Sourcefire Research Team
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000174.txt
+@@ -0,0 +1,59 @@
++Rule:
++
++--
++Sid:
++100000174
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in RSA Security RSA Authentication Agent For Web.
++
++--
++Impact:
++Cross site scripting leading to possible inclusion of code of the attackers
++choosing.
++
++--
++Detailed Information:
++A vulnerability exists in RSA Security RSA Authentication Agent For Web that
++may allow an attacker to include code of their choosing due to the improper
++checking of user supplied input.
++
++--
++Affected Systems:
++RSA Security RSA Authentication Agent For Web 5.2
++
++--
++Attack Scenarios:
++An attacker can supply a link to include code of their choosing in data
++supplied to RSA Security RSA Authentication Agent For Web.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Upgrade to the latest non-affected version of the software.
++
++--
++Contributors:
++Original Rule writer rmkml
++Sourcefire Vulnerability Research Team
++Alex Kirk
++Nigel Houghton
++
++--
++Additional References:
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000740.txt
+@@ -0,0 +1,55 @@
++
++
++Rule:
++
++--
++Sid:
++100000740
++--
++Summary:
++This event is generated when an attempt is made to exploit a remote file include vulnerability in the "Geeklog" application running on a webserver. Access to the file "Import.Admin.class.php" using a remote file being passed as the "$_CONF[path]" parameter may indicate that an exploitation attempt has been attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized administrative access to the server or application. Possible execution of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to include a file from a remote machine via the "$_CONF[path]" parameter in the "Import.Admin.class.php" script used by the "Geeklog" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also be possible for an attacker to execute system binaries or malicious code of the attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to a CGI application running ona web server. Some applications do not perform stringent checks when validating the credentials of a client host connecting to the services offered on a host server. This can lead to unauthorized access and possibly escalated privileges to that of the administrator. Data stored on the machine can be compromised and trust relationships between the victim server and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using Geeklog
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own credentials to gain access. Alternatively the attacker can exploit weaknesses to gain access as the administrator by supplying input of their choosing to the underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000596.txt
+@@ -0,0 +1,74 @@
++Rule:
++
++--
++Sid:
++100000596
++--
++Summary:
++This event is generated when an attempt is made to exploit a remote file
++include vulnerability in the "Indexu" application running on a webserver.
++Access to the file "inv_config_payment.php" using a remote file being passed as
++the "admin_template_path" parameter may indicate that an exploitation attempt
++has been attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution of
++arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to include a file from a
++remote machine via the "admin_template_path" parameter in the
++"inv_config_payment.php" script used by the "Indexu" application running on a
++webserver.
++
++If stringent input checks are not performed by the CGI application, it may also
++be possible for an attacker to execute system binaries or malicious code of the
++attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to
++a CGI application running ona web server. Some applications do not perform
++stringent checks when validating the credentials of a client host connecting to
++the services offered on a host server. This can lead to unauthorized access and
++possibly escalated privileges to that of the administrator. Data stored on the
++machine can be compromised and trust relationships between the victim server
++and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using Indexu
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own
++credentials to gain access. Alternatively the attacker can exploit weaknesses
++to gain access as the administrator by supplying input of their choosing to the
++underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had
++all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/220.txt
+@@ -0,0 +1,61 @@
++Rule:
++
++--
++Sid:
++220
++
++--
++Summary:
++This event is generated when an attacker attempts to connect to a
++Telnet server using the phrase "wank". This is a known password for
++the HideSource rootkit.
++
++--
++Impact:
++Possible theft of data and control of the targeted machine leading to a
++compromise of all resources the machine is connected to.
++
++--
++Detailed Information:
++This Trojan affects UNIX operating systems:
++
++Due to the nature of this Trojan it is unlikely that the attacker's
++client IP address has been spoofed.
++
++--
++Attack Scenarios:
++This Trojan may be delivered to the target in a number of ways. This
++event is indicative of an existing infection being activated. Initial
++compromise may be due to the exploitation of another vulnerability and
++the attacker is leaving another way into the machine for further use.
++
++--
++Ease of Attack:
++This is Trojan activity, the target machine may already be compromised.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Disallow Telnet access from external sources.
++
++Use SSH as opposed to Telnet for access from external locations
++
++Delete the Trojan and kill any associated processes.
++
++--
++Contributors:
++Original rule writer unknown
++Sourcefire Research Team
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2069.txt
+@@ -0,0 +1,67 @@
++Rule:
++
++--
++Sid:
++2069
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in devices using the IPC@CHIP from Beck IPC GmbH.
++
++--
++Impact:
++Information disclosure
++
++--
++Detailed Information:
++The IPC@CHIP from Beck IPC GmbH is used in network appliances for use in
++controlling those devices via a web interface.
++
++The embedded webserver uses the system root as its default webserver
++root directory. This means an attacker can request any file on the
++system by making an http request for the file.
++
++--
++Affected Systems:
++All devices using this chip.
++
++--
++Attack Scenarios:
++The attacker needs to craft a special URI including chip.ini with a
++request for a file on the system.
++
++--
++Ease of Attack:
++Simple
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Network devices using this chip should be closely monitored, access to
++the embedded webserver should be carefully controlled using a firewall
++or disabled where possible.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++Bugtraq:
++http://www.securityfocus.com/bid/2775
++
++CVE:
++http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-0749
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3011.txt
+@@ -0,0 +1,73 @@
++Rule:
++
++--
++Sid:
++3011
++--
++Summary:
++This event is generated when an attempt is made to find the System
++directory on a target host with the RUX the Tick Trojan.
++
++--
++Impact:
++If successful, the attacker would gain unauthorized access to the system,
++to upload and execute file on the target system. The attacker can use
++this function to upload additional backdoors to the victim's system and
++execute them.
++
++--
++Detailed Information:
++When executed, RUX the Tick opens up its assigned port (default is
++22222) for communication with the attacker. RUX the Tick has three
++functions: Get Windows Directory, Get System Directory, and Upload And
++Execute File. Get Windows Directory and Get System Directory are used
++for reconnaissance. Upload And Execute File is mainly used to upload and
++run other backdoors onto the victim's computer.
++
++--
++Affected Systems:
++ Windows 95/98/ME/NT/2000
++
++--
++Attack Scenarios:
++The victim must first install the server. Be wary of suspicious files
++because they often can be backdoors in disguise. Once the victim
++mistakenly installs the server program, the attacker usually will employ
++an IP scanner program to find the IP addresses of victims that have
++installed the program. Then the attacker enters the IP address, port
++number (which is assigned to the server program by the attacker:
++default is 22222), and presses the connect button and he has access to
++the computer.
++
++--
++
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None known
++
++--
++False Negatives:
++None known
++
++--
++Corrective Action:
++Using Windows Task Manager, kill these processes: ruxserver.exe and server.exe.
++Use Windows Explorer to find ruxserver.exe and delete the file.
++
++Keep anti-virus programs updated with the latest definitions.
++
++--
++Contributors:
++Sourcefire Research Team
++Ricky Macatee
++
++--
++Additional References:
++
++PestPatrol:
++http://www.pestpatrol.com/PestInfo/R/RUX.ASP
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1716.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++1716
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in a CGI web application running on a server.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution
++of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to gain unauthorized
++access to a CGI application running ona web server. Some applications do
++not perform stringent checks when validating the credentials of a client
++host connecting to the services offered on a host server. This can lead
++to unauthorized access and possibly escalated privileges to that of the
++administrator. Data stored on the machine can be compromised and trust
++relationships between the victim server and other hosts can be exploited by the attacker.
++
++If stringent input checks are not performed by the CGI application, it
++may also be possible for an attacker to execute system binaries or
++malicious code of the attackers choosing.
++
++--
++Affected Systems:
++ All systems running CGI applications
++
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her
++own credentials to gain access. Alternatively the attacker can exploit
++weaknesses to gain access as the administrator by supplying input of
++their choosing to the underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1400.txt
+@@ -0,0 +1,67 @@
++Rule:
++
++--
++Sid: 1400
++
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a potential weakness on a host running Microsoft Internet Information Server (IIS).
++
++--
++Impact:
++Information gathering possible administrator access.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to exploit potential weaknesses in a host running Microsoft IIS.
++
++The attacker may be trying to gain information on the IIS implementation on the host, this may be the prelude to an attack against that host using that information.
++
++The attacker may also be trying to gain administrator access to the host, garner information on users of the system or retrieve sensitive customer information.
++
++Some applications may store sensitive information such as database connections, user information, passwords and customer information in files accessible via a web interface. Care should be taken to ensure these files are not accessible to external sources.
++
++--
++Affected Systems:
++Any host using IIS.
++
++--
++Attack Scenarios:
++An attacker can retrieve a sensitive file containing information on the IIS implementation. The attacker might then gain administrator access to the site, deface the content or gain access to a database.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Check the IIS implementation on the host. Ensure all measures have been taken to deny access to sensitive files.
++
++Ensure that the IIS implementation is fully patched.
++
++Ensure that the underlying operating system is fully patched.
++
++Employ strategies to harden the IIS implementation and operating system.
++
++Check the host for signs of compromise.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1967.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++1967
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in a PHP web application running on a server.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution
++of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to gain unauthorized
++access to a PHP application running ona web server. Some applications do
++not perform stringent checks when validating the credentials of a client
++host connecting to the services offered on a host server. This can lead
++to unauthorized access and possibly escalated privileges to that of the
++administrator. Data stored on the machine can be compromised and trust
++relationships between the victim server and other hosts can be exploited by the attacker.
++
++If stringent input checks are not performed by the PHP application, it
++may also be possible for an attacker to execute system binaries or
++malicious code of the attackers choosing.
++
++--
++Affected Systems:
++ All systems running PHP applications
++
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her
++own credentials to gain access. Alternatively the attacker can exploit
++weaknesses to gain access as the administrator by supplying input of
++their choosing to the underlying PHP script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2398.txt
+@@ -0,0 +1,59 @@
++Rule:
++
++--
++Sid:
++2398
++
++--
++Summary:
++This event is generated when an attempt is made to exploit the PHP web
++application WAnewsletter.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution
++of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to exploit a known
++vulnerability in the WAnewsletter PHP web application running on a server.
++Multiple vulnerabilities exist in the application which can lead to the
++execution of arbitrary code of the atttackers choosing.
++
++--
++Affected Systems:
++ WAnewsletter
++
++--
++Attack Scenarios:
++An attacker can supply code of their choice by including a file in
++parameters supplied to the script newsletter.php or db_type.php.
++
++--
++Ease of Attack:
++Simple. No exploit software required.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Research Team
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000177.txt
+@@ -0,0 +1,64 @@
++Rule:
++
++--
++Sid:
++100000177
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in a Linksys WRT54G wireless router.
++
++--
++Impact:
++Unauthorized administrative access to the router and it's configuration.
++
++--
++Detailed Information:
++A vulnerability exists in the Linksys WRT54G wireless router that may present
++an attacker with the opportunity to take control of the victim hardware via a
++POST request to the web interface.
++
++This is due to the apply.cgi script not performing proper checks on user
++supplied input that may allow the attacker to overflow a fixed length buffer
++and execute code of their choosing.
++
++--
++Affected Systems:
++Linksys WRT54G Wireless Router firmware 4.0.4.20.6 and prior
++
++--
++Attack Scenarios:
++An attacker can supply a malformed POST request to the apply.cgi script on an
++affected piece of hardware.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Upgrade to the latest non-affected version of the software.
++
++Apply the appropriate vendor supplied firmware upgrade.
++
++--
++Contributors:
++Original Rule writer rmkml
++Sourcefire Vulnerability Research Team
++Alex Kirk
++Nigel Houghton
++
++--
++Additional References:
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3159.txt
+@@ -0,0 +1,70 @@
++Rule:
++
++--
++Sid:
++3159
++
++--
++Summary:
++This rule generates an event when an attempt is made to exploit a known
++vulnerability in Microsoft RPC DCOM.
++
++--
++Impact:
++Execution of arbitrary code leading to full administrator access of the
++machine. Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in Microsoft RPC DCOM such that execution of
++arbitrary code or a Denial of Service condition can be issued against a
++host by sending malformed data via RPC.
++
++The Distributed Component Object Model (DCOM) handles DCOM requests sent
++by clients to a server using RPC. A malformed request to an RPC port
++will result in a buffer overflow condition that will present the
++attacker with the opportunity to execute arbitrary code with the
++privileges of the local system account.
++
++--
++Affected Systems:
++ Windows NT 4.0
++ Windows NT 4.0 Terminal Server Edition
++ Windows 2000
++ Windows XP
++ Windows Server 2003
++
++--
++Attack Scenarios:
++An attacker may make a request for a file with an overly long filename
++via a network share.
++
++--
++Ease of Attack:
++Simple. Expoit code exists.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Block access to RPC ports 135, 139 and 445 for both TCP and UDP
++protocols from external sources using a packet filtering firewall.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3369.txt
+@@ -0,0 +1,70 @@
++Rule:
++
++--
++Sid:
++3369
++
++--
++Summary:
++This rule generates an event when an attempt is made to exploit a known
++vulnerability in Microsoft RPC DCOM.
++
++--
++Impact:
++Execution of arbitrary code leading to full administrator access of the
++machine. Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in Microsoft RPC DCOM such that execution of
++arbitrary code or a Denial of Service condition can be issued against a
++host by sending malformed data via RPC.
++
++The Distributed Component Object Model (DCOM) handles DCOM requests sent
++by clients to a server using RPC. A malformed request to an RPC port
++will result in a buffer overflow condition that will present the
++attacker with the opportunity to execute arbitrary code with the
++privileges of the local system account.
++
++--
++Affected Systems:
++ Windows NT 4.0
++ Windows NT 4.0 Terminal Server Edition
++ Windows 2000
++ Windows XP
++ Windows Server 2003
++
++--
++Attack Scenarios:
++An attacker may make a request for a file with an overly long filename
++via a network share.
++
++--
++Ease of Attack:
++Simple. Expoit code exists.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Block access to RPC ports 135, 139 and 445 for both TCP and UDP
++protocols from external sources using a packet filtering firewall.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1811.txt
+@@ -0,0 +1,63 @@
++Rule:
++
++--
++Sid:
++1811
++
++--
++Summary:
++This event is generated when a remote user has exploited a flaw in a
++local SSH server.
++
++--
++Impact:
++Serious
++
++--
++Detailed Information:
++OpenSSH has a flaw in the challenge-response mechanism when configured
++with either the "PAMAuthenticationViaKbdInt" or the
++"ChallengeResponseAuthentication" options. This flaw can be exploited by
++a user who is not authenicated and can lead to the attacker obtaining a
++root shell.
++
++--
++Affected Systems:
++OpenSSH versions 1.2 to 3.3, Solaris 9.0, IBM Linux
++Affinity Toolkit, and HP HP-UX Secure Shell A.03.10.
++
++--
++Attack Scenarios:
++An attacker can cause the service to restart or hang, leaving the
++service unavailable to users.
++
++--
++Ease of Attack:
++Simple. Exploit code available.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Upgrade to latest version of OpenSSH
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++Snort documentation contributed by Josh Sakofsky
++
++--
++Additional References:
++
++Bugtraq:
++http://www.securityfocus.com/bid/5093
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000388.txt
+@@ -0,0 +1,58 @@
++
++
++Rule:
++
++--
++Sid:
++100000388
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a remote file include vulnerability in the "Ovidentia" application running on a webserver. Access to the file "topman.php" using a remote file being passed as the "babInstallPath" parameter may indicate that an exploitation attempt has been attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized administrative access to the server or application. Possible execution of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to include a file from a remote machine via the "babInstallPath" parameter in the "topman.php" script used by the "Ovidentia" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also be possible for an attacker to execute system binaries or malicious code of the attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to a CGI application running ona web server. Some applications do not perform stringent checks when validating the credentials of a client host connecting to the services offered on a host server. This can lead to unauthorized access and possibly escalated privileges to that of the administrator. Data stored on the machine can be compromised and trust relationships between the victim server and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using Ovidentia
++
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own credentials to gain access. Alternatively the attacker can exploit weaknesses to gain access as the administrator by supplying input of their choosing to the underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/798.txt
+@@ -0,0 +1,62 @@
++
++Rule:
++
++--
++Sid:
++798
++
++--
++Summary:
++This rule has been placed in deleted.rules. It has been superceded by
++sid 721.
++
++--
++Impact:
++Mail worms may spread rapidly because users execute them.
++
++--
++Detailed Information:
++Windows systems are often configured not to display file extensions.
++By adding a second extension, users get confused and think that an
++executable is a picture - e.g. nicegirl.gif.vbs gets displayed as
++nicegirl.gif but is a visual basic script and not a picture.
++
++--
++Affected Systems:
++
++--
++Attack Scenarios:
++Famous worms (ILOVEYOU, KOURNIKOVA) are based on this method.
++
++--
++Ease of Attack:
++Very easy. One needs to attach a file and hope that it gets executed.
++
++--
++False Positives:
++None Known
++Could be an error on sender's side.
++
++--
++False Negatives:
++None Known
++-
++
++--
++Corrective Action:
++Use antivirus software. Configure mail clients securely, especially when
++using windows desktops. Educate your mail users. Deny all attachments at
++the gateway if you can.
++
++--
++Contributors:
++Original rule writer unknown
++Snort documentation contributed by tobias.haecker@to.com
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++
++--
++Additional References:
++See websites of antivirus companies.
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/350.txt
+@@ -0,0 +1,63 @@
++SID:
++350
++--
++
++Rule:
++--
++
++Summary:
++This event is generated when an attack attempt is made against an ftp
++server possibly running a vulnerable ftpd
++--
++
++Impact:
++Possible execution of commands on the affected server as with elevated user privileges
++--
++
++Detailed Information:
++The Washington University ftp daemon (wu-ftpd) has a problem with very
++log directory names. There is insufficent checking on directories
++created by users allowing possible insertion of data into the stack.This
++can lead to execution of code with root / elevated user privileges.
++--
++
++Affected Systems:
++NcFTP Software NcFTPD 2.3.5
++Washington University wu-ftpd 2.4.2 (beta 18) VR10
++RedHat wu-ftpd 2.4.2 b18-2
++Washington University wu-ftpd 2.4.2 academ[BETA-18]
++Probably others as well, susspect anything under Washington University wu-ftpd 2.6.0 for this particular exploit.
++--
++
++Attack Scenarios:
++A local attacker will attempt to create long named directories on the
++ftp server wich are not checked correctly in the server code. This can
++allow commands to be executed with elevated user privileges
++--
++
++Ease of Attack:
++simple, Exploit code exists
++--
++
++False Positives:
++None known
++--
++
++False Negatives:
++None known
++--
++
++Corrective Action:
++Upgrade to newest version of wuftpd, or replace with something more secure.
++--
++
++Contributors:
++Snort documentation contributed by matthew harvey
++Original Rule Writer Unknown
++Sourcefire Research Team
++Nigel Houghton
++
++--
++References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2329.txt
+@@ -0,0 +1,78 @@
++Rule:
++
++--
++Sid:
++2329
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in Microsoft Windows Data Access Components.
++
++--
++Impact:
++Serious. Execution of arbitrary code is possible. Denial of Service
++(DoS)
++
++--
++Detailed Information:
++It may be possible for an attacker to send a specially crafted response
++to a client broadcast query searching for an SQL server. This response
++could take advantage of a buffer overrun condition in an MDAC component
++which may result in the attacker being presented with the opportunity to
++execute code of their choosing with the privileges of the user running
++the service on the client system.
++
++A DoS condition may also manifest in MDAC version 2.8.
++
++MDAC is included by default on many Microsoft Windows systems. Client
++workstations may make regular broadcast announcements in an attempt to
++find SQL servers.
++
++--
++Affected Systems:
++ Microsoft Data Access Components 2.5
++ Microsoft Data Access Components 2.6
++ Microsoft Data Access Components 2.7
++ Microsoft Data Access Components 2.8
++
++--
++Attack Scenarios:
++The attacker may spoof the response from an SQL server to exploit the
++vulnerability.
++
++--
++Ease of Attack:
++Moderate..
++
++--
++False Positives:
++Since this rule cannot be constrained using ports and the connection
++state for MSDAC is not tracked, false positive events may occur under
++normal circumstances. The $SQL_SERVERS variable in snort.conf should be
++configured correctly to eliminate this behavior.
++
++--
++False Negatives:
++None known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches and service packs.
++
++Disallow access to database servers from sources external to the
++protected network.
++
++Disallow access to database servers from untrusted hosts.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/244.txt
+@@ -0,0 +1,57 @@
++Rule:
++--
++Sid:
++244
++
++--
++Summary:
++This event is generated when a DDoS mstream handler directs an mstream agent to begin an attack against a specified target.
++
++--
++Impactn:
++Severe. If the listed source IP is in your network, it may be an mstream handler. If the listed destination IP is in your network, it may be an mstream agent.
++
++--
++Detailed Information:
++The mstream DDoS uses a tiered structure of compromised hosts to coordinate and participate in a distributed denial of service attack. There are "handler" hosts that are used to coordinate the attacks and "agent" hosts that launch the attack. A handler can direct a particular agent to attack a target. It directs the agent by sending it a UDP packet to destination port 10498 with a string of "stream/" in the payload. The target IP and duration of the attack will also be included in the payload.
++
++--
++Affected Systems:
++Any mstream compromised host.
++
++--
++Attack Scenarios:
++After a host becomes an mstream agent, it will likely be directed to participate in a DDoS attack.
++--
++Ease of Attack:
++Simple. mstream code is freely available.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++There are other known handler-to-agent ports in addition to 10498.
++
++--
++Corrective Action:
++Perform proper forensic analysis on the suspected compromised host to discover the means of compromise.
++
++Rebuild a confirmed compromised host.
++
++Use a packet-filtering firewall to block inappropriate traffic to the network to prevent hosts from being compromised.
++
++--
++Contributors:
++Original rule writer unknown
++Sourcefire Research Team
++Judy Novak
++
++--
++Additional References:
++
++CVE:
++http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2000-0138
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1889.txt
+@@ -0,0 +1,56 @@
++Nigel, Removed isc.incidents.org reference since it is no longer active.
++Rule:
++
++--
++Sid:
++1889
++
++--
++Summary:
++This event is generated when a web server infected by the slapper worm attempts to send traffic via a communication channel.
++
++--
++Impact:
++Remote access and potentially denial of service. A slapper worm infection indicates a successful compromise of the host. A communication channel established between infected hosts can be used as a vehicle for a distributed denial of service attack of a target host or network.
++
++--
++Detailed Information:
++The Apache/mod_ssl worm, also known as slapper, exploits a vulnerability associated with certain versions of OpenSSL. Once a host has been infected by the worm, the worm then attempts to establish a communication channel using UDP port 2002 (both source and destination) to the infecting host. This communication channel is used to create a network for infected hosts to communicate with each other to identify other infected hosts and to deliver attack instructions for other sites.
++
++--
++Affected Systems:
++Linux hosts running Apache with mod_ssl using SSLv2-enabled OpenSSL 0.9.6d or earlier on Intel x86 architectures.
++
++--
++Attack Scenarios:
++The communication channel created by the slapper worm allows infected hosts to receive direction from other infected hosts. This can be used, for instance, to coordinate a DDoS attack.
++
++--
++Ease of Attack:
++Simple. Exploit code exists.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++It has been observed that the port number for the communication channel may vary. Ports 1978 and 4156 have also been seen.
++
++--
++Corrective Action:
++Apply the appropriate patch or upgrade to the most current version of OpenSSL.
++
++--
++Contributors:
++Original rule writer unknown.
++Sourcefire Research Team
++Judy Novak
++
++--
++Additional References:
++
++CERT
++http://www.cert.org/advisories/CA-2002-27.html
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000172.txt
+@@ -0,0 +1,66 @@
++Rule:
++
++--
++Sid:
++100000172
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in the Lynx text-based web browser.
++
++--
++Impact:
++Code execution on the victim machine with the privileges of the user running
++Lynx.
++
++--
++Detailed Information:
++A vulnerability exists in the way that Lynx handles links when browsing NNTP
++resources. The function that handles the display of information from article
++headers when listing available files on the server, inserts extra characters to
++handle certain character sets. This function does not properly check how much
++extra data is inserted and it is possible to overflow a static buffer and
++execute code in the context of the browser process.
++
++--
++Affected Systems:
++Lynx versions 2.8.6 and prior
++
++--
++Attack Scenarios:
++An attacker would need to supply a malicious link on an nntp server to the user
++using Lynx.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known.
++
++--
++False Negatives:
++None Known.
++
++--
++Corrective Action:
++Apply the appropriate patch.
++
++Upgrade to the latest non-affected version of the software.
++
++--
++Contributors:
++Original Rule writer rmkml
++Sourcefire Vulnerability Research Team
++Alex Kirk
++Nigel Houghton
++
++--
++Additional References:
++
++Original advisory posting:
++http://lists.grok.org.uk/pipermail/full-disclosure/2005-October/038019.html
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2589.txt
+@@ -0,0 +1,93 @@
++Rule:
++
++--
++Sid:
++2589
++
++--
++Summary:
++This event is generated when an attempt is made to return to
++a web client a file in the Content-Disposition Header with a
++Class ID (CLSID) embedded in the file name.
++
++--
++Impact:
++A successful attack may trick a client on a vulnerable host to download
++a malicious file that will be executed by the Windows Shell.
++
++--
++Detailed Information:
++Internet Explorer does not correctly handle or display specially
++crafted files in the browser dialogue where the user choses the
++action (e.g., open, save, cancel) for a downloaded file.
++Specifically, these are overly long file names that employ URL
++encoding of "." %2E before the file extension and contain the
++Class ID (CLSID) associated with the Windows Shell in the file name.
++
++This serves two purposes; the first is that the file name will
++be truncated in the user dialog so the user doesn't see the
++CLSID reference, making it appear to be a more innocuous file
++with a known extension such as mpg or pdf. Second, the downloaded
++file will actually contain malcious commands that will be
++executed by the Windows Shell when opened because of the hidden
++CLSID in the file name.
++
++Currently, the only known CLSID that exploits this vulnerability
++is associated with the Windows Shell. Yet, it may be possible
++for another CLSID to be discovered in the future that would be
++associated with a COM component that could be used for malicious
++purposes.
++
++--
++Affected Systems:
++ Windows NT Workstation/Server 4.0 SP6a
++ Windows NT Workstation/Server 4.0 SP6a with Active Desktop
++ Windows NT Server 4.0 Terminal Server Edition SP6
++ Windows 2000 SP2-SP4
++ Windows XP and XP SP1
++ Windows XP 64-Bit Edition SP1
++ Windows XP 64-Bit Edition Version 2003
++ Windows Server 2003
++ Windows Server 2003 64-Bit Edition
++
++--
++Attack Scenarios:
++An attacker can entice a user to visit a web server that
++will return a malicious file with a file name that contains
++a CLSID, perhaps enabling the execution of the malicious
++code when the file is opened.
++
++--
++Ease of Attack:
++Simple. Exploit code is publicly available.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Upgrade to the latest non-affected version of the software.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Judy Novak
++
++--
++Additional References
++CVE:
++http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0420
++
++Bugtraq:
++http://www.securityfocus.com/bid/9510
++
++Other:
++http://www.microsoft.com/technet/security/bulletin/ms04-024.mspx
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000382.txt
+@@ -0,0 +1,58 @@
++
++
++Rule:
++
++--
++Sid:
++100000382
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a remote file include vulnerability in the "phpNuke" application running on a webserver. Access to the file "admin_users.php" using a remote file being passed as the "phpbb_root_path" parameter may indicate that an exploitation attempt has been attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized administrative access to the server or application. Possible execution of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to include a file from a remote machine via the "phpbb_root_path" parameter in the "admin_users.php" script used by the "phpNuke" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also be possible for an attacker to execute system binaries or malicious code of the attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to a CGI application running ona web server. Some applications do not perform stringent checks when validating the credentials of a client host connecting to the services offered on a host server. This can lead to unauthorized access and possibly escalated privileges to that of the administrator. Data stored on the machine can be compromised and trust relationships between the victim server and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using phpNuke
++
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own credentials to gain access. Alternatively the attacker can exploit weaknesses to gain access as the administrator by supplying input of their choosing to the underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1784.txt
+@@ -0,0 +1,65 @@
++Rule:
++
++--
++Sid:
++
++1784
++
++--
++Summary:
++This rule indicates that a webpage was visited the included the content "nude celeb".
++
++--
++Impact:
++Someone could be violating your company's policy regarding the browsing of inappropriate content.
++
++--
++Detailed Information:
++
++This rule looks for a response from a webserver containing "nude celeb".
++
++--
++Affected Systems:
++
++All
++
++--
++Attack Scenarios:
++
++Not an attack.
++
++--
++Ease of Attack:
++
++N/A.
++
++--
++False Positives:
++
++This could have been caused by a pop-up window or spam with an embedded link to a pornographic website. This could also be caused by somebody visiting the snort rule descriptions on the snort website. etc.etc.
++
++--
++False Negatives:
++
++None known.
++--
++Corrective Action:
++
++Dependent on your company's policies.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++Snort documentation contributed by Steven Alexander
++--
++Additional References:
++
++
++
++
++
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2188.txt
+@@ -0,0 +1,62 @@
++Rule:
++
++--
++Sid:
++2188
++
++--
++Summary:
++This event is generated when a suspicious packet using an unusual
++protocol is sent to a router.
++
++--
++Impact:
++Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in multiple Cisco IOS versions such that a Denial
++of Service condition can be issued against a device by sending multiple
++packets using IP protocols 53, 55, 77 and 103 directly to that device.
++
++Cisco IOS processes these packets and under certain circumstances, can
++be made to incorrectly flag an input interface as being full.
++
++--
++Affected Systems:
++Multiple versions of Cisco IOS.
++
++--
++Attack Scenarios:
++An attacker may send a large number of IP packets using one of the
++protocols 53, 55, 77 or 103 directly to a router. Exploit code exists.
++
++--
++Ease of Attack:
++Simple. Expoit code exists.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Upgrade to the latest non-affected version of the software.
++
++Apply the appropriate vendor supplied patches.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3308.txt
+@@ -0,0 +1,70 @@
++Rule:
++
++--
++Sid:
++3308
++
++--
++Summary:
++This rule generates an event when an attempt is made to exploit a known
++vulnerability in Microsoft RPC DCOM.
++
++--
++Impact:
++Execution of arbitrary code leading to full administrator access of the
++machine. Denial of Service (DoS).
++
++--
++Detailed Information:
++A vulnerability exists in Microsoft RPC DCOM such that execution of
++arbitrary code or a Denial of Service condition can be issued against a
++host by sending malformed data via RPC.
++
++The Distributed Component Object Model (DCOM) handles DCOM requests sent
++by clients to a server using RPC. A malformed request to an RPC port
++will result in a buffer overflow condition that will present the
++attacker with the opportunity to execute arbitrary code with the
++privileges of the local system account.
++
++--
++Affected Systems:
++ Windows NT 4.0
++ Windows NT 4.0 Terminal Server Edition
++ Windows 2000
++ Windows XP
++ Windows Server 2003
++
++--
++Attack Scenarios:
++An attacker may make a request for a file with an overly long filename
++via a network share.
++
++--
++Ease of Attack:
++Simple. Expoit code exists.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patches.
++
++Block access to RPC ports 135, 139 and 445 for both TCP and UDP
++protocols from external sources using a packet filtering firewall.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2721.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++2721
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database server.
++
++--
++Impact:
++Serious. Possible execution of arbitrary code and Denial of Service.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database implementation. Multiple buffer
++overflow conditions are present in numerous packages and procedures.
++
++Exploitation of these vulnerable procedures may allow an attacker to
++execute code of their choosing as the user running the database. In the
++case of databases running on Microsoft Windows platforms, this is the
++Local System account which may mean a compromise of the operating system
++as well as the database.
++
++This event indicates that an attempt has been made to exploit a
++vulnerability in the procedure add_columns_to_flavor
++. This procedure is included in
++dbms_repcat.
++
++--
++Affected Systems:
++ Oracle Oracle9i
++
++--
++Attack Scenarios:
++If an attacker can supply enough data to the procedure in question, it
++may be possible to cause the overflow condition to occur and present the
++attacker with the opportunity to execute code of their choosing.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patch
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Alex Kirk
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/100000321.txt
+@@ -0,0 +1,78 @@
++
++
++Rule:
++
++--
++Sid:
++100000321
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a remote file
++include vulnerability in the "ScozNet ScozNews" application running on a
++webserver. Access to the file "help.php" using a remote file being passed as
++the "main_path" parameter may indicate that an exploitation attempt has been
++attempted.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution of
++arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event indicates that an attempt has been made to include a file from a
++remote machine via the "main_path" parameter in the "help.php" script used by
++the "ScozNet ScozNews" application running on a webserver.
++
++If stringent input checks are not performed by the CGI application, it may also
++be possible for an attacker to execute system binaries or malicious code of the
++attackers choosing.
++
++This event is generated when an attempt is made to gain unauthorized access to
++a CGI application running ona web server. Some applications do not perform
++stringent checks when validating the credentials of a client host connecting to
++the services offered on a host server. This can lead to unauthorized access and
++possibly escalated privileges to that of the administrator. Data stored on the
++machine can be compromised and trust relationships between the victim server
++and other hosts can be exploited by the attacker.
++
++--
++Affected Systems:
++All systems running CGI applications using ScozNet ScozNews
++
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her own
++credentials to gain access. Alternatively the attacker can exploit weaknesses
++to gain access as the administrator by supplying input of their choosing to the
++underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has had
++all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Vulnerability Research Team
++Nigel Houghton
++
++--
++Additional References:
++
++--
++
+--- /dev/null
++++ snort-2.9.2/doc/signatures/2895.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++2895
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database server.
++
++--
++Impact:
++Serious. Possible execution of arbitrary code and Denial of Service.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to exploit a known
++vulnerability in an Oracle database implementation. Multiple buffer
++overflow conditions are present in numerous packages and procedures.
++
++Exploitation of these vulnerable procedures may allow an attacker to
++execute code of their choosing as the user running the database. In the
++case of databases running on Microsoft Windows platforms, this is the
++Local System account which may mean a compromise of the operating system
++as well as the database.
++
++This event indicates that an attempt has been made to exploit a
++vulnerability in the procedure drop_priority_varchar2
++. This procedure is included in
++sys.dbms_repcat_conf.
++
++--
++Affected Systems:
++ Oracle Oracle9i
++
++--
++Attack Scenarios:
++If an attacker can supply enough data to the procedure in question, it
++may be possible to cause the overflow condition to occur and present the
++attacker with the opportunity to execute code of their choosing.
++
++--
++Ease of Attack:
++Simple.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patch
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Alex Kirk
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3043.txt
+@@ -0,0 +1,64 @@
++Rule:
++
++--
++Sid:
++3043
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in Ethereal.
++
++--
++Impact:
++Serious. Denial of Service (DoS).
++
++--
++Detailed Information:
++Ethereal is a multi-platform network protocol analyser capable of
++displaying network data to the user in a graphical user interface.
++
++An error in the processing of access control lists (ACLs) concerning the
++size of the access control entries (ACEs) may lead to a Denial of Service
++(DoS) condition in Ethereal. The ACL parsing routine trusts the size of
++the ACE given in the packet during processing. If a sufficiently large ACL
++structure is supplied combined with a specified ACE size of 0, it is
++possible to cause the DoS condition to occur.
++
++--
++Affected Systems:
++ Ethereal 0.10.7 and prior
++
++--
++Attack Scenarios:
++An attacker needs to craft packet data containing large NT ACLs, the
++attacker then needs to specify one of the ACEs as having a size of 0.
++
++--
++Ease of Attack:
++Moderate.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Apply the appropriate vendor supplied patch
++
++Upgrade to the latest non-affected version of the software.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/1599.txt
+@@ -0,0 +1,69 @@
++Rule:
++
++--
++Sid:
++1599
++
++--
++Summary:
++This event is generated when an attempt is made to exploit a known
++vulnerability in a CGI web application running on a server.
++
++--
++Impact:
++Information gathering and system integrity compromise. Possible unauthorized
++administrative access to the server or application. Possible execution
++of arbitrary code of the attackers choosing in some cases.
++
++--
++Detailed Information:
++This event is generated when an attempt is made to gain unauthorized
++access to a CGI application running ona web server. Some applications do
++not perform stringent checks when validating the credentials of a client
++host connecting to the services offered on a host server. This can lead
++to unauthorized access and possibly escalated privileges to that of the
++administrator. Data stored on the machine can be compromised and trust
++relationships between the victim server and other hosts can be exploited by the attacker.
++
++If stringent input checks are not performed by the CGI application, it
++may also be possible for an attacker to execute system binaries or
++malicious code of the attackers choosing.
++
++--
++Affected Systems:
++ All systems running CGI applications
++
++--
++Attack Scenarios:
++An attacker can access an authentication mechanism and supply his/her
++own credentials to gain access. Alternatively the attacker can exploit
++weaknesses to gain access as the administrator by supplying input of
++their choosing to the underlying CGI script.
++
++--
++Ease of Attack:
++Simple. Exploits exist.
++
++--
++False Positives:
++None known.
++
++--
++False Negatives:
++None known.
++
++--
++Corrective Action:
++Ensure the system is using an up to date version of the software and has
++had all vendor supplied patches applied.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton
++
++--
++Additional References:
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/301.txt
+@@ -0,0 +1,57 @@
++Rule:
++
++--
++Sid: 301
++
++--
++Summary:
++This event is generated when an attempt is made to escalate privileges remotely using a vulnerability in LPRng.
++
++--
++Impact:
++System compromize presenting the attacker with escalated system privileges .
++
++--
++Detailed Information:
++LPRng is an implementation of the Berkeley lpr print spooling protocol. Some versions are vulnerable to a format-string attack that takes advantage of a bug in the syslog() wrapper. Successfull exploitation may present a remote attacker with the ability to execute arbitrary code using the privileges of the LPD daemon owner (typically root).
++
++Arbitrary addresses in the lpd process address space can be overwritten by sending specially crafted packets to the LPRng daemon listening on port 515 to execute arbitrary code or generate a segmentation violation.
++
++--
++Attack Scenarios:
++Exploit scripts are available
++
++--
++Ease of Attack:
++Simple. Exploits are available.
++
++--
++False Positives:
++None Known
++
++--
++False Negatives:
++None Known
++
++--
++Corrective Action:
++Upgrade to the latest non-affected version of the software.
++
++Disallow access to LPRng port 515 from external sources using a packet filtering firewall.
++
++--
++Contributors:
++Original rule writer unknown
++Sourcefire Research Team
++Nigel Houghton
++
++--
++Additional References:
++
++Bugtraq:
++http://www.securityfocus.com/bid/1712
++
++CVE:
++http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2000-0917
++
++--
+--- /dev/null
++++ snort-2.9.2/doc/signatures/3456.txt
+@@ -0,0 +1,59 @@
++Rule:
++
++--
++Sid:
++3456
++
++--
++
++Summary:
++This event is generated when the user "root" logs in to a MySQL database from an external source.
++
++--
++Impact:
++Serious. An attacker may have gained superuser access to the system.
++
++--
++Detailed Information:
++This event is generated when someone using the name "root" logs in to a MySQL database.
++
++The 'root' user may have access to all databases on the system, with full privileges to add users, delete data, add information, etc.
++
++This connection can either be a legitimate telnet connection or the result of spawning a remote shell as a consequence of a successful network exploit.
++
++--
++
++Attack Scenarios:
++Simple. The user logs in with the username 'root', full access is then granted to that user for all databases served by the MySQL daemon. The attacker may then continue to gain sensitive information from any database in the system.
++
++--
++
++Ease of Attack:
++Simple. This may be post-attack behavior and can be indicative of the successful exploitation of a vulnerable system.
++
++--
++
++False Positives:
++This event may be generated by a database administrator logging in as the root user from a location outside the protected network.
++
++--
++False Negatives:
++None Known
++
++--
++
++Corrective Action:
++Ensure that this event was not generated by a legitimate session then investigate the server for signs of compromise
++
++Look for other events generated by the same IP addresses.
++
++--
++Contributors:
++Sourcefire Research Team
++Brian Caswell
++Nigel Houghton