diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..4293cc1 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,60 @@ +# Set default behaviour, in case users don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files we want to always be normalized and converted +# to native line endings on checkout. +*.txt text +*.cpp text +*.c text +*.h text +*.cmd text +*.sln text +*.vcproj text +*.vcxproj text +*.vcxproj.filters text +*.page text +*.html text +*.xhtml text +*.css text +*.js text +*.progen text +*.xml text +*.xsd text +*.template text +*.properties text +*.ini text +*.vxbuild text +*.cs text +*.csproj text +*.csproj.user text +*.dsp text +*.groovy text +*.sh test +*.java text +*.sm text +*.py text +*.rb text +*.vb text +*.pm text +*.pl text +*.m text +*.lua text +*.scala text +*.mk text +*.properties text +*.iml text +*.ipr text +*.iws text +.classpath text +.project text + +# Denote all files that are truly binary and should not be modified. +*.bin binary +*.mc binary +*.png binary +*.jpg binary +*.gif binary +*.ico binary +*.au binary +*.pdf binary +*.wav binary diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f87580f --- /dev/null +++ b/.gitignore @@ -0,0 +1,161 @@ +# Bison & Flex # +################ +asn_grammar.* +asn_ref_grammar.* +asn_lex.* +asn_ref_lex.* + + + +# Compiled # +############ +*.com +*.class +*.dll +*.dylib +*.exe +*.slo +*.lo +*.o +*.so +*.lai +*.la +*.a +*.d + + +# Make # +######## +config.build +config.make +*.cache/** + + +# autogenerated make from CDT # +############################## +subdir.mk +objects.mk +sources.mk +makefile +Makefile +Makefile.in +aclocal.m4 +configure +config.h +config.status + + +# CMake # +######## +cmake_install.cmake +cmake_uninstall.cmake +CMakeFiles +CMakeCache.txt +CPackConfig.cmake +CPackSourceConfig.cmake + + +# Logs and databases # +###################### +*.log* +*.sqlite +*.db +test*.txt +XML/testsuite/rss.xml + + +# OS generated files # +###################### +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +Icon? +ehthumbs.db +Thumbs.db +*~ + +# VS generated files # +###################### +*.bsc +*.sbr +*.obj +*.exe +*.pdb +*.user +*.aps +*.pch +*.ipch +*.ncb +*.suo +*.sdf +*.opensdf +*.tlb +*.tlh +*.ilk +*.lib +*.exp +*.idb +*.rc +*.res +*.manifest +*.tlog +*.lastbuildstate +*.unsuccessfulbuild +release_shared/ +debug_shared/ +release_static/ +debug_static/ +release_static_md/ +debug_static_md/ +release_static_mt/ +debug_static_mt/ +bin/ +bin64/ +lib/ +lib64/ +*nativecodeanalysis* +*codeanalysis* + + +# Eclipse generated files # +########################### +#.project +#.cproject +.settings +cmake-build/ +.metadata/ +RemoteSystemsTempFiles/ + +# Eclipse Maven m2e generated files # +##################################### +**/target/ + + +# Temporary files # +################### +*.bak + + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml # +########################################################################################## +hs_err_pid* + + +# Eclipse generated class directory # +##################################### +/cls + +# makedep dependencies files # +############################## +**/.deps/ + +# ASN.1 generated files # +######################## +**/csn/ +**/cxx/ +*.def +/ipch +/config.h.in +/stamp-h1 diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..bd4af0b --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "boost"] + path = boost + url = https://github.com/mirror/boost.git diff --git a/AUTHORS b/AUTHORS index 34abb7d..d832ab5 100644 --- a/AUTHORS +++ b/AUTHORS @@ -4,7 +4,11 @@ mangelo@users.sourceforge.net Institute for Information Industry, Taipei, Taiwan, the Republic of China + The code is modified by Genesys Telecommunications Labs UK, 2003-2011 + Contributors: - Arunas Ruksnaitis - Rustam Mirzaev + +Arunas Ruksnaitis + +Rustam Mirzaev diff --git a/COPYING b/COPYING index e82d065..e3b1d02 100644 --- a/COPYING +++ b/COPYING @@ -1,12 +1,18 @@ -$Log: COPYING,v $ -Revision 1.2 2002/07/02 05:28:13 mangelo +$Log: COPYING,v +$ +Revision 1.2 2002/07/02 05:28:13 mangelo Add VC.Net and GCC 3.1 Support -Revision 1.1.1.1 2001/08/01 07:36:54 mangelo -Import to SourceForge + +Revision 1.1.1.1 2001/08/01 07:36:54 mangelo + Import to SourceForge + The contents of this project are subject to the Mozilla Public License -Version 1.0 (the "License"); you may not use this file except in -compliance with the License. You may find a copy of the License in the file -mpl-1.0.htm which is distributed with this file or in the web page +Version 1.0 (the "License"); +you may not use this file except in +compliance with the License. +You may find a copy of the License in the file +mpl-1.0.htm which is distributed with this file +or in the web page http://www.mozilla.org/MPL/ diff --git a/CVS/Entries b/CVS/Entries deleted file mode 100644 index 44a4b7d..0000000 --- a/CVS/Entries +++ /dev/null @@ -1,18 +0,0 @@ -/AUTHORS/1.2/Tue Aug 9 18:12:43 2011// -/COPYING/1.2/Tue Jul 2 05:28:13 2002// -/ChangeLog/1.6/Mon Jan 2 10:11:49 2006// -/INSTALL/1.1.1.1/Wed Aug 1 07:36:54 2001// -/Makefile.am/1.6/Tue Aug 20 22:35:53 2002// -/Makefile.in/1.9/Sat Feb 2 08:22:52 2008// -/NEWS/1.1/Wed Jul 10 22:46:32 2002// -/README/1.6/Thu Jul 11 05:51:57 2002// -/aclocal.m4/1.6/Sat Feb 2 08:22:52 2008// -/autogen.sh/1.1/Tue Apr 19 17:53:43 2011// -/config.h.in/1.4/Thu Jul 4 03:47:22 2002// -/configure/1.9/Sat Feb 2 08:22:53 2008// -/configure.in/1.7/Sat Feb 2 08:22:53 2008// -/iiiasn1.dsw/1.6/Wed Aug 21 03:41:16 2002/-kb/ -/iiiasn1.sln/1.4/Tue Dec 19 03:26:19 2006// -/mpl-1.0.htm/1.2/Tue Jul 2 05:28:13 2002// -/stamp-h.in/1.1.1.1/Wed Aug 1 07:36:58 2001// -D diff --git a/CVS/Entries.Log b/CVS/Entries.Log deleted file mode 100644 index 00abad3..0000000 --- a/CVS/Entries.Log +++ /dev/null @@ -1,8 +0,0 @@ -A D/asn1//// -A D/asnh323//// -A D/asnparser//// -A D/config//// -A D/doc//// -A D/h323parser//// -A D/makedef//// -R D/doc//// diff --git a/CVS/Repository b/CVS/Repository deleted file mode 100644 index 8d9a3db..0000000 --- a/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -iiiasn1 diff --git a/CVS/Root b/CVS/Root deleted file mode 100644 index 5edb607..0000000 --- a/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@iiiasn1.cvs.sourceforge.net:/cvsroot/iiiasn1 diff --git a/ChangeLog b/ChangeLog index 3257207..820343c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,10 +3,12 @@ * ChangeLog, configure, configure.in: Avoided __THROW_BAD_ALLOC to be defined twice + 2002-08-20 23:55 mangelo * asn1/dllmain.cxx: add asn1/dllmain.cxx + 2002-08-20 22:41 mangelo * iiiasn1.dsw, asn1/ASN1.dsp, asn1/asn1_dll.dsp, @@ -15,6 +17,7 @@ asnparser/asnparser.dsp, h323parser/H323Parser.dsp, makedef/makedef.dsp: make VC6.0 project files binary + 2002-08-20 17:35 mangelo * ChangeLog, Makefile.am, Makefile.in, aclocal.m4, configure, @@ -34,29 +37,34 @@ h323parser/H323Parser.vcproj, makedef/makedef.cpp, makedef/makedef.dsp, makedef/makedef.vcproj: Add MSVC DLL support + 2002-08-04 11:02 mangelo * asnh323/testsuite/h245test.cpp: circumvent the array and pointer problem in cygwin GCC 2.95.3-5 + 2002-07-19 00:48 btrummer * asn1/PEREncoder.cxx: If an illegal character is found in do_visit(const AbstractString&), false is returned now to abort the encoding. + 2002-07-19 00:43 btrummer * asn1/PEREncoder.cxx: Aaargh! If encodeConstrainedLength() fails in do_visit(const OCTET_STRING&), false must be returned rather than true. + 2002-07-18 05:42 btrummer * asn1/PEREncoder.cxx: Removed the assert statement from do_visit(const OCTET_STRING& value). Replaced the assert in do_visit(const CHOICE& value) with an if-clause. + 2002-07-18 01:53 btrummer * asn1/: PEREncoder.cxx, asn1.h: Added range checks for @@ -64,30 +72,36 @@ encodeConstrainedLength(). Encoding an object which violates its length constraint will fail now. + 2002-07-17 06:17 btrummer * asn1/asn1.h: Check for the macro __IBMCPP__ rather than _AIX for the last AiX-fix. + 2002-07-11 03:34 btrummer * asn1/asn1.h: Added AiX-fix for the initialization of Constrained_INTEGER::theInfo. + 2002-07-11 02:51 btrummer * asn1/asn1.h: Added some InfoType typedefs needed for AiX. + 2002-07-11 01:22 btrummer * asn1/asn1.h: Fixed the constructor OBJECT_IDENTIFIER(InputIterator, InputIterator, const void*), which raised an internal compiler error on Windows. + 2002-07-11 00:51 mangelo * README, asnh323/testsuite/h245test.cpp: Add README file + 2002-07-10 17:46 mangelo * AUTHORS, ChangeLog, Makefile.in, NEWS, aclocal.m4, configure, @@ -95,77 +109,92 @@ asnh323/testsuite/Makefile.in, asnparser/Makefile.am, asnparser/Makefile.in: Added files required by GNU coding standard + 2002-07-10 17:35 mangelo * h323parser/h2250v4_new.asn: Remove h2250v4_new.asn + 2002-07-10 16:02 mangelo * iiiasn1.dsw: Update VC project files + 2002-07-10 15:58 mangelo * asnh323/asnh323.vcproj, asnparser/asnparser.vcproj, h323parser/H323Parser.dsp, h323parser/H323Parser.vcproj: Update VC project files + 2002-07-10 15:40 mangelo * asn1/testsuite/asn1test.cpp: Add include config.h + 2002-07-10 14:06 mangelo * h323parser/H323Parser.cpp: Fixed problem with the nonstandard temparary lifetime in VC.Net + 2002-07-10 02:25 btrummer * asn1/PERDecoder.cxx: Minor simplification at the end of PERDecoder::decodeChoicePreamle(). + 2002-07-04 02:46 mangelo * asn1/testsuite/asn1test.vcproj, asnh323/asnh323.vcproj: Modify asnparser output files + 2002-07-04 00:15 mangelo * h323parser/: H323Parser.dsp, H323Parser.vcproj: modify the list of asnparser generated files + 2002-07-04 00:02 mangelo * iiiasn1.dsw, asn1/testsuite/asn1test.dsp, asnh323/asnh323.dsp, asnparser/asnparser.dsp, asnparser/asnparser.vcproj: update VC project files + 2002-07-03 22:47 mangelo * config.h.in, asn1/asn1.h, config/ac_cxx_have_wstring.m4: added explicit wstring typedef for GCC 2.95.x + 2002-07-03 03:15 btrummer * asn1/PERDecoder.cxx: Fixed the assignment to beginPosition in PERDecoder::setPosition(). + 2002-07-03 01:26 btrummer * asn1/PERDecoder.cxx: Introduced an upper bound for the size of strings and arrays, like PWLib's PERDecoder does. Otherwise, broken data may make the PERDecoder allocate hundrets of Megabytes RAM... + 2002-07-03 01:15 btrummer * asn1/asn1.h: Added a range-check for PERDecoder::rollback(), so beginPosition will never be set outside of endPosition. + 2002-07-03 01:01 btrummer * asn1/asn1.cxx: Fixed two buffer overflows in OBJECT_IDENTIFIER::decodeCommon(), that may occur, when decoding invalid (random) data. + 2002-07-02 13:42 mangelo * Makefile.am, Makefile.in, configure.in, asnh323/Makefile.am, @@ -173,40 +202,48 @@ asnh323/testsuite/Makefile.in, asnparser/Makefile.am, asnparser/Makefile.in: Modify Email address + 2002-07-02 00:25 mangelo * iiiasn1.dsw, COPYING, Makefile.am, Makefile.in, aclocal.m4, config.h.in, configure, configure.in, iiiasn1.sln, mpl-1.0.htm: Add VC.Net and GCC 3.1 Support + 2002-07-02 00:21 mangelo * config/: ac_cxx_have_wstring.m4, depcomp, iii_check_pwlib.m4, mh-powerpc-mt: Remove PWLIB check + 2002-07-02 00:17 mangelo * h323parser/: H323Parser.dsp, H323Parser.dsw, H323Parser.vcproj, Q931pdu.cpp: Add VC.Net project file + 2002-07-02 00:09 mangelo * asnh323/: Makefile.am, Makefile.in, asnh323.dsp, asnh323.vcproj: Add VC.Net project file + 2002-07-02 00:07 mangelo * asnh323/testsuite/h323test.dsp: [no log message] + 2002-07-02 00:02 mangelo * asnh323/testsuite/: Makefile.am, Makefile.in, h323test.vcproj: Add VC.Net project file + 2002-07-01 23:53 mangelo * asn1/: Makefile.am, Makefile.in: Change Email and Homepage URL + 2002-07-01 23:45 mangelo * asn1/: ASN1.dsp, ASN1.vcproj, AVNDecoder.cxx, AVNEncoder.cxx, @@ -215,16 +252,19 @@ PEREncoder.cxx, ValidChecker.cxx, asn1.cxx, asn1.h, ios_helper.h: Modify for VC.Net and GCC 3.1 + 2002-07-01 23:40 mangelo * asn1/testsuite/: Makefile.am, Makefile.in, asn1test.dsp, asn1test.vcproj: add VC.Net project file + 2002-07-01 23:38 mangelo * asn1/testsuite/asn1test.cpp: fixed problem when vector::iterator is not a typedef to T* + 2002-07-01 21:03 mangelo * asnparser/: Makefile.in, aclocal.m4, asn_grammar.y, asn_lex.l, @@ -233,231 +273,282 @@ main.h, precompile.cpp, unistd.h, Makefile.am: Remove Pwlib dependency + 2002-01-10 23:46 mangelo * asn1/ValidChecker.cxx: Fixed INTEGER::isStrictlyValid() (Thanks to Michael Almond) + 2002-01-10 23:43 mangelo * asn1/asn1.cxx: Fixed OBJECT_IDENTIFIER::decodeCommon (Thanks to George Biro) + 2001-11-13 10:40 mangelo * asn1/asn1.h: Fixed the missing retrun in OCTET_STRING::operator=(const char*) + 2001-10-24 21:47 mangelo * asn1/asn1.h: fixed the wrong declaration of SEQUNCE_OF::InfoType.type + 2001-10-09 11:39 mangelo * asn1/asn1.cxx: fixed the problem when vector::iterator is not char* + 2001-10-05 20:25 mangelo * asnh323/testsuite/h323test.dsp: add h248test.cpp + 2001-10-05 20:19 mangelo * asnh323/testsuite/: Makefile.am, Makefile.in: add h248test.cpp + 2001-10-05 20:19 mangelo * asnh323/testsuite/h323test.cpp: add h248test + 2001-10-05 20:18 mangelo * asnh323/testsuite/h248test.cpp: initial version + 2001-10-05 19:56 mangelo * Makefile.in: Changed to automake 2.5 + 2001-10-05 19:56 mangelo * aclocal.m4, config.h.in: Changed to autoconf 2.52 + 2001-10-05 19:52 mangelo * configure.in, configure: Disable using custom allocator under cygwin + 2001-10-05 19:49 mangelo * asnparser/Makefile.in: Adjusted for the lastest Pwlib + 2001-10-05 19:42 mangelo * config/depcomp: automake 2.5 file + 2001-10-05 19:41 mangelo * config/missing: Update to auotmake 2.5 + 2001-10-05 14:15 mangelo * asn1/asn1.cxx: Change Log Sequence + 2001-10-05 14:11 mangelo * asn1/PEREncoder.cxx: Added Log + 2001-10-05 14:08 mangelo * asn1/: BEREncoder.cxx, BERDecoder.cxx, PERDecoder.cxx: Added Log + 2001-10-05 14:00 mangelo * asn1/: asn1.cxx, AVNEncoder.cxx: Added Log + 2001-10-05 13:52 mangelo * asn1/BEREncoder.cxx: Fixed BER CHOICE encording problem + 2001-10-05 13:52 mangelo * asn1/BERDecoder.cxx: Fixed BER CHOICE decoding problem + 2001-10-05 13:51 mangelo * asn1/asn1.h: Fixed wrong declarations of AbstractString.TpyeInfo.type and BMPString.TypeInfo.type. Added tagMode() to SEQUENCE - 2001-09-16 20:15 mangelo * configure: changed to avoid warnings in autoconf 2.52 + 2001-09-16 20:10 mangelo * config/ac_cxx_have_wstring.m4, configure.in: changed to avoid warning in autoconf 2.52 + 2001-09-07 17:36 mangelo * asnparser/: asn_lex.l, asn_ref_lex.l, asn_grammar.y, asn_ref_grammar.y, main.h, main.cxx: add Log keyword substitution + 2001-09-07 17:23 mangelo * asnparser/asn_lex.l: Remove a branch which was used for debuging + 2001-08-29 10:47 mangelo * asn1/asn1.h: Fixed the declaration of SizeConstraint class template + 2001-08-04 04:01 mangelo * configure, asn1/Makefile.in: [no log message] + 2001-08-04 03:52 mangelo * Makefile.in: [no log message] + 2001-08-04 03:42 mangelo * README: [no log message] + 2001-08-04 03:38 mangelo * README: [no log message] + 2001-08-04 03:35 mangelo * Makefile.in: [no log message] + 2001-08-04 03:31 mangelo * doc/sidebar.html: Remove this file + 2001-08-04 03:29 mangelo * README: Rename from ReadMe + 2001-08-04 03:26 mangelo * README: Rename ReadMe to README + 2001-08-04 03:24 mangelo * Makefile.am: Remove "ReadMe entry" + 2001-08-04 02:39 mangelo * h323parser/pointainer.h: add to cvs + 2001-08-04 02:21 mangelo * Makefile.am: Remove doc, add ReadMe + 2001-08-04 01:59 mangelo * README: Added to CVS + 2001-08-04 01:40 mangelo * doc/pwtest1.cpp: Removed + 2001-08-04 01:38 mangelo * doc/pwtest.cpp: removed + 2001-08-04 01:37 mangelo * doc/comparison.html: Removed + 2001-08-04 01:36 mangelo * doc/asn1tool.html: Remove + 2001-08-04 01:05 cityriver * doc/iiitest1.cpp: remove file + 2001-08-03 23:26 cityriver * doc/iiitest.cpp: remove iiitest.cpp + 2001-08-03 23:26 cityriver * doc/iii01.gif: remove doc + 2001-08-03 23:16 cityriver * doc/main.html: remove main.html + 2001-08-03 05:10 mangelo * doc/: sidebar.html, main.html: add frame + 2001-08-03 05:07 mangelo * doc/asn1tool.html: Use Frame + 2001-08-03 02:43 mangelo * asn1/asn1.h: Fixed isValid() bugs + 2001-08-03 02:42 mangelo * asn1/InvalidTracer.cxx: Add InvalidTracer + 2001-08-03 01:26 mangelo * asn1/ValidChecker.cxx: Fixed isValid() bugs. + 2001-08-01 02:36 mangelo * aclocal.m4, COPYING, INSTALL, Makefile.am, configure, @@ -503,6 +594,7 @@ h323parser/H323Parser.dsp, h323parser/perattacher.cpp, h323parser/Q931pdu.cpp, h323parser/H323Parser.cpp: Initial revision + 2001-08-01 02:36 mangelo * aclocal.m4, COPYING, INSTALL, Makefile.am, configure, diff --git a/Makefile.am b/Makefile.am index bc4da26..684c0ae 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,7 +35,7 @@ H323Parser_FILES = h323parser/perattacher.h\ h323parser/H323Parser.vcproj -config_FIELS = config/ac_cxx_have_new_iostream.m4\ +config_FILES = config/ac_cxx_have_new_iostream.m4\ config/ac_cxx_have_stl.m4\ config/ac_cxx_have_wstring.m4\ config/ac_cxx_namespaces.m4\ @@ -53,7 +53,7 @@ config_FIELS = config/ac_cxx_have_new_iostream.m4\ makedef_FILES = makedef/makedef.cpp makedef/makedef.dsp makedef/makedef.vcproj -EXTRA_DIST = configure mpl-1.0.htm iiiasn1.dsw iiiasn1.sln $(H323Parser_FILES) $(config_FIELS) $(makedef_FILES) +EXTRA_DIST = configure mpl-1.0.htm iiiasn1.dsw iiiasn1.sln $(H323Parser_FILES) $(config_FILES) $(makedef_FILES) SUBDIRS = asnparser asn1 @asnh323dir@ diff --git a/Makefile.in b/Makefile.in deleted file mode 100644 index 8501a59..0000000 --- a/Makefile.in +++ /dev/null @@ -1,767 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# -# Copyright (c) 2001 Institute for Information Industry, Taiwan, Republic of China -# Written by mangelo@users.sourceforge.net -# -# This file is part of III ASN.1 Tool. -# -# The contents of this file are subject to the Mozilla Public License -# Version 1.0 (the "License"); you may not use this file except in -# compliance with the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" -# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -# the License for the specific language governing rights and limitations -# under the License. -# -# III ASN.1 Tool is the ASN.1 to C++ compiler and C++ run time library -# for encoding and decoding ASN.1 types. -# For details, see the III ASN.1 Tool World-Wide-Web page, -# `http://iiiasn1.sourceforge.net'. -# -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -subdir = . -DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/config.h.in \ - $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ - config/config.guess config/config.sub config/depcomp \ - config/install-sh config/missing config/mkinstalldirs -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = \ - $(top_srcdir)/config/ac_cxx_have_new_iostream.m4 \ - $(top_srcdir)/config/ac_cxx_have_stl.m4 \ - $(top_srcdir)/config/ac_cxx_have_wstring.m4 \ - $(top_srcdir)/config/ac_cxx_namespaces.m4 \ - $(top_srcdir)/config/acx_pthread.m4 \ - $(top_srcdir)/config/iii_check_stlport.m4 \ - $(top_srcdir)/config/iii_cross_tools.m4 \ - $(top_srcdir)/config/iii_enable_stl_thread.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno config.status.lineno -mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs -CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ - distdir dist dist-all distcheck -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(distdir) -am__remove_distdir = \ - { test ! -d "$(distdir)" \ - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -fr "$(distdir)"; }; } -am__relativize = \ - dir0=`pwd`; \ - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ - sed_rest='s,^[^/]*/*,,'; \ - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ - sed_butlast='s,/*[^/]*$$,,'; \ - while test -n "$$dir1"; do \ - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ - if test "$$first" != "."; then \ - if test "$$first" = ".."; then \ - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ - else \ - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ - if test "$$first2" = "$$first"; then \ - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ - else \ - dir2="../$$dir2"; \ - fi; \ - dir0="$$dir0"/"$$first"; \ - fi; \ - fi; \ - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ - done; \ - reldir="$$dir2" -DIST_ARCHIVES = $(distdir).tar.gz $(distdir).zip -GZIP_ENV = --best -distuninstallcheck_listfiles = find . -type f -print -distcleancheck_listfiles = find . -type f -print -ACLOCAL = @ACLOCAL@ -I config -AMTAR = @AMTAR@ -ASNPARSER = @ASNPARSER@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEBUGFLAG = @DEBUGFLAG@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBSTL = @LIBSTL@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PIPEFLAG = @PIPEFLAG@ -PTHREAD_CC = @PTHREAD_CC@ -PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ -PTHREAD_LIBS = @PTHREAD_LIBS@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -asnh323dir = @asnh323dir@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -AUTOMAKE_OPTIONS = dist-zip -H323Parser_FILES = h323parser/perattacher.h\ - h323parser/perattacher.cpp\ - h323parser/Q931pdu.h\ - h323parser/Q931pdu.cpp\ - h323parser/pointainer.h\ - h323parser/H323Parser.cpp\ - h323parser/H323.def\ - h323parser/h225.sed\ - h323parser/H323Parser.dsp\ - h323parser/H323Parser.vcproj - -config_FIELS = config/ac_cxx_have_new_iostream.m4\ - config/ac_cxx_have_stl.m4\ - config/ac_cxx_have_wstring.m4\ - config/ac_cxx_namespaces.m4\ - config/acx_pthread.m4\ - config/iii_check_cxx_include_path.m4\ - config/iii_check_stlport.m4\ - config/iii_cross_tools.m4\ - config/iii_enable_stl_thread.m4\ - config/config.guess\ - config/config.sub\ - config/install-sh\ - config/mh-powerpc-mt\ - config/missing\ - config/mkinstalldirs - -makedef_FILES = makedef/makedef.cpp makedef/makedef.dsp makedef/makedef.vcproj -EXTRA_DIST = configure mpl-1.0.htm iiiasn1.dsw iiiasn1.sln $(H323Parser_FILES) $(config_FIELS) $(makedef_FILES) -SUBDIRS = asnparser asn1 @asnh323dir@ -all: config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -.SUFFIXES: -am--refresh: - @: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ - $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - echo ' $(SHELL) ./config.status'; \ - $(SHELL) ./config.status;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck - -$(top_srcdir)/configure: $(am__configure_deps) - $(am__cd) $(srcdir) && $(AUTOCONF) -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -$(am__aclocal_m4_deps): - -config.h: stamp-h1 - @if test ! -f $@; then \ - rm -f stamp-h1; \ - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ - else :; fi - -stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status - @rm -f stamp-h1 - cd $(top_builddir) && $(SHELL) ./config.status config.h -$(srcdir)/config.h.in: $(am__configure_deps) - ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) - rm -f stamp-h1 - touch $@ - -distclean-hdr: - -rm -f config.h stamp-h1 - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -$(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - $(am__remove_distdir) - test -d "$(distdir)" || mkdir "$(distdir)" - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ - $(am__relativize); \ - new_distdir=$$reldir; \ - dir1=$$subdir; dir2="$(top_distdir)"; \ - $(am__relativize); \ - new_top_distdir=$$reldir; \ - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ - ($(am__cd) $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$new_top_distdir" \ - distdir="$$new_distdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - am__skip_mode_fix=: \ - distdir) \ - || exit 1; \ - fi; \ - done - -test -n "$(am__skip_mode_fix)" \ - || find "$(distdir)" -type d ! -perm -755 \ - -exec chmod u+rwx,go+rx {} \; -o \ - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ - || chmod -R a+r "$(distdir)" -dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) - -dist-bzip2: distdir - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 - $(am__remove_distdir) - -dist-lzma: distdir - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma - $(am__remove_distdir) - -dist-xz: distdir - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz - $(am__remove_distdir) - -dist-tarZ: distdir - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z - $(am__remove_distdir) - -dist-shar: distdir - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz - $(am__remove_distdir) -dist-zip: distdir - -rm -f $(distdir).zip - zip -rq $(distdir).zip $(distdir) - $(am__remove_distdir) - -dist dist-all: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - -rm -f $(distdir).zip - zip -rq $(distdir).zip $(distdir) - $(am__remove_distdir) - -# This target untars the dist file and tries a VPATH configuration. Then -# it guarantees that the distribution is self-contained by making another -# tarfile. -distcheck: dist - case '$(DIST_ARCHIVES)' in \ - *.tar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ - *.tar.bz2*) \ - bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.lzma*) \ - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ - *.tar.xz*) \ - xz -dc $(distdir).tar.xz | $(am__untar) ;;\ - *.tar.Z*) \ - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ - *.shar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ - *.zip*) \ - unzip $(distdir).zip ;;\ - esac - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/_build - mkdir $(distdir)/_inst - chmod a-w $(distdir) - test -d $(distdir)/_build || exit 0; \ - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && am__cwd=`pwd` \ - && $(am__cd) $(distdir)/_build \ - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ - $(DISTCHECK_CONFIGURE_FLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ - distuninstallcheck \ - && chmod -R a-w "$$dc_install_base" \ - && ({ \ - (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ - } || { rm -rf "$$dc_destdir"; exit 1; }) \ - && rm -rf "$$dc_destdir" \ - && $(MAKE) $(AM_MAKEFLAGS) dist \ - && rm -rf $(DIST_ARCHIVES) \ - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ - && cd "$$am__cwd" \ - || exit 1 - $(am__remove_distdir) - @(echo "$(distdir) archives ready for distribution: "; \ - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' -distuninstallcheck: - @$(am__cd) '$(distuninstallcheck_dir)' \ - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ - || { echo "ERROR: files left after uninstall:" ; \ - if test -n "$(DESTDIR)"; then \ - echo " (check DESTDIR support)"; \ - fi ; \ - $(distuninstallcheck_listfiles) ; \ - exit 1; } >&2 -distcleancheck: distclean - @if test '$(srcdir)' = . ; then \ - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ - exit 1 ; \ - fi - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ - || { echo "ERROR: files left in build directory after distclean:" ; \ - $(distcleancheck_listfiles) ; \ - exit 1; } >&2 -check-am: all-am -check: check-recursive -all-am: Makefile config.h -installdirs: installdirs-recursive -installdirs-am: -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic mostlyclean-am - -distclean: distclean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-hdr distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -html-am: - -info: info-recursive - -info-am: - -install-data-am: - -install-dvi: install-dvi-recursive - -install-dvi-am: - -install-exec-am: - -install-html: install-html-recursive - -install-html-am: - -install-info: install-info-recursive - -install-info-am: - -install-man: - -install-pdf: install-pdf-recursive - -install-pdf-am: - -install-ps: install-ps-recursive - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf $(top_srcdir)/autom4te.cache - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ - ctags-recursive install-am install-strip tags-recursive - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am am--refresh check check-am clean clean-generic \ - ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ - dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ - distclean distclean-generic distclean-hdr distclean-tags \ - distcleancheck distdir distuninstallcheck dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am tags tags-recursive uninstall uninstall-am - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/README b/README index ad56bf0..2b45043 100644 --- a/README +++ b/README @@ -1,7 +1,12 @@ Please visit our website at http://iiiasn1.sourceforge.net for details. + Installation instructions: + mkdir build + cd build + ../configure + make diff --git a/aclocal.m4 b/aclocal.m4 deleted file mode 100644 index 5dd4dad..0000000 --- a/aclocal.m4 +++ /dev/null @@ -1,971 +0,0 @@ -# generated automatically by aclocal 1.11.1 -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -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. -You have another version of autoconf. It may work, but is not guaranteed to. -If you have problems, you may need to regenerate the build system entirely. -To do so, use the procedure documented by the package, typically `autoreconf'.])]) - -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_AUTOMAKE_VERSION(VERSION) -# ---------------------------- -# Automake X.Y traces this macro to ensure aclocal.m4 has been -# generated from the m4 files accompanying Automake X.Y. -# (This private macro should not be called outside this file.) -AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.11' -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to -dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.11.1], [], - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl -]) - -# _AM_AUTOCONF_VERSION(VERSION) -# ----------------------------- -# aclocal traces this macro to find the Autoconf version. -# This is a private macro too. Using m4_define simplifies -# the logic in aclocal, which can simply ignore this definition. -m4_define([_AM_AUTOCONF_VERSION], []) - -# AM_SET_CURRENT_AUTOMAKE_VERSION -# ------------------------------- -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. -# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.11.1])dnl -m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) - -# AM_AUX_DIR_EXPAND -*- Autoconf -*- - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to -# `$srcdir', `$srcdir/..', or `$srcdir/../..'. -# -# Of course, Automake must honor this variable whenever it calls a -# tool from the auxiliary directory. The problem is that $srcdir (and -# therefore $ac_aux_dir as well) can be either absolute or relative, -# depending on how configure is run. This is pretty annoying, since -# it makes $ac_aux_dir quite unusable in subdirectories: in the top -# source directory, any form will work fine, but in subdirectories a -# relative path needs to be adjusted first. -# -# $ac_aux_dir/missing -# fails when called from a subdirectory if $ac_aux_dir is relative -# $top_srcdir/$ac_aux_dir/missing -# fails if $ac_aux_dir is absolute, -# fails when called from a subdirectory in a VPATH build with -# a relative $ac_aux_dir -# -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir -# are both prefixed by $srcdir. In an in-source build this is usually -# harmless because $srcdir is `.', but things will broke when you -# start a VPATH build or use an absolute $srcdir. -# -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, -# iff we strip the leading $srcdir from $ac_aux_dir. That would be: -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` -# and then we would define $MISSING as -# MISSING="\${SHELL} $am_aux_dir/missing" -# This will work as long as MISSING is not called from configure, because -# unfortunately $(top_srcdir) has no meaning in configure. -# However there are other variables, like CC, which are often used in -# configure, and could therefore not use this "fixed" $ac_aux_dir. -# -# Another solution, used here, is to always expand $ac_aux_dir to an -# absolute PATH. The drawback is that using absolute paths prevent a -# configured tree to be moved without reconfiguration. - -AC_DEFUN([AM_AUX_DIR_EXPAND], -[dnl Rely on autoconf to set up CDPATH properly. -AC_PREREQ([2.50])dnl -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` -]) - -# AM_CONDITIONAL -*- Autoconf -*- - -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 9 - -# AM_CONDITIONAL(NAME, SHELL-CONDITION) -# ------------------------------------- -# Define a conditional. -AC_DEFUN([AM_CONDITIONAL], -[AC_PREREQ(2.52)dnl - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE])dnl -AC_SUBST([$1_FALSE])dnl -_AM_SUBST_NOTMAKE([$1_TRUE])dnl -_AM_SUBST_NOTMAKE([$1_FALSE])dnl -m4_define([_AM_COND_VALUE_$1], [$2])dnl -if $2; then - $1_TRUE= - $1_FALSE='#' -else - $1_TRUE='#' - $1_FALSE= -fi -AC_CONFIG_COMMANDS_PRE( -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then - AC_MSG_ERROR([[conditional "$1" was never defined. -Usually this means the macro was only invoked conditionally.]]) -fi])]) - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 10 - -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be -# written in clear, in which case automake, when reading aclocal.m4, -# will think it sees a *use*, and therefore will trigger all it's -# C support machinery. Also note that it means that autoscan, seeing -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... - - -# _AM_DEPENDENCIES(NAME) -# ---------------------- -# See how the compiler implements dependency checking. -# NAME is "CC", "CXX", "GCJ", or "OBJC". -# We try a few techniques and use that to set a single cache variable. -# -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular -# dependency, and given that the user is not expected to run this macro, -# just rely on AC_PROG_CC. -AC_DEFUN([_AM_DEPENDENCIES], -[AC_REQUIRE([AM_SET_DEPDIR])dnl -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl -AC_REQUIRE([AM_MAKE_INCLUDE])dnl -AC_REQUIRE([AM_DEP_TRACK])dnl - -ifelse([$1], CC, [depcc="$CC" am_compiler_list=], - [$1], CXX, [depcc="$CXX" am_compiler_list=], - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], - [$1], UPC, [depcc="$UPC" am_compiler_list=], - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], - [depcc="$$1" am_compiler_list=]) - -AC_CACHE_CHECK([dependency style of $depcc], - [am_cv_$1_dependencies_compiler_type], -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_$1_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` - fi - am__universal=false - m4_case([$1], [CC], - [case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac], - [CXX], - [case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac]) - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_$1_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_$1_dependencies_compiler_type=none -fi -]) -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) -AM_CONDITIONAL([am__fastdep$1], [ - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) -]) - - -# AM_SET_DEPDIR -# ------------- -# Choose a directory name for dependency files. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES -AC_DEFUN([AM_SET_DEPDIR], -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl -]) - - -# AM_DEP_TRACK -# ------------ -AC_DEFUN([AM_DEP_TRACK], -[AC_ARG_ENABLE(dependency-tracking, -[ --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors]) -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH])dnl -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl -]) - -# Generate code to set up dependency tracking. -*- Autoconf -*- - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -#serial 5 - -# _AM_OUTPUT_DEPENDENCY_COMMANDS -# ------------------------------ -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], -[{ - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`AS_DIRNAME("$mf")` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`AS_DIRNAME(["$file"])` - AS_MKDIR_P([$dirpart/$fdir]) - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} -])# _AM_OUTPUT_DEPENDENCY_COMMANDS - - -# AM_OUTPUT_DEPENDENCY_COMMANDS -# ----------------------------- -# This macro should only be invoked once -- use via AC_REQUIRE. -# -# This code is only required when automatic dependency tracking -# is enabled. FIXME. This creates each `.P' file that we will -# need in order to bootstrap the dependency handling code. -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], -[AC_CONFIG_COMMANDS([depfiles], - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) -]) - -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 8 - -# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. -AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) - -# Do all the work for Automake. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 16 - -# This macro actually does too much. Some checks are only needed if -# your package does certain things. But this isn't really a big deal. - -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) -# AM_INIT_AUTOMAKE([OPTIONS]) -# ----------------------------------------------- -# The call with PACKAGE and VERSION arguments is the old style -# call (pre autoconf-2.50), which is being phased out. PACKAGE -# and VERSION should now be passed to AC_INIT and removed from -# the call to AM_INIT_AUTOMAKE. -# We support both call styles for the transition. After -# the next Automake release, Autoconf can make the AC_INIT -# arguments mandatory, and then we can depend on a new Autoconf -# release and drop the old call support. -AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.62])dnl -dnl Autoconf wants to disallow AM_ names. We explicitly allow -dnl the ones we care about. -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl -AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl -AC_REQUIRE([AC_PROG_INSTALL])dnl -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi -AC_SUBST([CYGPATH_W]) - -# Define the identity of the package. -dnl Distinguish between old-style and new-style calls. -m4_ifval([$2], -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl - AC_SUBST([PACKAGE], [$1])dnl - AC_SUBST([VERSION], [$2])], -[_AM_SET_OPTIONS([$1])dnl -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, - [m4_fatal([AC_INIT should be called with package and version arguments])])dnl - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl - -_AM_IF_OPTION([no-define],, -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl - -# Some tools Automake needs. -AC_REQUIRE([AM_SANITY_CHECK])dnl -AC_REQUIRE([AC_ARG_PROGRAM])dnl -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) -AM_MISSING_PROG(AUTOCONF, autoconf) -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) -AM_MISSING_PROG(AUTOHEADER, autoheader) -AM_MISSING_PROG(MAKEINFO, makeinfo) -AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl -AC_REQUIRE([AM_PROG_MKDIR_P])dnl -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -AC_REQUIRE([AC_PROG_AWK])dnl -AC_REQUIRE([AC_PROG_MAKE_SET])dnl -AC_REQUIRE([AM_SET_LEADING_DOT])dnl -_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], - [_AM_PROG_TAR([v7])])]) -_AM_IF_OPTION([no-dependencies],, -[AC_PROVIDE_IFELSE([AC_PROG_CC], - [_AM_DEPENDENCIES(CC)], - [define([AC_PROG_CC], - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_CXX], - [_AM_DEPENDENCIES(CXX)], - [define([AC_PROG_CXX], - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES(OBJC)], - [define([AC_PROG_OBJC], - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl -]) -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. -AC_CONFIG_COMMANDS_PRE(dnl -[m4_provide_if([_AM_COMPILER_EXEEXT], - [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl -]) - -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not -dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further -dnl mangled by Autoconf and run in a shell conditional statement. -m4_define([_AC_COMPILER_EXEEXT], -m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) - - -# When config.status generates a header, we must update the stamp-h file. -# This file resides in the same directory as the config header -# that is generated. The stamp files are numbered to have different names. - -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the -# loop where config.status creates the headers, so we can generate -# our stamp files there. -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[# Compute $1's index in $config_headers. -_am_arg=$1 -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) - -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_INSTALL_SH -# ------------------ -# Define $install_sh. -AC_DEFUN([AM_PROG_INSTALL_SH], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi -AC_SUBST(install_sh)]) - -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# Check whether the underlying file-system supports filenames -# with a leading dot. For instance MS-DOS doesn't. -AC_DEFUN([AM_SET_LEADING_DOT], -[rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null -AC_SUBST([am__leading_dot])]) - -# Check to see how 'make' treats includes. -*- Autoconf -*- - -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 4 - -# AM_MAKE_INCLUDE() -# ----------------- -# Check to see how make treats includes. -AC_DEFUN([AM_MAKE_INCLUDE], -[am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -AC_MSG_CHECKING([for style of include used by $am_make]) -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi -AC_SUBST([am__include]) -AC_SUBST([am__quote]) -AC_MSG_RESULT([$_am_result]) -rm -f confinc confmf -]) - -# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- - -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 6 - -# AM_MISSING_PROG(NAME, PROGRAM) -# ------------------------------ -AC_DEFUN([AM_MISSING_PROG], -[AC_REQUIRE([AM_MISSING_HAS_RUN]) -$1=${$1-"${am_missing_run}$2"} -AC_SUBST($1)]) - - -# AM_MISSING_HAS_RUN -# ------------------ -# Define MISSING if not defined so far and test if it supports --run. -# If it does, set am_missing_run to use it, otherwise, to nothing. -AC_DEFUN([AM_MISSING_HAS_RUN], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([missing])dnl -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - AC_MSG_WARN([`missing' script is too old or missing]) -fi -]) - -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_MKDIR_P -# --------------- -# Check for `mkdir -p'. -AC_DEFUN([AM_PROG_MKDIR_P], -[AC_PREREQ([2.60])dnl -AC_REQUIRE([AC_PROG_MKDIR_P])dnl -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, -dnl while keeping a definition of mkdir_p for backward compatibility. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of -dnl Makefile.ins that do not define MKDIR_P, so we do our own -dnl adjustment using top_builddir (which is defined more often than -dnl MKDIR_P). -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl -case $mkdir_p in - [[\\/$]]* | ?:[[\\/]]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac -]) - -# Helper functions for option handling. -*- Autoconf -*- - -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 4 - -# _AM_MANGLE_OPTION(NAME) -# ----------------------- -AC_DEFUN([_AM_MANGLE_OPTION], -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) - -# _AM_SET_OPTION(NAME) -# ------------------------------ -# Set option NAME. Presently that only means defining a flag for this option. -AC_DEFUN([_AM_SET_OPTION], -[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) - -# _AM_SET_OPTIONS(OPTIONS) -# ---------------------------------- -# OPTIONS is a space-separated list of Automake options. -AC_DEFUN([_AM_SET_OPTIONS], -[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) - -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) -# ------------------------------------------- -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -AC_DEFUN([_AM_IF_OPTION], -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) - -# Check to make sure that the build environment is sane. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 5 - -# AM_SANITY_CHECK -# --------------- -AC_DEFUN([AM_SANITY_CHECK], -[AC_MSG_CHECKING([whether build environment is sane]) -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[[\\\"\#\$\&\'\`$am_lf]]*) - AC_MSG_ERROR([unsafe absolute working directory name]);; -esac -case $srcdir in - *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; -esac - -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$[*]" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$[*]" != "X $srcdir/configure conftest.file" \ - && test "$[*]" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # 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". - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken -alias in your environment]) - fi - - test "$[2]" = conftest.file - ) -then - # Ok. - : -else - AC_MSG_ERROR([newly created file is older than distributed files! -Check your system clock]) -fi -AC_MSG_RESULT(yes)]) - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_INSTALL_STRIP -# --------------------- -# One issue with vendor `install' (even GNU) is that you can't -# specify the program used to strip binaries. This is especially -# annoying in cross-compiling environments, where the build's strip -# is unlikely to handle the host's binaries. -# Fortunately install-sh will honor a STRIPPROG variable, so we -# always use install-sh in `make install-strip', and initialize -# STRIPPROG with the value of the STRIP variable (set by the user). -AC_DEFUN([AM_PROG_INSTALL_STRIP], -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. -if test "$cross_compiling" != no; then - AC_CHECK_TOOL([STRIP], [strip], :) -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -AC_SUBST([INSTALL_STRIP_PROGRAM])]) - -# Copyright (C) 2006, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# _AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- -# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. -# This macro is traced by Automake. -AC_DEFUN([_AM_SUBST_NOTMAKE]) - -# AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- -# Public sister of _AM_SUBST_NOTMAKE. -AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) - -# Check how to create a tarball. -*- Autoconf -*- - -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# _AM_PROG_TAR(FORMAT) -# -------------------- -# Check how to create a tarball in format FORMAT. -# FORMAT should be one of `v7', `ustar', or `pax'. -# -# Substitute a variable $(am__tar) that is a command -# writing to stdout a FORMAT-tarball containing the directory -# $tardir. -# tardir=directory && $(am__tar) > result.tar -# -# Substitute a variable $(am__untar) that extract such -# a tarball read from stdin. -# $(am__untar) < result.tar -AC_DEFUN([_AM_PROG_TAR], -[# Always define AMTAR for backward compatibility. -AM_MISSING_PROG([AMTAR], [tar]) -m4_if([$1], [v7], - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], - [m4_case([$1], [ustar],, [pax],, - [m4_fatal([Unknown tar format])]) -AC_MSG_CHECKING([how to create a $1 tar archive]) -# Loop over all known methods to create a tar archive until one works. -_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' -_am_tools=${am_cv_prog_tar_$1-$_am_tools} -# Do not fold the above two line into one, because Tru64 sh and -# Solaris sh will not grok spaces in the rhs of `-'. -for _am_tool in $_am_tools -do - case $_am_tool in - gnutar) - for _am_tar in tar gnutar gtar; - do - AM_RUN_LOG([$_am_tar --version]) && break - done - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' - am__untar="$_am_tar -xf -" - ;; - plaintar) - # Must skip GNU tar: if it does not support --format= it doesn't create - # ustar tarball either. - (tar --version) >/dev/null 2>&1 && continue - am__tar='tar chf - "$$tardir"' - am__tar_='tar chf - "$tardir"' - am__untar='tar xf -' - ;; - pax) - am__tar='pax -L -x $1 -w "$$tardir"' - am__tar_='pax -L -x $1 -w "$tardir"' - am__untar='pax -r' - ;; - cpio) - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' - am__untar='cpio -i -H $1 -d' - ;; - none) - am__tar=false - am__tar_=false - am__untar=false - ;; - esac - - # If the value was cached, stop now. We just wanted to have am__tar - # and am__untar set. - test -n "${am_cv_prog_tar_$1}" && break - - # tar/untar a dummy directory, and stop if the command works - rm -rf conftest.dir - mkdir conftest.dir - echo GrepMe > conftest.dir/file - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) - rm -rf conftest.dir - if test -s conftest.tar; then - AM_RUN_LOG([$am__untar /dev/null 2>&1 && break - fi -done -rm -rf conftest.dir - -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) -AC_MSG_RESULT([$am_cv_prog_tar_$1])]) -AC_SUBST([am__tar]) -AC_SUBST([am__untar]) -]) # _AM_PROG_TAR - -m4_include([config/ac_cxx_have_new_iostream.m4]) -m4_include([config/ac_cxx_have_stl.m4]) -m4_include([config/ac_cxx_have_wstring.m4]) -m4_include([config/ac_cxx_namespaces.m4]) -m4_include([config/acx_pthread.m4]) -m4_include([config/iii_check_stlport.m4]) -m4_include([config/iii_cross_tools.m4]) -m4_include([config/iii_enable_stl_thread.m4]) diff --git a/asn1/.gitignore b/asn1/.gitignore new file mode 100644 index 0000000..98bbc31 --- /dev/null +++ b/asn1/.gitignore @@ -0,0 +1 @@ +/Debug diff --git a/asn1/ASN1.dsp b/asn1/ASN1.dsp index 6135196..0b6df65 100644 --- a/asn1/ASN1.dsp +++ b/asn1/ASN1.dsp @@ -1,174 +1,174 @@ -# Microsoft Developer Studio Project File - Name="ASN1" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=ASN1 - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ASN1.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ASN1.mak" CFG="ASN1 - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ASN1 - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "ASN1 - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName ""$/ITGv4/ASN1", CAAAAAAA" -# PROP Scc_LocalPath "." -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ASN1 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\Lib" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Yu"stdafx.h" /FD /c -# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /I "." /D "NDEBUG" /D "_LIB" /D "__WIN32__" /D "WIN32" /D "_MBCS" /D "ASN1_HAS_IOSTREAM" /D "ASN1_STATIC" /Yc"asn1.h" /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"..\Lib\asn1s.lib" - -!ELSEIF "$(CFG)" == "ASN1 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Yu"stdafx.h" /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /GR /GX /ZI /Od /I "." /I "../asn1" /I "../asnh323/cxx" /D "_DEBUG" /D "_LIB" /D "__WIN32__" /D "WIN32" /D "_MBCS" /D "ASN1_HAS_IOSTREAM" /D "ASN1_STATIC" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"..\Lib\asn1sd.lib" - -!ENDIF - -# Begin Target - -# Name "ASN1 - Win32 Release" -# Name "ASN1 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\asn1.cxx -# ADD CPP /YX -# End Source File -# Begin Source File - -SOURCE=.\AVNDecoder.cxx -# ADD CPP /YX -# End Source File -# Begin Source File - -SOURCE=.\AVNEncoder.cxx -# ADD CPP /YX -# End Source File -# Begin Source File - -SOURCE=.\BERDecoder.cxx -# ADD CPP /YX -# End Source File -# Begin Source File - -SOURCE=.\BEREnCoder.cxx -# ADD CPP /YX -# End Source File -# Begin Source File - -SOURCE=.\CoderEnv.cxx - -!IF "$(CFG)" == "ASN1 - Win32 Release" - -!ELSEIF "$(CFG)" == "ASN1 - Win32 Debug" - -# ADD CPP /Yc"asn1.h" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\InvalidTracer.cxx - -!IF "$(CFG)" == "ASN1 - Win32 Release" - -# ADD CPP /YX - -!ELSEIF "$(CFG)" == "ASN1 - Win32 Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\PERDecoder.cxx -# ADD CPP /YX -# End Source File -# Begin Source File - -SOURCE=.\PEREnCoder.cxx -# ADD CPP /YX -# End Source File -# Begin Source File - -SOURCE=.\ValidChecker.cxx -# ADD CPP /YX -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\asn1.h -# End Source File -# Begin Source File - -SOURCE=.\AssocVector.h -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.h -# End Source File -# End Group -# Begin Source File - -SOURCE=.\Readme.txt -# End Source File -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="ASN1" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ASN1 - Win32 Release +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ASN1.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ASN1.mak" CFG="ASN1 - Win32 Release" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ASN1 - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ASN1 - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName ""$/ITGv4/ASN1", CAAAAAAA" +# PROP Scc_LocalPath "." +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ASN1 - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "..\Lib" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Yu"stdafx.h" /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /I "." /D "NDEBUG" /D "_LIB" /D "__WIN32__" /D "WIN32" /D "_MBCS" /D "ASN1_HAS_IOSTREAM" /D "ASN1_STATIC" /Yc"asn1.h" /FD /c +# ADD BASE RSC /l 0x404 /d "NDEBUG" +# ADD RSC /l 0x404 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\Lib\asn1s.lib" + +!ELSEIF "$(CFG)" == "ASN1 - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Yu"stdafx.h" /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /GR /GX /ZI /Od /I "." /I "../asn1" /I "../asnh323/cxx" /D "_DEBUG" /D "_LIB" /D "__WIN32__" /D "WIN32" /D "_MBCS" /D "ASN1_HAS_IOSTREAM" /D "ASN1_STATIC" /YX /FD /GZ /c +# ADD BASE RSC /l 0x404 /d "_DEBUG" +# ADD RSC /l 0x404 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\Lib\asn1sd.lib" + +!ENDIF + +# Begin Target + +# Name "ASN1 - Win32 Release" +# Name "ASN1 - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=.\asn1.cxx +# ADD CPP /YX +# End Source File +# Begin Source File + +SOURCE=.\AVNDecoder.cxx +# ADD CPP /YX +# End Source File +# Begin Source File + +SOURCE=.\AVNEncoder.cxx +# ADD CPP /YX +# End Source File +# Begin Source File + +SOURCE=.\BERDecoder.cxx +# ADD CPP /YX +# End Source File +# Begin Source File + +SOURCE=.\BEREnCoder.cxx +# ADD CPP /YX +# End Source File +# Begin Source File + +SOURCE=.\CoderEnv.cxx + +!IF "$(CFG)" == "ASN1 - Win32 Release" + +!ELSEIF "$(CFG)" == "ASN1 - Win32 Debug" + +# ADD CPP /Yc"asn1.h" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\InvalidTracer.cxx + +!IF "$(CFG)" == "ASN1 - Win32 Release" + +# ADD CPP /YX + +!ELSEIF "$(CFG)" == "ASN1 - Win32 Debug" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\PERDecoder.cxx +# ADD CPP /YX +# End Source File +# Begin Source File + +SOURCE=.\PEREnCoder.cxx +# ADD CPP /YX +# End Source File +# Begin Source File + +SOURCE=.\ValidChecker.cxx +# ADD CPP /YX +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=.\asn1.h +# End Source File +# Begin Source File + +SOURCE=.\AssocVector.h +# End Source File +# Begin Source File + +SOURCE=.\StdAfx.h +# End Source File +# End Group +# Begin Source File + +SOURCE=.\Readme.txt +# End Source File +# End Target +# End Project diff --git a/asn1/ASN1dll-x32-vs120.vcxproj b/asn1/ASN1dll-x32-vs120.vcxproj new file mode 100644 index 0000000..d2fc6cc --- /dev/null +++ b/asn1/ASN1dll-x32-vs120.vcxproj @@ -0,0 +1,130 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {6AA1BC61-0F68-4D2D-BD3E-AEC4E2F2DB8E} + Win32Proj + ASN1dll + + + + DynamicLibrary + v120 + MultiByte + + + DynamicLibrary + v120 + MultiByte + + + + + + + + + + + + + + + <_ProjectFileVersion>11.0.50727.1 + + + ../lib\ + Debug\ + true + $(ProjectName)d + + + ../lib\ + Release\ + false + $(ProjectName) + + + + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;ASN1_DLL_EXPORTS;ASN1_DLL;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level3 + EditAndContinue + + + ../lib/$(TargetFileName) + $(TargetName).def + true + $(OutDir)$(TargetName).pdb + Windows + + + MachineX86 + ../lib;%(AdditionalLibraryDirectories) + ASN1rtsd.lib;%(AdditionalDependencies) + + + + + MaxSpeed + OnlyExplicitInline + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;ASN1_DLL_EXPORTS;ASN1_DLL;%(PreprocessorDefinitions) + true + MultiThreadedDLL + true + + Level3 + ProgramDatabase + + + ../Lib/$(TargetName).dll + $(TargetName).def + true + $(OutDir)$(TargetName).pdb + Windows + true + true + MachineX86 + + + + + ..\Lib\makedefd -l ..\Lib\ASN1rtsd.lib ASN1rtsd.def + ..\lib\ASN1rtsd.lib;..\lib\makedefd.exe;%(AdditionalInputs) + ASN1rtsd.def;%(Outputs) + ..\Lib\makedef -l ..\Lib\asn1s.lib asn1.def + ..\lib\asn1s.def;..\lib\makedef.exe;%(AdditionalInputs) + asn1.def;%(Outputs) + + + + + + + + {fa18351a-6e6c-4033-aeb5-fdc8e5bc4b20} + false + + + {cc4dce75-9957-4642-a86b-ea14dbcebf54} + false + + + + + + \ No newline at end of file diff --git a/asn1/ASN1dll-x32-vs120.vcxproj.filters b/asn1/ASN1dll-x32-vs120.vcxproj.filters new file mode 100644 index 0000000..ba91c8f --- /dev/null +++ b/asn1/ASN1dll-x32-vs120.vcxproj.filters @@ -0,0 +1,27 @@ + + + + + {88508214-299d-47b4-b04c-be2d039d9d27} + cpp;c;cxx;def;odl;idl;hpj;bat;asm + + + {08f5c61a-819d-4170-8629-fa0e078d294c} + h;hpp;hxx;hm;inl;inc + + + {6fd8872c-fa76-481f-8c06-ac477632b9f2} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe + + + + + Source Files + + + + + Source Files + + + \ No newline at end of file diff --git a/asn1/ASN1rts-x32-vs120.vcxproj b/asn1/ASN1rts-x32-vs120.vcxproj new file mode 100644 index 0000000..59a8e35 --- /dev/null +++ b/asn1/ASN1rts-x32-vs120.vcxproj @@ -0,0 +1,187 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {CC4DCE75-9957-4642-A86B-EA14DBCEBF54} + ASN1rts + + + + StaticLibrary + v120 + false + MultiByte + + + DynamicLibrary + v120 + false + MultiByte + + + + + + + + + + + + + + + <_ProjectFileVersion>11.0.50727.1 + + + Debug\ + .\Debug\ + $(ProjectName)d + + + $(SolutionDir)$(Configuration)\ + .\Release\ + + + + Disabled + .;../asn1;%(AdditionalIncludeDirectories) + _DEBUG;_CONSOLE;__WIN32__;WIN32;_USRDLL;ASN1_EXPORTS;ASN1_DLL;ASN1_HAS_IOSTREAM;ASN1_ALLOCATOR;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + true + + .\Debug/$(TargetName).pch + .\Debug/ + .\Debug/ + .\Debug/ + Level3 + true + EditAndContinue + Default + + + _DEBUG;%(PreprocessorDefinitions) + 0x0404 + + + ../lib/$(TargetFileName) + true + + + ../lib/$(TargetName)$(TargetExt) + + + ../lib/$(TargetName).pdb + + + ../lib/$(TargetName).pgd + + + ../lib/$(TargetName).lib + + + + + OnlyExplicitInline + .;%(AdditionalIncludeDirectories) + NDEBUG;_CONSOLE;__WIN32__;WIN32;ASN1_HAS_IOSTREAM;ASN1_ALLOCATOR;%(PreprocessorDefinitions) + true + MultiThreadedDLL + true + true + Create + asn1.h + .\Release/ASN1.pch + .\Release/ + .\Release/ + .\Release/ + Level3 + true + ProgramDatabase + Default + + + NDEBUG;%(PreprocessorDefinitions) + 0x0404 + + + .\..\Lib\asn1s.lib + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Create + asn1.h + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/asn1/ASN1rts-x32-vs120.vcxproj.filters b/asn1/ASN1rts-x32-vs120.vcxproj.filters new file mode 100644 index 0000000..f71a994 --- /dev/null +++ b/asn1/ASN1rts-x32-vs120.vcxproj.filters @@ -0,0 +1,83 @@ + + + + + {789678e2-db9a-4999-850f-6765bf41ad7e} + cpp;c;cxx;rc;def;r;odl;idl;hpj;bat + + + {f1f17f04-2803-4893-8316-a0ee229de2b3} + h;hpp;hxx;hm;inl + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + \ No newline at end of file diff --git a/asn1/AssocVector.h b/asn1/AssocVector.h index 51cfe87..04f2171 100644 --- a/asn1/AssocVector.h +++ b/asn1/AssocVector.h @@ -188,10 +188,10 @@ namespace ASN1 iterator insert(iterator pos, const value_type& val) { - if (pos != end() && operator()(*pos, val) && + if (pos != end() && this->operator()(*pos, val) && (pos == end() - 1 || - !operator()(val, pos[1]) && - operator()(pos[1], val))) + !this->operator()(val, pos[1]) && + this->operator()(pos[1], val))) { return Base::insert(pos, val); } @@ -242,7 +242,7 @@ namespace ASN1 iterator find(const key_type& k) { iterator i(lower_bound(k)); - if (i != end() && operator()(k, i->first)) + if (i != end() && this->operator()(k, i->first)) { i = end(); } @@ -252,7 +252,7 @@ namespace ASN1 const_iterator find(const key_type& k) const { const_iterator i(lower_bound(k)); - if (i != end() && operator()(k, i->first)) + if (i != end() && this->operator()(k, i->first)) { i = end(); } diff --git a/asn1/CVS/Entries b/asn1/CVS/Entries deleted file mode 100644 index dc365e5..0000000 --- a/asn1/CVS/Entries +++ /dev/null @@ -1,26 +0,0 @@ -/ASN1.dsp/1.4/Wed Aug 21 03:41:16 2002/-kb/ -/ASN1.vcproj/1.3/Fri Dec 2 03:47:00 2005// -/AVNDecoder.cxx/1.5/Tue Aug 9 18:12:43 2011// -/AVNEncoder.cxx/1.7/Tue Aug 9 18:12:43 2011// -/AssocVector.h/1.4/Tue Aug 9 18:12:43 2011// -/BERDecoder.cxx/1.18/Tue Aug 9 18:12:43 2011// -/BEREncoder.cxx/1.6/Tue Aug 9 18:12:43 2011// -/CoderEnv.cxx/1.3/Tue Aug 9 18:12:43 2011// -/InvalidTracer.cxx/1.4/Tue Aug 9 18:12:43 2011// -/Makefile.am/1.5/Tue Aug 9 18:12:43 2011// -/Makefile.in/1.8/Tue Aug 9 18:12:43 2011// -/PERDecoder.cxx/1.14/Tue Aug 9 18:12:43 2011// -/PEREncoder.cxx/1.10/Tue Aug 9 18:12:43 2011// -/ValidChecker.cxx/1.10/Tue Aug 9 18:12:43 2011// -/asn1.cxx/1.17/Tue Aug 9 18:12:43 2011// -/asn1.dtf/1.1/Tue Aug 20 22:35:54 2002// -/asn1.h/1.45/Tue Aug 9 18:12:43 2011// -/asn1.ignore/1.1/Tue Aug 20 22:35:54 2002// -/asn1_dll.dsp/1.4/Fri Dec 2 03:47:00 2005/-kb/ -/asn1_dll.vcproj/1.2/Fri Dec 2 03:47:00 2005// -/asn1_useful.cxx/1.2/Tue Aug 9 18:12:43 2011// -/asn1_useful.h/1.2/Tue Aug 9 18:12:43 2011// -/dllmain.cxx/1.1/Wed Aug 21 04:55:09 2002// -/ios_helper.cxx/1.1/Tue Aug 9 18:12:43 2011// -/ios_helper.h/1.3/Tue Aug 9 18:12:43 2011// -D diff --git a/asn1/CVS/Entries.Log b/asn1/CVS/Entries.Log deleted file mode 100644 index 067395b..0000000 --- a/asn1/CVS/Entries.Log +++ /dev/null @@ -1 +0,0 @@ -A D/testsuite//// diff --git a/asn1/CVS/Repository b/asn1/CVS/Repository deleted file mode 100644 index a7c45fa..0000000 --- a/asn1/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -iiiasn1/asn1 diff --git a/asn1/CVS/Root b/asn1/CVS/Root deleted file mode 100644 index 5edb607..0000000 --- a/asn1/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@iiiasn1.cvs.sourceforge.net:/cvsroot/iiiasn1 diff --git a/asn1/InvalidTracer.cxx b/asn1/InvalidTracer.cxx index 118a7fe..c1d5255 100644 --- a/asn1/InvalidTracer.cxx +++ b/asn1/InvalidTracer.cxx @@ -34,7 +34,7 @@ namespace ASN1 { /** - * The InvalidTracer class defines the opertions to find the first component of a constructed + * The InvalidTracer class defines the operations to find the first component of a constructed * ASN1::AbstactData object which doesn't meet its own constraint. * * @see trace_invalid() diff --git a/asn1/Makefile.am b/asn1/Makefile.am index d3588f1..7cffc3f 100644 --- a/asn1/Makefile.am +++ b/asn1/Makefile.am @@ -22,23 +22,22 @@ # enable make dist-zip -AUTOMAKE_OPTIONS = dist-zip - +AUTOMAKE_OPTIONS = dist-zip EXTRA_DIST = ASN1.dsp ASN1.vcproj asn1_dll.dsp asn1_dll.vcproj dllmain.cxx asn1.dtf -INCLUDES = @PIPEFLAG@ @DEBUGFLAG@ +AM_CPPFLAGS = @PIPEFLAG@ @DEBUGFLAG@ # specify the header files that should be installed -include_HEADERS = asn1.h AssocVector.h +include_HEADERS = asn1.h AssocVector.h Platform.h Platform_POSIX.h Platform_WIN32.h asn1_useful.h #specify the header files used only when building the library -noinst_HEADERS = ios_helper.h +noinst_HEADERS = ios_helper.h # specify the name of the library -lib_LIBRARIES = libasn1.a +lib_LIBRARIES = libasn1.a # specify the source files of the library -libasn1_a_SOURCES = asn1.cxx BEREncoder.cxx BERDecoder.cxx PEREncoder.cxx PERDecoder.cxx AVNEncoder.cxx AVNDecoder.cxx ValidChecker.cxx CoderEnv.cxx InvalidTracer.cxx ios_helper.cxx +libasn1_a_SOURCES = asn1.cxx BEREncoder.cxx BERDecoder.cxx PEREncoder.cxx PERDecoder.cxx AVNEncoder.cxx AVNDecoder.cxx ValidChecker.cxx CoderEnv.cxx InvalidTracer.cxx ios_helper.cxx SUBDIRS = . testsuite diff --git a/asn1/Makefile.in b/asn1/Makefile.in deleted file mode 100644 index 1c7bc85..0000000 --- a/asn1/Makefile.in +++ /dev/null @@ -1,737 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# -# Copyright (c) 2001 Institute for Information Industry, Taiwan, Republic of China -# Written by mangelo@users.sourceforge.net -# -# This file is part of III ASN.1 Tool. -# -# The contents of this file are subject to the Mozilla Public License -# Version 1.0 (the "License"); you may not use this file except in -# compliance with the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" -# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -# the License for the specific language governing rights and limitations -# under the License. -# -# III ASN.1 Tool is the ASN.1 to C++ compiler and C++ run time library -# for encoding and decoding ASN.1 types. -# For details, see the III ASN.1 Tool World-Wide-Web page, -# `http://iiiasn1.sourceforge.net'. -# - -# enable make dist-zip - - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -subdir = asn1 -DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) \ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = \ - $(top_srcdir)/config/ac_cxx_have_new_iostream.m4 \ - $(top_srcdir)/config/ac_cxx_have_stl.m4 \ - $(top_srcdir)/config/ac_cxx_have_wstring.m4 \ - $(top_srcdir)/config/ac_cxx_namespaces.m4 \ - $(top_srcdir)/config/acx_pthread.m4 \ - $(top_srcdir)/config/iii_check_stlport.m4 \ - $(top_srcdir)/config/iii_cross_tools.m4 \ - $(top_srcdir)/config/iii_enable_stl_thread.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" -LIBRARIES = $(lib_LIBRARIES) -AR = ar -ARFLAGS = cru -libasn1_a_AR = $(AR) $(ARFLAGS) -libasn1_a_LIBADD = -am_libasn1_a_OBJECTS = asn1.$(OBJEXT) BEREncoder.$(OBJEXT) \ - BERDecoder.$(OBJEXT) PEREncoder.$(OBJEXT) PERDecoder.$(OBJEXT) \ - AVNEncoder.$(OBJEXT) AVNDecoder.$(OBJEXT) \ - ValidChecker.$(OBJEXT) CoderEnv.$(OBJEXT) \ - InvalidTracer.$(OBJEXT) ios_helper.$(OBJEXT) -libasn1_a_OBJECTS = $(am_libasn1_a_OBJECTS) -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/config/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ - -o $@ -SOURCES = $(libasn1_a_SOURCES) -DIST_SOURCES = $(libasn1_a_SOURCES) -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -HEADERS = $(include_HEADERS) $(noinst_HEADERS) -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ - distdir -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -am__relativize = \ - dir0=`pwd`; \ - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ - sed_rest='s,^[^/]*/*,,'; \ - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ - sed_butlast='s,/*[^/]*$$,,'; \ - while test -n "$$dir1"; do \ - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ - if test "$$first" != "."; then \ - if test "$$first" = ".."; then \ - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ - else \ - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ - if test "$$first2" = "$$first"; then \ - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ - else \ - dir2="../$$dir2"; \ - fi; \ - dir0="$$dir0"/"$$first"; \ - fi; \ - fi; \ - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ - done; \ - reldir="$$dir2" -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -ASNPARSER = @ASNPARSER@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEBUGFLAG = @DEBUGFLAG@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBSTL = @LIBSTL@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PIPEFLAG = @PIPEFLAG@ -PTHREAD_CC = @PTHREAD_CC@ -PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ -PTHREAD_LIBS = @PTHREAD_LIBS@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -asnh323dir = @asnh323dir@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -AUTOMAKE_OPTIONS = dist-zip -EXTRA_DIST = ASN1.dsp ASN1.vcproj asn1_dll.dsp asn1_dll.vcproj dllmain.cxx asn1.dtf -INCLUDES = @PIPEFLAG@ @DEBUGFLAG@ - -# specify the header files that should be installed -include_HEADERS = asn1.h AssocVector.h - -#specify the header files used only when building the library -noinst_HEADERS = ios_helper.h - -# specify the name of the library -lib_LIBRARIES = libasn1.a - -# specify the source files of the library -libasn1_a_SOURCES = asn1.cxx BEREncoder.cxx BERDecoder.cxx PEREncoder.cxx PERDecoder.cxx AVNEncoder.cxx AVNDecoder.cxx ValidChecker.cxx CoderEnv.cxx InvalidTracer.cxx ios_helper.cxx -SUBDIRS = . testsuite -all: all-recursive - -.SUFFIXES: -.SUFFIXES: .cxx .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu asn1/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu asn1/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-libLIBRARIES: $(lib_LIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" - @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \ - list2=; for p in $$list; do \ - if test -f $$p; then \ - list2="$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(INSTALL_DATA) $$list2 '$(DESTDIR)$(libdir)'"; \ - $(INSTALL_DATA) $$list2 "$(DESTDIR)$(libdir)" || exit $$?; } - @$(POST_INSTALL) - @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \ - for p in $$list; do \ - if test -f $$p; then \ - $(am__strip_dir) \ - echo " ( cd '$(DESTDIR)$(libdir)' && $(RANLIB) $$f )"; \ - ( cd "$(DESTDIR)$(libdir)" && $(RANLIB) $$f ) || exit $$?; \ - else :; fi; \ - done - -uninstall-libLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(libdir)' && rm -f "$$files" )"; \ - cd "$(DESTDIR)$(libdir)" && rm -f $$files - -clean-libLIBRARIES: - -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES) -libasn1.a: $(libasn1_a_OBJECTS) $(libasn1_a_DEPENDENCIES) - -rm -f libasn1.a - $(libasn1_a_AR) libasn1.a $(libasn1_a_OBJECTS) $(libasn1_a_LIBADD) - $(RANLIB) libasn1.a - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AVNDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AVNEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BERDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BEREncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CoderEnv.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/InvalidTracer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PERDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PEREncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ValidChecker.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/asn1.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ios_helper.Po@am__quote@ - -.cxx.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cxx.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` -install-includeHEADERS: $(include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" - @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ - $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ - done - -uninstall-includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(includedir)" && rm -f $$files - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -$(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ - $(am__relativize); \ - new_distdir=$$reldir; \ - dir1=$$subdir; dir2="$(top_distdir)"; \ - $(am__relativize); \ - new_top_distdir=$$reldir; \ - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ - ($(am__cd) $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$new_top_distdir" \ - distdir="$$new_distdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - am__skip_mode_fix=: \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile $(LIBRARIES) $(HEADERS) -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libLIBRARIES mostlyclean-am - -distclean: distclean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -html-am: - -info: info-recursive - -info-am: - -install-data-am: install-includeHEADERS - -install-dvi: install-dvi-recursive - -install-dvi-am: - -install-exec-am: install-libLIBRARIES - -install-html: install-html-recursive - -install-html-am: - -install-info: install-info-recursive - -install-info-am: - -install-man: - -install-pdf: install-pdf-recursive - -install-pdf-am: - -install-ps: install-ps-recursive - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-compile mostlyclean-generic - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-includeHEADERS uninstall-libLIBRARIES - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ - install-am install-strip tags-recursive - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic \ - clean-libLIBRARIES ctags ctags-recursive distclean \ - distclean-compile distclean-generic distclean-tags distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-includeHEADERS install-info install-info-am \ - install-libLIBRARIES install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \ - uninstall uninstall-am uninstall-includeHEADERS \ - uninstall-libLIBRARIES - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/asn1/PEREncoder.cxx b/asn1/PEREncoder.cxx index 4abd1ae..add11bb 100644 --- a/asn1/PEREncoder.cxx +++ b/asn1/PEREncoder.cxx @@ -44,7 +44,7 @@ namespace ASN1 { -extern unsigned CountBits(UINT_TYPE range); +unsigned CountBits(UINT_TYPE range); void PEREncoder::encodeBitMap(const ASN1_STD vector& bitData, unsigned nBits) { diff --git a/asn1/Platform.h b/asn1/Platform.h new file mode 100644 index 0000000..1456e28 --- /dev/null +++ b/asn1/Platform.h @@ -0,0 +1,239 @@ +// +// Platform.h +// +// $Id$ +// +// Library: ASN1 +// Package: Core +// Module: Platform +// +// Platform and architecture identification macros. +// +// NOTE: This file may be included from both C++ and C code, so it +// must not contain any C++ specific things. +// +// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. +// and Contributors. +// +// Permission is hereby granted, free of charge, to any person or organization +// obtaining a copy of the software and accompanying documentation covered by +// this license (the "Software") to use, reproduce, display, distribute, +// execute, and transmit the Software, and to prepare derivative works of the +// Software, and to permit third-parties to whom the Software is furnished to +// do so, all subject to the following: +// +// The copyright notices in the Software and this entire statement, including +// the above license grant, this restriction and the following disclaimer, +// must be included in all copies of the Software, in whole or in part, and +// all derivative works of the Software, unless such copies or derivative +// works are solely in the form of machine-executable object code generated by +// a source language processor. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +// SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +// FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +// + + +#ifndef ASN1_Platform_INCLUDED +#define ASN1_Platform_INCLUDED + + +// +// Platform Identification +// +#define ASN1_OS_FREE_BSD 0x0001 +#define ASN1_OS_AIX 0x0002 +#define ASN1_OS_HPUX 0x0003 +#define ASN1_OS_TRU64 0x0004 +#define ASN1_OS_LINUX 0x0005 +#define ASN1_OS_MAC_OS_X 0x0006 +#define ASN1_OS_NET_BSD 0x0007 +#define ASN1_OS_OPEN_BSD 0x0008 +#define ASN1_OS_IRIX 0x0009 +#define ASN1_OS_SOLARIS 0x000a +#define ASN1_OS_QNX 0x000b +#define ASN1_OS_VXWORKS 0x000c +#define ASN1_OS_CYGWIN 0x000d +#define ASN1_OS_UNKNOWN_UNIX 0x00ff +#define ASN1_OS_WINDOWS_NT 0x1001 +#define ASN1_OS_WINDOWS_CE 0x1011 +#define ASN1_OS_VMS 0x2001 + + +#if defined(__FreeBSD__) + #define ASN1_OS_FAMILY_UNIX 1 + #define ASN1_OS_FAMILY_BSD 1 + #define ASN1_OS ASN1_OS_FREE_BSD +#elif defined(_AIX) || defined(__TOS_AIX__) + #define ASN1_OS_FAMILY_UNIX 1 + #define ASN1_OS ASN1_OS_AIX +#elif defined(hpux) || defined(_hpux) + #define ASN1_OS_FAMILY_UNIX 1 + #define ASN1_OS ASN1_OS_HPUX +#elif defined(__digital__) || defined(__osf__) + #define ASN1_OS_FAMILY_UNIX 1 + #define ASN1_OS ASN1_OS_TRU64 +#elif defined(linux) || defined(__linux) || defined(__linux__) || defined(__TOS_LINUX__) + #define ASN1_OS_FAMILY_UNIX 1 + #define ASN1_OS ASN1_OS_LINUX +#elif defined(__APPLE__) || defined(__TOS_MACOS__) + #define ASN1_OS_FAMILY_UNIX 1 + #define ASN1_OS_FAMILY_BSD 1 + #define ASN1_OS ASN1_OS_MAC_OS_X +#elif defined(__NetBSD__) + #define ASN1_OS_FAMILY_UNIX 1 + #define ASN1_OS_FAMILY_BSD 1 + #define ASN1_OS ASN1_OS_NET_BSD +#elif defined(__OpenBSD__) + #define ASN1_OS_FAMILY_UNIX 1 + #define ASN1_OS_FAMILY_BSD 1 + #define ASN1_OS ASN1_OS_OPEN_BSD +#elif defined(sgi) || defined(__sgi) + #define ASN1_OS_FAMILY_UNIX 1 + #define ASN1_OS ASN1_OS_IRIX +#elif defined(sun) || defined(__sun) + #define ASN1_OS_FAMILY_UNIX 1 + #define ASN1_OS ASN1_OS_SOLARIS +#elif defined(__QNX__) + #define ASN1_OS_FAMILY_UNIX 1 + #define ASN1_OS ASN1_OS_QNX +#elif defined(__CYGWIN__) + #define ASN1_OS_FAMILY_UNIX 1 + #define ASN1_OS ASN1_OS_CYGWIN +#elif defined(unix) || defined(__unix) || defined(__unix__) + #define ASN1_OS_FAMILY_UNIX 1 + #define ASN1_OS ASN1_OS_UNKNOWN_UNIX +#elif defined(_WIN32_WCE) + #define ASN1_OS_FAMILY_WINDOWS 1 + #define ASN1_OS ASN1_OS_WINDOWS_CE +#elif defined(_WIN32) || defined(_WIN64) + #define ASN1_OS_FAMILY_WINDOWS 1 + #define ASN1_OS ASN1_OS_WINDOWS_NT +#elif defined(__VMS) + #define ASN1_OS_FAMILY_VMS 1 + #define ASN1_OS ASN1_OS_VMS +#elif defined(ASN1_VXWORKS) + #define ASN1_OS_FAMILY_UNIX 1 + #define ASN1_OS ASN1_OS_VXWORKS +#endif + + +#if !defined(ASN1_OS) + #error "Unknown Platform." +#endif + + +// +// Hardware Architecture and Byte Order +// +#define ASN1_ARCH_ALPHA 0x01 +#define ASN1_ARCH_IA32 0x02 +#define ASN1_ARCH_IA64 0x03 +#define ASN1_ARCH_MIPS 0x04 +#define ASN1_ARCH_HPPA 0x05 +#define ASN1_ARCH_PPC 0x06 +#define ASN1_ARCH_POWER 0x07 +#define ASN1_ARCH_SPARC 0x08 +#define ASN1_ARCH_AMD64 0x09 +#define ASN1_ARCH_ARM 0x0a +#define ASN1_ARCH_M68K 0x0b +#define ASN1_ARCH_S390 0x0c +#define ASN1_ARCH_SH 0x0d +#define ASN1_ARCH_NIOS2 0x0e +#define ASN1_ARCH_ARM64 0x0f + + +#if defined(__ALPHA) || defined(__alpha) || defined(__alpha__) || defined(_M_ALPHA) + #define ASN1_ARCH ASN1_ARCH_ALPHA + #define ASN1_ARCH_LITTLE_ENDIAN 1 +#elif defined(i386) || defined(__i386) || defined(__i386__) || defined(_M_IX86) + #define ASN1_ARCH ASN1_ARCH_IA32 + #define ASN1_ARCH_LITTLE_ENDIAN 1 +#elif defined(_IA64) || defined(__IA64__) || defined(__ia64__) || defined(__ia64) || defined(_M_IA64) + #define ASN1_ARCH ASN1_ARCH_IA64 + #if defined(hpux) || defined(_hpux) + #define ASN1_ARCH_BIG_ENDIAN 1 + #else + #define ASN1_ARCH_LITTLE_ENDIAN 1 + #endif +#elif defined(__x86_64__) || defined(_M_X64) + #define ASN1_ARCH ASN1_ARCH_AMD64 + #define ASN1_ARCH_LITTLE_ENDIAN 1 +#elif defined(__mips__) || defined(__mips) || defined(__MIPS__) || defined(_M_MRX000) + #define ASN1_ARCH ASN1_ARCH_MIPS + #define ASN1_ARCH_BIG_ENDIAN 1 +#elif defined(__hppa) || defined(__hppa__) + #define ASN1_ARCH ASN1_ARCH_HPPA + #define ASN1_ARCH_BIG_ENDIAN 1 +#elif defined(__PPC) || defined(__POWERPC__) || defined(__powerpc) || defined(__PPC__) || \ + defined(__powerpc__) || defined(__ppc__) || defined(__ppc) || defined(_ARCH_PPC) || defined(_M_PPC) + #define ASN1_ARCH ASN1_ARCH_PPC + #define ASN1_ARCH_BIG_ENDIAN 1 +#elif defined(_POWER) || defined(_ARCH_PWR) || defined(_ARCH_PWR2) || defined(_ARCH_PWR3) || \ + defined(_ARCH_PWR4) || defined(__THW_RS6000) + #define ASN1_ARCH ASN1_ARCH_POWER + #define ASN1_ARCH_BIG_ENDIAN 1 +#elif defined(__sparc__) || defined(__sparc) || defined(sparc) + #define ASN1_ARCH ASN1_ARCH_SPARC + #define ASN1_ARCH_BIG_ENDIAN 1 +#elif defined(__arm__) || defined(__arm) || defined(ARM) || defined(_ARM_) || defined(__ARM__) || defined(_M_ARM) + #define ASN1_ARCH ASN1_ARCH_ARM + #if defined(__ARMEB__) + #define ASN1_ARCH_BIG_ENDIAN 1 + #else + #define ASN1_ARCH_LITTLE_ENDIAN 1 + #endif +#elif defined(__arm64__) || defined(__arm64) + #define ASN1_ARCH ASN1_ARCH_ARM64 + #if defined(__ARMEB__) + #define ASN1_ARCH_BIG_ENDIAN 1 + #elif defined(__BYTE_ORDER__) && defined(__ORDER_BIG_ENDIAN__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ + #define ASN1_ARCH_BIG_ENDIAN 1 + #else + #define ASN1_ARCH_LITTLE_ENDIAN 1 + #endif +#elif defined(__m68k__) + #define ASN1_ARCH ASN1_ARCH_M68K + #define ASN1_ARCH_BIG_ENDIAN 1 +#elif defined(__s390__) + #define ASN1_ARCH ASN1_ARCH_S390 + #define ASN1_ARCH_BIG_ENDIAN 1 +#elif defined(__sh__) || defined(__sh) || defined(SHx) || defined(_SHX_) + #define ASN1_ARCH ASN1_ARCH_SH + #if defined(__LITTLE_ENDIAN__) || (ASN1_OS == ASN1_OS_WINDOWS_CE) + #define ASN1_ARCH_LITTLE_ENDIAN 1 + #else + #define ASN1_ARCH_BIG_ENDIAN 1 + #endif +#elif defined (nios2) || defined(__nios2) || defined(__nios2__) + #define ASN1_ARCH ASN1_ARCH_NIOS2 + #if defined(__nios2_little_endian) || defined(nios2_little_endian) || defined(__nios2_little_endian__) + #define ASN1_ARCH_LITTLE_ENDIAN 1 + #else + #define ASN1_ARCH_BIG_ENDIAN 1 + #endif + +#endif + + +#if !defined(ASN1_ARCH) + #error "Unknown Hardware Architecture." +#endif + + +// +// Thread-safety of local static initialization +// +#if __cplusplus >= 201103L || __GNUC__ >= 4 || defined(__clang__) +#ifndef ASN1_LOCAL_STATIC_INIT_IS_THREADSAFE +#define ASN1_LOCAL_STATIC_INIT_IS_THREADSAFE 1 +#endif +#endif + + +#endif diff --git a/asn1/Platform_POSIX.h b/asn1/Platform_POSIX.h new file mode 100644 index 0000000..44841e9 --- /dev/null +++ b/asn1/Platform_POSIX.h @@ -0,0 +1,100 @@ +// +// Platform_POSIX.h +// +// $Id: //poco/1.4/Foundation/include/Poco/Platform_POSIX.h#1 $ +// +// Library: Foundation +// Package: Core +// Module: Platform +// +// Platform and architecture identification macros +// and platform-specific definitions for various POSIX platforms +// +// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. +// and Contributors. +// +// SPDX-License-Identifier: BSL-1.0 +// + + +#ifndef Foundation_Platform_POSIX_INCLUDED +#define Foundation_Platform_POSIX_INCLUDED + + +// +// PA-RISC based HP-UX platforms have some issues... +// +#if defined(hpux) || defined(_hpux) + #if defined(__hppa) || defined(__hppa__) + #define POCO_NO_SYS_SELECT_H 1 + #if defined(__HP_aCC) + #define POCO_NO_TEMPLATE_ICOMPARE 1 + #endif + #endif +#endif + + +// +// Thread-safety of local static initialization +// +#if __cplusplus >= 201103L || __GNUC__ >= 4 || defined(__clang__) + #ifndef POCO_LOCAL_STATIC_INIT_IS_THREADSAFE + #define POCO_LOCAL_STATIC_INIT_IS_THREADSAFE 1 + #endif +#endif + + +#ifdef __GNUC__ + #ifndef __THROW + #ifndef __GNUC_PREREQ + #define __GNUC_PREREQ(maj, min) (0) + #endif + #if defined __cplusplus && __GNUC_PREREQ (2,8) + #define __THROW throw () + #else + #define __THROW + #endif + #endif + +// +// GCC diagnostics enable/disable by Patrick Horgan, see +// http://dbp-consulting.com/tutorials/SuppressingGCCWarnings.html +// use example: GCC_DIAG_OFF(unused-variable) +// +#if defined(POCO_COMPILER_GCC) && (((__GNUC__ * 100) + __GNUC_MINOR__) >= 406) + + #ifdef GCC_DIAG_OFF + #undef GCC_DIAG_OFF + #endif + #ifdef GCC_DIAG_ON + #undef GCC_DIAG_ON + #endif + #define GCC_DIAG_STR(s) #s + #define GCC_DIAG_JOINSTR(x,y) GCC_DIAG_STR(x ## y) + #define GCC_DIAG_DO_PRAGMA(x) _Pragma (#x) + #define GCC_DIAG_PRAGMA(x) GCC_DIAG_DO_PRAGMA(GCC diagnostic x) + #if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406 + #define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(push) \ + GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W,x)) + #define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(pop) + #else + #define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W,x)) + #define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(warning GCC_DIAG_JOINSTR(-W,x)) + #endif + #else + #define GCC_DIAG_OFF(x) + #define GCC_DIAG_ON(x) + #endif + +#endif // __GNUC__ + + +// +// No syslog.h on QNX/BB10 +// +#if defined(__QNXNTO__) + #define POCO_NO_SYSLOGCHANNEL +#endif + + +#endif // Foundation_Platform_POSIX_INCLUDED diff --git a/asn1/Platform_WIN32.h b/asn1/Platform_WIN32.h new file mode 100644 index 0000000..d032325 --- /dev/null +++ b/asn1/Platform_WIN32.h @@ -0,0 +1,90 @@ +// +// Platform_WIN32.h +// +// $Id$ +// +// Library: ASN1 +// Package: Core +// Module: Platform +// +// Platform and architecture identification macros +// and platform-specific definitions for Windows. +// +// Copyright (c) 2004-2007, Applied Informatics Software Engineering GmbH. +// and Contributors. +// +// Permission is hereby granted, free of charge, to any person or organization +// obtaining a copy of the software and accompanying documentation covered by +// this license (the "Software") to use, reproduce, display, distribute, +// execute, and transmit the Software, and to prepare derivative works of the +// Software, and to permit third-parties to whom the Software is furnished to +// do so, all subject to the following: +// +// The copyright notices in the Software and this entire statement, including +// the above license grant, this restriction and the following disclaimer, +// must be included in all copies of the Software, in whole or in part, and +// all derivative works of the Software, unless such copies or derivative +// works are solely in the form of machine-executable object code generated by +// a source language processor. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +// SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +// FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +// + + +#ifndef ASN1_Platform_WIN32_INCLUDED +#define ASN1_Platform_WIN32_INCLUDED + +#if defined(_MSC_VER) && (_MSC_VER <= 1200) +#pragma warning(disable: 4786) +#else +#pragma warning(disable: 4251) +#endif + +#if defined(_MSC_VER) && !defined(NDEBUG) && !defined(_CPPRTTI) +#error Please Use /GR compiler option for debug version. In Visual Stdio, check the Enable RTTI box under C++ Language of C/C++ Tab in Project/Settings +#endif + +// Verify that we're built with the multithreaded +// versions of the runtime libraries +#if defined(_MSC_VER) && !defined(_MT) + #error Must compile with /MD, /MDd, /MT or /MTd +#endif + + +// Check debug/release settings consistency +#if defined(NDEBUG) && defined(_DEBUG) + #error Inconsistent build settings (check for /MD[d]) +#endif + + + + +// Turn off some annoying warnings +#if defined(_MSC_VER) + #pragma warning(disable:4018) // signed/unsigned comparison + #pragma warning(disable:4251) // ... needs to have dll-interface warning + #pragma warning(disable:4355) // 'this' : used in base member initializer list + #pragma warning(disable:4996) // VC++ 8.0 deprecation warnings + #pragma warning(disable:4351) // new behavior: elements of array '...' will be default initialized + #pragma warning(disable:4675) // resolved overload was found by argument-dependent lookup + #pragma warning(disable:4275) // non dll-interface class 'std::exception' used as base for dll-interface class 'ASN1::Exception' + #pragma warning(disable:4250) // VC++ 11.0: inheriting from std stream classes produces C4250 warning; + // see + #pragma warning(disable:4554) // v�rifiez la priorit� des op�rateurs comme cause possible d'erreur�; utilisez des parenth�ses pour rendre plus claires les priorit�s +#endif + + +#if defined(__INTEL_COMPILER) + #pragma warning(disable:1738) // base class dllexport/dllimport specification differs from that of the derived class + #pragma warning(disable:1478) // function ... was declared "deprecated" + #pragma warning(disable:1744) // field of class type without a DLL interface used in a class with a DLL interface +#endif + + +#endif // ASN1_Platform_WIN32_INCLUDED diff --git a/asn1/asn1.cxx b/asn1/asn1.cxx index 675a9fb..fdcb158 100644 --- a/asn1/asn1.cxx +++ b/asn1/asn1.cxx @@ -105,7 +105,7 @@ AbstractData::AbstractData(const void* information) //////////////////////////////////////////////////////////// -const Null::InfoType Null::theInfo = { +ASN1_API const Null::InfoType Null::theInfo = { Null::create, UniversalTagClass << 30 | UniversalNull, 0 @@ -140,7 +140,7 @@ INT_TYPE Null::do_compare(const AbstractData& other) const ///////////////////////////////////////////////////////// -const BOOLEAN::InfoType BOOLEAN::theInfo = { +ASN1_API const BOOLEAN::InfoType BOOLEAN::theInfo = { BOOLEAN::create, UniversalTagClass << 30 | UniversalBoolean, 0 @@ -189,7 +189,7 @@ INT_TYPE BOOLEAN::do_compare(const AbstractData& data) const /////////////////////////////////////////////////////////////////////// -const INTEGER::InfoType INTEGER::theInfo = { +ASN1_API const INTEGER::InfoType INTEGER::theInfo = { &INTEGER::create, UniversalTagClass << 30 | UniversalInteger, 0, @@ -316,7 +316,7 @@ AbstractData* ENUMERATED::create(const void* info) /////////////////////////////////////////////////////////////////////// -const OBJECT_IDENTIFIER::InfoType OBJECT_IDENTIFIER::theInfo = { +ASN1_API const OBJECT_IDENTIFIER::InfoType OBJECT_IDENTIFIER::theInfo = { OBJECT_IDENTIFIER::create, UniversalTagClass << 30 | UniversalObjectId, 0 @@ -501,7 +501,7 @@ INT_TYPE OBJECT_IDENTIFIER::do_compare(const AbstractData& other) const /////////////////////////////////////////////////////////////////////// -const BIT_STRING::InfoType BIT_STRING::theInfo = { +ASN1_API const BIT_STRING::InfoType BIT_STRING::theInfo = { BIT_STRING::create, UniversalTagClass << 30 | UniversalBitString, 0, @@ -557,7 +557,7 @@ INT_TYPE BIT_STRING::do_compare(const AbstractData& other) const } /////////////////////////////////////////////////////////////////////// -const OCTET_STRING::InfoType OCTET_STRING::theInfo = { +ASN1_API const OCTET_STRING::InfoType OCTET_STRING::theInfo = { OCTET_STRING::create, UniversalTagClass << 30 | UniversalOctetString, 0, @@ -709,7 +709,7 @@ static const char GeneralStringSet[] = "\360\361\362\363\364\365\366\367" "\370\371\372\373\374\375\376\377"; -const NumericString::InfoType NumericString::theInfo = { +ASN1_API const NumericString::InfoType NumericString::theInfo = { AbstractString::create, UniversalTagClass << 30 | UniversalNumericString, 0, @@ -723,7 +723,7 @@ const NumericString::InfoType NumericString::theInfo = { 4 }; -const PrintableString::InfoType PrintableString::theInfo = { +ASN1_API const PrintableString::InfoType PrintableString::theInfo = { AbstractString::create, UniversalTagClass << 30 | UniversalPrintableString, 0, @@ -737,7 +737,7 @@ const PrintableString::InfoType PrintableString::theInfo = { 8 }; -const VisibleString::InfoType VisibleString::theInfo = { +ASN1_API const VisibleString::InfoType VisibleString::theInfo = { AbstractString::create, UniversalTagClass << 30 | UniversalVisibleString, 0, @@ -751,7 +751,7 @@ const VisibleString::InfoType VisibleString::theInfo = { 8 }; -const IA5String::InfoType IA5String::theInfo = { +ASN1_API const IA5String::InfoType IA5String::theInfo = { AbstractString::create, UniversalTagClass << 30 | UniversalIA5String, 0, @@ -765,7 +765,7 @@ const IA5String::InfoType IA5String::theInfo = { 8 }; -const GraphicString::InfoType GraphicString::theInfo = { +ASN1_API const GraphicString::InfoType GraphicString::theInfo = { AbstractString::create, UniversalTagClass << 30 | UniversalGraphicString, 0, @@ -779,7 +779,7 @@ const GraphicString::InfoType GraphicString::theInfo = { 8 }; -const GeneralString::InfoType GeneralString::theInfo = { +ASN1_API const GeneralString::InfoType GeneralString::theInfo = { AbstractString::create, UniversalTagClass << 30 | UniversalGeneralString, 0, @@ -795,7 +795,7 @@ const GeneralString::InfoType GeneralString::theInfo = { /////////////////////////////////////////////////////////////////////// -const BMPString::InfoType BMPString::theInfo = { +ASN1_API const BMPString::InfoType BMPString::theInfo = { BMPString::create, UniversalTagClass << 30 | UniversalBMPString, 0, @@ -861,7 +861,7 @@ INT_TYPE BMPString::do_compare(const AbstractData& other) const } /////////////////////////////////////////////////////////////////////// -const UTCTime::InfoType UTCTime::theInfo = { +ASN1_API const UTCTime::InfoType UTCTime::theInfo = { UTCTime::create, UniversalTagClass << 30 | UniversalUTCTime, 0 @@ -1079,7 +1079,7 @@ AbstractData* UTCTime::do_clone() const } /////////////////////////////////////////////////////////////////////// -const GeneralizedTime::InfoType GeneralizedTime::theInfo = { +ASN1_API const GeneralizedTime::InfoType GeneralizedTime::theInfo = { GeneralizedTime::create, UniversalTagClass << 30 | UniversalGeneralisedTime, 0 @@ -1620,7 +1620,7 @@ void SEQUENCE_OF_Base::erase(iterator first, iterator last) ////////////////////////////////////////////////////// -const OpenData::InfoType OpenData::theInfo = { +ASN1_API const OpenData::InfoType OpenData::theInfo = { OpenData::create, 0, 0 diff --git a/asn1/asn1.h b/asn1/asn1.h index 9381ba7..97c0f71 100644 --- a/asn1/asn1.h +++ b/asn1/asn1.h @@ -46,14 +46,98 @@ #ifndef _ASN1_H #define _ASN1_H -#if defined(_MSC_VER) && (_MSC_VER <= 1200) -#pragma warning(disable: 4786) +#include "Platform.h" + +#if defined(_WIN32) + #include "Platform_WIN32.h" +#elif defined(__VMS) + #include "Platform_VMS.h" +#elif defined(ALS_VXWORKS) + #include "Platform_VX.h" +#elif defined(ALS_OS_FAMILY_UNIX) + #include "Platform_POSIX.h" #endif -#if defined(_MSC_VER) && !defined(NDEBUG) && !defined(_CPPRTTI) -#error Please Use /GR compiler option for debug version. In Visual Stdio, check the Enable RTTI box under C++ Language of C/C++ Tab in Project/Settings +// Reduce bloat imported by "ASN1/UnWindows.h" +#if defined(_WIN32) + #if !defined(_WIN32_WINNT) + #define _WIN32_WINNT 0x0501 + #endif + #if !defined(WIN32_LEAN_AND_MEAN) && !defined(ASN1_BLOATED_WIN32) + #define WIN32_LEAN_AND_MEAN + #endif #endif + +// Unicode Support +#if defined(UNICODE) && !defined(ASN1_WIN32_UTF8) + #define ASN1_WIN32_UTF8 +#endif + + +// +// Ensure that ASN1_DLL is default unless ASN1_STATIC is defined +// +#if defined(_WIN32) && defined(_DLL) + #if !defined(ASN1_DLL) && !defined(ASN1_STATIC) + #define ASN1_DLL + #endif +#endif + +#if defined(_MSC_VER) + #if defined(ASN1_DLL) + #if defined(_DEBUG) + #define ASN1_LIB_SUFFIX "d.lib" + #else + #define ASN1_LIB_SUFFIX ".lib" + #endif + #elif defined(_DLL) + #if defined(_DEBUG) + #define ASN1_LIB_SUFFIX "mdd.lib" + #else + #define ASN1_LIB_SUFFIX "md.lib" + #endif + #else + #if defined(_DEBUG) + #define ASN1_LIB_SUFFIX "mtd.lib" + #else + #define ASN1_LIB_SUFFIX "mt.lib" + #endif + #endif +#endif + +// +// The following block is the standard way of creating macros which make exporting +// from a DLL simpler. All files within this DLL are compiled with the ASN1_EXPORTS +// symbol defined on the command line. this symbol should not be defined on any project +// that uses this DLL. This way any other project whose source files include this file see +// ASN1_API functions as being imported from a DLL, wheras this DLL sees symbols +// defined with this macro as being exported. +// +#if defined(_WIN32) && defined(ASN1_DLL) + #if defined(ASN1_EXPORTS) + #define ASN1_API __declspec(dllexport) + #else + #define ASN1_API __declspec(dllimport) + #endif +#endif + + +#if !defined(ASN1_API) + #define ASN1_API +#endif + + +// +// Automatically link ASN1 library. +// +#if defined(_MSC_VER) + #if !defined(ASN1_NO_AUTOMATIC_LIBS) && !defined(ASN1_EXPORTS) + #pragma comment(lib, "ASN1rts" ASN1_LIB_SUFFIX) + #endif +#endif + + #ifdef min #undef min #endif @@ -105,11 +189,6 @@ #define UINT_TYPE unsigned int #endif -#if defined(ASN1_DLL) && defined(_MSC_VER) -#define ASN1_EXPORT __declspec(dllimport) -#else -#define ASN1_EXPORT -#endif //---------------------------------------------------------------------------- @@ -143,6 +222,10 @@ namespace std { } #endif +namespace ASN1 { + ASN1_API unsigned CountBits(UINT_TYPE range); +} + #include "AssocVector.h" ///////////////////////////////////////////////////////////////////////////// @@ -217,7 +300,7 @@ namespace ASN1 { // faulty implementation of auto_ptr by M$oft and old DEC CXX template - class asn_ptr : public ASN1_STD auto_ptr + class ASN1_API asn_ptr : public ASN1_STD auto_ptr { typedef ASN1_STD auto_ptr Base; public: @@ -252,7 +335,7 @@ namespace ASN1 { * However all the copy constructors do copy the constraints and tags from the object been copied. * It is the programmer's responsibility to prevent using copy constructor on different types. */ - class AbstractData + class ASN1_API AbstractData { public: virtual ~AbstractData() {}; @@ -411,7 +494,7 @@ namespace ASN1 { /** Base class for constrained ASN encoding/decoding. */ - class ConstrainedObject : public AbstractData + class ASN1_API ConstrainedObject : public AbstractData { public: ConstrainedObject(const void* info) : AbstractData(info){} @@ -436,7 +519,7 @@ namespace ASN1 { /** Class for ASN Null type. */ - class Null : public AbstractData + class ASN1_API Null : public AbstractData { Null(const void* info) : AbstractData(info){} public: @@ -455,7 +538,7 @@ namespace ASN1 { bool operator > (const Null& ) const { return false; } bool operator <= (const Null& ) const { return false; } bool operator >= (const Null& ) const { return false; } - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; static bool equal_type(const ASN1::AbstractData& type) { return type.info() == reinterpret_cast(&theInfo); } @@ -468,7 +551,7 @@ namespace ASN1 { /** Class for ASN Boolean type. */ - class BOOLEAN : public AbstractData + class ASN1_API BOOLEAN : public AbstractData { protected: BOOLEAN(const void* info); @@ -513,7 +596,7 @@ namespace ASN1 { bool operator > (bool rhs) const { return value > rhs ; } bool operator <= (bool rhs) const { return value <= rhs ; } bool operator >= (bool rhs) const { return value >= rhs ; } - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; static bool equal_type(const ASN1::AbstractData& type) {return type.info() == reinterpret_cast(&theInfo);} @@ -527,7 +610,7 @@ namespace ASN1 { /** Class for ASN Integer type. */ - class INTEGER : public ConstrainedObject + class ASN1_API INTEGER : public ConstrainedObject { protected: INTEGER(const void* info); @@ -607,7 +690,7 @@ namespace ASN1 { int_type operator * (int_type rhs) { int_type t(getValue()); return t*=rhs;} int_type operator / (int_type rhs) { int_type t(getValue()); return t/=rhs;} - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; static bool equal_type(const ASN1::AbstractData& type) { return type.info() == reinterpret_cast(&theInfo); } @@ -623,7 +706,7 @@ namespace ASN1 { /** */ - class IntegerWithNamedNumber : public INTEGER + class ASN1_API IntegerWithNamedNumber : public INTEGER { public: struct NameEntry @@ -791,7 +874,7 @@ namespace ASN1 { // I don't know, why the else-part doesn't work on VAC++5/AiX... const typename ConstrainedObject::InfoType Constrained_INTEGER::theInfo = #else - const typename Constrained_INTEGER::InfoType Constrained_INTEGER::theInfo = + const typename Constrained_INTEGER::InfoType Constrained_INTEGER::theInfo = #endif //!defined (__IBMCPP__) { &INTEGER::create, @@ -805,7 +888,7 @@ namespace ASN1 { /** Class for ASN Enumerated type. */ - class ENUMERATED : public AbstractData + class ASN1_API ENUMERATED : public AbstractData { protected: ENUMERATED(const void* info); @@ -861,12 +944,12 @@ namespace ASN1 { /** Class for ASN Object Identifier type. */ - class OBJECT_IDENTIFIER : public AbstractData + class ASN1_API OBJECT_IDENTIFIER : public AbstractData { protected: OBJECT_IDENTIFIER(const void* info) : AbstractData(info) {} public: - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; OBJECT_IDENTIFIER() : AbstractData(&theInfo) {} @@ -930,7 +1013,7 @@ namespace ASN1 { /** Class for ASN Bit String type. */ - class BIT_STRING : public ConstrainedObject + class ASN1_API BIT_STRING : public ConstrainedObject { protected: BIT_STRING(const void* info); @@ -1016,7 +1099,7 @@ namespace ASN1 { static bool equal_type(const ASN1::AbstractData& type) {return type.info() == reinterpret_cast(&theInfo);} - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; private: friend class BERDecoder; @@ -1084,7 +1167,7 @@ namespace ASN1 { /** Class for ASN Octet String type. */ - class OCTET_STRING : public ConstrainedObject, public ASN1_STD vector + class ASN1_API OCTET_STRING : public ConstrainedObject, public ASN1_STD vector { typedef ASN1_STD vector ContainerType; protected: @@ -1138,7 +1221,7 @@ namespace ASN1 { operator ASN1_STD string () const { return ASN1_STD string(begin(), end()); } - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; static bool equal_type(const ASN1::AbstractData& type) {return type.info() == reinterpret_cast(&theInfo);} @@ -1204,7 +1287,7 @@ namespace ASN1 { /** Base class for ASN String types. */ - class AbstractString : public ConstrainedObject, public ASN1_STD string + class ASN1_API AbstractString : public ConstrainedObject, public ASN1_STD string { protected: typedef ASN1_STD string base_string; @@ -1288,7 +1371,7 @@ namespace ASN1 { const InfoType* info() const { return static_cast(info_);} }; - class NumericString : public AbstractString { + class ASN1_API NumericString : public AbstractString { protected: NumericString(const void* info) : AbstractString(info) { } public: @@ -1305,12 +1388,12 @@ namespace ASN1 { static AbstractData* create(); void swap(NumericString& other) { base_string::swap(other); } - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; static bool equal_type(const ASN1::AbstractData& type) {return type.info() == reinterpret_cast(&theInfo);} }; - class PrintableString : public AbstractString { + class ASN1_API PrintableString : public AbstractString { protected: PrintableString(const void* info) : AbstractString(info) { } public: @@ -1325,12 +1408,12 @@ namespace ASN1 { PrintableString * clone() const { return static_cast(AbstractString::clone()); } static AbstractData* create(); void swap(PrintableString& other) { base_string::swap(other); } - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; static bool equal_type(const ASN1::AbstractData& type) {return type.info() == reinterpret_cast(&theInfo);} }; - class GraphicString : public AbstractString { + class ASN1_API GraphicString : public AbstractString { protected: GraphicString(const void* info) : AbstractString(info) { } public: @@ -1345,12 +1428,12 @@ namespace ASN1 { GraphicString * clone() const { return static_cast(AbstractString::clone()); } static AbstractData* create(); void swap(GraphicString& other) { base_string::swap(other); } - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; static bool equal_type(const ASN1::AbstractData& type) {return type.info() == reinterpret_cast(&theInfo);} }; - class ObjectDescriptor : public GraphicString + class ASN1_API ObjectDescriptor : public GraphicString { protected: ObjectDescriptor(const void* info) : GraphicString(info) { } @@ -1372,9 +1455,12 @@ namespace ASN1 { // // virtual bool isValid(const bool raise=false) const; // virtual bool isStrictlyValid(const bool raise=false) const; - virtual void setFromValueNotation(const ASN1_STD string& valueString); + +#ifdef FIXME + virtual void setFromValueNotation(const ASN1_STD string& valueString); virtual ASN1_STD string asValueNotation() const; virtual const class AbstractType* typeDynamic() const; +#endif // // AbstractData standard friend functions // @@ -1392,15 +1478,19 @@ namespace ASN1 { // // AbstractData standard derived class methods. // - static const AbstractType* typeStatic(); - // +#ifdef FIXME + static const AbstractType* typeStatic(); +#else + static const AbstractData* typeStatic(); +#endif + // // Specialized access: same methods as ANSI Standard Library String. // }; // end class ASN1::ObjectDescriptor /** */ - class VisibleString : public AbstractString { + class ASN1_API VisibleString : public AbstractString { protected: VisibleString(const void* info) : AbstractString(info) { } public: @@ -1416,12 +1506,12 @@ namespace ASN1 { static AbstractData* create(); void swap(VisibleString& other) { base_string::swap(other); } - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; static bool equal_type(const ASN1::AbstractData& type) {return type.info() == reinterpret_cast(&theInfo);} }; - class IA5String : public AbstractString { + class ASN1_API IA5String : public AbstractString { protected: IA5String(const void* info) : AbstractString(info) { } public: @@ -1437,12 +1527,12 @@ namespace ASN1 { static AbstractData* create(); void swap(IA5String& other) { base_string::swap(other); } - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; static bool equal_type(const ASN1::AbstractData& type) {return type.info() == reinterpret_cast(&theInfo);} }; - class GeneralString : public AbstractString { + class ASN1_API GeneralString : public AbstractString { protected: GeneralString(const void* info) : AbstractString(info) { } public: @@ -1458,7 +1548,7 @@ namespace ASN1 { static AbstractData* create(); void swap(GeneralString& other) { base_string::swap(other); } - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; static bool equal_type(const ASN1::AbstractData& type) {return type.info() == reinterpret_cast(&theInfo);} }; @@ -1466,7 +1556,7 @@ namespace ASN1 { /** * Class for ASN BMP (16 bit) String type. */ - class BMPString : public ConstrainedObject, public ASN1_STD wstring + class ASN1_API BMPString : public ConstrainedObject, public ASN1_STD wstring { protected: typedef ASN1_STD wstring base_string; @@ -1536,7 +1626,7 @@ namespace ASN1 { return align ? info()->charSetAlignedBits : info()->charSetUnalignedBits; } - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; static bool equal_type(const ASN1::AbstractData& type) {return type.info() == reinterpret_cast(&theInfo);} size_type first_illegal_at() const; @@ -1553,7 +1643,7 @@ namespace ASN1 { /** */ - class UTCTime : public AbstractData + class ASN1_API UTCTime : public AbstractData { protected: UTCTime(const void* info); @@ -1606,7 +1696,7 @@ namespace ASN1 { static AbstractData* create(const void* info); bool isStrictlyValid() const; - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; static bool equal_type(const ASN1::AbstractData& type) {return type.info() == reinterpret_cast(&theInfo);} @@ -1621,7 +1711,7 @@ namespace ASN1 { bool utc; }; - class GeneralizedTime : public UTCTime + class ASN1_API GeneralizedTime : public UTCTime { public: protected: @@ -1660,7 +1750,7 @@ namespace ASN1 { static AbstractData* create(const void* info); bool isStrictlyValid() const; - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; static bool equal_type(const ASN1::AbstractData& type) {return type.info() == reinterpret_cast(&theInfo);} @@ -1678,7 +1768,7 @@ namespace ASN1 { /** Class for ASN Choice type. */ - class CHOICE : public AbstractData + class ASN1_API CHOICE : public AbstractData { public: enum Id { @@ -1793,7 +1883,7 @@ namespace ASN1 { /** Class for ASN Sequence type. */ - class SEQUENCE : public AbstractData + class ASN1_API SEQUENCE : public AbstractData { public: enum { @@ -1855,7 +1945,7 @@ namespace ASN1 { static AbstractData* create(const void*); - class FieldVector : public ASN1_STD vector + class ASN1_API FieldVector : public ASN1_STD vector { public: FieldVector(){}; @@ -1872,7 +1962,7 @@ namespace ASN1 { { mandatory_ = -1 }; - struct BitMap + struct ASN1_API BitMap { BitMap() : totalBits(0) {} unsigned size() const { return totalBits;} @@ -1889,7 +1979,7 @@ namespace ASN1 { BitMap optionMap; BitMap extensionMap; - ASN1_EXPORT static const unsigned defaultTag; + static const unsigned defaultTag; struct InfoType { @@ -1926,7 +2016,7 @@ namespace ASN1 { /** Class for ASN set type. */ - class SET : public SEQUENCE + class ASN1_API SET : public SEQUENCE { public: SET * clone() const { return static_cast(SEQUENCE::clone()); } @@ -1936,7 +2026,7 @@ namespace ASN1 { /** Class for ASN SEQUENCE type. */ - class SEQUENCE_OF_Base : public ConstrainedObject + class ASN1_API SEQUENCE_OF_Base : public ConstrainedObject { public: typedef ASN1_STD vector Container; @@ -2384,7 +2474,7 @@ namespace ASN1 { }; template - const typename SEQUENCE_OF::InfoType SEQUENCE_OF::theInfo = { + const typename SEQUENCE_OF::InfoType SEQUENCE_OF::theInfo = { SEQUENCE_OF_Base::create, 0x10, 0, @@ -2446,7 +2536,7 @@ namespace ASN1 { template SET_OF(InputIterator first, InputIterator last) : Inherited(&theInfo) - { insert(Inherited::begin(), first, last); } + { this->insert(Inherited::begin(), first, last); } SET_OF(const SET_OF& other) : Inherited(other) {} SET_OF& operator = (const SET_OF& x) { @@ -2474,7 +2564,7 @@ namespace ASN1 { typedef ASN1_STD vector OpenBuf; - class OpenData : public AbstractData + class ASN1_API OpenData : public AbstractData { public: typedef AbstractData data_type; @@ -2525,7 +2615,7 @@ namespace ASN1 { bool operator <= (const OpenData& rhs) const { return do_compare(rhs) <= 0; } bool operator >= (const OpenData& rhs) const { return do_compare(rhs) >= 0; } - ASN1_EXPORT static const InfoType theInfo; + static const InfoType theInfo; static bool equal_type(const ASN1::AbstractData& type) {return type.info() == reinterpret_cast(&theInfo);} @@ -2539,7 +2629,7 @@ namespace ASN1 { virtual bool do_accept(Visitor&); }; - class TypeConstrainedOpenData : public OpenData + class ASN1_API TypeConstrainedOpenData : public OpenData { private: virtual bool do_accept(Visitor& v); @@ -2629,7 +2719,7 @@ namespace ASN1 { * @see BERDecoder, PERDecoder, AVNDecoder */ - class Visitor + class ASN1_API Visitor { public: virtual ~Visitor(){} @@ -2763,7 +2853,7 @@ namespace ASN1 { * *@see BEREncoder, PEREncoder, AVNEncoder */ - class ConstVisitor + class ASN1_API ConstVisitor { public: virtual ~ConstVisitor(){} @@ -2825,7 +2915,7 @@ namespace ASN1 { * * @see BERDecoder */ - class BEREncoder : public ConstVisitor + class ASN1_API BEREncoder : public ConstVisitor { public: /** @@ -2884,7 +2974,7 @@ namespace ASN1 { * * @see BEREncoder */ - class BERDecoder : public Visitor + class ASN1_API BERDecoder : public Visitor { public: /** @@ -2965,7 +3055,7 @@ namespace ASN1 { * * @see PERDecoder */ - class PEREncoder : public ConstVisitor + class ASN1_API PEREncoder : public ConstVisitor { public: /** @@ -3107,7 +3197,7 @@ namespace ASN1 { * * @see PEREncoder */ - class PERDecoder : public Visitor + class ASN1_API PERDecoder : public Visitor { public: /** @@ -3166,6 +3256,13 @@ namespace ASN1 { //! \param length reference to decoded length //! \return true if decoded correctly bool decodeLength(unsigned lower, unsigned upper, unsigned & len); + //dts + void reset(const char* first, const char* last, CoderEnv* coder = NULL, bool isAligned = true) { + beginPosition = first; + endPosition = last; + bitOffset = 8; + alignedFlag = isAligned; + } virtual VISIT_SEQ_RESULT preVisitExtensionRoots(SEQUENCE& value); virtual VISIT_SEQ_RESULT visitExtensionRoot(SEQUENCE& value, int index, int optional_id); @@ -3295,7 +3392,7 @@ namespace ASN1 { * * @see AVNDecoder */ - class AVNEncoder : public ConstVisitor + class ASN1_API AVNEncoder : public ConstVisitor { public: AVNEncoder(ASN1_STD ostream& os) @@ -3343,7 +3440,7 @@ namespace ASN1 { * * @see PEREncoder */ - class AVNDecoder : public Visitor + class ASN1_API AVNDecoder : public Visitor { public: AVNDecoder(ASN1_STD istream& is, CoderEnv* coder = 0) @@ -3400,7 +3497,7 @@ namespace ASN1 { * */ - class PrintHelper + class ASN1_API PrintHelper { public: @@ -3425,7 +3522,7 @@ namespace ASN1 { * */ - class AVNPrinter : public ConstVisitor + class ASN1_API AVNPrinter : public ConstVisitor { public: AVNPrinter(PrintHelper& helper_object) : helper(helper_object), indent(0) {} @@ -3459,7 +3556,7 @@ namespace ASN1 { /////////////////////////////////////////////////////////////////////////// - class Module + class ASN1_API Module { public: virtual ~Module(){}; @@ -3470,7 +3567,7 @@ namespace ASN1 { ///////////////////////////////////////////////////////////////////////////// - class CoderEnv + class ASN1_API CoderEnv { public: Module* find(const char* moduleName) diff --git a/asn1/asn1_dll.dsp b/asn1/asn1_dll.dsp index f71f5f7..77f178e 100644 --- a/asn1/asn1_dll.dsp +++ b/asn1/asn1_dll.dsp @@ -1,161 +1,161 @@ -# Microsoft Developer Studio Project File - Name="asn1_dll" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=asn1_dll - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "asn1_dll.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "asn1_dll.mak" CFG="asn1_dll - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "asn1_dll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "asn1_dll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "asn1_dll - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../lib" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASN1_DLL_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASN1_DLL_EXPORTS" /YX /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"../lib/asn1.dll" - -!ELSEIF "$(CFG)" == "asn1_dll - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../lib" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASN1_DLL_EXPORTS" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASN1_DLL_EXPORTS" /YX /FD /GZ /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"../lib/asn1d.dll" /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "asn1_dll - Win32 Release" -# Name "asn1_dll - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\asn1.def - -!IF "$(CFG)" == "asn1_dll - Win32 Release" - -!ELSEIF "$(CFG)" == "asn1_dll - Win32 Debug" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\asn1.dtf - -!IF "$(CFG)" == "asn1_dll - Win32 Release" - -USERDEP__ASN1_="..\lib\makedef.exe" "..\lib\asn1s.lib" -# Begin Custom Build -InputPath=.\asn1.dtf - -"asn1.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ..\Lib\makedef -l ..\Lib\asn1s.lib -x asn1.ignore asn1.def - -# End Custom Build - -!ELSEIF "$(CFG)" == "asn1_dll - Win32 Debug" - -# Begin Custom Build -InputPath=.\asn1.dtf - -"asn1d.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ..\Lib\makedef -l ..\Lib\asn1sd.lib -x asn1.ignore asn1d.def - -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\asn1d.def - -!IF "$(CFG)" == "asn1_dll - Win32 Release" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "asn1_dll - Win32 Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\dllmain.cxx -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="asn1_dll" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=asn1_dll - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "asn1_dll.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "asn1_dll.mak" CFG="asn1_dll - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "asn1_dll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "asn1_dll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "asn1_dll - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../lib" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASN1_DLL_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASN1_DLL_EXPORTS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x404 /d "NDEBUG" +# ADD RSC /l 0x404 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"../lib/asn1.dll" + +!ELSEIF "$(CFG)" == "asn1_dll - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../lib" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASN1_DLL_EXPORTS" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASN1_DLL_EXPORTS" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x404 /d "_DEBUG" +# ADD RSC /l 0x404 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"../lib/asn1d.dll" /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "asn1_dll - Win32 Release" +# Name "asn1_dll - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=.\asn1.def + +!IF "$(CFG)" == "asn1_dll - Win32 Release" + +!ELSEIF "$(CFG)" == "asn1_dll - Win32 Debug" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\asn1.dtf + +!IF "$(CFG)" == "asn1_dll - Win32 Release" + +USERDEP__ASN1_="..\lib\makedef.exe" "..\lib\asn1s.lib" +# Begin Custom Build +InputPath=.\asn1.dtf + +"asn1.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ..\Lib\makedef -l ..\Lib\asn1s.lib -x asn1.ignore asn1.def + +# End Custom Build + +!ELSEIF "$(CFG)" == "asn1_dll - Win32 Debug" + +# Begin Custom Build +InputPath=.\asn1.dtf + +"asn1d.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ..\Lib\makedef -l ..\Lib\asn1sd.lib -x asn1.ignore asn1d.def + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\asn1d.def + +!IF "$(CFG)" == "asn1_dll - Win32 Release" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "asn1_dll - Win32 Debug" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\dllmain.cxx +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/asn1/asn1_useful.cxx b/asn1/asn1_useful.cxx index d869fde..5657a3d 100644 --- a/asn1/asn1_useful.cxx +++ b/asn1/asn1_useful.cxx @@ -19,25 +19,25 @@ namespace ASN1 { // -const void* EXTERNAL_encoding::selectionInfos[3] = { +ASN1_API const void* EXTERNAL_encoding::selectionInfos[3] = { &single_ASN1_type::value_type::theInfo, &octet_aligned::value_type::theInfo, &arbitrary::value_type::theInfo }; -unsigned EXTERNAL_encoding::selectionTags[3] = { +ASN1_API unsigned EXTERNAL_encoding::selectionTags[3] = { 0xa0000000, 0x80000001, 0x80000002 }; -const char* EXTERNAL_encoding::selectionNames[3] = { +ASN1_API const char* EXTERNAL_encoding::selectionNames[3] = { "single-ASN1-type", "octet-aligned", "arbitrary" }; -const EXTERNAL_encoding::InfoType EXTERNAL_encoding::theInfo = { +ASN1_API const EXTERNAL_encoding::InfoType EXTERNAL_encoding::theInfo = { ASN1::CHOICE::create, 0x00000000, 0, @@ -53,28 +53,28 @@ const EXTERNAL_encoding::InfoType EXTERNAL_encoding::theInfo = { // -const void* EXTERNAL::fieldInfos[4] = { +ASN1_API const void* EXTERNAL::fieldInfos[4] = { &direct_reference::value_type::theInfo, &indirect_reference::value_type::theInfo, &data_value_descriptor::value_type::theInfo, &encoding::value_type::theInfo }; -int EXTERNAL::fieldIds[4] = { +ASN1_API int EXTERNAL::fieldIds[4] = { 0, 1, 2, -1, }; -const char* EXTERNAL::fieldNames[4] = { +ASN1_API const char* EXTERNAL::fieldNames[4] = { "direct-reference", "indirect-reference", "data-value-descriptor", "encoding" }; -const EXTERNAL::InfoType EXTERNAL::theInfo = { +ASN1_API const EXTERNAL::InfoType EXTERNAL::theInfo = { EXTERNAL::create, 0x00000008, 0, diff --git a/asn1/asn1_useful.h b/asn1/asn1_useful.h index 3abad7f..7d3032b 100644 --- a/asn1/asn1_useful.h +++ b/asn1/asn1_useful.h @@ -7,7 +7,7 @@ #ifndef __ASN1_USEFUL_H #define __ASN1_USEFUL_H -#include +#include "asn1.h" namespace ASN1 { @@ -16,7 +16,7 @@ namespace ASN1 { // EXTERNAL_encoding // -class EXTERNAL_encoding : public ASN1::CHOICE +class ASN1_API EXTERNAL_encoding : public ASN1::CHOICE { typedef ASN1::CHOICE Inherited; protected: @@ -149,7 +149,7 @@ class EXTERNAL_encoding : public ASN1::CHOICE // EXTERNAL // -class EXTERNAL : public ASN1::SEQUENCE +class ASN1_API EXTERNAL : public ASN1::SEQUENCE { typedef ASN1::SEQUENCE Inherited; protected: @@ -300,7 +300,7 @@ class EXTERNAL : public ASN1::SEQUENCE // ABSTRACT-SYNTAX // -class ABSTRACT_SYNTAX +class ASN1_API ABSTRACT_SYNTAX { public: typedef ASN1::OBJECT_IDENTIFIER key_type; diff --git a/asn1/dllmain.cpp b/asn1/dllmain.cpp new file mode 100644 index 0000000..9bf1954 --- /dev/null +++ b/asn1/dllmain.cpp @@ -0,0 +1,21 @@ + +#include "windows.h" + +HINSTANCE PDllInstance; + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD ul_reason_for_call, LPVOID) +{ + switch (ul_reason_for_call) + { + case DLL_PROCESS_ATTACH: + PDllInstance = hinstDLL; + break; + case DLL_THREAD_ATTACH: + case DLL_THREAD_DETACH: + case DLL_PROCESS_DETACH: + PDllInstance = NULL; + break; + } + return TRUE; +} + diff --git a/asn1/dllmain.cxx b/asn1/dllmain.cxx deleted file mode 100644 index 57fb90e..0000000 --- a/asn1/dllmain.cxx +++ /dev/null @@ -1,12 +0,0 @@ - -#include "windows.h" - -HINSTANCE PDllInstance; - -BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID) -{ - if (fdwReason == DLL_PROCESS_ATTACH) - PDllInstance = hinstDLL; - return TRUE; -} - diff --git a/asn1/stdafx.cpp b/asn1/stdafx.cpp new file mode 100644 index 0000000..8ff0343 --- /dev/null +++ b/asn1/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp�: fichier source incluant simplement les fichiers Include standard +// ZZZZ.pch repr�sente l'en-t�te pr�compil� +// stdafx.obj contient les informations de type pr�compil�es + +#include "stdafx.h" + +// TODO: faites r�f�rence aux en-t�tes suppl�mentaires n�cessaires dans STDAFX.H +// absents de ce fichier diff --git a/asn1/stdafx.h b/asn1/stdafx.h new file mode 100644 index 0000000..d8b4039 --- /dev/null +++ b/asn1/stdafx.h @@ -0,0 +1,16 @@ +// stdafx.h�: fichier Include pour les fichiers Include syst�me standard, +// ou les fichiers Include sp�cifiques aux projets qui sont utilis�s fr�quemment, +// et sont rarement modifi�s +// + +#pragma once + +#include "targetver.h" + +#define WIN32_LEAN_AND_MEAN // Exclure les en-t�tes Windows rarement utilis�s +// Fichiers d'en-t�te Windows�: +#include + + + +// TODO: faites r�f�rence ici aux en-t�tes suppl�mentaires n�cessaires au programme diff --git a/asn1/targetver.h b/asn1/targetver.h new file mode 100644 index 0000000..c8351ff --- /dev/null +++ b/asn1/targetver.h @@ -0,0 +1,8 @@ +#pragma once + +// Si vous incluez SDKDDKVer.h, cela d�finit la derni�re plateforme Windows disponible. + +// Si vous souhaitez g�n�rer votre application pour une plateforme Windows pr�c�dente, incluez WinSDKVer.h et +// d�finissez la macro _WIN32_WINNT � la plateforme que vous souhaitez prendre en charge avant d'inclure SDKDDKVer.h. + +#include diff --git a/asn1/testsuite/.gitignore b/asn1/testsuite/.gitignore new file mode 100644 index 0000000..7c85076 --- /dev/null +++ b/asn1/testsuite/.gitignore @@ -0,0 +1,2 @@ +/cxx +/Debug diff --git a/asn1/testsuite/ASN1test-x32-vs120.vcxproj b/asn1/testsuite/ASN1test-x32-vs120.vcxproj new file mode 100644 index 0000000..4fde7c6 --- /dev/null +++ b/asn1/testsuite/ASN1test-x32-vs120.vcxproj @@ -0,0 +1,169 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {F012966D-7796-4562-8587-6ADF79466B8F} + ASN1test + + + + Application + v120 + false + MultiByte + + + Application + v120 + false + MultiByte + + + + + + + + + + + + + + + <_ProjectFileVersion>11.0.50727.1 + + + .\Debug\ + .\Debug\ + true + ../../lib;$(ExecutablePath) + $(ProjectName)d + + + .\Release\ + .\Release\ + false + + + + .\Debug/asn1test.tlb + + + Disabled + ..;cxx;../asn1;%(AdditionalIncludeDirectories) + _DEBUG;_CONSOLE;__WIN32__;WIN32;ASN1_HAS_IOSTREAM;ASN1_ALLOCATOR;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + true + + .\Debug/$(Targetname).pch + .\Debug/ + .\Debug/ + .\Debug/ + Level3 + true + EditAndContinue + Default + + + _DEBUG;%(PreprocessorDefinitions) + 0x0404 + + + /MACHINE:I386 %(AdditionalOptions) + odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + ../../lib/$(TargetFileName) + true + ..\..\lib;%(AdditionalLibraryDirectories) + true + .\Debug/$(TargetName).pdb + Console + + + + + .\Release/asn1test.tlb + + + OnlyExplicitInline + Release;..;cxx;%(AdditionalIncludeDirectories) + NDEBUG;_CONSOLE;__WIN32__;WIN32;ASN1_HAS_IOSTREAM;ASN1_ALLOCATOR; ASN1_DLL;%(PreprocessorDefinitions) + true + MultiThreadedDLL + true + + .\Release/asn1test.pch + .\Release/ + .\Release/ + .\Release/ + true + Level3 + true + Default + + + NDEBUG;%(PreprocessorDefinitions) + 0x0404 + + + /MACHINE:I386 %(AdditionalOptions) + odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + .\Release/asn1test.exe + true + ../../Lib;%(AdditionalLibraryDirectories) + .\Release/asn1test.pdb + Console + + + + + + Release;..;cxx;../.. + + + Release;..;cxx;../..;..\.. + + + + + ..\..\lib\ASN1cmpd -c -v -o csn test.asn + + cxx\myhttp.cxx;cxx\myhttp.inl;cxx\myhttp.h;cxx\test1.cxx;cxx\test1.inl;cxx\test1.h;%(Outputs) + ..\..\Lib\ASN1cmp -c -v -o cxx test.asn + + cxx\myhttp.cxx;cxx\myhttp.inl;cxx\myhttp.h;cxx\test1.cxx;cxx\test1.inl;cxx\test1.h;%(Outputs) + + + + + + + + + + + + {1eed4b13-2a75-4c49-a198-12f2a46f5944} + false + + + + + + + \ No newline at end of file diff --git a/asn1/testsuite/ASN1test-x32-vs120.vcxproj.filters b/asn1/testsuite/ASN1test-x32-vs120.vcxproj.filters new file mode 100644 index 0000000..89a4e61 --- /dev/null +++ b/asn1/testsuite/ASN1test-x32-vs120.vcxproj.filters @@ -0,0 +1,42 @@ + + + + + + csn + + + csn + + + + + + csn + + + csn + + + + + csn + + + csn + + + + + {a5a6a761-8b9d-4b77-9d44-3f8ea54ab7cb} + + + {5525f835-0719-423b-973b-d353f77e8926} + + + + + asn + + + \ No newline at end of file diff --git a/asn1/testsuite/CVS/Entries b/asn1/testsuite/CVS/Entries deleted file mode 100644 index 9720c25..0000000 --- a/asn1/testsuite/CVS/Entries +++ /dev/null @@ -1,8 +0,0 @@ -/Makefile.am/1.2/Tue Jul 2 04:40:19 2002// -/Makefile.in/1.5/Sat Feb 2 08:22:53 2008// -/asn1test.cpp/1.5/Tue Aug 9 18:12:43 2011// -/asn1test.dsp/1.4/Wed Aug 21 03:41:16 2002/-kb/ -/asn1test.h/1.2/Fri Dec 2 03:43:55 2005// -/asn1test.vcproj/1.4/Fri Dec 2 03:47:00 2005// -/test.asn/1.1.1.1/Wed Aug 1 07:37:35 2001// -D diff --git a/asn1/testsuite/CVS/Repository b/asn1/testsuite/CVS/Repository deleted file mode 100644 index dcbda58..0000000 --- a/asn1/testsuite/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -iiiasn1/asn1/testsuite diff --git a/asn1/testsuite/CVS/Root b/asn1/testsuite/CVS/Root deleted file mode 100644 index 5edb607..0000000 --- a/asn1/testsuite/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@iiiasn1.cvs.sourceforge.net:/cvsroot/iiiasn1 diff --git a/asn1/testsuite/Makefile.am b/asn1/testsuite/Makefile.am index b034a0b..1bfd4ff 100644 --- a/asn1/testsuite/Makefile.am +++ b/asn1/testsuite/Makefile.am @@ -23,7 +23,7 @@ AUTOMAKE_OPTIONS = dist-zip EXTRA_DIST = asn1test.dsp asn1test.vcproj test.asn -INCLUDES = @PIPEFLAG@ @DEBUGFLAG@ -I$(top_builddir)/asn1 -I$(top_srcdir)/asn1 -I$(top_builddir)/asnh323 +AM_CPPFLAGS = @PIPEFLAG@ @DEBUGFLAG@ -I$(top_builddir)/asn1 -I$(top_srcdir)/asn1 -I$(top_builddir)/asnh323 TESTS = asn1test @@ -36,8 +36,9 @@ BUILT_SOURCES = myhttp.cxx test1.cxx test1.h test1.inl myhttp.h myhttp.inl asn1test_SOURCES = $(BUILT_SOURCES) asn1test.cpp -$(BUILT_SOURCES) : test.asn - @ASNPARSER@ -v -c $(srcdir)/test.asn +$(BUILT_SOURCES) : test1.asn + @ASNPARSER@ -v -c $(srcdir)/test1.asn + @ASNPARSER@ -v -c -o cxx $(srcdir)/test1.asn DISTFILES = $(DIST_COMMON) $(EXTRA_DIST) asn1test.h asn1test.cpp diff --git a/asn1/testsuite/Makefile.in b/asn1/testsuite/Makefile.in deleted file mode 100644 index c20ec16..0000000 --- a/asn1/testsuite/Makefile.in +++ /dev/null @@ -1,605 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# -# Copyright (c) 2001 Institute for Information Industry, Taiwan, Republic of China -# Written by mangelo@users.sourceforge.net -# -# This file is part of III ASN.1 Tool. -# -# The contents of this file are subject to the Mozilla Public License -# Version 1.0 (the "License"); you may not use this file except in -# compliance with the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" -# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -# the License for the specific language governing rights and limitations -# under the License. -# -# III ASN.1 Tool is the ASN.1 to C++ compiler and C++ run time library -# for encoding and decoding ASN.1 types. -# For details, see the III ASN.1 Tool World-Wide-Web page, -# `http://iiiasn1.sourceforge.net'. -# -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -TESTS = asn1test$(EXEEXT) -check_PROGRAMS = asn1test$(EXEEXT) -subdir = asn1/testsuite -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = \ - $(top_srcdir)/config/ac_cxx_have_new_iostream.m4 \ - $(top_srcdir)/config/ac_cxx_have_stl.m4 \ - $(top_srcdir)/config/ac_cxx_have_wstring.m4 \ - $(top_srcdir)/config/ac_cxx_namespaces.m4 \ - $(top_srcdir)/config/acx_pthread.m4 \ - $(top_srcdir)/config/iii_check_stlport.m4 \ - $(top_srcdir)/config/iii_cross_tools.m4 \ - $(top_srcdir)/config/iii_enable_stl_thread.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__objects_1 = myhttp.$(OBJEXT) test1.$(OBJEXT) -am_asn1test_OBJECTS = $(am__objects_1) asn1test.$(OBJEXT) -asn1test_OBJECTS = $(am_asn1test_OBJECTS) -asn1test_DEPENDENCIES = $(top_builddir)/asn1/libasn1.a -asn1test_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \ - $(asn1test_LDFLAGS) $(LDFLAGS) -o $@ -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/config/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ - -o $@ -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -SOURCES = $(asn1test_SOURCES) -DIST_SOURCES = $(asn1test_SOURCES) -ETAGS = etags -CTAGS = ctags -am__tty_colors = \ -red=; grn=; lgn=; blu=; std= -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -ASNPARSER = @ASNPARSER@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEBUGFLAG = @DEBUGFLAG@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBSTL = @LIBSTL@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PIPEFLAG = @PIPEFLAG@ -PTHREAD_CC = @PTHREAD_CC@ -PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ -PTHREAD_LIBS = @PTHREAD_LIBS@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -asnh323dir = @asnh323dir@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -AUTOMAKE_OPTIONS = dist-zip -EXTRA_DIST = asn1test.dsp asn1test.vcproj test.asn -INCLUDES = @PIPEFLAG@ @DEBUGFLAG@ -I$(top_builddir)/asn1 -I$(top_srcdir)/asn1 -I$(top_builddir)/asnh323 -asn1test_LDADD = $(top_builddir)/asn1/libasn1.a @LIBSTL@ -BUILT_SOURCES = myhttp.cxx test1.cxx test1.h test1.inl myhttp.h myhttp.inl -asn1test_SOURCES = $(BUILT_SOURCES) asn1test.cpp -DISTFILES = $(DIST_COMMON) $(EXTRA_DIST) asn1test.h asn1test.cpp -CLEANFILES = $(BUILT_SOURCES) -asn1test_LDFLAGS = @LDFLAGS@ -all: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) all-am - -.SUFFIXES: -.SUFFIXES: .cpp .cxx .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu asn1/testsuite/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu asn1/testsuite/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): - -clean-checkPROGRAMS: - -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) -asn1test$(EXEEXT): $(asn1test_OBJECTS) $(asn1test_DEPENDENCIES) - @rm -f asn1test$(EXEEXT) - $(asn1test_LINK) $(asn1test_OBJECTS) $(asn1test_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/asn1test.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/myhttp.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test1.Po@am__quote@ - -.cpp.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cpp.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cxx.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cxx.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -check-TESTS: $(TESTS) - @failed=0; all=0; xfail=0; xpass=0; skip=0; \ - srcdir=$(srcdir); export srcdir; \ - list=' $(TESTS) '; \ - $(am__tty_colors); \ - if test -n "$$list"; then \ - for tst in $$list; do \ - if test -f ./$$tst; then dir=./; \ - elif test -f $$tst; then dir=; \ - else dir="$(srcdir)/"; fi; \ - if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ - all=`expr $$all + 1`; \ - case " $(XFAIL_TESTS) " in \ - *[\ \ ]$$tst[\ \ ]*) \ - xpass=`expr $$xpass + 1`; \ - failed=`expr $$failed + 1`; \ - col=$$red; res=XPASS; \ - ;; \ - *) \ - col=$$grn; res=PASS; \ - ;; \ - esac; \ - elif test $$? -ne 77; then \ - all=`expr $$all + 1`; \ - case " $(XFAIL_TESTS) " in \ - *[\ \ ]$$tst[\ \ ]*) \ - xfail=`expr $$xfail + 1`; \ - col=$$lgn; res=XFAIL; \ - ;; \ - *) \ - failed=`expr $$failed + 1`; \ - col=$$red; res=FAIL; \ - ;; \ - esac; \ - else \ - skip=`expr $$skip + 1`; \ - col=$$blu; res=SKIP; \ - fi; \ - echo "$${col}$$res$${std}: $$tst"; \ - done; \ - if test "$$all" -eq 1; then \ - tests="test"; \ - All=""; \ - else \ - tests="tests"; \ - All="All "; \ - fi; \ - if test "$$failed" -eq 0; then \ - if test "$$xfail" -eq 0; then \ - banner="$$All$$all $$tests passed"; \ - else \ - if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \ - banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \ - fi; \ - else \ - if test "$$xpass" -eq 0; then \ - banner="$$failed of $$all $$tests failed"; \ - else \ - if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \ - banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \ - fi; \ - fi; \ - dashes="$$banner"; \ - skipped=""; \ - if test "$$skip" -ne 0; then \ - if test "$$skip" -eq 1; then \ - skipped="($$skip test was not run)"; \ - else \ - skipped="($$skip tests were not run)"; \ - fi; \ - test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ - dashes="$$skipped"; \ - fi; \ - report=""; \ - if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ - report="Please report to $(PACKAGE_BUGREPORT)"; \ - test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ - dashes="$$report"; \ - fi; \ - dashes=`echo "$$dashes" | sed s/./=/g`; \ - if test "$$failed" -eq 0; then \ - echo "$$grn$$dashes"; \ - else \ - echo "$$red$$dashes"; \ - fi; \ - echo "$$banner"; \ - test -z "$$skipped" || echo "$$skipped"; \ - test -z "$$report" || echo "$$report"; \ - echo "$$dashes$$std"; \ - test "$$failed" -eq 0; \ - else :; fi - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am - $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) - $(MAKE) $(AM_MAKEFLAGS) check-TESTS -check: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) check-am -all-am: Makefile -installdirs: -install: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -clean: clean-am - -clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: - -.MAKE: all check check-am install install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ - clean-checkPROGRAMS clean-generic ctags distclean \ - distclean-compile distclean-generic distclean-tags distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ - uninstall-am - - -$(BUILT_SOURCES) : test.asn - @ASNPARSER@ -v -c $(srcdir)/test.asn - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/asn1/testsuite/asn1test.cpp b/asn1/testsuite/asn1test.cpp index 47392eb..ee65dc8 100644 --- a/asn1/testsuite/asn1test.cpp +++ b/asn1/testsuite/asn1test.cpp @@ -15,8 +15,8 @@ #include #endif -#include "test1.h" -#include "myhttp.h" +#include "cxx/test1.h" +#include "cxx/myhttp.h" #ifdef ASN1_HAS_IOSTREAM #include #endif @@ -92,7 +92,7 @@ void ValueNotationTests() env.set_encodingRule(CoderEnv::avn); INTEGER a(5),b; - TEST("INTEGER ValueNoation", env ,a, b , "5"); + TEST("INTEGER ValueNotation", env ,a, b , "5"); a = 0 - a; TEST("negative INTEGER ValueNotation", env ,a, b , "-5"); diff --git a/asn1/testsuite/asn1test.dsp b/asn1/testsuite/asn1test.dsp index 5f5dccb..39a3673 100644 --- a/asn1/testsuite/asn1test.dsp +++ b/asn1/testsuite/asn1test.dsp @@ -1,185 +1,185 @@ -# Microsoft Developer Studio Project File - Name="asn1test" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=asn1test - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "asn1test.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "asn1test.mak" CFG="asn1test - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "asn1test - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "asn1test - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName ""$/ITGv4/Asn1/testsuite", TUCAAAAA" -# PROP Scc_LocalPath "." -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "asn1test - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "Release" /I ".." /I "cxx" /D "NDEBUG" /D "_CONSOLE" /D "__WIN32__" /D "WIN32" /D "_MBCS" /D "ASN1_HAS_IOSTREAM" /FR /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:"../../Lib" - -!ELSEIF "$(CFG)" == "asn1test - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /I ".." /I "cxx" /I "../asn1" /I "../asnh323/cxx" /D "_DEBUG" /D "_CONSOLE" /D "__WIN32__" /D "WIN32" /D "_MBCS" /D "ASN1_HAS_IOSTREAM" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\Lib" - -!ENDIF - -# Begin Target - -# Name "asn1test - Win32 Release" -# Name "asn1test - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\asn1test.cpp -# End Source File -# Begin Source File - -SOURCE=.\cxx\myhttp.cxx - -!IF "$(CFG)" == "asn1test - Win32 Release" - -# ADD CPP /I "../.." - -!ELSEIF "$(CFG)" == "asn1test - Win32 Debug" - -# SUBTRACT CPP /I "cxx" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\test.asn - -!IF "$(CFG)" == "asn1test - Win32 Release" - -# Begin Custom Build -InputPath=.\test.asn - -BuildCmds= \ - ..\..\Lib\asnparser -c -v -o cxx test.asn - -"cxx\myhttp.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"cxx\myhttp.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"cxx\test1.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"cxx\test1.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "asn1test - Win32 Debug" - -# Begin Custom Build -InputPath=.\test.asn - -BuildCmds= \ - ..\..\Lib\asnparser -c -v -o cxx test.asn - -"cxx\myhttp.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"cxx\myhttp.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"cxx\test1.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"cxx\test1.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\cxx\test1.cxx - -!IF "$(CFG)" == "asn1test - Win32 Release" - -# ADD CPP /I "../.." /I "..\.." - -!ELSEIF "$(CFG)" == "asn1test - Win32 Debug" - -# SUBTRACT CPP /I "cxx" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\asn1test.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="asn1test" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=asn1test - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "asn1test.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "asn1test.mak" CFG="asn1test - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "asn1test - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "asn1test - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName ""$/ITGv4/Asn1/testsuite", TUCAAAAA" +# PROP Scc_LocalPath "." +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "asn1test - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "Release" /I ".." /I "cxx" /D "NDEBUG" /D "_CONSOLE" /D "__WIN32__" /D "WIN32" /D "_MBCS" /D "ASN1_HAS_IOSTREAM" /FR /YX /FD /c +# ADD BASE RSC /l 0x404 /d "NDEBUG" +# ADD RSC /l 0x404 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:"../../Lib" + +!ELSEIF "$(CFG)" == "asn1test - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /I ".." /I "cxx" /I "../asn1" /I "../asnh323/cxx" /D "_DEBUG" /D "_CONSOLE" /D "__WIN32__" /D "WIN32" /D "_MBCS" /D "ASN1_HAS_IOSTREAM" /YX /FD /GZ /c +# ADD BASE RSC /l 0x404 /d "_DEBUG" +# ADD RSC /l 0x404 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\Lib" + +!ENDIF + +# Begin Target + +# Name "asn1test - Win32 Release" +# Name "asn1test - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=.\asn1test.cpp +# End Source File +# Begin Source File + +SOURCE=.\cxx\myhttp.cxx + +!IF "$(CFG)" == "asn1test - Win32 Release" + +# ADD CPP /I "../.." + +!ELSEIF "$(CFG)" == "asn1test - Win32 Debug" + +# SUBTRACT CPP /I "cxx" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\test.asn + +!IF "$(CFG)" == "asn1test - Win32 Release" + +# Begin Custom Build +InputPath=.\test.asn + +BuildCmds= \ + ..\..\Lib\asnparser -c -v -o cxx test.asn + +"cxx\myhttp.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"cxx\myhttp.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"cxx\test1.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"cxx\test1.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ELSEIF "$(CFG)" == "asn1test - Win32 Debug" + +# Begin Custom Build +InputPath=.\test.asn + +BuildCmds= \ + ..\..\Lib\asnparser -c -v -o cxx test.asn + +"cxx\myhttp.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"cxx\myhttp.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"cxx\test1.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"cxx\test1.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\cxx\test1.cxx + +!IF "$(CFG)" == "asn1test - Win32 Release" + +# ADD CPP /I "../.." /I "..\.." + +!ELSEIF "$(CFG)" == "asn1test - Win32 Debug" + +# SUBTRACT CPP /I "cxx" + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=.\asn1test.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/asn1/testsuite/asn1test.vcproj b/asn1/testsuite/asn1test.vcproj deleted file mode 100644 index b70a62c..0000000 --- a/asn1/testsuite/asn1test.vcproj +++ /dev/null @@ -1,291 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/asn1/testsuite/test.asn b/asn1/testsuite/test1.asn similarity index 95% rename from asn1/testsuite/test.asn rename to asn1/testsuite/test1.asn index b086c6a..7611b97 100644 --- a/asn1/testsuite/test.asn +++ b/asn1/testsuite/test1.asn @@ -1,116 +1,116 @@ --- --- Copyright (c) 2001 Institute for Information Industry, Taiwan, Republic of China --- (http://www.iii.org.tw/iiia/ewelcome.htm) --- --- Permission to copy, use, modify, sell and distribute this software --- is granted provided this copyright notice appears in all copies. --- This software is provided "as is" without express or implied --- warranty, and with no claim as to its suitability for any purpose. --- - -TEST1 DEFINITIONS ::= BEGIN - -Choice1 ::= CHOICE { - name VisibleString, - nobody NULL -} - -Choice2 ::= [2] CHOICE { - name VisibleString, - nobody NULL -} - -Choice3 ::= [2] CHOICE { - name [0] VisibleString, - nobody [1] NULL -} - -Choice4 ::= CHOICE { - f2 CHOICE { - f3 BOOLEAN, - f4 INTEGER - }, - f1 NULL -} - -S1 ::= SEQUENCE OF INTEGER - -S2 ::= SET OF INTEGER - -S3 ::= SEQUENCE { - age INTEGER, - single BOOLEAN -} - -S4 ::= SEQUENCE { - name VisibleString, - attrib Choice4 -} - -END - -MyHTTP DEFINITIONS AUTOMATIC TAGS ::= -BEGIN -GetRequest ::= SEQUENCE { - header-only BOOLEAN OPTIONAL, - lock BOOLEAN OPTIONAL, - accept-types AcceptTypes OPTIONAL, - url Url, - ... -} - -AcceptTypes::= SET { - standards BIT STRING { - html(0), - plain-text(1), - gif(2), - jpeg(3) - } (SIZE(4)) OPTIONAL, - others SEQUENCE OF VisibleString (SIZE(4)) OPTIONAL -} - -Url ::= VisibleString - -NumberStr01 ::= NumericString (SIZE(1..16)) - -PrintableStr1 ::= PrintableString - -VisibleStr1 ::= VisibleString - -IA5Str01 ::= IA5String (SIZE (6)) -IA5Str02 ::= IA5String (SIZE (5..20)) -IA5Str03 ::= IA5String (SIZE (0..8)) -IA5Str04 ::= IA5String -IA5Str05 ::= IA5String (SIZE (0..7, ..., 8)) - -IA5Str08 ::= IA5String (FROM ("0123456789#*,")) -IA5Str09 ::= IA5String (FROM ("0123456789#*,ABCD")) -IA5Str10 ::= IA5String (FROM ("ACGT")^SIZE(3)) -IA5Str11 ::= IA5String (FROM ("TF")) (SIZE(0..16)) - -GeneralStr1 ::= GeneralString - -RejectProblem ::= INTEGER -{ - general-unrecognizedPDU (0), - general-mistypedPDU (1), - general-badlyStructuredPDU (2), - invoke-duplicateInvocation (10), - invoke-unrecognizedOperation (11), - invoke-mistypedArgument (12), - invoke-resourceLimitation (13), - invoke-releaseInProgress (14), - invoke-unrecognizedLinkedId (15), - invoke-linkedResponseUnexpected (16), - invoke-unexpectedLinkedOperation (17), - returnResult-unrecognizedInvocation (20), - returnResult-resultResponseUnexpected (21), - returnResult-mistypedResult (22), - returnError-unrecognizedInvocation (30), - returnError-errorResponseUnexpected (31), - returnError-unrecognizedError (32), - returnError-unexpectedError (33), - returnError-mistypedParameter (34) -} - +-- +-- Copyright (c) 2001 Institute for Information Industry, Taiwan, Republic of China +-- (http://www.iii.org.tw/iiia/ewelcome.htm) +-- +-- Permission to copy, use, modify, sell and distribute this software +-- is granted provided this copyright notice appears in all copies. +-- This software is provided "as is" without express or implied +-- warranty, and with no claim as to its suitability for any purpose. +-- + +TEST1 DEFINITIONS ::= BEGIN + +Choice1 ::= CHOICE { + name VisibleString, + nobody NULL +} + +Choice2 ::= [2] CHOICE { + name VisibleString, + nobody NULL +} + +Choice3 ::= [2] CHOICE { + name [0] VisibleString, + nobody [1] NULL +} + +Choice4 ::= CHOICE { + f2 CHOICE { + f3 BOOLEAN, + f4 INTEGER + }, + f1 NULL +} + +S1 ::= SEQUENCE OF INTEGER + +S2 ::= SET OF INTEGER + +S3 ::= SEQUENCE { + age INTEGER, + single BOOLEAN +} + +S4 ::= SEQUENCE { + name VisibleString, + attrib Choice4 +} + +END + +MyHTTP DEFINITIONS AUTOMATIC TAGS ::= +BEGIN +GetRequest ::= SEQUENCE { + header-only BOOLEAN OPTIONAL, + lock BOOLEAN OPTIONAL, + accept-types AcceptTypes OPTIONAL, + url Url, + ... +} + +AcceptTypes::= SET { + standards BIT STRING { + html(0), + plain-text(1), + gif(2), + jpeg(3) + } (SIZE(4)) OPTIONAL, + others SEQUENCE OF VisibleString (SIZE(4)) OPTIONAL +} + +Url ::= VisibleString + +NumberStr01 ::= NumericString (SIZE(1..16)) + +PrintableStr1 ::= PrintableString + +VisibleStr1 ::= VisibleString + +IA5Str01 ::= IA5String (SIZE (6)) +IA5Str02 ::= IA5String (SIZE (5..20)) +IA5Str03 ::= IA5String (SIZE (0..8)) +IA5Str04 ::= IA5String +IA5Str05 ::= IA5String (SIZE (0..7, ..., 8)) + +IA5Str08 ::= IA5String (FROM ("0123456789#*,")) +IA5Str09 ::= IA5String (FROM ("0123456789#*,ABCD")) +IA5Str10 ::= IA5String (FROM ("ACGT")^SIZE(3)) +IA5Str11 ::= IA5String (FROM ("TF")) (SIZE(0..16)) + +GeneralStr1 ::= GeneralString + +RejectProblem ::= INTEGER +{ + general-unrecognizedPDU (0), + general-mistypedPDU (1), + general-badlyStructuredPDU (2), + invoke-duplicateInvocation (10), + invoke-unrecognizedOperation (11), + invoke-mistypedArgument (12), + invoke-resourceLimitation (13), + invoke-releaseInProgress (14), + invoke-unrecognizedLinkedId (15), + invoke-linkedResponseUnexpected (16), + invoke-unexpectedLinkedOperation (17), + returnResult-unrecognizedInvocation (20), + returnResult-resultResponseUnexpected (21), + returnResult-mistypedResult (22), + returnError-unrecognizedInvocation (30), + returnError-errorResponseUnexpected (31), + returnError-unrecognizedError (32), + returnError-unexpectedError (33), + returnError-mistypedParameter (34) +} + END \ No newline at end of file diff --git a/asnh323/.gitignore b/asnh323/.gitignore new file mode 100644 index 0000000..1455911 --- /dev/null +++ b/asnh323/.gitignore @@ -0,0 +1,2 @@ +/Debug +/Lib diff --git a/asnh323/CVS/Entries b/asnh323/CVS/Entries deleted file mode 100644 index 3d21419..0000000 --- a/asnh323/CVS/Entries +++ /dev/null @@ -1,27 +0,0 @@ -/Makefile.am/1.5/Tue Apr 19 17:49:31 2011// -/Makefile.in/1.6/Sat Feb 2 08:22:53 2008// -/address.asn/1.1.1.1/Wed Aug 1 07:37:36 2001// -/asnh323.dsp/1.5/Wed Aug 21 03:41:16 2002/-kb/ -/asnh323.dtf/1.1/Tue Aug 20 22:35:54 2002// -/asnh323.ignore/1.1/Tue Aug 20 22:35:54 2002// -/asnh323.vcproj/1.5/Fri Dec 2 03:47:00 2005// -/asnh323_dll.dsp/1.3/Fri Dec 2 03:47:00 2005/-kb/ -/asnh323_dll.vcproj/1.2/Fri Dec 2 03:47:00 2005// -/h2250v4.asn/1.2/Fri Dec 2 03:45:15 2005// -/h235v2.asn/1.2/Fri Dec 2 03:45:15 2005// -/h245v7.asn/1.2/Fri Dec 2 03:45:15 2005// -/h248.asn/1.2/Fri Dec 2 03:45:15 2005// -/h4501.asn/1.2/Fri Dec 2 03:45:15 2005// -/h45010.asn/1.2/Fri Dec 2 03:45:15 2005// -/h4502.asn/1.2/Fri Dec 2 03:45:15 2005// -/h4503.asn/1.2/Fri Dec 2 03:45:15 2005// -/h4504.asn/1.2/Fri Dec 2 03:45:15 2005// -/h4505.asn/1.2/Fri Dec 2 03:45:15 2005// -/h4506.asn/1.2/Fri Dec 2 03:45:15 2005// -/h4507.asn/1.2/Fri Dec 2 03:45:15 2005// -/h4508.asn/1.2/Fri Dec 2 03:45:15 2005// -/h4509.asn/1.2/Fri Dec 2 03:45:15 2005// -/lgc.asn/1.2/Fri Dec 2 03:45:15 2005// -/ro.asn/1.2/Fri Dec 2 03:45:15 2005// -/ro.sed/1.1.1.1/Wed Aug 1 07:37:52 2001// -D diff --git a/asnh323/CVS/Entries.Log b/asnh323/CVS/Entries.Log deleted file mode 100644 index 067395b..0000000 --- a/asnh323/CVS/Entries.Log +++ /dev/null @@ -1 +0,0 @@ -A D/testsuite//// diff --git a/asnh323/CVS/Repository b/asnh323/CVS/Repository deleted file mode 100644 index 075a887..0000000 --- a/asnh323/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -iiiasn1/asnh323 diff --git a/asnh323/CVS/Root b/asnh323/CVS/Root deleted file mode 100644 index 5edb607..0000000 --- a/asnh323/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@iiiasn1.cvs.sourceforge.net:/cvsroot/iiiasn1 diff --git a/asnh323/Makefile.am b/asnh323/Makefile.am index 7a74db7..6b8c98d 100644 --- a/asnh323/Makefile.am +++ b/asnh323/Makefile.am @@ -26,7 +26,7 @@ EXTRA_DIST = asnh323.dsp asnh323.vcproj asnh323_dll.dsp asnh323_dll.vcproj asnh3 lib_LIBRARIES = libasnh323.a -INCLUDES = @PIPEFLAG@ @DEBUGFLAG@ -I$(top_builddir)/asn1 -I$(top_srcdir)/asn1 +AM_CPPFLAGS = @PIPEFLAG@ @DEBUGFLAG@ -I$(top_builddir)/asn1 -I$(top_srcdir)/asn1 # specify the header files that should be installed diff --git a/asnh323/Makefile.in b/asnh323/Makefile.in deleted file mode 100644 index e2acecf..0000000 --- a/asnh323/Makefile.in +++ /dev/null @@ -1,893 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# -# Copyright (c) 2001 Institute for Information Industry, Taiwan, Republic of China -# Written by mangelo@users.sourceforge.net -# -# This file is part of III ASN.1 Tool. -# -# The contents of this file are subject to the Mozilla Public License -# Version 1.0 (the "License"); you may not use this file except in -# compliance with the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" -# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -# the License for the specific language governing rights and limitations -# under the License. -# -# III ASN.1 Tool is the ASN.1 to C++ compiler and C++ run time library -# for encoding and decoding ASN.1 types. -# For details, see the III ASN.1 Tool World-Wide-Web page, -# `http://iiiasn1.sourceforge.net'. -# - - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -subdir = asnh323 -DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = \ - $(top_srcdir)/config/ac_cxx_have_new_iostream.m4 \ - $(top_srcdir)/config/ac_cxx_have_stl.m4 \ - $(top_srcdir)/config/ac_cxx_have_wstring.m4 \ - $(top_srcdir)/config/ac_cxx_namespaces.m4 \ - $(top_srcdir)/config/acx_pthread.m4 \ - $(top_srcdir)/config/iii_check_stlport.m4 \ - $(top_srcdir)/config/iii_cross_tools.m4 \ - $(top_srcdir)/config/iii_enable_stl_thread.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" -LIBRARIES = $(lib_LIBRARIES) -AR = ar -ARFLAGS = cru -libasnh323_a_AR = $(AR) $(ARFLAGS) -libasnh323_a_LIBADD = -am__objects_1 = addressing_data_elements.$(OBJEXT) \ - call_completion_operations.$(OBJEXT) \ - call_diversion_operations.$(OBJEXT) \ - call_hold_operations.$(OBJEXT) call_offer_operations.$(OBJEXT) \ - call_park_pickup_operations.$(OBJEXT) \ - call_transfer_operations.$(OBJEXT) \ - call_waiting_operations.$(OBJEXT) \ - h225_generic_parameters_definition.$(OBJEXT) \ - h235_security_messages.$(OBJEXT) h323_messages.$(OBJEXT) \ - h4501_general_error_list.$(OBJEXT) \ - h4501_supplementary_serviceapdu_structure.$(OBJEXT) \ - hm_aliasaddress.$(OBJEXT) hm_alternategk.$(OBJEXT) \ - hm_callidentifier.$(OBJEXT) hm_supportedprefix.$(OBJEXT) \ - hm_transportaddress.$(OBJEXT) \ - manufacturer_specific_service_extension_definition.$(OBJEXT) \ - media_gateway_control.$(OBJEXT) \ - message_waiting_indication_operations.$(OBJEXT) \ - msc_capabilitytableentry.$(OBJEXT) \ - msc_openlogicalchannel.$(OBJEXT) msc_t38faxprofile.$(OBJEXT) \ - msc_transportaddress.$(OBJEXT) \ - multimedia_system_control.$(OBJEXT) name_operations.$(OBJEXT) \ - remote_operations_apdus.$(OBJEXT) \ - remote_operations_information_objects.$(OBJEXT) -am_libasnh323_a_OBJECTS = $(am__objects_1) -libasnh323_a_OBJECTS = $(am_libasnh323_a_OBJECTS) -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/config/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ - -o $@ -SOURCES = $(libasnh323_a_SOURCES) -DIST_SOURCES = $(libasnh323_a_SOURCES) -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -HEADERS = $(include_HEADERS) -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ - distdir -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -am__relativize = \ - dir0=`pwd`; \ - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ - sed_rest='s,^[^/]*/*,,'; \ - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ - sed_butlast='s,/*[^/]*$$,,'; \ - while test -n "$$dir1"; do \ - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ - if test "$$first" != "."; then \ - if test "$$first" = ".."; then \ - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ - else \ - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ - if test "$$first2" = "$$first"; then \ - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ - else \ - dir2="../$$dir2"; \ - fi; \ - dir0="$$dir0"/"$$first"; \ - fi; \ - fi; \ - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ - done; \ - reldir="$$dir2" -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -ASNPARSER = @ASNPARSER@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEBUGFLAG = @DEBUGFLAG@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBSTL = @LIBSTL@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PIPEFLAG = @PIPEFLAG@ -PTHREAD_CC = @PTHREAD_CC@ -PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ -PTHREAD_LIBS = @PTHREAD_LIBS@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -asnh323dir = @asnh323dir@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -AUTOMAKE_OPTIONS = dist-zip -Wno-portability -EXTRA_DIST = asnh323.dsp asnh323.vcproj asnh323_dll.dsp asnh323_dll.vcproj asnh323.dtf asnh323.ignore ro.sed $(asn_sources) -lib_LIBRARIES = libasnh323.a -INCLUDES = @PIPEFLAG@ @DEBUGFLAG@ -I$(top_builddir)/asn1 -I$(top_srcdir)/asn1 - -# specify the header files that should be installed -include_HEADERS = addressing_data_elements.h\ - addressing_data_elements.inl\ - aliases.h\ - call_completion_operations.h\ - call_completion_operations.inl\ - call_diversion_operations.h\ - call_diversion_operations.inl\ - call_hold_operations.h\ - call_hold_operations.inl\ - call_offer_operations.h\ - call_offer_operations.inl\ - call_park_pickup_operations.h\ - call_park_pickup_operations.inl\ - call_transfer_operations.h\ - call_transfer_operations.inl\ - call_waiting_operations.h\ - call_waiting_operations.inl\ - h225_generic_parameters_definition.h\ - h235_security_messages.h\ - h235_security_messages.inl\ - h235_security_messages_t.cxx\ - h323_messages.h\ - h323_messages.inl\ - h4501_general_error_list.h\ - h4501_supplementary_serviceapdu_structure.h\ - h4501_supplementary_serviceapdu_structure.inl\ - hm_aliasaddress.h\ - hm_aliasaddress.inl\ - hm_alternategk.h\ - hm_alternategk.inl\ - hm_callidentifier.h\ - hm_callidentifier.inl\ - hm_supportedprefix.h\ - hm_supportedprefix.inl\ - hm_transportaddress.h\ - hm_transportaddress.inl\ - manufacturer_specific_service_extension_definition.h\ - manufacturer_specific_service_extension_definition.inl\ - manufacturer_specific_service_extension_definition_t.cxx\ - media_gateway_control.h\ - media_gateway_control.inl\ - message_waiting_indication_operations.h\ - message_waiting_indication_operations.inl\ - msc_capabilitytableentry.h\ - msc_capabilitytableentry.inl\ - msc_openlogicalchannel.h\ - msc_openlogicalchannel.inl\ - msc_t38faxprofile.h\ - msc_t38faxprofile.inl\ - msc_transportaddress.h\ - msc_transportaddress.inl\ - multimedia_system_control.h\ - multimedia_system_control.inl\ - name_operations.h\ - name_operations.inl\ - remote_operations_apdus.h\ - remote_operations_apdus.inl\ - remote_operations_apdus_t.cxx\ - remote_operations_information_objects.h\ - remote_operations_information_objects.inl - - -#specify the source files build by asnparser -BUILT_SOURCES = addressing_data_elements.cxx \ -call_completion_operations.cxx\ -call_diversion_operations.cxx\ -call_hold_operations.cxx\ -call_offer_operations.cxx\ -call_park_pickup_operations.cxx\ -call_transfer_operations.cxx\ -call_waiting_operations.cxx\ -h225_generic_parameters_definition.cxx\ -h235_security_messages.cxx\ -h323_messages.cxx\ -h4501_general_error_list.cxx\ -h4501_supplementary_serviceapdu_structure.cxx\ -hm_aliasaddress.cxx\ -hm_alternategk.cxx\ -hm_callidentifier.cxx\ -hm_supportedprefix.cxx\ -hm_transportaddress.cxx\ -manufacturer_specific_service_extension_definition.cxx\ -media_gateway_control.cxx\ -message_waiting_indication_operations.cxx\ -msc_capabilitytableentry.cxx\ -msc_openlogicalchannel.cxx\ -msc_t38faxprofile.cxx\ -msc_transportaddress.cxx\ -multimedia_system_control.cxx\ -name_operations.cxx\ -remote_operations_apdus.cxx\ -remote_operations_information_objects.cxx - - -#specify the ASN.1 source files -asn_sources = h235v2.asn\ - h245v7.asn\ - h2250v4.asn\ - h248.asn\ - address.asn\ - ro.asn\ - h4501.asn\ - h4502.asn\ - h4503.asn\ - h4504.asn\ - h4505.asn\ - h4506.asn\ - h4507.asn\ - h4508.asn\ - h4509.asn\ - h45010.asn\ - lgc.asn - -libasnh323_a_SOURCES = $(BUILT_SOURCES) -CLEANFILES = $(include_HEADERS) $(BUILT_SOURCES) - -# These files are generated by asnparser, and are supporsed to be used. -unusedFILES = address.h address.cxx aliases.cxx cap.h cap.cxx cidmodule.h cidmodule.cxx lgc.h lgc.cxx alternategk_module.h alternategk_module.cxx - -#distribute only the *.asn and Makefile.* files. -DISTFILES = Makefile.am Makefile.in $(EXTRA_DIST) -SUBDIRS = . testsuite -all: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -.SUFFIXES: -.SUFFIXES: .cxx .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu asnh323/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu asnh323/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-libLIBRARIES: $(lib_LIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" - @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \ - list2=; for p in $$list; do \ - if test -f $$p; then \ - list2="$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(INSTALL_DATA) $$list2 '$(DESTDIR)$(libdir)'"; \ - $(INSTALL_DATA) $$list2 "$(DESTDIR)$(libdir)" || exit $$?; } - @$(POST_INSTALL) - @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \ - for p in $$list; do \ - if test -f $$p; then \ - $(am__strip_dir) \ - echo " ( cd '$(DESTDIR)$(libdir)' && $(RANLIB) $$f )"; \ - ( cd "$(DESTDIR)$(libdir)" && $(RANLIB) $$f ) || exit $$?; \ - else :; fi; \ - done - -uninstall-libLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(libdir)' && rm -f "$$files" )"; \ - cd "$(DESTDIR)$(libdir)" && rm -f $$files - -clean-libLIBRARIES: - -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES) -libasnh323.a: $(libasnh323_a_OBJECTS) $(libasnh323_a_DEPENDENCIES) - -rm -f libasnh323.a - $(libasnh323_a_AR) libasnh323.a $(libasnh323_a_OBJECTS) $(libasnh323_a_LIBADD) - $(RANLIB) libasnh323.a - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/addressing_data_elements.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/call_completion_operations.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/call_diversion_operations.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/call_hold_operations.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/call_offer_operations.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/call_park_pickup_operations.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/call_transfer_operations.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/call_waiting_operations.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/h225_generic_parameters_definition.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/h235_security_messages.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/h323_messages.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/h4501_general_error_list.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/h4501_supplementary_serviceapdu_structure.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hm_aliasaddress.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hm_alternategk.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hm_callidentifier.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hm_supportedprefix.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hm_transportaddress.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/manufacturer_specific_service_extension_definition.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/media_gateway_control.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/message_waiting_indication_operations.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msc_capabilitytableentry.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msc_openlogicalchannel.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msc_t38faxprofile.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msc_transportaddress.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/multimedia_system_control.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/name_operations.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_operations_apdus.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_operations_information_objects.Po@am__quote@ - -.cxx.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cxx.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` -install-includeHEADERS: $(include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" - @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ - $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ - done - -uninstall-includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(includedir)" && rm -f $$files - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -$(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ - $(am__relativize); \ - new_distdir=$$reldir; \ - dir1=$$subdir; dir2="$(top_distdir)"; \ - $(am__relativize); \ - new_top_distdir=$$reldir; \ - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ - ($(am__cd) $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$new_top_distdir" \ - distdir="$$new_distdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - am__skip_mode_fix=: \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) check-recursive -all-am: Makefile $(LIBRARIES) $(HEADERS) -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -clean: clean-recursive - -clean-am: clean-generic clean-libLIBRARIES mostlyclean-am - -distclean: distclean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -html-am: - -info: info-recursive - -info-am: - -install-data-am: install-includeHEADERS - -install-dvi: install-dvi-recursive - -install-dvi-am: - -install-exec-am: install-libLIBRARIES - -install-html: install-html-recursive - -install-html-am: - -install-info: install-info-recursive - -install-info-am: - -install-man: - -install-pdf: install-pdf-recursive - -install-pdf-am: - -install-ps: install-ps-recursive - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-compile mostlyclean-generic - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-includeHEADERS uninstall-libLIBRARIES - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ - ctags-recursive install install-am install-strip \ - tags-recursive - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic \ - clean-libLIBRARIES ctags ctags-recursive distclean \ - distclean-compile distclean-generic distclean-tags distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-includeHEADERS install-info install-info-am \ - install-libLIBRARIES install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \ - uninstall uninstall-am uninstall-includeHEADERS \ - uninstall-libLIBRARIES - - -$(BUILT_SOURCES) : $(asn_sources) - @ASNPARSER@ -v -c $(addprefix $(srcdir)/, $(asn_sources)) - rm -f $(unusedFILES) - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/asnh323/asnh323-x32-vs120.vcxproj b/asnh323/asnh323-x32-vs120.vcxproj new file mode 100644 index 0000000..db404ed --- /dev/null +++ b/asnh323/asnh323-x32-vs120.vcxproj @@ -0,0 +1,269 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {4E4B52F7-9D54-4183-99A7-00212102BCBF} + H323rts + + + + DynamicLibrary + v120 + false + MultiByte + + + StaticLibrary + v120 + false + MultiByte + + + + + + + + + + + + + + + <_ProjectFileVersion>11.0.50727.1 + + + .\..\Lib\ + .\Release\ + + + .\Lib\ + .\Debug\ + $(ProjectName)d + .dll + + + + OnlyExplicitInline + .;..\asn1;%(AdditionalIncludeDirectories) + NDEBUG;_LIB;__WIN32__;WIN32;ASN1_HAS_IOSTREAM;ASN1_ALLOCATOR;%(PreprocessorDefinitions) + true + MultiThreadedDLL + true + true + + .\Release/$(TargetName).pch + .\Release/ + .\Release/ + .\Release/ + Level3 + true + ProgramDatabase + Default + + + NDEBUG;%(PreprocessorDefinitions) + 0x0404 + + + .\..\Lib\$(TargetName)s.lib + true + + + + + Disabled + .;../asn1;../asnh323/cxx;%(AdditionalIncludeDirectories) + _DEBUG;_CONSOLE;__WIN32__;WIN32;_USRDLL;H323_EXPORTS;H323_DLL;ASN1_HAS_IOSTREAM;ASN1_ALLOCATOR;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + true + + .\Debug/$(TargetName).pch + .\Debug/ + .\Debug/ + .\Debug/ + Level3 + true + EditAndContinue + Default + + + _DEBUG;%(PreprocessorDefinitions) + 0x0404 + + + ../lib/$(TargetFileName) + true + + + ../lib/$(TargetName)$(TargetExt) + + + ../lib/$(TargetName).pdb + + + + + ..\lib\ASN1cmpd -o cxx -v -c -m H323 h245v7.asn h235v2.asn h2250v4.asn h248.asn ro.asn address.asn h4501.asn h4502.asn h4503.asn h4504.asn h4505.asn h4506.asn h4507.asn h4508.asn h4509.asn h45010.asn lgc.asn +del cxx\lgc.cxx +del cxx\lgc.h +del cxx\address.cxx +del cxx\address.h +del cxx\cap.cxx +del cxx\cap.h +del cxx\aliases.cxx +del cxx\cidmodule.cxx +del cxx\cidmodule.h + + ..\lib\ASN1cmpd.exe;%(AdditionalInputs) + cxx/addressing_data_elements.cxx;cxx/addressing_data_elements.h;cxx/addressing_data_elements.inl;cxx/aliases.h;cxx/alternategk_module.cxx;cxx/alternategk_module.h;cxx/call_completion_operations.cxx;cxx/call_completion_operations.h;cxx/call_completion_operations.inl;cxx/call_diversion_operations.cxx;cxx/call_diversion_operations.h;cxx/call_diversion_operations.inl;cxx/call_hold_operations.cxx;cxx/call_hold_operations.h;cxx/call_hold_operations.inl;cxx/call_offer_operations.cxx;cxx/call_offer_operations.h;cxx/call_offer_operations.inl;cxx/call_park_pickup_operations.cxx;cxx/call_park_pickup_operations.h;cxx/call_park_pickup_operations.inl;cxx/call_transfer_operations.cxx;cxx/call_transfer_operations.h;cxx/call_transfer_operations.inl;cxx/call_waiting_operations.cxx;cxx/call_waiting_operations.h;cxx/call_waiting_operations.inl;cxx/h225_generic_parameters_definition.cxx;cxx/h225_generic_parameters_definition.h;cxx/h235_security_messages.cxx;cxx/h235_security_messages.h;cxx/h235_security_messages.inl;cxx/h235_security_messages_t.cxx;cxx/h323_messages.cxx;cxx/h323_messages.h;cxx/h323_messages.inl;cxx/h4501_general_error_list.cxx;cxx/h4501_general_error_list.h;cxx/h4501_supplementary_serviceapdu_structure.cxx;cxx/h4501_supplementary_serviceapdu_structure.h;cxx/h4501_supplementary_serviceapdu_structure.inl;cxx/hm_aliasaddress.cxx;cxx/hm_aliasaddress.h;cxx/hm_aliasaddress.inl;cxx/hm_alternategk.cxx;cxx/hm_alternategk.h;cxx/hm_alternategk.inl;cxx/hm_callidentifier.cxx;cxx/hm_callidentifier.h;cxx/hm_callidentifier.inl;cxx/hm_supportedprefix.cxx;cxx/hm_supportedprefix.h;cxx/hm_supportedprefix.inl;cxx/hm_transportaddress.cxx;cxx/hm_transportaddress.h;cxx/hm_transportaddress.inl;cxx/manufacturer_specific_service_extension_definition.cxx;cxx/manufacturer_specific_service_extension_definition.h;cxx/manufacturer_specific_service_extension_definition.inl;cxx/manufacturer_specific_service_extension_definition_t.cxx;cxx/media_gateway_control.cxx;cxx/media_gateway_control.h;cxx/media_gateway_control.inl;cxx/message_waiting_indication_operations.cxx;cxx/message_waiting_indication_operations.h;cxx/message_waiting_indication_operations.inl;cxx/msc_capabilitytableentry.cxx;cxx/msc_capabilitytableentry.h;cxx/msc_capabilitytableentry.inl;cxx/msc_openlogicalchannel.cxx;cxx/msc_openlogicalchannel.h;cxx/msc_openlogicalchannel.inl;cxx/msc_t38faxprofile.cxx;cxx/msc_t38faxprofile.h;cxx/msc_t38faxprofile.inl;cxx/msc_transportaddress.cxx;cxx/msc_transportaddress.h;cxx/msc_transportaddress.inl;cxx/multimedia_system_control.cxx;cxx/multimedia_system_control.h;cxx/multimedia_system_control.inl;cxx/name_operations.cxx;cxx/name_operations.h;cxx/name_operations.inl;cxx/remote_operations_apdus.cxx;cxx/remote_operations_apdus.h;cxx/remote_operations_apdus.inl;cxx/remote_operations_apdus_t.cxx;cxx/remote_operations_information_objects.cxx;cxx/remote_operations_information_objects.h;cxx/remote_operations_information_objects.inl;%(Outputs) + ..\lib\ASN1cmp -o cxx -v -c -m H323 h245v7.asn h235v2.asn h2250v4.asn h248.asn ro.asn address.asn h4501.asn h4502.asn h4503.asn h4504.asn h4505.asn h4506.asn h4507.asn h4508.asn h4509.asn h45010.asn lgc.asn +del cxx\lgc.cxx +del cxx\lgc.h +del cxx\address.cxx +del cxx\address.h +del cxx\cap.cxx +del cxx\cap.h +del cxx\aliases.cxx +del cxx\cidmodule.cxx +del cxx\cidmodule.h + + ..\lib\ASN1cmp.exe;%(AdditionalInputs) + cxx/addressing_data_elements.cxx;cxx/addressing_data_elements.h;cxx/addressing_data_elements.inl;cxx/aliases.h;cxx/alternategk_module.cxx;cxx/alternategk_module.h;cxx/call_completion_operations.cxx;cxx/call_completion_operations.h;cxx/call_completion_operations.inl;cxx/call_diversion_operations.cxx;cxx/call_diversion_operations.h;cxx/call_diversion_operations.inl;cxx/call_hold_operations.cxx;cxx/call_hold_operations.h;cxx/call_hold_operations.inl;cxx/call_offer_operations.cxx;cxx/call_offer_operations.h;cxx/call_offer_operations.inl;cxx/call_park_pickup_operations.cxx;cxx/call_park_pickup_operations.h;cxx/call_park_pickup_operations.inl;cxx/call_transfer_operations.cxx;cxx/call_transfer_operations.h;cxx/call_transfer_operations.inl;cxx/call_waiting_operations.cxx;cxx/call_waiting_operations.h;cxx/call_waiting_operations.inl;cxx/h225_generic_parameters_definition.cxx;cxx/h225_generic_parameters_definition.h;cxx/h235_security_messages.cxx;cxx/h235_security_messages.h;cxx/h235_security_messages.inl;cxx/h235_security_messages_t.cxx;cxx/h323_messages.cxx;cxx/h323_messages.h;cxx/h323_messages.inl;cxx/h4501_general_error_list.cxx;cxx/h4501_general_error_list.h;cxx/h4501_supplementary_serviceapdu_structure.cxx;cxx/h4501_supplementary_serviceapdu_structure.h;cxx/h4501_supplementary_serviceapdu_structure.inl;cxx/hm_aliasaddress.cxx;cxx/hm_aliasaddress.h;cxx/hm_aliasaddress.inl;cxx/hm_alternategk.cxx;cxx/hm_alternategk.h;cxx/hm_alternategk.inl;cxx/hm_callidentifier.cxx;cxx/hm_callidentifier.h;cxx/hm_callidentifier.inl;cxx/hm_supportedprefix.cxx;cxx/hm_supportedprefix.h;cxx/hm_supportedprefix.inl;cxx/hm_transportaddress.cxx;cxx/hm_transportaddress.h;cxx/hm_transportaddress.inl;cxx/manufacturer_specific_service_extension_definition.cxx;cxx/manufacturer_specific_service_extension_definition.h;cxx/manufacturer_specific_service_extension_definition.inl;cxx/manufacturer_specific_service_extension_definition_t.cxx;cxx/media_gateway_control.cxx;cxx/media_gateway_control.h;cxx/media_gateway_control.inl;cxx/message_waiting_indication_operations.cxx;cxx/message_waiting_indication_operations.h;cxx/message_waiting_indication_operations.inl;cxx/msc_capabilitytableentry.cxx;cxx/msc_capabilitytableentry.h;cxx/msc_capabilitytableentry.inl;cxx/msc_openlogicalchannel.cxx;cxx/msc_openlogicalchannel.h;cxx/msc_openlogicalchannel.inl;cxx/msc_t38faxprofile.cxx;cxx/msc_t38faxprofile.h;cxx/msc_t38faxprofile.inl;cxx/msc_transportaddress.cxx;cxx/msc_transportaddress.h;cxx/msc_transportaddress.inl;cxx/multimedia_system_control.cxx;cxx/multimedia_system_control.h;cxx/multimedia_system_control.inl;cxx/name_operations.cxx;cxx/name_operations.h;cxx/name_operations.inl;cxx/remote_operations_apdus.cxx;cxx/remote_operations_apdus.h;cxx/remote_operations_apdus.inl;cxx/remote_operations_apdus_t.cxx;cxx/remote_operations_information_objects.cxx;cxx/remote_operations_information_objects.h;cxx/remote_operations_information_objects.inl;%(Outputs) + + + + + {cc4dce75-9957-4642-a86b-ea14dbcebf54} + false + + + {1eed4b13-2a75-4c49-a198-12f2a46f5944} + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/asnh323/asnh323-x32-vs120.vcxproj.filters b/asnh323/asnh323-x32-vs120.vcxproj.filters new file mode 100644 index 0000000..69df2d7 --- /dev/null +++ b/asnh323/asnh323-x32-vs120.vcxproj.filters @@ -0,0 +1,304 @@ + + + + + {b17e0b4a-5c56-4a85-9d01-e9a178a2768d} + cpp;c;cxx;rc;def;r;odl;idl;hpj;bat + + + {bbab484d-cb81-457a-8353-16d6811baf69} + h;hpp;hxx;hm;inl + + + + + Source Files + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/asnh323/asnh323.dsp b/asnh323/asnh323.dsp index f2e5729..569153d 100644 --- a/asnh323/asnh323.dsp +++ b/asnh323/asnh323.dsp @@ -1,1023 +1,1023 @@ -# Microsoft Developer Studio Project File - Name="asnh323" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=asnh323 - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "asnh323.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "asnh323.mak" CFG="asnh323 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "asnh323 - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "asnh323 - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName ""$/ITGv4/asnh323", BEAAAAAA" -# PROP Scc_LocalPath "." -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "asnh323 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\Lib" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /I "." /I "..\asn1" /D "NDEBUG" /D "_LIB" /D "__WIN32__" /D "WIN32" /D "_MBCS" /D "ASN1_HAS_IOSTREAM" /D "ASN1_STATIC" /D "H323_STATIC" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"..\Lib\asnh323s.lib" - -!ELSEIF "$(CFG)" == "asnh323 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Lib" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /GR /GX /ZI /Od /I "." /I "..\asn1" /I "../asn1" /I "../asnh323/cxx" /D "_DEBUG" /D "_LIB" /D "__WIN32__" /D "WIN32" /D "_MBCS" /D "ASN1_HAS_IOSTREAM" /D "ASN1_STATIC" /D "H323_STATIC" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"..\LIB\asnh323sd.lib" - -!ENDIF - -# Begin Target - -# Name "asnh323 - Win32 Release" -# Name "asnh323 - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\cxx\addressing_data_elements.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_completion_operations.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_diversion_operations.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_hold_operations.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_offer_operations.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_park_pickup_operations.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_transfer_operations.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_waiting_operations.cxx -# End Source File -# Begin Source File - -SOURCE=.\h2250v4.asn - -!IF "$(CFG)" == "asnh323 - Win32 Release" - -# PROP Intermediate_Dir "cxx" -# Begin Custom Build -IntDir=.\cxx -InputPath=.\h2250v4.asn - -BuildCmds= \ - ..\Lib\asnparser -o $(IntDir) -v -m H323 -c h245v7.asn h235v2.asn h2250v4.asn h248.asn ro.asn address.asn h4501.asn h4502.asn h4503.asn h4504.asn h4505.asn h4506.asn h4507.asn h4508.asn h4509.asn h45010.asn lgc.asn \ - del $(IntDir)\lgc.cxx \ - del $(IntDir)\lgc.h \ - del $(IntDir)\address.cxx \ - del $(IntDir)\address.h \ - del $(IntDir)\cap.cxx \ - del $(IntDir)\cap.h \ - del $(IntDir)\aliases.cxx \ - del $(IntDir)\cidmodule.cxx \ - del $(IntDir)\cidmodule.h \ - - -"$(IntDir)\addressing_data_elements.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\addressing_data_elements.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\addressing_data_elements.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\aliases.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\alternategk_module.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\alternategk_module.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_completion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_completion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_completion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_diversion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_diversion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_diversion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_hold_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_hold_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_hold_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_offer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_offer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_offer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_park_pickup_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_park_pickup_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_park_pickup_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_transfer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_transfer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_transfer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_waiting_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_waiting_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_waiting_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h225_generic_parameters_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h225_generic_parameters_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h235_security_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h235_security_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h235_security_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h235_security_messages_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h323_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h323_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h323_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h4501_general_error_list.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h4501_general_error_list.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h4501_supplementary_serviceapdu_structure.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h4501_supplementary_serviceapdu_structure.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h4501_supplementary_serviceapdu_structure.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_aliasaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_aliasaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_aliasaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_alternategk.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_alternategk.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_alternategk.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_callidentifier.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_callidentifier.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_callidentifier.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_supportedprefix.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_supportedprefix.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_supportedprefix.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_transportaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_transportaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_transportaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\manufacturer_specific_service_extension_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\manufacturer_specific_service_extension_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\manufacturer_specific_service_extension_definition.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\manufacturer_specific_service_extension_definition_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\media_gateway_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\media_gateway_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\media_gateway_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\message_waiting_indication_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\message_waiting_indication_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\message_waiting_indication_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_capabilitytableentry.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_capabilitytableentry.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_capabilitytableentry.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_openlogicalchannel.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_openlogicalchannel.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_openlogicalchannel.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_t38faxprofile.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_t38faxprofile.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_t38faxprofile.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_transportaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_transportaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_transportaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\multimedia_system_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\multimedia_system_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\multimedia_system_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\name_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\name_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\name_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\remote_operations_apdus.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\remote_operations_apdus.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\remote_operations_apdus.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\remote_operations_apdus_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\remote_operations_information_objects.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\remote_operations_information_objects.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\remote_operations_information_objects.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "asnh323 - Win32 Debug" - -# PROP Intermediate_Dir "cxx" -# Begin Custom Build -IntDir=.\cxx -InputPath=.\h2250v4.asn - -BuildCmds= \ - ..\Lib\asnparser -o $(IntDir) -v -m H323 -c h245v7.asn h235v2.asn h2250v4.asn h248.asn ro.asn address.asn h4501.asn h4502.asn h4503.asn h4504.asn h4505.asn h4506.asn h4507.asn h4508.asn h4509.asn h45010.asn lgc.asn \ - del $(IntDir)\lgc.cxx \ - del $(IntDir)\lgc.h \ - del $(IntDir)\address.cxx \ - del $(IntDir)\address.h \ - del $(IntDir)\cap.cxx \ - del $(IntDir)\cap.h \ - del $(IntDir)\aliases.cxx \ - del $(IntDir)\cidmodule.cxx \ - del $(IntDir)\cidmodule.h \ - - -"$(IntDir)\addressing_data_elements.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\addressing_data_elements.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\addressing_data_elements.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\aliases.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\alternategk_module.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\alternategk_module.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_completion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_completion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_completion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_diversion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_diversion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_diversion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_hold_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_hold_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_hold_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_offer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_offer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_offer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_park_pickup_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_park_pickup_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_park_pickup_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_transfer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_transfer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_transfer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_waiting_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_waiting_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\call_waiting_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h225_generic_parameters_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h225_generic_parameters_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h235_security_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h235_security_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h235_security_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h235_security_messages_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h323_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h323_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h323_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h4501_general_error_list.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h4501_general_error_list.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h4501_supplementary_serviceapdu_structure.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h4501_supplementary_serviceapdu_structure.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\h4501_supplementary_serviceapdu_structure.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_aliasaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_aliasaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_aliasaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_alternategk.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_alternategk.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_alternategk.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_callidentifier.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_callidentifier.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_callidentifier.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_supportedprefix.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_supportedprefix.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_supportedprefix.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_transportaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_transportaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\hm_transportaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\manufacturer_specific_service_extension_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\manufacturer_specific_service_extension_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\manufacturer_specific_service_extension_definition.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\manufacturer_specific_service_extension_definition_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\media_gateway_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\media_gateway_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\media_gateway_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\message_waiting_indication_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\message_waiting_indication_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\message_waiting_indication_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_capabilitytableentry.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_capabilitytableentry.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_capabilitytableentry.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_openlogicalchannel.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_openlogicalchannel.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_openlogicalchannel.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_t38faxprofile.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_t38faxprofile.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_t38faxprofile.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_transportaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_transportaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\msc_transportaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\multimedia_system_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\multimedia_system_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\multimedia_system_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\name_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\name_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\name_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\remote_operations_apdus.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\remote_operations_apdus.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\remote_operations_apdus.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\remote_operations_apdus_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\remote_operations_information_objects.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\remote_operations_information_objects.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(IntDir)\remote_operations_information_objects.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\cxx\h225_generic_parameters_definition.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\h235_security_messages.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\h323_messages.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\h4501_general_error_list.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\h4501_supplementary_serviceapdu_structure.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_aliasaddress.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_alternategk.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_callidentifier.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_supportedprefix.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_transportaddress.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\media_gateway_control.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\message_waiting_indication_operations.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\msc_capabilitytableentry.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\msc_openlogicalchannel.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\msc_t38faxprofile.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\msc_transportaddress.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\multimedia_system_control.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\name_operations.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\remote_operations_apdus.cxx -# End Source File -# Begin Source File - -SOURCE=.\cxx\remote_operations_information_objects.cxx -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\cxx\addressing_data_elements.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\addressing_data_elements.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_completion_operations.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_completion_operations.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_diversion_operations.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_diversion_operations.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_hold_operations.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_hold_operations.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_offer_operations.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_offer_operations.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_park_pickup_operations.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_park_pickup_operations.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_transfer_operations.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_transfer_operations.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_waiting_operations.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\call_waiting_operations.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\h225_generic_parameters_definition.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\h235_security_messages.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\h235_security_messages.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\h323_messages.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\h323_messages.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\h4501_general_error_list.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\h4501_supplementary_serviceapdu_structure.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\h4501_supplementary_serviceapdu_structure.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_aliasaddress.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_aliasaddress.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_alternategk.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_alternategk.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_callidentifier.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_callidentifier.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_supportedprefix.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_supportedprefix.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_transportaddress.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\hm_transportaddress.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\manufacturer_specific_service_extension_definition.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\manufacturer_specific_service_extension_definition.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\media_gateway_control.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\media_gateway_control.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\message_waiting_indication_operations.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\message_waiting_indication_operations.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\msc_capabilitytableentry.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\msc_capabilitytableentry.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\msc_openlogicalchannel.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\msc_openlogicalchannel.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\msc_t38faxprofile.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\msc_t38faxprofile.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\msc_transportaddress.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\msc_transportaddress.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\multimedia_system_control.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\multimedia_system_control.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\name_operations.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\name_operations.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\remote_operations_apdus.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\remote_operations_apdus.inl -# End Source File -# Begin Source File - -SOURCE=.\cxx\remote_operations_information_objects.h -# End Source File -# Begin Source File - -SOURCE=.\cxx\remote_operations_information_objects.inl -# End Source File -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="asnh323" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=asnh323 - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "asnh323.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "asnh323.mak" CFG="asnh323 - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "asnh323 - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "asnh323 - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName ""$/ITGv4/asnh323", BEAAAAAA" +# PROP Scc_LocalPath "." +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "asnh323 - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "..\Lib" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /I "." /I "..\asn1" /D "NDEBUG" /D "_LIB" /D "__WIN32__" /D "WIN32" /D "_MBCS" /D "ASN1_HAS_IOSTREAM" /D "ASN1_STATIC" /D "H323_STATIC" /YX /FD /c +# ADD BASE RSC /l 0x404 /d "NDEBUG" +# ADD RSC /l 0x404 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\Lib\asnh323s.lib" + +!ELSEIF "$(CFG)" == "asnh323 - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Lib" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /GR /GX /ZI /Od /I "." /I "..\asn1" /I "../asn1" /I "../asnh323/cxx" /D "_DEBUG" /D "_LIB" /D "__WIN32__" /D "WIN32" /D "_MBCS" /D "ASN1_HAS_IOSTREAM" /D "ASN1_STATIC" /D "H323_STATIC" /YX /FD /GZ /c +# ADD BASE RSC /l 0x404 /d "_DEBUG" +# ADD RSC /l 0x404 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\LIB\asnh323sd.lib" + +!ENDIF + +# Begin Target + +# Name "asnh323 - Win32 Release" +# Name "asnh323 - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=.\cxx\addressing_data_elements.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_completion_operations.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_diversion_operations.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_hold_operations.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_offer_operations.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_park_pickup_operations.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_transfer_operations.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_waiting_operations.cxx +# End Source File +# Begin Source File + +SOURCE=.\h2250v4.asn + +!IF "$(CFG)" == "asnh323 - Win32 Release" + +# PROP Intermediate_Dir "cxx" +# Begin Custom Build +IntDir=.\cxx +InputPath=.\h2250v4.asn + +BuildCmds= \ + ..\Lib\asnparser -o $(IntDir) -v -m H323 -c h245v7.asn h235v2.asn h2250v4.asn h248.asn ro.asn address.asn h4501.asn h4502.asn h4503.asn h4504.asn h4505.asn h4506.asn h4507.asn h4508.asn h4509.asn h45010.asn lgc.asn \ + del $(IntDir)\lgc.cxx \ + del $(IntDir)\lgc.h \ + del $(IntDir)\address.cxx \ + del $(IntDir)\address.h \ + del $(IntDir)\cap.cxx \ + del $(IntDir)\cap.h \ + del $(IntDir)\aliases.cxx \ + del $(IntDir)\cidmodule.cxx \ + del $(IntDir)\cidmodule.h \ + + +"$(IntDir)\addressing_data_elements.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\addressing_data_elements.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\addressing_data_elements.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\aliases.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\alternategk_module.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\alternategk_module.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_completion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_completion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_completion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_diversion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_diversion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_diversion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_hold_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_hold_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_hold_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_offer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_offer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_offer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_park_pickup_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_park_pickup_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_park_pickup_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_transfer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_transfer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_transfer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_waiting_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_waiting_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_waiting_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h225_generic_parameters_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h225_generic_parameters_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h235_security_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h235_security_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h235_security_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h235_security_messages_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h323_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h323_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h323_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h4501_general_error_list.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h4501_general_error_list.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h4501_supplementary_serviceapdu_structure.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h4501_supplementary_serviceapdu_structure.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h4501_supplementary_serviceapdu_structure.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_aliasaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_aliasaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_aliasaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_alternategk.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_alternategk.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_alternategk.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_callidentifier.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_callidentifier.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_callidentifier.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_supportedprefix.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_supportedprefix.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_supportedprefix.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_transportaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_transportaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_transportaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\manufacturer_specific_service_extension_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\manufacturer_specific_service_extension_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\manufacturer_specific_service_extension_definition.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\manufacturer_specific_service_extension_definition_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\media_gateway_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\media_gateway_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\media_gateway_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\message_waiting_indication_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\message_waiting_indication_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\message_waiting_indication_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_capabilitytableentry.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_capabilitytableentry.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_capabilitytableentry.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_openlogicalchannel.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_openlogicalchannel.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_openlogicalchannel.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_t38faxprofile.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_t38faxprofile.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_t38faxprofile.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_transportaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_transportaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_transportaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\multimedia_system_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\multimedia_system_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\multimedia_system_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\name_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\name_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\name_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\remote_operations_apdus.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\remote_operations_apdus.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\remote_operations_apdus.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\remote_operations_apdus_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\remote_operations_information_objects.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\remote_operations_information_objects.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\remote_operations_information_objects.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ELSEIF "$(CFG)" == "asnh323 - Win32 Debug" + +# PROP Intermediate_Dir "cxx" +# Begin Custom Build +IntDir=.\cxx +InputPath=.\h2250v4.asn + +BuildCmds= \ + ..\Lib\asnparser -o $(IntDir) -v -m H323 -c h245v7.asn h235v2.asn h2250v4.asn h248.asn ro.asn address.asn h4501.asn h4502.asn h4503.asn h4504.asn h4505.asn h4506.asn h4507.asn h4508.asn h4509.asn h45010.asn lgc.asn \ + del $(IntDir)\lgc.cxx \ + del $(IntDir)\lgc.h \ + del $(IntDir)\address.cxx \ + del $(IntDir)\address.h \ + del $(IntDir)\cap.cxx \ + del $(IntDir)\cap.h \ + del $(IntDir)\aliases.cxx \ + del $(IntDir)\cidmodule.cxx \ + del $(IntDir)\cidmodule.h \ + + +"$(IntDir)\addressing_data_elements.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\addressing_data_elements.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\addressing_data_elements.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\aliases.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\alternategk_module.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\alternategk_module.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_completion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_completion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_completion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_diversion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_diversion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_diversion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_hold_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_hold_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_hold_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_offer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_offer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_offer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_park_pickup_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_park_pickup_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_park_pickup_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_transfer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_transfer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_transfer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_waiting_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_waiting_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\call_waiting_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h225_generic_parameters_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h225_generic_parameters_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h235_security_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h235_security_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h235_security_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h235_security_messages_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h323_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h323_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h323_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h4501_general_error_list.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h4501_general_error_list.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h4501_supplementary_serviceapdu_structure.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h4501_supplementary_serviceapdu_structure.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\h4501_supplementary_serviceapdu_structure.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_aliasaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_aliasaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_aliasaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_alternategk.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_alternategk.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_alternategk.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_callidentifier.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_callidentifier.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_callidentifier.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_supportedprefix.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_supportedprefix.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_supportedprefix.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_transportaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_transportaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\hm_transportaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\manufacturer_specific_service_extension_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\manufacturer_specific_service_extension_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\manufacturer_specific_service_extension_definition.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\manufacturer_specific_service_extension_definition_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\media_gateway_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\media_gateway_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\media_gateway_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\message_waiting_indication_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\message_waiting_indication_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\message_waiting_indication_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_capabilitytableentry.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_capabilitytableentry.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_capabilitytableentry.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_openlogicalchannel.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_openlogicalchannel.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_openlogicalchannel.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_t38faxprofile.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_t38faxprofile.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_t38faxprofile.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_transportaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_transportaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\msc_transportaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\multimedia_system_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\multimedia_system_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\multimedia_system_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\name_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\name_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\name_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\remote_operations_apdus.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\remote_operations_apdus.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\remote_operations_apdus.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\remote_operations_apdus_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\remote_operations_information_objects.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\remote_operations_information_objects.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(IntDir)\remote_operations_information_objects.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\cxx\h225_generic_parameters_definition.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\h235_security_messages.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\h323_messages.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\h4501_general_error_list.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\h4501_supplementary_serviceapdu_structure.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_aliasaddress.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_alternategk.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_callidentifier.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_supportedprefix.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_transportaddress.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\media_gateway_control.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\message_waiting_indication_operations.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\msc_capabilitytableentry.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\msc_openlogicalchannel.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\msc_t38faxprofile.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\msc_transportaddress.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\multimedia_system_control.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\name_operations.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\remote_operations_apdus.cxx +# End Source File +# Begin Source File + +SOURCE=.\cxx\remote_operations_information_objects.cxx +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=.\cxx\addressing_data_elements.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\addressing_data_elements.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_completion_operations.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_completion_operations.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_diversion_operations.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_diversion_operations.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_hold_operations.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_hold_operations.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_offer_operations.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_offer_operations.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_park_pickup_operations.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_park_pickup_operations.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_transfer_operations.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_transfer_operations.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_waiting_operations.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\call_waiting_operations.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\h225_generic_parameters_definition.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\h235_security_messages.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\h235_security_messages.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\h323_messages.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\h323_messages.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\h4501_general_error_list.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\h4501_supplementary_serviceapdu_structure.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\h4501_supplementary_serviceapdu_structure.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_aliasaddress.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_aliasaddress.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_alternategk.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_alternategk.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_callidentifier.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_callidentifier.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_supportedprefix.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_supportedprefix.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_transportaddress.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\hm_transportaddress.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\manufacturer_specific_service_extension_definition.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\manufacturer_specific_service_extension_definition.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\media_gateway_control.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\media_gateway_control.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\message_waiting_indication_operations.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\message_waiting_indication_operations.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\msc_capabilitytableentry.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\msc_capabilitytableentry.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\msc_openlogicalchannel.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\msc_openlogicalchannel.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\msc_t38faxprofile.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\msc_t38faxprofile.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\msc_transportaddress.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\msc_transportaddress.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\multimedia_system_control.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\multimedia_system_control.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\name_operations.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\name_operations.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\remote_operations_apdus.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\remote_operations_apdus.inl +# End Source File +# Begin Source File + +SOURCE=.\cxx\remote_operations_information_objects.h +# End Source File +# Begin Source File + +SOURCE=.\cxx\remote_operations_information_objects.inl +# End Source File +# End Group +# End Target +# End Project diff --git a/asnh323/asnh323_dll-x32-vs120.vcxproj b/asnh323/asnh323_dll-x32-vs120.vcxproj new file mode 100644 index 0000000..ec7c6fc --- /dev/null +++ b/asnh323/asnh323_dll-x32-vs120.vcxproj @@ -0,0 +1,126 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {B4CB263E-7D42-4FC4-AC88-3DE8BE570513} + Win32Proj + asnh323_dll + + + + DynamicLibrary + v120 + MultiByte + + + DynamicLibrary + v120 + MultiByte + + + + + + + + + + + + + + + <_ProjectFileVersion>11.0.50727.1 + + + ../lib\ + Debug\ + true + $(ProjectName)d + + + ../lib\ + Release\ + false + + + + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;ASNH323_DLL_EXPORTS;ASN1_DLL;H323_DLL;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level3 + EditAndContinue + + + ../lib/$(TargetFileName) + asnh323d.def + true + $(OutDir)asnh323_dll.pdb + Windows + ../lib/asnh323d.lib + MachineX86 + + + + + MaxSpeed + OnlyExplicitInline + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;ASNH323_DLL_EXPORTS;ASN1_DLL;H323_DLL;%(PreprocessorDefinitions) + true + MultiThreadedDLL + true + + Level3 + ProgramDatabase + + + ../lib/asnh323d.dll + asnh323d.def + true + Windows + true + true + ../lib/asnh323d.lib + MachineX86 + + + + + ..\lib\makedefd -l ..\lib\asnh323sd.lib asnh323d.def + ..\lib\asnh323sd.lib;..\lib\makedefd.exe;%(AdditionalInputs) + asnh323d.def;%(Outputs) + ..\lib\makedef -l ..\lib\asnh323s.lib asnh323.def + ..\lib\makedef.exe;..\lib\asnh323s.lib;%(AdditionalInputs) + asnh323.def;%(Outputs) + + + + + + + + {fa18351a-6e6c-4033-aeb5-fdc8e5bc4b20} + false + + + {4e4b52f7-9d54-4183-99a7-00212102bcbf} + false + + + + + + \ No newline at end of file diff --git a/asnh323/asnh323_dll-x32-vs120.vcxproj.filters b/asnh323/asnh323_dll-x32-vs120.vcxproj.filters new file mode 100644 index 0000000..a287416 --- /dev/null +++ b/asnh323/asnh323_dll-x32-vs120.vcxproj.filters @@ -0,0 +1,27 @@ + + + + + {63700a07-8f0a-40e5-ba69-6815eeb058c5} + cpp;c;cxx;def;odl;idl;hpj;bat;asm + + + {3c23e529-dea6-4ce6-b809-be5ee45508ca} + h;hpp;hxx;hm;inl;inc + + + {64a30e81-268b-4b22-a551-72e143535b96} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe + + + + + Source Files + + + + + Source Files + + + \ No newline at end of file diff --git a/asnh323/asnh323_dll.dsp b/asnh323/asnh323_dll.dsp index 1a08922..3798445 100644 --- a/asnh323/asnh323_dll.dsp +++ b/asnh323/asnh323_dll.dsp @@ -1,162 +1,162 @@ -# Microsoft Developer Studio Project File - Name="asnh323_dll" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=asnh323_dll - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "asnh323_dll.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "asnh323_dll.mak" CFG="asnh323_dll - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "asnh323_dll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "asnh323_dll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "asnh323_dll - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../lib" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASNH323_DLL_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASNH323_DLL_EXPORTS" /YX /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"../lib/asnh323.dll" - -!ELSEIF "$(CFG)" == "asnh323_dll - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../lib" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASNH323_DLL_EXPORTS" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASNH323_DLL_EXPORTS" /YX /FD /GZ /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"../lib/asnh323d.dll" /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "asnh323_dll - Win32 Release" -# Name "asnh323_dll - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\asnh323.def - -!IF "$(CFG)" == "asnh323_dll - Win32 Release" - -!ELSEIF "$(CFG)" == "asnh323_dll - Win32 Debug" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\asnh323.dtf - -!IF "$(CFG)" == "asnh323_dll - Win32 Release" - -USERDEP__ASNH3="../lib/makedef.exe" "../lib/asnh323s.lib" -# Begin Custom Build -InputPath=.\asnh323.dtf - -"asnh323.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ..\lib\makedef -x asnh323.ignore -l ..\lib\asnh323s.lib asnh323.def - -# End Custom Build - -!ELSEIF "$(CFG)" == "asnh323_dll - Win32 Debug" - -USERDEP__ASNH3="../lib/makedef.exe" "../lib/asnh323sd.lib" -# Begin Custom Build -InputPath=.\asnh323.dtf - -"asnh323d.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ..\lib\makedef -l ..\lib\asnh323sd.lib asnh323d.def - -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\asnh323d.def - -!IF "$(CFG)" == "asnh323_dll - Win32 Release" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "asnh323_dll - Win32 Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\asn1\dllmain.cxx -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="asnh323_dll" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=asnh323_dll - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "asnh323_dll.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "asnh323_dll.mak" CFG="asnh323_dll - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "asnh323_dll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "asnh323_dll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "asnh323_dll - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../lib" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASNH323_DLL_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASNH323_DLL_EXPORTS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x404 /d "NDEBUG" +# ADD RSC /l 0x404 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"../lib/asnh323.dll" + +!ELSEIF "$(CFG)" == "asnh323_dll - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../lib" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASNH323_DLL_EXPORTS" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ASNH323_DLL_EXPORTS" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x404 /d "_DEBUG" +# ADD RSC /l 0x404 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"../lib/asnh323d.dll" /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "asnh323_dll - Win32 Release" +# Name "asnh323_dll - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=.\asnh323.def + +!IF "$(CFG)" == "asnh323_dll - Win32 Release" + +!ELSEIF "$(CFG)" == "asnh323_dll - Win32 Debug" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\asnh323.dtf + +!IF "$(CFG)" == "asnh323_dll - Win32 Release" + +USERDEP__ASNH3="../lib/makedef.exe" "../lib/asnh323s.lib" +# Begin Custom Build +InputPath=.\asnh323.dtf + +"asnh323.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ..\lib\makedef -x asnh323.ignore -l ..\lib\asnh323s.lib asnh323.def + +# End Custom Build + +!ELSEIF "$(CFG)" == "asnh323_dll - Win32 Debug" + +USERDEP__ASNH3="../lib/makedef.exe" "../lib/asnh323sd.lib" +# Begin Custom Build +InputPath=.\asnh323.dtf + +"asnh323d.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ..\lib\makedef -l ..\lib\asnh323sd.lib asnh323d.def + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\asnh323d.def + +!IF "$(CFG)" == "asnh323_dll - Win32 Release" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "asnh323_dll - Win32 Debug" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\asn1\dllmain.cxx +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/asnh323/ro.sed b/asnh323/ro.sed index 3f8c330..d5a423a 100644 --- a/asnh323/ro.sed +++ b/asnh323/ro.sed @@ -1,2 +1,2 @@ -/class ERROR;/i\ +/class ERROR;/i\ #undef ERROR \ No newline at end of file diff --git a/asnh323/testsuite/CVS/Entries b/asnh323/testsuite/CVS/Entries deleted file mode 100644 index c349f4e..0000000 --- a/asnh323/testsuite/CVS/Entries +++ /dev/null @@ -1,11 +0,0 @@ -/Makefile.am/1.4/Tue Jul 2 18:42:07 2002// -/Makefile.in/1.7/Sat Feb 2 08:22:54 2008// -/asn1test.h/1.3/Tue Aug 9 18:12:43 2011// -/h225test.cpp/1.3/Tue Aug 9 18:12:43 2011// -/h245test.cpp/1.4/Tue Aug 9 18:12:43 2011// -/h248test.cpp/1.3/Tue Aug 9 18:12:43 2011// -/h323test.cpp/1.4/Tue Aug 9 18:12:43 2011// -/h323test.dsp/1.5/Tue Aug 9 18:12:43 2011/-kb/ -/h323test.vcproj/1.3/Fri Dec 2 03:47:00 2005// -/h450test.cpp/1.3/Tue Aug 9 18:12:43 2011// -D diff --git a/asnh323/testsuite/CVS/Repository b/asnh323/testsuite/CVS/Repository deleted file mode 100644 index 617fd4c..0000000 --- a/asnh323/testsuite/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -iiiasn1/asnh323/testsuite diff --git a/asnh323/testsuite/CVS/Root b/asnh323/testsuite/CVS/Root deleted file mode 100644 index 5edb607..0000000 --- a/asnh323/testsuite/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@iiiasn1.cvs.sourceforge.net:/cvsroot/iiiasn1 diff --git a/asnh323/testsuite/Makefile.am b/asnh323/testsuite/Makefile.am index 74b2629..b48403f 100644 --- a/asnh323/testsuite/Makefile.am +++ b/asnh323/testsuite/Makefile.am @@ -29,13 +29,15 @@ check_PROGRAMS = h323test noinst_HEADERS = asn1test.h -INCLUDES = @PIPEFLAG@ @DEBUGFLAG@ -I$(top_builddir)/asn1 -I$(top_srcdir)/asn1 -I$(top_builddir)/asnh323 +AM_CPPFLAGS = @PIPEFLAG@ @DEBUGFLAG@ -I$(top_builddir)/asn1 -I$(top_srcdir)/asn1 -I$(top_builddir)/asnh323 + h323test_LDADD =$(top_builddir)/asnh323/libasnh323.a $(top_builddir)/asn1/libasn1.a @LIBSTL@ -h323test_SOURCES = h323test.cpp \ - h225test.cpp \ - h245test.cpp \ - h248test.cpp \ - h450test.cpp +h323test_SOURCES = \ + h323test.cpp \ + h225test.cpp \ + h245test.cpp \ + h248test.cpp \ + h450test.cpp h323test_LDFLAGS = @LDFLAGS@ diff --git a/asnh323/testsuite/Makefile.in b/asnh323/testsuite/Makefile.in deleted file mode 100644 index 09f496d..0000000 --- a/asnh323/testsuite/Makefile.in +++ /dev/null @@ -1,589 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# -# Copyright (c) 2001 Institute for Information Industry, Taiwan, Republic of China -# Written by mangelo@users.sourceforge.net -# -# This file is part of III ASN.1 Tool. -# -# The contents of this file are subject to the Mozilla Public License -# Version 1.0 (the "License"); you may not use this file except in -# compliance with the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" -# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -# the License for the specific language governing rights and limitations -# under the License. -# -# III ASN.1 Tool is the ASN.1 to C++ compiler and C++ run time library -# for encoding and decoding ASN.1 types. -# For details, see the III ASN.1 Tool World-Wide-Web page, -# `http://iiiasn1.sourceforge.net'. -# - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -TESTS = h323test$(EXEEXT) -check_PROGRAMS = h323test$(EXEEXT) -subdir = asnh323/testsuite -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = \ - $(top_srcdir)/config/ac_cxx_have_new_iostream.m4 \ - $(top_srcdir)/config/ac_cxx_have_stl.m4 \ - $(top_srcdir)/config/ac_cxx_have_wstring.m4 \ - $(top_srcdir)/config/ac_cxx_namespaces.m4 \ - $(top_srcdir)/config/acx_pthread.m4 \ - $(top_srcdir)/config/iii_check_stlport.m4 \ - $(top_srcdir)/config/iii_cross_tools.m4 \ - $(top_srcdir)/config/iii_enable_stl_thread.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am_h323test_OBJECTS = h323test.$(OBJEXT) h225test.$(OBJEXT) \ - h245test.$(OBJEXT) h248test.$(OBJEXT) h450test.$(OBJEXT) -h323test_OBJECTS = $(am_h323test_OBJECTS) -h323test_DEPENDENCIES = $(top_builddir)/asnh323/libasnh323.a \ - $(top_builddir)/asn1/libasn1.a -h323test_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \ - $(h323test_LDFLAGS) $(LDFLAGS) -o $@ -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/config/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ - -o $@ -SOURCES = $(h323test_SOURCES) -DIST_SOURCES = $(h323test_SOURCES) -HEADERS = $(noinst_HEADERS) -ETAGS = etags -CTAGS = ctags -am__tty_colors = \ -red=; grn=; lgn=; blu=; std= -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -ASNPARSER = @ASNPARSER@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEBUGFLAG = @DEBUGFLAG@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBSTL = @LIBSTL@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PIPEFLAG = @PIPEFLAG@ -PTHREAD_CC = @PTHREAD_CC@ -PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ -PTHREAD_LIBS = @PTHREAD_LIBS@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -asnh323dir = @asnh323dir@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -AUTOMAKE_OPTIONS = dist-zip -EXTRA_DIST = h323test.dsp h323test.vcproj -noinst_HEADERS = asn1test.h -INCLUDES = @PIPEFLAG@ @DEBUGFLAG@ -I$(top_builddir)/asn1 -I$(top_srcdir)/asn1 -I$(top_builddir)/asnh323 -h323test_LDADD = $(top_builddir)/asnh323/libasnh323.a $(top_builddir)/asn1/libasn1.a @LIBSTL@ -h323test_SOURCES = h323test.cpp \ - h225test.cpp \ - h245test.cpp \ - h248test.cpp \ - h450test.cpp - -h323test_LDFLAGS = @LDFLAGS@ -all: all-am - -.SUFFIXES: -.SUFFIXES: .cpp .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu asnh323/testsuite/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu asnh323/testsuite/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): - -clean-checkPROGRAMS: - -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) -h323test$(EXEEXT): $(h323test_OBJECTS) $(h323test_DEPENDENCIES) - @rm -f h323test$(EXEEXT) - $(h323test_LINK) $(h323test_OBJECTS) $(h323test_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/h225test.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/h245test.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/h248test.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/h323test.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/h450test.Po@am__quote@ - -.cpp.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cpp.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -check-TESTS: $(TESTS) - @failed=0; all=0; xfail=0; xpass=0; skip=0; \ - srcdir=$(srcdir); export srcdir; \ - list=' $(TESTS) '; \ - $(am__tty_colors); \ - if test -n "$$list"; then \ - for tst in $$list; do \ - if test -f ./$$tst; then dir=./; \ - elif test -f $$tst; then dir=; \ - else dir="$(srcdir)/"; fi; \ - if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ - all=`expr $$all + 1`; \ - case " $(XFAIL_TESTS) " in \ - *[\ \ ]$$tst[\ \ ]*) \ - xpass=`expr $$xpass + 1`; \ - failed=`expr $$failed + 1`; \ - col=$$red; res=XPASS; \ - ;; \ - *) \ - col=$$grn; res=PASS; \ - ;; \ - esac; \ - elif test $$? -ne 77; then \ - all=`expr $$all + 1`; \ - case " $(XFAIL_TESTS) " in \ - *[\ \ ]$$tst[\ \ ]*) \ - xfail=`expr $$xfail + 1`; \ - col=$$lgn; res=XFAIL; \ - ;; \ - *) \ - failed=`expr $$failed + 1`; \ - col=$$red; res=FAIL; \ - ;; \ - esac; \ - else \ - skip=`expr $$skip + 1`; \ - col=$$blu; res=SKIP; \ - fi; \ - echo "$${col}$$res$${std}: $$tst"; \ - done; \ - if test "$$all" -eq 1; then \ - tests="test"; \ - All=""; \ - else \ - tests="tests"; \ - All="All "; \ - fi; \ - if test "$$failed" -eq 0; then \ - if test "$$xfail" -eq 0; then \ - banner="$$All$$all $$tests passed"; \ - else \ - if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \ - banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \ - fi; \ - else \ - if test "$$xpass" -eq 0; then \ - banner="$$failed of $$all $$tests failed"; \ - else \ - if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \ - banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \ - fi; \ - fi; \ - dashes="$$banner"; \ - skipped=""; \ - if test "$$skip" -ne 0; then \ - if test "$$skip" -eq 1; then \ - skipped="($$skip test was not run)"; \ - else \ - skipped="($$skip tests were not run)"; \ - fi; \ - test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ - dashes="$$skipped"; \ - fi; \ - report=""; \ - if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ - report="Please report to $(PACKAGE_BUGREPORT)"; \ - test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ - dashes="$$report"; \ - fi; \ - dashes=`echo "$$dashes" | sed s/./=/g`; \ - if test "$$failed" -eq 0; then \ - echo "$$grn$$dashes"; \ - else \ - echo "$$red$$dashes"; \ - fi; \ - echo "$$banner"; \ - test -z "$$skipped" || echo "$$skipped"; \ - test -z "$$report" || echo "$$report"; \ - echo "$$dashes$$std"; \ - test "$$failed" -eq 0; \ - else :; fi - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am - $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) - $(MAKE) $(AM_MAKEFLAGS) check-TESTS -check: check-am -all-am: Makefile $(HEADERS) -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: - -.MAKE: check-am install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ - clean-checkPROGRAMS clean-generic ctags distclean \ - distclean-compile distclean-generic distclean-tags distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ - uninstall-am - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/asnparser/ASN1cmp-x32-vs120.vcxproj b/asnparser/ASN1cmp-x32-vs120.vcxproj new file mode 100644 index 0000000..30fb717 --- /dev/null +++ b/asnparser/ASN1cmp-x32-vs120.vcxproj @@ -0,0 +1,214 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {1EED4B13-2A75-4C49-A198-12F2A46F5944} + ASN1cmp + + + + Application + v120 + false + + + Application + v120 + false + + + + + + + + + + + + + + + <_ProjectFileVersion>11.0.50727.1 + + + .\Debug\ + .\Debug\ + true + ../boost;$(IncludePath) + $(ProjectName)d + + + .\Release\ + .\Release\ + false + C:\boost\boost_1_55_0;$(IncludePath) + + + + .\Debug/asnparser.tlb + + + /Zm500 %(AdditionalOptions) + Disabled + .;%(AdditionalIncludeDirectories) + _DEBUG;%(PreprocessorDefinitions) + MultiThreadedDebugDLL + true + .\Debug/asnparser.pch + .\Debug/ + .\Debug/ + .\Debug/ + true + Level4 + true + EditAndContinue + Default + + + _DEBUG;%(PreprocessorDefinitions) + 0x0c09 + + + /MACHINE:I386 %(AdditionalOptions) + odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + ../lib/$(TargetFileName) + true + ..\..\lib;%(AdditionalLibraryDirectories) + true + .\Debug/$(TargetName).pdb + Console + + + + + + + + + .\Release/asnparser.tlb + + + /Zm500 %(AdditionalOptions) + OnlyExplicitInline + .;%(AdditionalIncludeDirectories) + NDEBUG;%(PreprocessorDefinitions) + true + MultiThreadedDLL + true + true + .\Release/asnparser.pch + .\Release/ + .\Release/ + .\Release/ + true + Level4 + true + Default + + + NDEBUG;%(PreprocessorDefinitions) + 0x0c09 + + + /MACHINE:I386 %(AdditionalOptions) + odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + ..\Lib\asnparser.exe + true + ..\..\lib;%(AdditionalLibraryDirectories) + .\Release/asnparser.pdb + Console + + + + + _DEBUG;MSDOS + Level3 + NDEBUG;MSDOS + + + Level2 + Level2 + + + Level3 + + + Level3 + + + + Level3 + + + + + Performing Bison Step + bison -v -d -t %(Filename).y +move %(Filename).tab.c %(Filename).cxx +move %(Filename).tab.h %(Filename).h + + %(Filename).cxx;%(Filename).h;%(Filename).out;%(Outputs) + Performing Bison Step + bison -v -d -t %(Filename).y +move %(Filename)_tab.c %(Filename).cxx +move %(Filename)_tab.h %(Filename).h + + %(Filename).cxx;%(Filename).h;%(Filename).out;%(Outputs) + + + Performing Lex Step + flex -t %(Filename).l > %(Filename).cxx + + asn_grammar.h;asn_grammar.cxx;%(AdditionalInputs) + %(Filename).cxx;%(Outputs) + Performing Lex Step + flex -t %(Filename).l > %(Filename).cxx + + asn_grammar.h;asn_grammar.cxx;%(AdditionalInputs) + %(Filename).cxx;%(Outputs) + + + Performing Bison Step + bison -p id -v -d -t %(Filename).y +move %(Filename).tab.c %(Filename).cxx +move %(Filename).tab.h %(Filename).h + + %(Filename).cxx;%(Filename).h;%(Filename).out;%(Outputs) + Performing Bison Step + bison -p id -v -d -t %(Filename).y +move %(Filename)_tab.c %(Filename).cxx +move %(Filename)_tab.h %(Filename).h + + %(Filename).cxx;%(Filename).h;%(Filename).out;%(Outputs) + + + Performing Lex Step + flex -Pid -t %(Filename).l > %(Filename).cxx + + asn_ref_grammar.h;%(AdditionalInputs) + %(Filename).cxx;%(Outputs) + flex -Pid -t %(Filename).l > %(Filename).cxx + + asn_ref_grammar.h;%(AdditionalInputs) + %(Filename).cxx;%(Outputs) + + + + + + + + + + + \ No newline at end of file diff --git a/asnparser/ASN1cmp-x32-vs120.vcxproj.filters b/asnparser/ASN1cmp-x32-vs120.vcxproj.filters new file mode 100644 index 0000000..d1c26c2 --- /dev/null +++ b/asnparser/ASN1cmp-x32-vs120.vcxproj.filters @@ -0,0 +1,58 @@ + + + + + {0a1a5cca-7e9e-49ae-b64d-de4d31e65f4d} + .cxx + + + {d41c7d0d-403c-4de1-a30a-4975ba6d6645} + .h + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/asnparser/CVS/Entries b/asnparser/CVS/Entries deleted file mode 100644 index 55a72d3..0000000 --- a/asnparser/CVS/Entries +++ /dev/null @@ -1,12 +0,0 @@ -/Makefile.am/1.3/Wed Jul 10 22:46:32 2002// -/Makefile.in/1.7/Sat Feb 2 08:22:54 2008// -/asn_grammar.y/1.4/Tue Aug 9 18:12:43 2011// -/asn_lex.l/1.6/Tue Aug 9 18:12:43 2011// -/asn_ref_grammar.y/1.4/Tue Aug 9 18:12:43 2011// -/asn_ref_lex.l/1.5/Tue Aug 9 18:12:43 2011// -/asnparser.dsp/1.4/Wed Aug 21 03:41:16 2002/-kb/ -/asnparser.vcproj/1.5/Fri Dec 2 03:47:00 2005// -/getopt.c/1.2/Sat Feb 2 08:22:54 2008// -/main.cxx/1.25/Tue Aug 9 18:12:43 2011// -/main.h/1.5/Tue Aug 9 18:12:43 2011// -D diff --git a/asnparser/CVS/Repository b/asnparser/CVS/Repository deleted file mode 100644 index 091a1aa..0000000 --- a/asnparser/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -iiiasn1/asnparser diff --git a/asnparser/CVS/Root b/asnparser/CVS/Root deleted file mode 100644 index 5edb607..0000000 --- a/asnparser/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@iiiasn1.cvs.sourceforge.net:/cvsroot/iiiasn1 diff --git a/asnparser/Makefile.am b/asnparser/Makefile.am index f4c00b8..f569496 100644 --- a/asnparser/Makefile.am +++ b/asnparser/Makefile.am @@ -20,17 +20,18 @@ # `http://iiiasn1.sourceforge.net'. # -AUTOMAKE_OPTIONS = dist-zip +AUTOMAKE_OPTIONS = nostdinc dist-zip -EXTRA_DIST = asnparser.dsp asnparser.vcproj unistd.h getopt.c\ - asn_grammar.y asn_lex.l asn_ref_grammar.y asn_ref_lex.l\ - main.cxx +EXTRA_DIST = asnparser.dsp asnparser.vcproj unistd.h getopt.c\ + asn_grammar.y asn_lex.l asn_ref_grammar.y asn_ref_lex.l\ + main.cxx -bin_PROGRAMS = asnparser +bin_PROGRAMS = asnparser noinst_HEADERS = main.h -INCLUDES = @PIPEFLAG@ @DEBUGFLAG@ +AM_CPPFLAGS = -iquote -I. -I$(top_builddir) @PIPEFLAG@ @DEBUGFLAG@ + asnparser_LDADD = asn_grammar.o asn_ref_grammar.o asn_lex.o asn_ref_lex.o main.o @LIBSTL@ asnparser_SOURCES = diff --git a/asnparser/Makefile.in b/asnparser/Makefile.in deleted file mode 100644 index f194c13..0000000 --- a/asnparser/Makefile.in +++ /dev/null @@ -1,539 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# -# Copyright (c) 2001 Institute for Information Industry, Taiwan, Republic of China -# Written by mangelo@users.sourceforge.net -# -# This file is part of III ASN.1 Tool. -# -# The contents of this file are subject to the Mozilla Public License -# Version 1.0 (the "License"); you may not use this file except in -# compliance with the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" -# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -# the License for the specific language governing rights and limitations -# under the License. -# -# III ASN.1 Tool is the ASN.1 to C++ compiler and C++ run time library -# for encoding and decoding ASN.1 types. -# For details, see the III ASN.1 Tool World-Wide-Web page, -# `http://iiiasn1.sourceforge.net'. -# - - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -bin_PROGRAMS = asnparser$(EXEEXT) -subdir = asnparser -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = \ - $(top_srcdir)/config/ac_cxx_have_new_iostream.m4 \ - $(top_srcdir)/config/ac_cxx_have_stl.m4 \ - $(top_srcdir)/config/ac_cxx_have_wstring.m4 \ - $(top_srcdir)/config/ac_cxx_namespaces.m4 \ - $(top_srcdir)/config/acx_pthread.m4 \ - $(top_srcdir)/config/iii_check_stlport.m4 \ - $(top_srcdir)/config/iii_cross_tools.m4 \ - $(top_srcdir)/config/iii_enable_stl_thread.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__installdirs = "$(DESTDIR)$(bindir)" -PROGRAMS = $(bin_PROGRAMS) -am_asnparser_OBJECTS = -asnparser_OBJECTS = $(am_asnparser_OBJECTS) -asnparser_DEPENDENCIES = asn_grammar.o asn_ref_grammar.o asn_lex.o \ - asn_ref_lex.o main.o -asnparser_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(asnparser_LDFLAGS) \ - $(LDFLAGS) -o $@ -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -SOURCES = $(asnparser_SOURCES) -DIST_SOURCES = $(asnparser_SOURCES) -HEADERS = $(noinst_HEADERS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -ASNPARSER = @ASNPARSER@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEBUGFLAG = @DEBUGFLAG@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBSTL = @LIBSTL@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PIPEFLAG = @PIPEFLAG@ -PTHREAD_CC = @PTHREAD_CC@ -PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ -PTHREAD_LIBS = @PTHREAD_LIBS@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -asnh323dir = @asnh323dir@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -AUTOMAKE_OPTIONS = dist-zip -EXTRA_DIST = asnparser.dsp asnparser.vcproj unistd.h getopt.c\ - asn_grammar.y asn_lex.l asn_ref_grammar.y asn_ref_lex.l\ - main.cxx - -noinst_HEADERS = main.h -INCLUDES = @PIPEFLAG@ @DEBUGFLAG@ -asnparser_LDADD = asn_grammar.o asn_ref_grammar.o asn_lex.o asn_ref_lex.o main.o @LIBSTL@ -asnparser_SOURCES = -CLEANFILES = asn_grammar.h asn_grammar.cxx asn_grammar.output \ - asn_ref_grammar.cxx asn_ref_grammar.h asn_ref_grammar.output\ - asn_lex.cxx asn_ref_lex.cxx - -asnparser_LDFLAGS = @LDFLAGS@ -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu asnparser/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu asnparser/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p; \ - then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) files[d] = files[d] " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(bindir)" && rm -f $$files - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) -asnparser$(EXEEXT): $(asnparser_OBJECTS) $(asnparser_DEPENDENCIES) - @rm -f asnparser$(EXEEXT) - $(asnparser_LINK) $(asnparser_OBJECTS) $(asnparser_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(PROGRAMS) $(HEADERS) -installdirs: - for dir in "$(DESTDIR)$(bindir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-binPROGRAMS clean-generic mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: install-binPROGRAMS - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-binPROGRAMS - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ - clean-generic ctags distclean distclean-compile \ - distclean-generic distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-binPROGRAMS \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ - uninstall-am uninstall-binPROGRAMS - - -asn_grammar.h: asn_grammar.y - bison -t -v -d -o asn_grammar $< - mv asn_grammar asn_grammar.cxx - -asn_grammar.cxx: asn_grammar.h - -asn_grammar.o: asn_grammar.cxx - $(COMPILE) -o asn_grammar.o -c $< - -asn_lex.cxx: asn_lex.l - flex -t $< > $@ - -asn_lex.o: asn_lex.cxx - $(COMPILE) -o asn_lex.o -c $< - -asn_ref_grammar.cxx: asn_ref_grammar.y - @if [ ! -d ref ] ; then mkdir ref ; fi - bison -p id -t -v -d -o asn_ref_grammar $< - mv asn_ref_grammar asn_ref_grammar.cxx - -asn_ref_grammar.o: asn_ref_grammar.cxx - $(COMPILE) -o asn_ref_grammar.o -c $< - -asn_ref_lex.cxx: asn_ref_lex.l - flex -Pid -t $< > $@ - -asn_ref_lex.o: asn_ref_lex.cxx - $(COMPILE) -o asn_ref_lex.o -c $< - -main.o: main.cxx main.h asn_grammar.h - $(COMPILE) -o main.o -c $< - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/asnparser/asn_grammar.y b/asnparser/asn_grammar.y index cd8327d..ceb6ace 100644 --- a/asnparser/asn_grammar.y +++ b/asnparser/asn_grammar.y @@ -2830,7 +2830,7 @@ ObjIdComponentList { $1->push_back(*$2); $$ = $1; - delete $2 + delete $2; } ; diff --git a/asnparser/asnparser.dsp b/asnparser/asnparser.dsp index 225a631..00e4830 100644 --- a/asnparser/asnparser.dsp +++ b/asnparser/asnparser.dsp @@ -1,324 +1,324 @@ -# Microsoft Developer Studio Project File - Name="ASNParser" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ASNParser - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "asnparser.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "asnparser.mak" CFG="ASNParser - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ASNParser - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ASNParser - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName ""$/ITGv4/asnparser", LDAAAAAA" -# PROP Scc_LocalPath "." -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ASNParser - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "." /D "NDEBUG" /FR /FD /Zm500 /c -# ADD BASE RSC /l 0xc09 /d "NDEBUG" -# ADD RSC /l 0xc09 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"..\Lib\asnparser.exe" /libpath:"..\..\lib" - -!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /GR /GX /ZI /Od /I "." /D "_DEBUG" /FR /FD /Zm500 /c -# ADD BASE RSC /l 0xc09 /d "_DEBUG" -# ADD RSC /l 0xc09 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /out:"..\Lib\asnparser.exe" /pdbtype:sept /libpath:"..\..\lib" - -!ENDIF - -# Begin Target - -# Name "ASNParser - Win32 Release" -# Name "ASNParser - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter ".cxx" -# Begin Source File - -SOURCE=.\asn_grammar.cxx - -!IF "$(CFG)" == "ASNParser - Win32 Release" - -# ADD CPP /D "MSDOS" -# SUBTRACT CPP /YX /Yc /Yu - -!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" - -# ADD CPP /W3 /D "MSDOS" -# SUBTRACT CPP /YX /Yc /Yu - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\asn_grammar.y - -!IF "$(CFG)" == "ASNParser - Win32 Release" - -# Begin Custom Build - Performing Bison Step -InputPath=.\asn_grammar.y -InputName=asn_grammar - -BuildCmds= \ - bison -t -v -d $(InputName).y \ - move $(InputName)_tab.c $(InputName).cxx \ - move $(InputName)_tab.h $(InputName).h \ - - -"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" - -# Begin Custom Build - Performing Bison Step -InputPath=.\asn_grammar.y -InputName=asn_grammar - -BuildCmds= \ - bison -v -d -t $(InputName).y \ - move $(InputName)_tab.c $(InputName).cxx \ - move $(InputName)_tab.h $(InputName).h \ - - -"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\asn_lex.cxx -# ADD CPP /W2 -# SUBTRACT CPP /YX /Yc /Yu -# End Source File -# Begin Source File - -SOURCE=.\asn_lex.l - -!IF "$(CFG)" == "ASNParser - Win32 Release" - -USERDEP__ASN_L="asn_grammar.h" "asn_grammar.cxx" -# Begin Custom Build - Performing Lex Step -InputPath=.\asn_lex.l -InputName=asn_lex - -"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - flex -t $(InputName).l > $(InputName).cxx - -# End Custom Build - -!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" - -USERDEP__ASN_L="asn_grammar.h" "asn_grammar.cxx" -# Begin Custom Build - Performing Lex Step -InputPath=.\asn_lex.l -InputName=asn_lex - -"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - flex -t $(InputName).l > $(InputName).cxx - -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\asn_ref_grammar.cxx - -!IF "$(CFG)" == "ASNParser - Win32 Release" - -# SUBTRACT CPP /YX /Yc /Yu - -!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" - -# ADD CPP /W3 -# SUBTRACT CPP /YX /Yc /Yu - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\asn_ref_grammar.y - -!IF "$(CFG)" == "ASNParser - Win32 Release" - -# Begin Custom Build - Performing Bison Step -InputPath=.\asn_ref_grammar.y -InputName=asn_ref_grammar - -BuildCmds= \ - bison -p id -t -v -d $(InputName).y \ - move $(InputName)_tab.c $(InputName).cxx \ - move $(InputName)_tab.h $(InputName).h \ - - -"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" - -# Begin Custom Build - Performing Bison Step -InputPath=.\asn_ref_grammar.y -InputName=asn_ref_grammar - -BuildCmds= \ - bison -p id -v -d -t $(InputName).y \ - move $(InputName)_tab.c $(InputName).cxx \ - move $(InputName)_tab.h $(InputName).h \ - - -"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\asn_ref_lex.cxx - -!IF "$(CFG)" == "ASNParser - Win32 Release" - -# SUBTRACT CPP /YX /Yc /Yu - -!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" - -# ADD CPP /W3 -# SUBTRACT CPP /YX /Yc /Yu - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\asn_ref_lex.l - -!IF "$(CFG)" == "ASNParser - Win32 Release" - -# Begin Custom Build -InputPath=.\asn_ref_lex.l -InputName=asn_ref_lex - -"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - flex -Pid -t $(InputName).l > $(InputName).cxx - -# End Custom Build - -!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" - -# Begin Custom Build - Performing Lex Step -InputPath=.\asn_ref_lex.l -InputName=asn_ref_lex - -"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - flex -Pid -t $(InputName).l > $(InputName).cxx - -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\getopt.c -# End Source File -# Begin Source File - -SOURCE=.\main.cxx - -!IF "$(CFG)" == "ASNParser - Win32 Release" - -!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" - -# ADD CPP /W3 - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter ".h" -# Begin Source File - -SOURCE=.\asn_grammar.h -# End Source File -# Begin Source File - -SOURCE=.\main.h -# End Source File -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="ASNParser" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=ASNParser - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "asnparser.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "asnparser.mak" CFG="ASNParser - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ASNParser - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "ASNParser - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName ""$/ITGv4/asnparser", LDAAAAAA" +# PROP Scc_LocalPath "." +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ASNParser - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "." /D "NDEBUG" /FR /FD /Zm500 /c +# ADD BASE RSC /l 0xc09 /d "NDEBUG" +# ADD RSC /l 0xc09 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"..\Lib\asnparser.exe" /libpath:"..\..\lib" + +!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /MDd /W3 /GR /GX /ZI /Od /I "." /D "_DEBUG" /FR /FD /Zm500 /c +# ADD BASE RSC /l 0xc09 /d "_DEBUG" +# ADD RSC /l 0xc09 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /out:"..\Lib\asnparser.exe" /pdbtype:sept /libpath:"..\..\lib" + +!ENDIF + +# Begin Target + +# Name "ASNParser - Win32 Release" +# Name "ASNParser - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter ".cxx" +# Begin Source File + +SOURCE=.\asn_grammar.cxx + +!IF "$(CFG)" == "ASNParser - Win32 Release" + +# ADD CPP /D "MSDOS" +# SUBTRACT CPP /YX /Yc /Yu + +!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" + +# ADD CPP /W3 /D "MSDOS" +# SUBTRACT CPP /YX /Yc /Yu + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\asn_grammar.y + +!IF "$(CFG)" == "ASNParser - Win32 Release" + +# Begin Custom Build - Performing Bison Step +InputPath=.\asn_grammar.y +InputName=asn_grammar + +BuildCmds= \ + bison -t -v -d $(InputName).y \ + move $(InputName)_tab.c $(InputName).cxx \ + move $(InputName)_tab.h $(InputName).h \ + + +"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" + +# Begin Custom Build - Performing Bison Step +InputPath=.\asn_grammar.y +InputName=asn_grammar + +BuildCmds= \ + bison -v -d -t $(InputName).y \ + move $(InputName)_tab.c $(InputName).cxx \ + move $(InputName)_tab.h $(InputName).h \ + + +"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\asn_lex.cxx +# ADD CPP /W2 +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=.\asn_lex.l + +!IF "$(CFG)" == "ASNParser - Win32 Release" + +USERDEP__ASN_L="asn_grammar.h" "asn_grammar.cxx" +# Begin Custom Build - Performing Lex Step +InputPath=.\asn_lex.l +InputName=asn_lex + +"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + flex -t $(InputName).l > $(InputName).cxx + +# End Custom Build + +!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" + +USERDEP__ASN_L="asn_grammar.h" "asn_grammar.cxx" +# Begin Custom Build - Performing Lex Step +InputPath=.\asn_lex.l +InputName=asn_lex + +"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + flex -t $(InputName).l > $(InputName).cxx + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\asn_ref_grammar.cxx + +!IF "$(CFG)" == "ASNParser - Win32 Release" + +# SUBTRACT CPP /YX /Yc /Yu + +!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" + +# ADD CPP /W3 +# SUBTRACT CPP /YX /Yc /Yu + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\asn_ref_grammar.y + +!IF "$(CFG)" == "ASNParser - Win32 Release" + +# Begin Custom Build - Performing Bison Step +InputPath=.\asn_ref_grammar.y +InputName=asn_ref_grammar + +BuildCmds= \ + bison -p id -t -v -d $(InputName).y \ + move $(InputName)_tab.c $(InputName).cxx \ + move $(InputName)_tab.h $(InputName).h \ + + +"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" + +# Begin Custom Build - Performing Bison Step +InputPath=.\asn_ref_grammar.y +InputName=asn_ref_grammar + +BuildCmds= \ + bison -p id -v -d -t $(InputName).y \ + move $(InputName)_tab.c $(InputName).cxx \ + move $(InputName)_tab.h $(InputName).h \ + + +"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\asn_ref_lex.cxx + +!IF "$(CFG)" == "ASNParser - Win32 Release" + +# SUBTRACT CPP /YX /Yc /Yu + +!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" + +# ADD CPP /W3 +# SUBTRACT CPP /YX /Yc /Yu + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\asn_ref_lex.l + +!IF "$(CFG)" == "ASNParser - Win32 Release" + +# Begin Custom Build +InputPath=.\asn_ref_lex.l +InputName=asn_ref_lex + +"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + flex -Pid -t $(InputName).l > $(InputName).cxx + +# End Custom Build + +!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" + +# Begin Custom Build - Performing Lex Step +InputPath=.\asn_ref_lex.l +InputName=asn_ref_lex + +"$(InputName).cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + flex -Pid -t $(InputName).l > $(InputName).cxx + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\getopt.c +# End Source File +# Begin Source File + +SOURCE=.\main.cxx + +!IF "$(CFG)" == "ASNParser - Win32 Release" + +!ELSEIF "$(CFG)" == "ASNParser - Win32 Debug" + +# ADD CPP /W3 + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter ".h" +# Begin Source File + +SOURCE=.\asn_grammar.h +# End Source File +# Begin Source File + +SOURCE=.\main.h +# End Source File +# End Group +# End Target +# End Project diff --git a/asnparser/main.cxx b/asnparser/main.cxx index 0d27d83..f40bd29 100644 --- a/asnparser/main.cxx +++ b/asnparser/main.cxx @@ -31,11 +31,17 @@ * All Rights Reserved. * * The code is modified by Genesys Telecommunications Labs UK, 2003-2011 - * Contributors: + * Contributors: * Arunas Ruksnaitis * Rustam Mirzaev * * $Log: main.cxx,v $ + * Revision 1.27 2014/06/22 06:12:06 francisandre + * c++11 updates: replace outdated strstream by sstream.add for strlen. fix up method resolution + * + * Revision 1.26 2011/09/06 13:47:11 arunasr + * Genesys fixes, includes contributions from Rodrigo Coimbra + * * Revision 1.25 2011/08/09 18:12:43 arunasr * Genesys fixes: 3.0 release candidate * @@ -186,14 +192,14 @@ extern int optind; #include #include #include -#include +#include #include #include #include -#include -#include "asn_grammar.h" #include +#include #include +#include "asn_grammar.h" #ifdef _WIN32 #define DIR_SEPARATOR '\\' @@ -202,6 +208,9 @@ extern int optind; #endif //using namespace boost; +using std::endl; +using std::ends; +using std::string; unsigned lineNumber; std::string fileName; @@ -445,7 +454,7 @@ bool OutputFile::Open(const std::string & path, return true; } - std::cerr << "asnparser : cannot create " << filename << std::endl; + std::cerr << "asnparser : cannot create " << filename << endl; return false; } @@ -454,7 +463,7 @@ void OutputFile::Close() { if (is_open()) { std::ostream& strm = *this; - strm << "\n// End of " << GetFileName(filename) << '\n'; + strm << "\n// End of " << GetFileName(filename) << endl; } using namespace std; @@ -464,7 +473,7 @@ void OutputFile::Close() class Indent { public: - Indent(int i) : space(i){} + Indent(std::streamsize i) : space(i){} Indent operator + (int i) const { return Indent(space +i); } Indent operator - (int i) const { return Indent(space -i); } Indent& operator += (int i) { space+= i; return *this;} @@ -474,7 +483,7 @@ class Indent { { return os << std::setw(indent.space) << ""; } private: - int space; + std::streamsize space; }; void AddRemoveItem(const char* item) @@ -507,11 +516,11 @@ std::ostream& operator << (std::ostream& os, const std::vector 1) - std::cerr << "Module " << *Module << std::endl; + std::cerr << "Module " << *Module << endl; if (generateCpp) Module->GenerateCplusplus(path, @@ -868,11 +877,11 @@ void Constraint::GenerateCplusplus(const std::string & fn, std::ostream & hdr, s case 1 : break; default : - std::cerr << StdError(Warning) << "unsupported UNION constraints, ignored." << std::endl; + std::cerr << StdError(Warning) << "unsupported UNION constraints, ignored." << endl; } if (extensions.size() > 0) - std::cerr << StdError(Warning) << "unsupported extension constraints, ignored." << std::endl; + std::cerr << StdError(Warning) << "unsupported extension constraints, ignored." << endl; std::string fn2 = fn; if (fn.find("ASN1::") == -1) { @@ -1098,7 +1107,7 @@ ConstraintElementBase::~ConstraintElementBase() void ConstraintElementBase::GenerateCplusplus(const std::string &, std::ostream &, std::ostream &, std::ostream &) const { - std::cerr << StdError(Warning) << "unsupported constraint, ignored." << std::endl; + std::cerr << StdError(Warning) << "unsupported constraint, ignored." << endl; } @@ -1109,25 +1118,25 @@ bool ConstraintElementBase::ReferencesType(const TypeBase &) const ValueSetPtr ConstraintElementBase::GetValueSetFromValueField(const std::string& ) const { - std::cerr << StdError(Fatal) << "Invalid ObjectSet." << std::endl; + std::cerr << StdError(Fatal) << "Invalid ObjectSet." << endl; return ValueSetPtr(); } ValueSetPtr ConstraintElementBase::GetValueSetFromValueSetField(const std::string& ) const { - std::cerr << StdError(Fatal) << "Invalid ObjectSet." << std::endl; + std::cerr << StdError(Fatal) << "Invalid ObjectSet." << endl; return ValueSetPtr(); } ConstraintPtr ConstraintElementBase::GetObjectSetFromObjectField(const std::string& ) const { - std::cerr << StdError(Fatal) << "Invalid ObjectSet." << std::endl; + std::cerr << StdError(Fatal) << "Invalid ObjectSet." << endl; return ConstraintPtr(); } ConstraintPtr ConstraintElementBase::GetObjectSetFromObjectSetField(const std::string& ) const { - std::cerr << StdError(Fatal) << "Invalid ObjectSet." << std::endl; + std::cerr << StdError(Fatal) << "Invalid ObjectSet." << endl; return ConstraintPtr(); } @@ -1247,7 +1256,7 @@ ConstraintPtr ElementListConstraintElement::GetObjectSetFromObjectField(const st } if (elem->elements.size()) { ConstraintElementPtr elm = - boost::shared_static_cast(elem); + boost::static_pointer_cast(elem); return ConstraintPtr(new Constraint(elm)); } @@ -1272,7 +1281,7 @@ ConstraintPtr ElementListConstraintElement::GetObjectSetFromObjectSetField(const } if (elem->elements.size()){ ConstraintElementPtr elm = - boost::shared_static_cast(elem); + boost::static_pointer_cast(elem); return ConstraintPtr(new Constraint(elm)); } @@ -1366,23 +1375,22 @@ void SingleValueConstraintElement::GenerateCplusplus(const std::string & fn, std return; } - std::cerr << StdError(Warning) << "Unsupported constraint type, ignoring." << std::endl; + std::cerr << StdError(Warning) << "Unsupported constraint type, ignoring." << endl; } void SingleValueConstraintElement::GetConstraint(std::string& str) const { - std::strstream strm; + std::stringstream strm; Unfreezer unfreezer(strm); if (dynamic_cast(value.get())) { - strm << *value << ", " << *value << std::ends; + strm << *value << ", " << *value ; str += strm.str(); } else if (dynamic_cast(value.get())) { - strm << *value << std::ends; + strm << *value; str += strm.str(); } - strm.freeze(0); } bool SingleValueConstraintElement::HasPERInvisibleConstraint(const Parameter& ) const @@ -1446,9 +1454,9 @@ void ValueRangeConstraintElement::GetConstraint(std::string& str) const str_replace(str,"FromConstraint", "FromRangeConstraint"); } - std::strstream strm; + std::stringstream strm; Unfreezer unfreezer(strm); - strm << *lower << ", " << *upper << std::ends; + strm << *lower << ", " << *upper ; str += strm.str(); } @@ -1523,10 +1531,10 @@ void SubTypeConstraintElement::GenerateCplusplus(const std::string & str, std::o void SubTypeConstraintElement::GetConstraint(std::string& str) const { - std::strstream strm; + std::stringstream strm; Unfreezer unfreezer(strm); strm << str << subtype->GetTypeName() << "::LowerLimit, " - << subtype->GetTypeName() << "::UpperLimit" << std::ends; + << subtype->GetTypeName() << "::UpperLimit" ; str = strm.str(); } @@ -1661,7 +1669,7 @@ std::string FromConstraintElement::GetCharacterSet(const char* canonicalSet, int int FromConstraintElement::GetRange(std::ostream& cxx) const { - std::strstream inl, hdr, tmpcxx; + std::stringstream inl, hdr, tmpcxx; Unfreezer unfreezer1(inl),unfreezer2(hdr),unfreezer3(tmpcxx); std::string str; constraint->GenerateCplusplus(str,hdr, tmpcxx, inl); @@ -1843,7 +1851,7 @@ void TypeBase::PrintFinish(std::ostream & strm) const strm << " OPTIONAL"; if (defaultValue.get() != NULL) strm << " DEFAULT " << *defaultValue; - strm << '\n'; + strm << endl; } @@ -2011,7 +2019,7 @@ void TypeBase::BeginGenerateCplusplus(std::ostream & hdr, std::ostream & cxx, st hdr << templatePrefix; hdr << indent << "class " ; hdr << GetIdentifier() << " : public " << GetTypeName() << "\n" - << indent << "{" << '\n' + << indent << "{" << endl << indent << " typedef " << GetTypeName() << " Inherited;\n"; hdr << indent << "protected:\n" @@ -2032,7 +2040,7 @@ void TypeBase::EndGenerateCplusplus(std::ostream & hdr, std::ostream & cxx, std: hdr << indent << shortClassNameString << " * clone() const"; if(noInlineFiles) { - hdr << '\n' + hdr << endl << indent << "{ return static_cast<"<< shortClassNameString << "*> (Inherited::clone()); }" << "\n"; } else @@ -2048,7 +2056,7 @@ void TypeBase::EndGenerateCplusplus(std::ostream & hdr, std::ostream & cxx, std: hdr << indent << "static bool equal_type(const ASN1::AbstractData& type)"; if(noInlineFiles) { - hdr << '\n' + hdr << endl << indent << "{ return type.info() == reinterpret_cast(&theInfo); }" << "\n"; } else @@ -2601,7 +2609,7 @@ TypePtr SelectionType::FlattenThisType(TypePtr& self, const TypeBase & parent) void SelectionType::GenerateCplusplus(std::ostream &, std::ostream &, std::ostream &) { - std::cerr << StdError(Fatal) << "Cannot generate code for Selection type" << std::endl; + std::cerr << StdError(Fatal) << "Cannot generate code for Selection type" << endl; isGenerated = true; } @@ -2924,17 +2932,17 @@ EnumeratedType::EnumeratedType(NamedNumberList& enums, bool extend, NamedNumberL void EnumeratedType::PrintOn(std::ostream & strm) const { PrintStart(strm); - strm << '\n'; + strm << endl; size_t i; NamedNumberList::const_iterator itr, last = enumerations.end(); for (i = 0, itr = enumerations.begin() ; i < numEnums; i++, ++itr) - strm << indent() << **itr << '\n'; + strm << indent() << **itr << endl; if (extendable) { strm << "...\n"; for (; itr != last; ++itr) - strm << indent() << **itr << '\n'; + strm << indent() << **itr << endl; } PrintFinish(strm); } @@ -3050,8 +3058,6 @@ void EnumeratedType::GenerateInfo(const TypeBase* type, std::ostream& hdr, std:: << "::nameList[] = {\n" " \""; - int prevNum = -1; - NamedNumberList::iterator itr, last = enumerations.end(); for(int i=0; i<=maxEnumValue; i++) { @@ -3181,7 +3187,7 @@ void BitStringType::GenerateCplusplus(std::ostream & hdr, std::ostream & cxx, st BeginGenerateCplusplus(hdr, cxx, inl); // Generate enumerations and complete the constructor implementation - hdr << '\n' << indent << "enum NamedBits {\n"; + hdr << endl << indent << "enum NamedBits {\n"; int prevNum = -1; @@ -3236,8 +3242,6 @@ void BitStringType::GenerateInfo(const TypeBase* type, std::ostream& hdr, std::o maxNamedValue = num; } - int prevNum = -1; - for(int i=0; i<=maxNamedValue; i++) { itr = std::find_if(allowedBits.begin(), last, CompareNamedNumber (i)); if (i>0) @@ -3417,7 +3421,7 @@ SequenceType::SequenceType(TypesVector* a_std, void SequenceType::PrintOn(std::ostream & strm) const { PrintStart(strm); - strm << '\n'; + strm << endl; size_t i; for (i = 0; i < numFields; ++i) @@ -3517,13 +3521,13 @@ void SequenceType::GenerateCplusplus(std::ostream & hdr, std::ostream & cxx, std << indent << "};\n"; // Output the Component scope classes and accessor/mutator functions - std::strstream tmpcxx; + std::stringstream tmpcxx; Unfreezer unfreezer(tmpcxx); for (i = 0, itr=fields.begin() ; itr != last ; ++i, ++itr) { GenerateComponent(**itr, hdr, tmpcxx, inl, i); } - std::strstream decoder; + std::stringstream decoder; Unfreezer unfreezer1(decoder); for (itr=fields.begin() ; itr != last; ++itr) { (*itr)->GenerateDecoder(decoder); @@ -3547,7 +3551,7 @@ void SequenceType::GenerateCplusplus(std::ostream & hdr, std::ostream & cxx, std hdr << indent << shortClassNameString << " * clone() const"; if(noInlineFiles) { - hdr << '\n' + hdr << endl << indent << "{ return static_cast<"<< shortClassNameString << "*> (Inherited::clone()); }" << "\n"; } else @@ -3563,10 +3567,9 @@ void SequenceType::GenerateCplusplus(std::ostream & hdr, std::ostream & cxx, std GenerateInfo(this, hdr, cxx); - decoder << std::ends; - if (strlen(decoder.str()) ) + if (!decoder.str().empty()) { - hdr << indent << "static ASN1::AbstractData* create(const void*);\n" + hdr << indent << "static ASN1::AbstractData* create(const void*);\n" << indent << "bool do_accept(ASN1::Visitor& visitor);\n"; cxx << GetTemplatePrefix() @@ -3587,12 +3590,12 @@ void SequenceType::GenerateCplusplus(std::ostream & hdr, std::ostream & cxx, std << " return false;\n" << "}\n\n"; } - + decoder << ends; indent -= 4; hdr << indent << "}; // end class " << shortClassNameString << "\n\n"; - tmpcxx << std::ends; cxx << tmpcxx.str(); + tmpcxx << ends; isGenerated = true; } @@ -3636,8 +3639,8 @@ void SequenceType::GenerateComponent(TypeBase& field, std::ostream & hdr, std::o // generate component scope class - hdr << '\n' - << indent << "class " << componentIdentifier << '\n' + hdr << endl + << indent << "class " << componentIdentifier << endl << indent << "{\n" << indent << "public:\n"; @@ -3662,7 +3665,7 @@ void SequenceType::GenerateComponent(TypeBase& field, std::ostream & hdr, std::o hdr << indent << "class " << componentIdentifier << ";\n"; SequenceOfType& type = *static_cast(&field); type.SetNonTypedef(true); - std::strstream dummy; + std::stringstream dummy; type.GenerateCplusplus(inl, cxx, dummy); } hdr.precision(hdr.precision() - 4); @@ -3686,15 +3689,13 @@ void SequenceType::GenerateComponent(TypeBase& field, std::ostream & hdr, std::o primitiveFieldType = "typename " + primitiveFieldType; } - std::strstream varName; + std::stringstream varName; Unfreezer unfreezer1(varName); - varName << "*static_cast<" << typenameKeyword << componentIdentifier << "::pointer>(fields[" << id << "])" - << std::ends; + varName << "*static_cast<" << typenameKeyword << componentIdentifier << "::pointer>(fields[" << id << "])"; - std::strstream constVarName; + std::stringstream constVarName; Unfreezer unfreezer2(constVarName); - constVarName << "*static_cast<" << typenameKeyword << componentIdentifier << "::const_pointer>(fields[" - << id << "])" << std::ends; + constVarName << "*static_cast<" << typenameKeyword << componentIdentifier << "::const_pointer>(fields[" << id << "])"; // generate accessor/mutator functions @@ -3740,7 +3741,7 @@ void SequenceType::GenerateComponent(TypeBase& field, std::ostream & hdr, std::o // SUN cannot handle properly this function if inlined if(noInlineFiles || templatePrefix.length()) { - hdr << '\n' + hdr << endl << indent << "{ return " << varName.str() << " = v; }\n"; } else @@ -3760,7 +3761,7 @@ void SequenceType::GenerateComponent(TypeBase& field, std::ostream & hdr, std::o hdr << indent << typenameKeyword << componentIdentifier << "::const_reference get_" << componentIdentifier << " () const"; if(noInlineFiles) { - hdr << '\n' + hdr << endl << indent << "{\n" << indent << " assert(hasOptionalField(" << enumName <<"));\n" << indent << " return " << constVarName.str() << ";\n" @@ -3781,7 +3782,7 @@ void SequenceType::GenerateComponent(TypeBase& field, std::ostream & hdr, std::o hdr << indent << typenameKeyword << componentIdentifier << "::reference ref_" << componentIdentifier << " ()"; if(noInlineFiles) { - hdr << '\n' + hdr << endl << indent << "{\n" << indent << " assert(hasOptionalField(" << enumName <<"));\n" << indent << " return " << varName.str() << ";\n" @@ -3803,7 +3804,7 @@ void SequenceType::GenerateComponent(TypeBase& field, std::ostream & hdr, std::o hdr << indent << typenameKeyword << componentIdentifier << "::reference set_" << componentIdentifier << " ()"; if(noInlineFiles) { - hdr << '\n' + hdr << endl << indent << "{\n" << indent << " includeOptionalField( "<< enumName << ", " << id << ");\n" << indent << " return " << varName.str() << ";\n" @@ -3827,7 +3828,7 @@ void SequenceType::GenerateComponent(TypeBase& field, std::ostream & hdr, std::o // SUN cannot handle properly this function if inlined if(noInlineFiles || templatePrefix.length()) { - hdr << '\n' + hdr << endl << indent << "{\n" << indent << " includeOptionalField( "<< enumName << ", " << id << ");\n" << indent << " return " << varName.str() << " = v;\n" @@ -3900,7 +3901,7 @@ void SequenceType::GenerateForwardDecls(std::ostream & hdr) } if (needExtraLine) - hdr << '\n'; + hdr << endl; } bool SequenceType::ReferencesType(const TypeBase & type) const @@ -4097,7 +4098,7 @@ void SequenceType::GenerateInfo(const TypeBase* type, std::ostream& hdr, std::os if (i != fields.size() -1) cxx << ",\n"; else - cxx << '\n' + cxx << endl << "};\n\n"; } } @@ -4208,7 +4209,7 @@ void SequenceOfType::PrintOn(std::ostream & strm) const if (baseType.get() == NULL) strm << "!!Null Type!!\n"; else - strm << *baseType << '\n'; + strm << *baseType << endl; PrintFinish(strm); } @@ -4240,7 +4241,7 @@ bool SequenceOfType::IsPrimitiveType() const void SequenceOfType::GenerateForwardDecls(std::ostream & hdr) { if (FwdDeclareMe(hdr)) - hdr << '\n'; + hdr << endl; } @@ -4410,7 +4411,7 @@ void ChoiceType::GenerateComponent(TypeBase& field, std::ostream & hdr, std::ost // generate component scope class - hdr << '\n' << indent << "class " << componentIdentifier << '\n' + hdr << endl << indent << "class " << componentIdentifier << endl << indent << "{\n" << indent << "public:\n"; @@ -4462,7 +4463,7 @@ void ChoiceType::GenerateComponent(TypeBase& field, std::ostream & hdr, std::ost hdr << indent << typenameKeyword << componentIdentifier << "::const_reference get_" << componentName << " () const"; if(noInlineFiles) { - hdr << '\n' + hdr << endl << indent << "{\n" << indent << " assert(currentSelection() == " << componentIdentifier << "::eid);\n" << indent << " return *static_cast<" << typenameKeyword << componentIdentifier << "::const_pointer>(choice.get());\n" @@ -4483,7 +4484,7 @@ void ChoiceType::GenerateComponent(TypeBase& field, std::ostream & hdr, std::ost hdr << indent << typenameKeyword << componentIdentifier << "::reference ref_" << componentName << " ()"; if(noInlineFiles) { - hdr << '\n' + hdr << endl << indent << "{\n" << indent << " assert(currentSelection() == " << componentIdentifier << "::eid);\n" << indent << " return *static_cast<" << typenameKeyword << componentIdentifier << "::pointer>(choice.get());\n" @@ -4505,7 +4506,7 @@ void ChoiceType::GenerateComponent(TypeBase& field, std::ostream & hdr, std::ost hdr << indent << typenameKeyword << componentIdentifier << "::reference select_" << componentName << " ()"; if(noInlineFiles) { - hdr << '\n' + hdr << endl << indent << "{\n" << indent << " return *static_cast<" << typenameKeyword << componentIdentifier << "::pointer>(setSelection(" << componentIdentifier << "::eid, ASN1::AbstractData::create( &" << componentIdentifier << "::value_type::theInfo)));\n" << indent << "}\n"; @@ -4564,7 +4565,7 @@ void ChoiceType::GenerateComponent(TypeBase& field, std::ostream & hdr, std::ost hdr << primitiveFieldType << " v)"; if(noInlineFiles) { - hdr << '\n' + hdr << endl << indent << " : Inherited(&theInfo, id, new " << typenameKeyword << componentIdentifier << "::value_type(v))" << " {}\n"; } @@ -4609,8 +4610,8 @@ void ChoiceType::GenerateCplusplus(std::ostream & hdr, std::ostream & cxx, std:: hdr << indent << "enum Choice_Ids {"; indent += 2; - hdr << '\n' << indent << "unknownSelection_ = -2," - << '\n' << indent << "unselected_ = -1"; + hdr << endl << indent << "unknownSelection_ = -2," + << endl << indent << "unselected_ = -1"; for(i = 0; i < nFields; ++i) { const std::string& sfIdentifier = sortedFields[i]->GetIdentifier(); @@ -4621,20 +4622,20 @@ void ChoiceType::GenerateCplusplus(std::ostream & hdr, std::ostream & cxx, std:: } indent -= 2; - hdr << '\n' << indent << "};\n"; + hdr << endl << indent << "};\n"; // Generate code for type safe cast operators of selected choice object bool needExtraLine = false; hdr.precision(hdr.precision()+4); - std::strstream tmpcxx; + std::stringstream tmpcxx; Unfreezer unfreezer(tmpcxx); for (i = 0; i < nFields; i++) { GenerateComponent(*sortedFields[i], hdr, tmpcxx, inl, i); } if (needExtraLine) - hdr << '\n'; + hdr << endl; hdr.precision(hdr.precision()-4); @@ -4645,8 +4646,8 @@ void ChoiceType::GenerateCplusplus(std::ostream & hdr, std::ostream & cxx, std:: typenameKeyword = "typename "; EndGenerateCplusplus(hdr, cxx, inl); - tmpcxx << std::ends; cxx << tmpcxx.str(); + tmpcxx << ends; isGenerated = true; } @@ -4753,7 +4754,7 @@ void ChoiceType::GenerateInfo(const TypeBase* type,std::ostream& hdr, std::ostre if (i != nFields-1) cxx << ",\n"; else - cxx << '\n'; + cxx << endl; } cxx << "};\n\n"; } @@ -4935,7 +4936,7 @@ void StringTypeBase::GenerateConstructors(std::ostream & hdr, std::ostream & , s void StringTypeBase::GenerateOperators(std::ostream & hdr, std::ostream & , const TypeBase & actualType) { std::string atname = actualType.GetIdentifier(); - Indent indent(hdr.precision()); + Indent indent(hdr.precision()+4); hdr << indent << atname << "& operator=(const ASN1_STD string& that)\n" << indent << "{ Inherited::operator=(that); return *this; }\n" << indent << atname << "& operator=(const char* that)\n" @@ -5052,7 +5053,7 @@ void BMPStringType::GenerateConstructors(std::ostream & hdr, std::ostream & , st void BMPStringType::GenerateOperators(std::ostream & hdr, std::ostream & , const TypeBase & actualType) { std::string atname = actualType.GetIdentifier(); - Indent indent(hdr.precision()); + Indent indent(hdr.precision()+4); hdr << indent << atname << "& operator=(const std::wstring& that)\n" << indent << "{ Inherited::operator=(that); return *this; }\n" << indent << atname << "& operator=(const wchar_t* that)\n" @@ -5688,18 +5689,18 @@ void ValueBase::SetValueName(const std::string& name) void ValueBase::PrintBase(std::ostream & strm) const { if (!valueName.empty()) - strm << '\n' << indent() << valueName << " ::= "; + strm << endl << indent() << valueName << " ::= "; } void ValueBase::GenerateCplusplus(std::ostream &, std::ostream &, std::ostream &) const { - std::cerr << StdError(Warning) << "unsupported value type." << std::endl; + std::cerr << StdError(Warning) << "unsupported value type." << endl; } void ValueBase::GenerateConst(std::ostream &, std::ostream &) const { - std::cerr << StdError(Warning) << "unsupported const value type." << std::endl; + std::cerr << StdError(Warning) << "unsupported const value type." << endl; } ///////////////////////////////////////////////////////// @@ -5954,7 +5955,7 @@ void ObjectIdentifierValue::GenerateConst(std::ostream & hdr, std::ostream & cxx hdr << "extern const ASN1::OBJECT_IDENTIFIER " << GetName() << ";\n\n"; cxx << "const ASN1::OBJECT_IDENTIFIER " << GetName() << '('; - std::strstream dummy; + std::stringstream dummy; GenerateCplusplus(hdr, cxx, dummy); cxx << ");\n\n"; @@ -5970,7 +5971,7 @@ void ObjectIdentifierValue::PrintOn(std::ostream & strm) const for (size_t i = 1; i < value.size(); i++) strm << '.' << value[i]; } - strm << '\n'; + strm << endl; } @@ -6068,7 +6069,7 @@ void ImportModule::PrintOn(std::ostream & strm) const strm << " " << fullModuleName << " (" << shortModuleName << "):\n"; for (size_t i = 0; i < symbols.size(); i++) strm << " " << *symbols[i]; - strm << '\n'; + strm << endl; } @@ -6248,7 +6249,7 @@ void ModuleDefinition::PrintOn(std::ostream & strm) const strm << "\n "; for (size_t i = 0; i < exports.size(); i++) strm << *exports[i] << ' '; - strm << '\n'; + strm << endl; } strm << "Imports:\n" << imports << "\n" @@ -6334,7 +6335,7 @@ bool ModuleDefinition::ReorderTypes() if (loopDetect > rtypes.size()) { std::cerr << StdError(Fatal) << "Recursive type definition: " << bubbleType->GetName() - << " references " << (*itr)->GetName() <GetName() <HasParameters()) { - std::strstream dummy; + std::stringstream dummy; Unfreezer uf(dummy); types[i]->GenerateCplusplus(dummy, templateFile, dummy); } @@ -6419,7 +6420,7 @@ void ModuleDefinition::GenerateCplusplus(const std::string & dir, templateFile << "} // namespace " << cModuleName << "\n\n"; if (verbose) - std::cout << "Completed " << templateFile.GetFilePath() << std::endl; + std::cout << "Completed " << templateFile.GetFilePath() << endl; templateFilename = ::GetFileName(dpath) + "_t" + cppExt;//templateFile.GetFilePath().GetFileName(); } @@ -6433,7 +6434,7 @@ void ModuleDefinition::GenerateCplusplus(const std::string & dir, hdrFile << "#ifndef __" << ToUpper(GetFileName()) << "_H\n" "#define __" << ToUpper(GetFileName()) << "_H\n" "\n" - "#include \n" + "#include \"asn1.h\"\n" "\n"; hdrFile << std::setprecision(0); @@ -6450,15 +6451,15 @@ void ModuleDefinition::GenerateCplusplus(const std::string & dir, if (!cxxFile.Open(dpath, numFiles > 1 ? "_1" : "" , cppExt)) return; - std::strstream inl; + std::stringstream inl; Unfreezer unfreezer(inl); std::string headerName = ::GetFileName(dpath) + ".h"; if (includeConfigH) - cxxFile << "#ifdef HAVE_CONFIG_H\n" - "#include \n" - "#endif\n\n"; + cxxFile << "#ifdef HAVE_CONFIG_H" << endl + << "#include " << endl + << "#endif\n\n"; // if this define is generated - do_accept() in cxx file does not find inline function // cxxFile << "#define " << cModuleName << "_CXX\n"; @@ -6480,16 +6481,16 @@ void ModuleDefinition::GenerateCplusplus(const std::string & dir, for (i = 0; i < subModules.size() ; ++i) hdrFile << "#include \"" << subModules[i]->GetFileName() << ".h\"\n"; - if (dllMacroStatic.size() > 0) + if (dllMacroDLL.size() > 0) { - hdrFile << '\n' - << "#ifndef " << dllMacroExport << '\n' - << "#if !defined( " << dllMacroStatic << ") && defined(_MSC_VER)\n" + hdrFile << endl + << "#ifndef " << dllMacroExport << endl + << "#if defined( " << dllMacroDLL << ") && defined(_MSC_VER)\n" << "#define " << dllMacroExport << " __declspec(dllimport)\n" << "#else\n" - << "#define " << dllMacroExport << '\n' - << "#endif //" << dllMacroStatic << '\n' - << "#endif //"<< dllMacroExport << "\n\n"; + << "#define " << dllMacroExport << endl + << "#endif // " << dllMacroDLL << endl + << "#endif // " << dllMacroExport << "\n\n"; } hdrFile << "namespace " << cModuleName << " {\n" @@ -6498,8 +6499,7 @@ void ModuleDefinition::GenerateCplusplus(const std::string & dir, _1, boost::ref(hdrFile))); - cxxFile << "namespace " << cModuleName << "{\n" - "\n"; + cxxFile << "namespace " << cModuleName << "{\n\n"; for(i = 0; i < values.size(); i++) values[i]->GenerateConst(hdrFile, cxxFile); @@ -6512,13 +6512,13 @@ void ModuleDefinition::GenerateCplusplus(const std::string & dir, classesCount = i/classesPerFile+1; if (verbose) - std::cout << "Completed " << cxxFile.GetFilePath() << std::endl; + std::cout << "Completed " << cxxFile.GetFilePath() << endl; - std::strstream suffix; + std::stringstream suffix; Unfreezer unfreezer(suffix); - suffix << '_' << i/classesPerFile+1 << std::ends; + suffix << '_' << i/classesPerFile+1; - if (!cxxFile.Open(dpath, suffix.str(), cppExt)) + if (!cxxFile.Open(dpath, suffix.str().c_str(), cppExt)) { std::cout << "Cannot open file " << dpath << "_" << i/classesPerFile+1 << cppExt << "\n"; return; @@ -6553,10 +6553,10 @@ void ModuleDefinition::GenerateCplusplus(const std::string & dir, "\n"; } - std::cerr << "Generating " << types[i]->GetName() << std::endl; + std::cerr << "Generating " << types[i]->GetName() << endl; if (types[i]->HasParameters()) { - std::strstream dummy; + std::stringstream dummy; types[i]->GenerateCplusplus(hdrFile, dummy, inl); } else { @@ -6579,8 +6579,7 @@ void ModuleDefinition::GenerateCplusplus(const std::string & dir, //if (useNamespaces) cxxFile << "} // namespace " << cModuleName << "\n"; - inl << std::ends; - if (strlen(inl.str())) + if (!inl.str().empty()) { OutputFile inlFile; if (!inlFile.Open(dpath, "", ".inl")) @@ -6612,15 +6611,14 @@ void ModuleDefinition::GenerateCplusplus(const std::string & dir, hdrFile << "#include \"" << ::GetFileName(dpath) + ".inl"//inlFile.GetFilePath().GetFileName() << "\"\n\n"; } + inl << ends; // Close off the files - hdrFile << "} // namespace " << cModuleName - << "\n\n"; - + hdrFile << "} // namespace " << cModuleName << "\n\n"; hdrFile << "#endif // __" << ToUpper(GetFileName()) << "_H\n"; if (verbose) - std::cout << "Completed " << cxxFile.GetFilePath() << std::endl; + std::cout << "Completed " << cxxFile.GetFilePath() << endl; } } @@ -6628,7 +6626,7 @@ void ModuleDefinition::GenerateCplusplus(const std::string & dir, void ModuleDefinition::GenerateClassModule(std::ostream& hdrFile, std::ostream& cxxFile, std::ostream& inl) { size_t i; - std::strstream tmphdr, tmpcxx; + std::stringstream tmphdr, tmpcxx; Unfreezer unfreezer1(tmphdr),unfreezer2(tmpcxx); for (i = 0 ; i < informationObjects.size(); ++i) informationObjects[i]->GenerateCplusplus(tmphdr, tmpcxx, inl); @@ -6662,8 +6660,7 @@ void ModuleDefinition::GenerateClassModule(std::ostream& hdrFile, std::ostream& } } - tmphdr << std::ends; - if (strlen(tmphdr.str())) + if (!tmphdr.str().empty()) { hdrFile << "class Module : public ASN1::Module\n" << "{\n" @@ -6683,6 +6680,7 @@ void ModuleDefinition::GenerateClassModule(std::ostream& hdrFile, std::ostream& hdrFile << ");\n"; hdrFile << tmphdr.str(); + tmphdr << ends; hdrFile << "private:\n"; for (i = 0 ; i < informationObjects.size(); ++i) @@ -6702,12 +6700,12 @@ void ModuleDefinition::GenerateClassModule(std::ostream& hdrFile, std::ostream& hdrFile << "}; // class Module\n\n"; - tmpcxx << std::ends; cxxFile << "#ifdef _MSC_VER\n" << "#pragma warning(disable: 4355)\n" << "#endif\n\n" << tmpcxx.str() << "Module::Module("; + tmpcxx << ends; for (i = 0, needComma = false; i < imports.size(); ++i) if (imports[i]->HasValuesOrObjects()) @@ -6956,8 +6954,8 @@ std::string ModuleDefinition::CreateSubModules(SymbolList& exportedSymbols) else { std::cerr << "Unexpected Situation, Do not use selective imports option\n"; - std::cerr << "unresolved imported types (" << exportedTypes.size() << ") :" << exportedTypes << '\n'; - std::cerr << subModule->imports.size() << '\n'; + std::cerr << "unresolved imported types (" << exportedTypes.size() << ") :" << exportedTypes << endl; + std::cerr << subModule->imports.size() << endl; exit(1); //return ""; } @@ -7196,8 +7194,7 @@ void TypeFieldSpec::Generate_info_type_constructor(std::ostream& cxx) const void TypeFieldSpec::Generate_info_type_memfun(std::ostream& hdr) const { Indent indent(hdr.precision()+4); - hdr << indent << "ASN1::AbstractData* get_" << GetIdentifier() - << "() const { return "; + hdr << indent << "ASN1::AbstractData* get_" << GetIdentifier() << "() const { return "; if (!type.get()) hdr << "m_" << GetIdentifier() << " ? ASN1::AbstractData::create(m_" @@ -7426,7 +7423,7 @@ TypePtr GetFieldType(FieldSettingList* parsedFields, const std::string& fieldnam } } - std::cerr << StdError(Fatal) << "Invalid Object Field : "<< fieldname << '\n'; + std::cerr << StdError(Fatal) << "Invalid Object Field : "<< fieldname << endl; return TypePtr(); } @@ -7445,7 +7442,7 @@ void VariableTypeValueFieldSpec::EstablishFieldRelation(FieldSpecsList* specs) } } - std::cerr << StdError(Fatal) << "Invalid Object Class Definition at Field : "<< fieldName << '\n'; + std::cerr << StdError(Fatal) << "Invalid Object Class Definition at Field : "<< fieldName << endl; } void VariableTypeValueFieldSpec::BeginParseSetting(FieldSettingList* parsedFields) const @@ -7513,7 +7510,7 @@ void VariableTypeValueSetFieldSpec::EstablishFieldRelation(FieldSpecsList* specs } } - std::cerr << StdError(Fatal) << "Invalid Object Class Definition at Field : "<< fieldName << '\n'; + std::cerr << StdError(Fatal) << "Invalid Object Class Definition at Field : "<< fieldName << endl; } void VariableTypeValueSetFieldSpec::BeginParseSetting(FieldSettingList* parsedFields) const @@ -7665,7 +7662,7 @@ void ObjectSetFieldSpec::FwdDeclare(std::ostream& hdr) const } hdr << "class " << MakeIdentifierC(objectClass->GetName()) << ";\n" - << '\n'; + << endl; } void ObjectSetFieldSpec::Generate_info_type_constructor(std::ostream& cxx) const @@ -7807,7 +7804,7 @@ bool ObjectClassDefn::VerifyDefaultSyntax(FieldSettingList* fieldSettings) const else { std::cerr << StdError(Fatal) << "Unrecognized field name : " - << (*fieldSettings)[settingIndex]->GetName() << '\n'; + << (*fieldSettings)[settingIndex]->GetName() << endl; exit(1); } } @@ -7866,7 +7863,7 @@ void ObjectClassDefn::PrintOn(std::ostream& strm) const strm << '\t' << *(*fieldSpecs)[i]; if (i != fieldSpecs->size()-1) strm << ','; - strm << '\n'; + strm << endl; } strm << "}\n"; if (withSyntaxSpec.get()) @@ -7905,11 +7902,11 @@ void ObjectClassDefn::GenerateCplusplus(std::ostream& hdr, std::ostream& cxx, st size_t i; for (i = 0; i < fieldSpecs->size(); ++i) { - std::strstream strm; + std::stringstream strm; Unfreezer unfreezer(strm); (*fieldSpecs)[i]->FwdDeclare(strm); - strm << std::ends; std::string str = strm.str(); + strm << ends; if (str.find(GetName()) != -1) continue; hdr << str; @@ -8174,9 +8171,9 @@ const TypeBase* DefinedObjectClass::GetFieldType(const std::string& fieldName) c void Literal::PrintOn(std::ostream & strm) const { strm << name; - // use skipws flag to indicate whether to output '\n' or not + // use skipws flag to indicate whether to output endl or not if (((strm.flags() & std::ios::skipws) == 0) && name == ",") - strm << '\n'; + strm << endl; } @@ -8194,9 +8191,9 @@ TokenOrGroupSpec::MakeDefaultSyntaxResult Literal::MakeDefaultSyntax(DefinedSyn void PrimitiveFieldName::PrintOn(std::ostream & strm) const { strm << name; - // use skipws flag to indicate whether to output '\n' or not + // use skipws flag to indicate whether to output endl or not if ((strm.flags() & std::ios::skipws) == 0) - strm << '\n'; + strm << endl; } bool PrimitiveFieldName::ValidateField(FieldSpecsList* fields) @@ -8242,7 +8239,7 @@ void TokenGroup::PrintOn(std::ostream & strm) const if (optional) { strm << "[" ; - strm.setf(std::ios::skipws); // use skipws flag to indicate not to output '\n' for PrimitiveField or ',' + strm.setf(std::ios::skipws); // use skipws flag to indicate not to output endl for PrimitiveField or ',' } for (size_t i = 0; i < tokenOrGroupSpecList.size(); ++i) @@ -8367,12 +8364,12 @@ void FieldSetting::GenerateCplusplus(const std::string& prefix, std::ostream & h void FieldSetting::GenerateInitializationList(std::ostream & hdr, std::ostream & cxx, std::ostream & inl) { - std::strstream tmp; + std::stringstream tmp; Unfreezer unfreezer(tmp); setting->GenerateInitializationList(hdr, tmp, inl); - tmp << std::ends; - if (strlen(tmp.str())) { - cxx << identifier << "(" << tmp.str() << ")"; + if (!tmp.str().empty()) { + cxx << identifier << "(" << tmp.str() << ")"; + tmp << ends; } } @@ -8470,7 +8467,7 @@ const Setting* DefinedObject::GetSetting(const std::string& fieldname) const void DefinedObject::PrintOn(std::ostream & strm) const { PrintBase(strm); - strm << referenceName << '\n'; + strm << referenceName << endl; } void DefinedObject::GenerateInstanceCode(std::ostream& cxx) const @@ -8518,14 +8515,14 @@ void DefaultObjectDefn::PrintOn(std::ostream & strm) const PrintBase(strm); strm << "{\n"; for (size_t i = 0; i < settings->size(); ++i) - strm << '\t' << *(*settings)[i] << '\n'; + strm << '\t' << *(*settings)[i] << endl; strm << "}\n"; } void DefaultObjectDefn::GenerateCplusplus(std::ostream& hdr , std::ostream & cxx, std::ostream & inl) { - std::strstream tmphdr; + std::stringstream tmphdr; Unfreezer unfreezer(tmphdr); tmphdr << std::setprecision(8); unsigned flags =0; @@ -8536,8 +8533,7 @@ void DefaultObjectDefn::GenerateCplusplus(std::ostream& hdr , std::ostream & cxx (*settings)[i]->GenerateCplusplus(prefix, tmphdr, cxx, inl, flags); - tmphdr << std::ends; - if (strlen(tmphdr.str())) + if (!tmphdr.str().empty()) { int has_type_setting = (flags & Setting::has_type_setting); int has_objectSet_setting = (flags & Setting::has_objectSet_setting); @@ -8545,7 +8541,7 @@ void DefaultObjectDefn::GenerateCplusplus(std::ostream& hdr , std::ostream & cxx const std::string &className = MakeIdentifierC(referenceClass->GetName()); std::string keyName = referenceClass->GetKeyName().substr(1); - hdr << " class " << name << '\n' + hdr << " class " << name << endl << " {\n" << " public:\n" << " " << name << "();\n" @@ -8553,6 +8549,7 @@ void DefaultObjectDefn::GenerateCplusplus(std::ostream& hdr , std::ostream & cxx << " " << className << "::value_type make() const\n" " { return " << className << "::value_type(" << keyName << ",&info ); }\n" " private:\n"; + tmphdr << ends; if (has_type_setting || has_objectSet_setting) { @@ -8584,11 +8581,10 @@ void DefaultObjectDefn::GenerateCplusplus(std::ostream& hdr , std::ostream & cxx bool hasInitizationList = false; for (i = 0 ; i < settings->size(); ++i) { - std::strstream tmp; + std::stringstream tmp; Unfreezer unfreezer(tmp); (*settings)[i]->GenerateInitializationList(hdr, tmp, inl); - tmp << std::ends; - if (strlen(tmp.str())) + if (!tmp.str().empty()) { if (!hasInitizationList) cxx << "\n : " << tmp.str(); @@ -8597,6 +8593,7 @@ void DefaultObjectDefn::GenerateCplusplus(std::ostream& hdr , std::ostream & cxx cxx << ", " << tmp.str(); hasInitizationList = true; } + tmp << ends; } } @@ -8932,13 +8929,13 @@ void InformationObjectSetDefn::GenerateType(std::ostream& hdr, std::ostream& cxx bool InformationObjectSetDefn::GenerateTypeConstructor(std::ostream& cxx) const { - std::strstream tmp; + std::stringstream tmp; Unfreezer unfreezer(tmp); rep->GenerateObjSetAccessCode(tmp); - tmp << std::ends; - if (strlen(tmp.str())) + if (!tmp.str().empty()) { cxx << tmp.str(); + tmp << ends; return true; } @@ -9030,9 +9027,9 @@ ParameterizedObjectSet::~ParameterizedObjectSet() std::string ParameterizedObjectSet::GetName() const { - std::strstream strm; + std::stringstream strm; Unfreezer unfreezer(strm); - strm << referenceName << *arguments << std::ends; + strm << referenceName << *arguments; return std::string(strm.str()); } diff --git a/asnparser/main.h b/asnparser/main.h index 8acf271..47b1694 100644 --- a/asnparser/main.h +++ b/asnparser/main.h @@ -1387,7 +1387,9 @@ class IntegerValue : public ValueBase virtual void GenerateCplusplus(std::ostream & hdr, std::ostream & cxx, std::ostream & inl) const; virtual void GenerateConst(std::ostream & hdr, std::ostream & cxx) const; + #if (__SIZEOF_LONG__ != 8) operator boost::int64_t() const { return value; } + #endif operator long() const { return (long)value; } protected: diff --git a/asnparser/unistd.h b/asnparser/unistd.h new file mode 100644 index 0000000..bcd481d --- /dev/null +++ b/asnparser/unistd.h @@ -0,0 +1,43 @@ +#ifndef _UNISTD_H +#define _UNISTD_H 1 + +/* This file intended to serve as a drop-in replacement for + * unistd.h on Windows + * Please add functionality as neeeded + */ + +#include +#include +/* #include /* getopt at: https://gist.github.com/ashelly/7776712 */ +#include /* for getpid() and the exec..() family */ +#include /* for _getcwd() and _chdir() */ + +#define srandom srand +#define random rand + +/* Values for the second argument to access. + These may be OR'd together. */ +#define R_OK 4 /* Test for read permission. */ +#define W_OK 2 /* Test for write permission. */ +//#define X_OK 1 /* execute permission - unsupported in windows*/ +#define F_OK 0 /* Test for existence. */ + +#define access _access +#define dup2 _dup2 +#define execve _execve +#define ftruncate _chsize +#define unlink _unlink +#define fileno _fileno +#define getcwd _getcwd +#define chdir _chdir +#define isatty _isatty +#define lseek _lseek +/* read, write, and close are NOT being #defined here, because while there are file handle specific versions for Windows, they probably don't work for sockets. You need to look at your app and consider whether to call e.g. closesocket(). */ + +#define ssize_t int + +#define STDIN_FILENO 0 +#define STDOUT_FILENO 1 +#define STDERR_FILENO 2 + +#endif /* unixstd.h */ \ No newline at end of file diff --git a/autogen.sh b/autogen.sh index 3291cb0..47d930e 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,4 +1,4 @@ aclocal -I config -automake +automake --add-missing autoconf diff --git a/autom4te.cache/output.0 b/autom4te.cache/output.0 deleted file mode 100644 index 90ae82c..0000000 --- a/autom4te.cache/output.0 +++ /dev/null @@ -1,7531 +0,0 @@ -@%:@! /bin/sh -@%:@ Guess values for system-dependent variables and create Makefiles. -@%:@ Generated by GNU Autoconf 2.65. -@%:@ -@%:@ -@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 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. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -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_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in @%:@( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -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 -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -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 @S|@? 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 "@S|@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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments -@%:@ must be portable across @S|@(()) 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 ERROR [LINENO LOG_FD] -@%:@ --------------------------------- -@%:@ Output "`basename @S|@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 @S|@?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} @%:@ as_fn_error - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - 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 - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - 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 - - - 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; } - - # 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 -} - -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 -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='mkdir -p "$as_dir"' -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'" - - -test -n "$DJDIR" || exec 7<&0 &1 - -# Name of the host. -# 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` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIB@&t@OBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= - -# Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= -PACKAGE_URL= - -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS -# include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif -# include -#endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_INTTYPES_H -# include -#endif -#ifdef HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#endif" - -ac_subst_vars='am__EXEEXT_FALSE -am__EXEEXT_TRUE -LTLIBOBJS -LIB@&t@OBJS -DEBUGFLAG -ASNPARSER -asnh323dir -PIPEFLAG -LIBSTL -PTHREAD_CFLAGS -PTHREAD_LIBS -PTHREAD_CC -EGREP -GREP -CXXCPP -CPP -RANLIB -am__fastdepCXX_FALSE -am__fastdepCXX_TRUE -CXXDEPMODE -ac_ct_CXX -CXXFLAGS -CXX -am__fastdepCC_FALSE -am__fastdepCC_TRUE -CCDEPMODE -AMDEPBACKSLASH -AMDEP_FALSE -AMDEP_TRUE -am__quote -am__include -DEPDIR -OBJEXT -EXEEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -am__untar -am__tar -AMTAR -am__leading_dot -SET_MAKE -AWK -mkdir_p -MKDIR_P -INSTALL_STRIP_PROGRAM -STRIP -install_sh -MAKEINFO -AUTOHEADER -AUTOMAKE -AUTOCONF -ACLOCAL -VERSION -PACKAGE -CYGPATH_W -am__isrc -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -target_os -target_vendor -target_cpu -target -host_os -host_vendor -host_cpu -host -build_os -build_vendor -build_cpu -build -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_URL -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -enable_dependency_tracking -enable_thread -enable_allocator -with_asnh323 -enable_avn -with_boost -enable_debug -' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CXX -CXXFLAGS -CCC -CPP -CXXCPP' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - 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" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - 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" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - 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" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - 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" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --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." - ;; - - *=*) - 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 - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error "missing argument to $ac_option" -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -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 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -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" -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - as_fn_error "pwd does not report name of working directory" - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -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" -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" - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --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 - --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 - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - @<:@@S|@ac_default_prefix@:>@ - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - @<:@PREFIX@:>@ - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@ - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -Program names: - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM run sed PROGRAM on installed program names - -System types: - --build=BUILD configure for building on BUILD [guessed] - --host=HOST cross-compile to build programs to run on HOST [BUILD] - --target=TARGET configure for building compilers for TARGET [HOST] -_ACEOF -fi - -if test -n "$ac_init_help"; then - - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors - - --enable-thread enable thread support (default if using stlport) - --disable-thread disable thread support (default otherwise) - - --enable-allocator enable custom memory allocator (default) - --disable-allocator disable custom memory allocator - - --enable-avn enable AVN support (default) - --disable-avn disable AVN support - --enable-debug Turn on debugging - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - - --with-asnh323 build libasnh323.a (default) - --without-asnh323 do not build libasnh323.a - - - --with-boost=boost-dir specify the directory where BOOST library is located - - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - 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 - you have headers in a nonstandard directory - CXX C++ compiler command - CXXFLAGS C++ compiler flags - CPP C preprocessor - CXXCPP C++ preprocessor - -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 - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -configure -generated by GNU Autoconf 2.65 - -Copyright (C) 2009 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 - -## ------------------------ ## -## Autoconf initialization. ## -## ------------------------ ## - -@%:@ ac_fn_c_try_compile LINENO -@%:@ -------------------------- -@%:@ Try to compile conftest.@S|@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 - -} @%:@ ac_fn_c_try_compile - -@%:@ ac_fn_cxx_try_compile LINENO -@%:@ ---------------------------- -@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. -ac_fn_cxx_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_cxx_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 - -} @%:@ ac_fn_cxx_try_compile - -@%:@ ac_fn_c_try_cpp LINENO -@%:@ ---------------------- -@%:@ Try to preprocess conftest.@S|@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; } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} @%:@ ac_fn_c_try_cpp - -@%:@ ac_fn_cxx_try_cpp LINENO -@%:@ ------------------------ -@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. -ac_fn_cxx_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; } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} @%:@ ac_fn_cxx_try_cpp - -@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -@%:@ ------------------------------------------------------- -@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using -@%:@ the include files in INCLUDES and setting the cache variable VAR -@%:@ accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+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> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.$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 { as_var=$3; eval "test \"\${$as_var+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_try_run LINENO -@%:@ ---------------------- -@%:@ Try to link conftest.@S|@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 - -} @%:@ ac_fn_c_try_run - -@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -@%:@ ------------------------------------------------------- -@%:@ Tests whether HEADER exists and can be compiled using the include files in -@%:@ 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 { as_var=$3; eval "test \"\${$as_var+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;} - -} @%:@ ac_fn_c_check_header_compile - -@%:@ ac_fn_cxx_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_cxx_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+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> -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <$2> -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+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_cxx_check_header_mongrel - -@%:@ ac_fn_cxx_try_link LINENO -@%:@ ------------------------- -@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. -ac_fn_cxx_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - 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_cxx_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 - - 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 - -} @%:@ ac_fn_cxx_try_link - -@%:@ ac_fn_cxx_try_run LINENO -@%:@ ------------------------ -@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes -@%:@ that executables *can* be run. -ac_fn_cxx_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 - -} @%:@ ac_fn_cxx_try_run -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.65. 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 - - 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:${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 - - 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 - - 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 - - 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'; 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 - 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 - 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" - 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' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - -ac_aux_dir= -for ac_dir in config "$srcdir"/config; do - for ac_t in install-sh install.sh shtool; do - if test -f "$ac_dir/$ac_t"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/$ac_t -c" - break 2 - fi - done -done -if test -z "$ac_aux_dir"; then - as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - - -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if 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 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } -case $ac_cv_build in -*-*-*) ;; -*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; -esac -build=$ac_cv_build -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_build -shift -build_cpu=$1 -build_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -build_os=$* -IFS=$ac_save_IFS -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if 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 -fi - -fi -{ $as_echo "$as_me:${as_lineno-$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;; -esac -host=$ac_cv_host -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_host -shift -host_cpu=$1 -host_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -host_os=$* -IFS=$ac_save_IFS -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 -$as_echo_n "checking target system type... " >&6; } -if test "${ac_cv_target+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test "x$target_alias" = x; then - ac_cv_target=$ac_cv_host -else - ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || - as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 -$as_echo "$ac_cv_target" >&6; } -case $ac_cv_target in -*-*-*) ;; -*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; -esac -target=$ac_cv_target -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_target -shift -target_cpu=$1 -target_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -target_os=$* -IFS=$ac_save_IFS -case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac - - -# The aliases save the names the user supplied, while $host etc. -# will get canonicalized. -test -n "$target_alias" && - test "$program_prefix$program_suffix$program_transform_name" = \ - NONENONEs,x,x, && - program_prefix=${target_alias}- - -am__api_version='1.11' - -# 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:${as_lineno-$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 - -fi - 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:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# 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' - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 -$as_echo_n "checking whether build environment is sane... " >&6; } -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[\\\"\#\$\&\'\`$am_lf]*) - as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; -esac -case $srcdir in - *[\\\"\#\$\&\'\`$am_lf\ \ ]*) - as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; -esac - -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # 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 - fi - - test "$2" = conftest.file - ) -then - # Ok. - : -else - as_fn_error "newly created file is older than distributed files! -Check your system clock" "$LINENO" 5 -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -test "$program_prefix" != NONE && - program_transform_name="s&^&$program_prefix&;$program_transform_name" -# Use a double $ so make ignores it. -test "$program_suffix" != NONE && - program_transform_name="s&\$&$program_suffix&;$program_transform_name" -# Double any \ or $. -# By default was `s,x,x', remove it if useless. -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` - -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` - -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - 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: WARNING: \`missing' script is too old or missing" >&2;} -fi - -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi - -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -if test "$cross_compiling" != no; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - 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 ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } -if test -z "$MKDIR_P"; then - if test "${ac_cv_path_mkdir+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - 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 #( - 'mkdir (GNU coreutils) '* | \ - 'mkdir (coreutils) '* | \ - 'mkdir (fileutils) '4.1*) - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext - break 3;; - esac - 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 - # As a last resort, use the slow shell script. Don't cache a - # 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. - MKDIR_P="$ac_install_sh -d" - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 -$as_echo "$MKDIR_P" >&6; } - -mkdir_p="$MKDIR_P" -case $mkdir_p in - [\\/$]* | ?:[\\/]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac - -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -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 -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# 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;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make -fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - SET_MAKE= -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" -fi - -rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null - -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - 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 - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi - - -# Define the identity of the package. - PACKAGE=iiiasn1 - VERSION=2_12 - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE "$PACKAGE" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define VERSION "$VERSION" -_ACEOF - -# Some tools Automake needs. - -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} - - -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} - - -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} - - -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} - - -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} - -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -# Always define AMTAR for backward compatibility. - -AMTAR=${AMTAR-"${am_missing_run}tar"} - -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' - - - - - - - - -DEPDIR="${am__leading_dot}deps" - -ac_config_commands="$ac_config_commands depfiles" - - -am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.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_n "checking for style of include used by $am_make... " >&6; } -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi - - -{ $as_echo "$as_me:${as_lineno-$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 : - enableval=$enable_dependency_tracking; -fi - -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi - if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' -else - AMDEP_TRUE='#' - AMDEP_FALSE= -fi - - - -if test -e $srcdir/config/mh-$host_alias ; then - host_frag=$srcdir/config/mh-$host_alias - - - if test -z "$CC"; then - xx=`sed -n -e 's/^[:blank:]*CC[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CC=$xx - fi - fi - - - if test -z "$CXX"; then - xx=`sed -n -e 's/^[:blank:]*CXX[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CXX=$xx - fi - fi - - - if test -z "$RANLIB"; then - xx=`sed -n -e 's/^[:blank:]*RANLIB[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - RANLIB=$xx - fi - fi - - - if test -z "$CFLAGS"; then - xx=`sed -n -e 's/^[:blank:]*CFLAGS[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CFLAGS=$xx - fi - fi - - - if test -z "$CXXFLAGS"; then - xx=`sed -n -e 's/^[:blank:]*CXXFLAGS[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CXXFLAGS=$xx - fi - fi - - - if test -z "$CPPFLAGS"; then - xx=`sed -n -e 's/^[:blank:]*CPPFLAGS[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CPPFLAGS=$xx - fi - fi - - - if test -z "$LDFLAGS"; then - xx=`sed -n -e 's/^[:blank:]*LDFLAGS[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - LDFLAGS=$xx - fi - fi - - - if test "$host_alias" != "$build_alias" ; then - ac_cv_prog_cc_cross=yes - ac_exeext=yyy - else - ac_cv_prog_cc_cross=no - fi -fi - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - 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 ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - 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 ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -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 - 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 - break 2 - fi -done - done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $@%:@ != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -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_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - 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 ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "no acceptable C compiler found in \$PATH -See \`config.log' for more details." "$LINENO" 5; } - -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - 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 - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -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_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -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 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ as_fn_set_status 77 -as_fn_error "C compiler cannot create executables -See \`config.log' for more details." "$LINENO" 5; }; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -ac_exeext=$ac_cv_exeext - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -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; }; 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 -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -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_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -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>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $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: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of object files: cannot compile -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - 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 "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -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_n "checking whether $CC accepts -g... " >&6; } -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 -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -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 "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if 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 -/* end confdefs.h. */ -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - -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 - -depcc="$CC" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if 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 - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CC_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' -else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= -fi - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}c++", so it can be a program name with args. -set dummy ${ac_tool_prefix}c++; 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_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # 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_CXX="${ac_tool_prefix}c++" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CXX"; then - ac_ct_CXX=$CXX - # Extract the first word of "c++", so it can be a program name with args. -set dummy c++; 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_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_CXX="c++" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CXX" = x; then - CXX="" - 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 ;; -esac - CXX=$ac_ct_CXX - fi -else - CXX="$ac_cv_prog_CXX" -fi - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -z "$CXX"; then - if test -n "$CCC"; then - CXX=$CCC - else - if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # 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_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC -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_ac_ct_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_CXX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CXX" && break -done - - if test "x$ac_ct_CXX" = x; then - CXX="g++" - 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 ;; -esac - CXX=$ac_ct_CXX - fi -fi - - fi -fi -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - 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:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GXX=yes -else - GXX= -fi -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if test "${ac_cv_prog_cxx_g+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -else - CXXFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -else - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -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_cxx_werror_flag=$ac_save_cxx_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS -elif test $ac_cv_prog_cxx_g = yes; then - if test "$GXX" = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-g" - fi -else - if test "$GXX" = yes; then - CXXFLAGS="-O2" - else - CXXFLAGS= - fi -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 - -depcc="$CXX" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CXX_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CXX_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CXX_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then - am__fastdepCXX_TRUE= - am__fastdepCXX_FALSE='#' -else - am__fastdepCXX_TRUE='#' - am__fastdepCXX_FALSE= -fi - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if 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:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { $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 - - -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 - 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 "$ac_ct_RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$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:${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 ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -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 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include -@%:@else -@%:@ include -@%:@endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include -@%:@else -@%:@ include -@%:@endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -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: error: in \`$ac_pwd':" >&2;} -as_fn_error "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 -$as_echo_n "checking how to run the C++ preprocessor... " >&6; } -if test -z "$CXXCPP"; then - if test "${ac_cv_prog_CXXCPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" - do - ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include -@%:@else -@%:@ include -@%:@endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -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 -/* end confdefs.h. */ -@%:@include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CXXCPP=$CXXCPP - -fi - CXXCPP=$ac_cv_prog_CXXCPP -else - ac_cv_prog_CXXCPP=$CXXCPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -$as_echo "$CXXCPP" >&6; } -ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include -@%:@else -@%:@ include -@%:@endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -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 -/* end confdefs.h. */ -@%:@include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -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: error: in \`$ac_pwd':" >&2;} -as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - -ac_config_headers="$ac_config_headers config.h" - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if 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 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -eval as_val=\$$as_ac_Header - 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 - - -for ac_header in unistd.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" -if test "x$ac_cv_header_unistd_h" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define HAVE_UNISTD_H 1 -_ACEOF - -fi - -done - - - -III_CHECK_CXX_INCLUDE_PATH - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5 -$as_echo_n "checking whether the compiler implements namespaces... " >&6; } -if test "${ac_cv_cxx_namespaces+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -namespace Outer { namespace Inner { int i = 0; }} -int -main () -{ -using namespace Outer::Inner; return i; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_cxx_namespaces=yes -else - ac_cv_cxx_namespaces=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - 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 - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5 -$as_echo "$ac_cv_cxx_namespaces" >&6; } -if test "$ac_cv_cxx_namespaces" = yes; then - -$as_echo "@%:@define HAVE_NAMESPACES /**/" >>confdefs.h - -fi - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5 -$as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; } -if test "${ac_cv_cxx_have_stl+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#ifdef HAVE_NAMESPACES -using namespace std; -#endif -int -main () -{ -list x; x.push_back(5); -list::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_cxx_have_stl=yes -else - ac_cv_cxx_have_stl=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - 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 - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5 -$as_echo "$ac_cv_cxx_have_stl" >&6; } -if test "$ac_cv_cxx_have_stl" = yes; then - -$as_echo "@%:@define HAVE_STL /**/" >>confdefs.h - -fi - - -if test "$ac_cv_cxx_have_stl" = no; then - as_fn_error "This compiler does not have STL" "$LINENO" 5 -fi - -if test "$ac_cv_cxx_namespaces" = no; then - as_fn_error "This compiler does not support namespace" "$LINENO" 5 -fi - - - - - if test "$ac_cv_cxx_have_stl" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the STLport exists" >&5 -$as_echo_n "checking whether the STLport exists... " >&6; } -if test "${iii_cv_have_stlport+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - #ifdef __SGI_STL_PORT - yes - #endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : - iii_cv_have_stlport=yes -else - iii_cv_have_stlport=no -fi -rm -f conftest* - - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $iii_cv_have_stlport" >&5 -$as_echo "$iii_cv_have_stlport" >&6; } - - - if test "$host_os" = cygwin && test "$iii_cv_have_stlport" = yes ; then - LIBSTL=-lstlport_cygwin - elif test "$ac_cv_cxx_compiler_gnu" = yes; then - if test "$iii_cv_have_stlport" = yes; then - LIBSTL=-lstlport_gcc - else - LIBSTL=-lstdc++ - fi; - fi - - else - iii_cv_have_stlport=no - fi - - - -@%:@ Check whether --enable-thread was given. -if test "${enable_thread+set}" = set; then : - enableval=$enable_thread; - iii_cv_enable_thread=$enableval - -else - - if test x"$iii_cv_have_stlport" = xno; then - iii_cv_enable_thread=no - else - iii_cv_enable_thread=yes - fi - -fi - - -if test x"$iii_cv_enable_thread" = xyes && test "$host_os" != cygwin; then - - -acx_pthread_ok=no - -# First, check if the POSIX threads header, pthread.h, is available. -# If it isn't, don't bother looking for the threads libraries. -ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" -if test "x$ac_cv_header_pthread_h" = x""yes; then : - -else - acx_pthread_ok=noheader -fi - - - -# We must check for the threads library under a number of different -# names; the ordering is very important because some systems -# (e.g. DEC) have both -lpthread and -lpthreads, where one of the -# libraries is broken (non-POSIX). - -# First of all, check if the user has set any of the PTHREAD_LIBS, -# etcetera environment variables, and if threads linking works using -# them: -if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - save_LIBS="$LIBS" - LIBS="$PTHREAD_LIBS $LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 -$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 pthread_join (); -int -main () -{ -return pthread_join (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - acx_pthread_ok=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5 -$as_echo "$acx_pthread_ok" >&6; } - if test x"$acx_pthread_ok" = xno; then - PTHREAD_LIBS="" - PTHREAD_CFLAGS="" - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" -fi - -# Create a list of thread flags to try. Items starting with a "-" are -# C compiler flags, and other items are library names, except for "none" -# which indicates that we try without any flags at all. - -acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt" - -# The ordering *is* (sometimes) important. Some notes on the -# individual items follow: - -# pthreads: AIX (must check this before -lpthread) -# none: in case threads are in libc; should be tried before -Kthread and -# other compiler flags to prevent continual compiler warnings -# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) -# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) -# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) -# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) -# -pthreads: Solaris/gcc -# -mthreads: Mingw32/gcc, Lynx/gcc -# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it -# doesn't hurt to check since this sometimes defines pthreads too; -# also defines -D_REENTRANT) -# pthread: Linux, etcetera -# --thread-safe: KAI C++ - -case "${host_cpu}-${host_os}" in - *solaris*) - - # On Solaris (at least, for some versions), libc contains stubbed - # (non-functional) versions of the pthreads routines, so link-based - # tests will erroneously succeed. (We need to link with -pthread or - # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather - # a function called by this macro, so we could check for that, but - # who knows whether they'll stub that too in a future libc.) So, - # we'll just look for -pthreads and -lpthread first: - - acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags" - ;; -esac - -if test x"$acx_pthread_ok" = xno; then -for flag in $acx_pthread_flags; do - - case $flag in - none) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 -$as_echo_n "checking whether pthreads work without any flags... " >&6; } - ;; - - -*) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5 -$as_echo_n "checking whether pthreads work with $flag... " >&6; } - PTHREAD_CFLAGS="$flag" - ;; - - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5 -$as_echo_n "checking for the pthreads library -l$flag... " >&6; } - PTHREAD_LIBS="-l$flag" - ;; - esac - - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="$PTHREAD_LIBS $LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - - # Check for various functions. We must include pthread.h, - # since some functions may be macros. (On the Sequent, we - # need a special flag -Kthread to make this header compile.) - # We check for pthread_join because it is in -lpthread on IRIX - # while pthread_create is in libc. We check for pthread_attr_init - # due to DEC craziness with -lpthreads. We check for - # pthread_cleanup_push because it is one of the few pthread - # functions on Solaris that doesn't have a non-functional libc stub. - # We try pthread_create on general principles. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -pthread_t th; pthread_join(th, 0); - pthread_attr_init(0); pthread_cleanup_push(0, 0); - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - acx_pthread_ok=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5 -$as_echo "$acx_pthread_ok" >&6; } - if test "x$acx_pthread_ok" = xyes; then - break; - fi - - PTHREAD_LIBS="" - PTHREAD_CFLAGS="" -done -fi - -# Various other checks: -if test "x$acx_pthread_ok" = xyes; then - save_LIBS="$LIBS" - LIBS="$PTHREAD_LIBS $LIBS" - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - - # Detect AIX lossage: threads are created detached by default - # and the JOINABLE attribute has a nonstandard name (UNDETACHED). - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5 -$as_echo_n "checking for joinable pthread attribute... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -int attr=PTHREAD_CREATE_JOINABLE; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ok=PTHREAD_CREATE_JOINABLE -else - ok=unknown -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test x"$ok" = xunknown; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -int attr=PTHREAD_CREATE_UNDETACHED; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ok=PTHREAD_CREATE_UNDETACHED -else - ok=unknown -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - fi - if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then - -$as_echo "@%:@define PTHREAD_CREATE_JOINABLE \$ok" >>confdefs.h - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ok}" >&5 -$as_echo "${ok}" >&6; } - if test x"$ok" = xunknown; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: we do not know how to create joinable pthreads" >&5 -$as_echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;} - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5 -$as_echo_n "checking if more special flags are required for pthreads... " >&6; } - flag=no - case "${host_cpu}-${host_os}" in - *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";; - *solaris* | alpha*-osf*) flag="-D_REENTRANT";; - esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 -$as_echo "${flag}" >&6; } - if test "x$flag" != xno; then - PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" - fi - - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - - # More AIX lossage: must compile with cc_r - # Extract the first word of "cc_r", so it can be a program name with args. -set dummy cc_r; 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_PTHREAD_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$PTHREAD_CC"; then - ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_PTHREAD_CC="cc_r" - $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 - - test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}" -fi -fi -PTHREAD_CC=$ac_cv_prog_PTHREAD_CC -if test -n "$PTHREAD_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5 -$as_echo "$PTHREAD_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -else - PTHREAD_CC="$CC" -fi - - - - - -# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: -if test x"$acx_pthread_ok" = xyes; then - - LIBS="$PTHREAD_LIBS $LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - - : -else - acx_pthread_ok=no - - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Pthread not found, no compiler and linker flags for multithread are specified" >&5 -$as_echo "$as_me: WARNING: Pthread not found, no compiler and linker flags for multithread are specified" >&2;} - -fi - - -fi - -if test x"$iii_cv_enable_thread" = xyes ; then - - - if test x"$ac_cv_cxx_compiler_gnu" = xyes; then - if test x"$iii_cv_have_stlport" = xno; then - # assume using libstdc++ - if test x"$host_os" = xcygwin ; then - -$as_echo "@%:@define __STL_WIN32THREADS /**/" >>confdefs.h - - else - -$as_echo "@%:@define __STL_PTHREADS /**/" >>confdefs.h - - fi - else - # using stlport - -$as_echo "@%:@define _REENTRANT /**/" >>confdefs.h - - fi - fi - -else - -$as_echo "@%:@define BOOST_NO_MT /**/" >>confdefs.h - -fi - - -@%:@ Check whether --enable-allocator was given. -if test "${enable_allocator+set}" = set; then : - enableval=$enable_allocator; - iii_cv_enable_allocator=$enableval - -else - - if test "$host_os" != cygwin; then - iii_cv_enable_allocator=yes - else - iii_cv_enable_allocator=no - fi - -fi - - -if test x"$iii_cv_enable_allocator" = xyes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports boost/pool Library" >&5 -$as_echo_n "checking whether the compiler supports boost/pool Library... " >&6; } -if test "${iii_cv_boost_pool+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - struct Tag {}; - -int -main () -{ - - void* p = boost::singleton_pool::malloc(); - boost::singleton_pool::free(p); - return 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - iii_cv_boost_pool=yes - -else - - iii_cv_boost_pool=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $iii_cv_boost_pool" >&5 -$as_echo "$iii_cv_boost_pool" >&6; } - - if test x"$iii_cv_boost_pool" = xyes; then - -$as_echo "@%:@define ASN1_ALLOCATOR /**/" >>confdefs.h - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This compiler does not support boost/pool Library, custom memory manager disabled" >&5 -$as_echo "$as_me: WARNING: This compiler does not support boost/pool Library, custom memory manager disabled" >&2;} - iii_cv_enable_allocator=no - fi -fi - - - - - -@%:@ Check whether --with-asnh323 was given. -if test "${with_asnh323+set}" = set; then : - withval=$with_asnh323; - iii_cv_with_asnh323=$enableval - -else - - iii_cv_with_asnh323=yes - -fi - - -if test x"$iii_cv_with_asnh323" = xyes; then - asnh323dir=asnh323 -fi - - -if test x"$ac_cv_cxx_compiler_gnu" = xyes && test x"$iii_cv_have_stlport" = xno ; then -# assume using libstdc++, avoid linking cerr - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot run test program while cross compiling -See \`config.log' for more details." "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - int main(){ - #ifndef __THROW_BAD_ALLOC - return 0; - #else - return 1; - #endif - } - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - -$as_echo "@%:@define __THROW_BAD_ALLOC /**/" >>confdefs.h - - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has ASNI compliant iostream" >&5 -$as_echo_n "checking whether the compiler has ASNI compliant iostream... " >&6; } -if test "${ac_cv_cxx_have_new_iostream+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -using namespace std; - -int -main () -{ -ios_base::iostate state = ios_base::goodbit; return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_cxx_have_new_iostream=yes -else - ac_cv_cxx_have_new_iostream=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_new_iostream" >&5 -$as_echo "$ac_cv_cxx_have_new_iostream" >&6; } -if test "$ac_cv_cxx_have_new_iostream" = yes; then - -$as_echo "@%:@define HAVE_NEW_IOSTREAM /**/" >>confdefs.h - -fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has wstring" >&5 -$as_echo_n "checking whether the compiler has wstring... " >&6; } -if test "${ac_cv_cxx_have_wstring+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - #ifdef HAVE_NAMESPACES - using namespace std; - #endif - -int -main () -{ -wstring str; str = L"Hello"; return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_cxx_have_wstring=yes -else - ac_cv_cxx_have_wstring=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - if test "$ac_cv_cxx_have_wstring" = no; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #define _GLIBCPP_USE_WCHAR_T 1 - #include - #ifdef HAVE_NAMESPACES - using namespace std; - #endif - -int -main () -{ - - wstring str; str = L"Hello"; return 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ac_cv_cxx_have_wstring=yes - ac_cv_need__GLIBCPP_USE_WCHAR_T=yes - -else - ac_cv_cxx_have_wstring=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test "$ac_cv_cxx_have_wstring" = no; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - #ifdef HAVE_NAMESPACES - using namespace std; - #endif - -int -main () -{ - - typedef basic_string wstring; - wstring str; str = L"Hello"; return 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ac_cv_cxx_have_wstring=yes - ac_cv_need_wstring_typedef=yes - -else - ac_cv_cxx_have_wstring=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_wstring" >&5 -$as_echo "$ac_cv_cxx_have_wstring" >&6; } - - if test "$ac_cv_cxx_have_wstring" = yes; then - -$as_echo "@%:@define HAVE_WSTRING /**/" >>confdefs.h - - if test "$ac_cv_need__GLIBCPP_USE_WCHAR_T" = yes; then - -$as_echo "@%:@define _GLIBCPP_USE_WCHAR_T 1" >>confdefs.h - - fi - if test "$ac_cv_need_wstring_typedef" = yes; then - -$as_echo "@%:@define NEED_WSTRING_TYPEDEF 1" >>confdefs.h - - fi - fi - - - -if test "$ac_cv_cxx_have_wstring" = no; then - as_fn_error "This compiler does not have a working wstring" "$LINENO" 5 -fi - - - -@%:@ Check whether --enable-avn was given. -if test "${enable_avn+set}" = set; then : - enableval=$enable_avn; - if test "$enableval" = yes && test "$ac_cv_cxx_have_new_iostream" = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The compiler does not support new iostream, disable AVN" >&5 -$as_echo "$as_me: WARNING: The compiler does not support new iostream, disable AVN" >&2;} - enable_avn=no - fi - -else - enable_avn=$ac_cv_cxx_have_new_iostream -fi - - -if test x"$ac_cv_cxx_have_new_iostream" = xyes; then - -$as_echo "@%:@define ASN1_HAS_IOSTREAM /**/" >>confdefs.h - -fi - - - - -@%:@ Check whether --with-boost was given. -if test "${with_boost+set}" = set; then : - withval=$with_boost; CPPFLAGS = "$CPPFLAGS -I$withval" -fi - - - - -if test "$ac_cv_cxx_compiler_gnu" = yes; then - PIPEFLAG=-pipe -fi - - - - - -builddir=`pwd` -ASNPARSER=$builddir/asnparser/asnparser - - - -@%:@ Check whether --enable-debug was given. -if test "${enable_debug+set}" = set; then : - enableval=$enable_debug; debug="${enableval}" -else - debug=no -fi - - - -if test "x${debug}" = xyes ; then -CXXFLAGS="-g" -DEBUGFLAG="-D_DEBUG" -else -DEBUGFLAG="-DNDEBUG" -fi - - - - -ac_config_files="$ac_config_files Makefile asnparser/Makefile asn1/Makefile asn1/testsuite/Makefile asnh323/Makefile asnh323/testsuite/Makefile" - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $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=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:${as_lineno-$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: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -DEFS=-DHAVE_CONFIG_H - -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIB@&t@OBJS; 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' -done -LIB@&t@OBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - if test -n "$EXEEXT"; then - am__EXEEXT_TRUE= - am__EXEEXT_FALSE='#' -else - am__EXEEXT_TRUE='#' - am__EXEEXT_FALSE= -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 -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 -fi -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then - as_fn_error "conditional \"am__fastdepCXX\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -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: creating $CONFIG_STATUS" >&6;} -as_write_fail=0 -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -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. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -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_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in @%:@( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -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 -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -@%:@ as_fn_error ERROR [LINENO LOG_FD] -@%:@ --------------------------------- -@%:@ Output "`basename @S|@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 @S|@?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} @%:@ as_fn_error - - -@%:@ as_fn_set_status STATUS -@%:@ ----------------------- -@%:@ Set @S|@? 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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments -@%:@ must be portable across @S|@(()) 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 - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - 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 - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - 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 - -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 -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 - - -@%:@ as_fn_mkdir_p -@%:@ ------------- -@%:@ Create "@S|@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"' -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'" - - -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 -# 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.65. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac - -case $ac_config_headers in *" -"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -esac - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" -config_headers="$ac_config_headers" -config_commands="$ac_config_commands" - -_ACEOF - -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. - -Usage: $0 [OPTION]... [TAG]... - - -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 - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to the package provider." - -_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.65, - with options \\"\$ac_cs_config\\" - -Copyright (C) 2009 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -MKDIR_P='$MKDIR_P' -AWK='$AWK' -test -n "\$AWK" || AWK=awk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --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"` ;; - esac - as_fn_append 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'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - as_fn_error "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) as_fn_error "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX -@%:@@%:@ Running $as_me. @%:@@%:@ -_ASBOX - $as_echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# -# INIT-COMMANDS -# -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "asnparser/Makefile") CONFIG_FILES="$CONFIG_FILES asnparser/Makefile" ;; - "asn1/Makefile") CONFIG_FILES="$CONFIG_FILES asn1/Makefile" ;; - "asn1/testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES asn1/testsuite/Makefile" ;; - "asnh323/Makefile") CONFIG_FILES="$CONFIG_FILES asnh323/Makefile" ;; - "asnh323/testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES asnh323/testsuite/Makefile" ;; - - *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - 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 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -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_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' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$tmp/subs1.awk" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - 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 '$'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - 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 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\)..*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\)..*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' >$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || as_fn_error "could not setup config files machinery" "$LINENO" 5 -_ACEOF - -# 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[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || -BEGIN { -_ACEOF - -# Transform confdefs.h into an awk script `defines.awk', embedded as -# here-document in config.status, that substitutes the proper values into -# config.h.in to produce config.h. - -# Create a delimiter string that does not exist in confdefs.h, to ease -# handling of long lines. -ac_delim='%!_!# ' -for ac_last_try in false false :; do - ac_t=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then - break - elif $ac_last_try; then - as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -# For the awk script, D is an array of macro values keyed by name, -# likewise P contains macro parameters if any. Preserve backslash -# newline sequences. - -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -sed -n ' -s/.\{148\}/&'"$ac_delim"'/g -t rset -:rset -s/^[ ]*#[ ]*define[ ][ ]*/ / -t def -d -:def -s/\\$// -t bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3"/p -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -d -:bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3\\\\\\n"\\/p -t cont -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -t cont -d -:cont -n -s/.\{148\}/&'"$ac_delim"'/g -t clear -:clear -s/\\$// -t bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/"/p -d -:bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -b cont -' >$CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { - line = \$ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - as_fn_error "could not setup config headers machinery" "$LINENO" 5 -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac - ac_MKDIR_P=$MKDIR_P - case $MKDIR_P in - [\\/$]* | ?:[\\/]* ) ;; - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/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: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -s&@MKDIR_P@&$ac_MKDIR_P&;t t -$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 - -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: WARNING: $ac_file contains a reference to the variable \`datarootdir' -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 - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $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 - 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: $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 - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error "could not create -" "$LINENO" 5 - fi -# Compute "$ac_file"'s index in $config_headers. -_am_arg="$ac_file" -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$_am_arg" : 'X\(//\)[^/]' \| \ - X"$_am_arg" : 'X\(//\)$' \| \ - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$_am_arg" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`/stamp-h$_am_stamp_count - ;; - - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir=$dirpart/$fdir; as_fn_mkdir_p - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} - ;; - - esac -done # for ac_tag - - -as_fn_exit 0 -_ACEOF -ac_clean_files=$ac_clean_files_save - -test $ac_write_fail = 0 || - as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - 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 $? -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - diff --git a/autom4te.cache/output.1 b/autom4te.cache/output.1 deleted file mode 100644 index 90ae82c..0000000 --- a/autom4te.cache/output.1 +++ /dev/null @@ -1,7531 +0,0 @@ -@%:@! /bin/sh -@%:@ Guess values for system-dependent variables and create Makefiles. -@%:@ Generated by GNU Autoconf 2.65. -@%:@ -@%:@ -@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 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. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -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_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in @%:@( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -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 -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -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 @S|@? 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 "@S|@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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments -@%:@ must be portable across @S|@(()) 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 ERROR [LINENO LOG_FD] -@%:@ --------------------------------- -@%:@ Output "`basename @S|@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 @S|@?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} @%:@ as_fn_error - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - 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 - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - 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 - - - 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; } - - # 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 -} - -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 -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='mkdir -p "$as_dir"' -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'" - - -test -n "$DJDIR" || exec 7<&0 &1 - -# Name of the host. -# 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` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIB@&t@OBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= - -# Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= -PACKAGE_URL= - -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS -# include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif -# include -#endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_INTTYPES_H -# include -#endif -#ifdef HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#endif" - -ac_subst_vars='am__EXEEXT_FALSE -am__EXEEXT_TRUE -LTLIBOBJS -LIB@&t@OBJS -DEBUGFLAG -ASNPARSER -asnh323dir -PIPEFLAG -LIBSTL -PTHREAD_CFLAGS -PTHREAD_LIBS -PTHREAD_CC -EGREP -GREP -CXXCPP -CPP -RANLIB -am__fastdepCXX_FALSE -am__fastdepCXX_TRUE -CXXDEPMODE -ac_ct_CXX -CXXFLAGS -CXX -am__fastdepCC_FALSE -am__fastdepCC_TRUE -CCDEPMODE -AMDEPBACKSLASH -AMDEP_FALSE -AMDEP_TRUE -am__quote -am__include -DEPDIR -OBJEXT -EXEEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -am__untar -am__tar -AMTAR -am__leading_dot -SET_MAKE -AWK -mkdir_p -MKDIR_P -INSTALL_STRIP_PROGRAM -STRIP -install_sh -MAKEINFO -AUTOHEADER -AUTOMAKE -AUTOCONF -ACLOCAL -VERSION -PACKAGE -CYGPATH_W -am__isrc -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -target_os -target_vendor -target_cpu -target -host_os -host_vendor -host_cpu -host -build_os -build_vendor -build_cpu -build -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_URL -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -enable_dependency_tracking -enable_thread -enable_allocator -with_asnh323 -enable_avn -with_boost -enable_debug -' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CXX -CXXFLAGS -CCC -CPP -CXXCPP' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - 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" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - 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" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - 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" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - 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" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --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." - ;; - - *=*) - 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 - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error "missing argument to $ac_option" -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -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 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -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" -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - as_fn_error "pwd does not report name of working directory" - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -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" -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" - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --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 - --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 - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - @<:@@S|@ac_default_prefix@:>@ - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - @<:@PREFIX@:>@ - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@ - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -Program names: - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM run sed PROGRAM on installed program names - -System types: - --build=BUILD configure for building on BUILD [guessed] - --host=HOST cross-compile to build programs to run on HOST [BUILD] - --target=TARGET configure for building compilers for TARGET [HOST] -_ACEOF -fi - -if test -n "$ac_init_help"; then - - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors - - --enable-thread enable thread support (default if using stlport) - --disable-thread disable thread support (default otherwise) - - --enable-allocator enable custom memory allocator (default) - --disable-allocator disable custom memory allocator - - --enable-avn enable AVN support (default) - --disable-avn disable AVN support - --enable-debug Turn on debugging - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - - --with-asnh323 build libasnh323.a (default) - --without-asnh323 do not build libasnh323.a - - - --with-boost=boost-dir specify the directory where BOOST library is located - - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - 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 - you have headers in a nonstandard directory - CXX C++ compiler command - CXXFLAGS C++ compiler flags - CPP C preprocessor - CXXCPP C++ preprocessor - -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 - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -configure -generated by GNU Autoconf 2.65 - -Copyright (C) 2009 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 - -## ------------------------ ## -## Autoconf initialization. ## -## ------------------------ ## - -@%:@ ac_fn_c_try_compile LINENO -@%:@ -------------------------- -@%:@ Try to compile conftest.@S|@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 - -} @%:@ ac_fn_c_try_compile - -@%:@ ac_fn_cxx_try_compile LINENO -@%:@ ---------------------------- -@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. -ac_fn_cxx_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_cxx_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 - -} @%:@ ac_fn_cxx_try_compile - -@%:@ ac_fn_c_try_cpp LINENO -@%:@ ---------------------- -@%:@ Try to preprocess conftest.@S|@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; } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} @%:@ ac_fn_c_try_cpp - -@%:@ ac_fn_cxx_try_cpp LINENO -@%:@ ------------------------ -@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. -ac_fn_cxx_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; } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} @%:@ ac_fn_cxx_try_cpp - -@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -@%:@ ------------------------------------------------------- -@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using -@%:@ the include files in INCLUDES and setting the cache variable VAR -@%:@ accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+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> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.$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 { as_var=$3; eval "test \"\${$as_var+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_try_run LINENO -@%:@ ---------------------- -@%:@ Try to link conftest.@S|@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 - -} @%:@ ac_fn_c_try_run - -@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -@%:@ ------------------------------------------------------- -@%:@ Tests whether HEADER exists and can be compiled using the include files in -@%:@ 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 { as_var=$3; eval "test \"\${$as_var+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;} - -} @%:@ ac_fn_c_check_header_compile - -@%:@ ac_fn_cxx_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_cxx_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+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> -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include <$2> -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+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_cxx_check_header_mongrel - -@%:@ ac_fn_cxx_try_link LINENO -@%:@ ------------------------- -@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. -ac_fn_cxx_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - 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_cxx_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 - - 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 - -} @%:@ ac_fn_cxx_try_link - -@%:@ ac_fn_cxx_try_run LINENO -@%:@ ------------------------ -@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes -@%:@ that executables *can* be run. -ac_fn_cxx_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 - -} @%:@ ac_fn_cxx_try_run -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.65. 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 - - 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:${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 - - 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 - - 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 - - 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'; 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 - 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 - 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" - 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' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - -ac_aux_dir= -for ac_dir in config "$srcdir"/config; do - for ac_t in install-sh install.sh shtool; do - if test -f "$ac_dir/$ac_t"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/$ac_t -c" - break 2 - fi - done -done -if test -z "$ac_aux_dir"; then - as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - - -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if 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 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } -case $ac_cv_build in -*-*-*) ;; -*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; -esac -build=$ac_cv_build -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_build -shift -build_cpu=$1 -build_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -build_os=$* -IFS=$ac_save_IFS -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if 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 -fi - -fi -{ $as_echo "$as_me:${as_lineno-$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;; -esac -host=$ac_cv_host -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_host -shift -host_cpu=$1 -host_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -host_os=$* -IFS=$ac_save_IFS -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 -$as_echo_n "checking target system type... " >&6; } -if test "${ac_cv_target+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test "x$target_alias" = x; then - ac_cv_target=$ac_cv_host -else - ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || - as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 -$as_echo "$ac_cv_target" >&6; } -case $ac_cv_target in -*-*-*) ;; -*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; -esac -target=$ac_cv_target -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_target -shift -target_cpu=$1 -target_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -target_os=$* -IFS=$ac_save_IFS -case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac - - -# The aliases save the names the user supplied, while $host etc. -# will get canonicalized. -test -n "$target_alias" && - test "$program_prefix$program_suffix$program_transform_name" = \ - NONENONEs,x,x, && - program_prefix=${target_alias}- - -am__api_version='1.11' - -# 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:${as_lineno-$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 - -fi - 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:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# 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' - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 -$as_echo_n "checking whether build environment is sane... " >&6; } -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[\\\"\#\$\&\'\`$am_lf]*) - as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; -esac -case $srcdir in - *[\\\"\#\$\&\'\`$am_lf\ \ ]*) - as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; -esac - -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # 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 - fi - - test "$2" = conftest.file - ) -then - # Ok. - : -else - as_fn_error "newly created file is older than distributed files! -Check your system clock" "$LINENO" 5 -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -test "$program_prefix" != NONE && - program_transform_name="s&^&$program_prefix&;$program_transform_name" -# Use a double $ so make ignores it. -test "$program_suffix" != NONE && - program_transform_name="s&\$&$program_suffix&;$program_transform_name" -# Double any \ or $. -# By default was `s,x,x', remove it if useless. -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` - -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` - -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - 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: WARNING: \`missing' script is too old or missing" >&2;} -fi - -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi - -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -if test "$cross_compiling" != no; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - 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 ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } -if test -z "$MKDIR_P"; then - if test "${ac_cv_path_mkdir+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - 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 #( - 'mkdir (GNU coreutils) '* | \ - 'mkdir (coreutils) '* | \ - 'mkdir (fileutils) '4.1*) - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext - break 3;; - esac - 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 - # As a last resort, use the slow shell script. Don't cache a - # 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. - MKDIR_P="$ac_install_sh -d" - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 -$as_echo "$MKDIR_P" >&6; } - -mkdir_p="$MKDIR_P" -case $mkdir_p in - [\\/$]* | ?:[\\/]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac - -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -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 -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# 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;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make -fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - SET_MAKE= -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" -fi - -rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null - -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - 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 - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi - - -# Define the identity of the package. - PACKAGE=iiiasn1 - VERSION=2_12 - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE "$PACKAGE" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define VERSION "$VERSION" -_ACEOF - -# Some tools Automake needs. - -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} - - -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} - - -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} - - -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} - - -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} - -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -# Always define AMTAR for backward compatibility. - -AMTAR=${AMTAR-"${am_missing_run}tar"} - -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' - - - - - - - - -DEPDIR="${am__leading_dot}deps" - -ac_config_commands="$ac_config_commands depfiles" - - -am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.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_n "checking for style of include used by $am_make... " >&6; } -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi - - -{ $as_echo "$as_me:${as_lineno-$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 : - enableval=$enable_dependency_tracking; -fi - -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi - if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' -else - AMDEP_TRUE='#' - AMDEP_FALSE= -fi - - - -if test -e $srcdir/config/mh-$host_alias ; then - host_frag=$srcdir/config/mh-$host_alias - - - if test -z "$CC"; then - xx=`sed -n -e 's/^[:blank:]*CC[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CC=$xx - fi - fi - - - if test -z "$CXX"; then - xx=`sed -n -e 's/^[:blank:]*CXX[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CXX=$xx - fi - fi - - - if test -z "$RANLIB"; then - xx=`sed -n -e 's/^[:blank:]*RANLIB[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - RANLIB=$xx - fi - fi - - - if test -z "$CFLAGS"; then - xx=`sed -n -e 's/^[:blank:]*CFLAGS[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CFLAGS=$xx - fi - fi - - - if test -z "$CXXFLAGS"; then - xx=`sed -n -e 's/^[:blank:]*CXXFLAGS[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CXXFLAGS=$xx - fi - fi - - - if test -z "$CPPFLAGS"; then - xx=`sed -n -e 's/^[:blank:]*CPPFLAGS[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CPPFLAGS=$xx - fi - fi - - - if test -z "$LDFLAGS"; then - xx=`sed -n -e 's/^[:blank:]*LDFLAGS[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - LDFLAGS=$xx - fi - fi - - - if test "$host_alias" != "$build_alias" ; then - ac_cv_prog_cc_cross=yes - ac_exeext=yyy - else - ac_cv_prog_cc_cross=no - fi -fi - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - 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 ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - 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 ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -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 - 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 - break 2 - fi -done - done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $@%:@ != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -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_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - 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 ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "no acceptable C compiler found in \$PATH -See \`config.log' for more details." "$LINENO" 5; } - -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - 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 - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -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_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -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 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ as_fn_set_status 77 -as_fn_error "C compiler cannot create executables -See \`config.log' for more details." "$LINENO" 5; }; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -ac_exeext=$ac_cv_exeext - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -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; }; 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 -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -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_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -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>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $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: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of object files: cannot compile -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - 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 "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -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_n "checking whether $CC accepts -g... " >&6; } -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 -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -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 "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if 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 -/* end confdefs.h. */ -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - -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 - -depcc="$CC" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if 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 - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CC_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' -else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= -fi - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}c++", so it can be a program name with args. -set dummy ${ac_tool_prefix}c++; 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_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # 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_CXX="${ac_tool_prefix}c++" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CXX"; then - ac_ct_CXX=$CXX - # Extract the first word of "c++", so it can be a program name with args. -set dummy c++; 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_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_CXX="c++" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CXX" = x; then - CXX="" - 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 ;; -esac - CXX=$ac_ct_CXX - fi -else - CXX="$ac_cv_prog_CXX" -fi - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -z "$CXX"; then - if test -n "$CCC"; then - CXX=$CCC - else - if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # 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_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC -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_ac_ct_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_CXX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CXX" && break -done - - if test "x$ac_ct_CXX" = x; then - CXX="g++" - 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 ;; -esac - CXX=$ac_ct_CXX - fi -fi - - fi -fi -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - 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:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GXX=yes -else - GXX= -fi -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if test "${ac_cv_prog_cxx_g+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -else - CXXFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -else - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -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_cxx_werror_flag=$ac_save_cxx_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS -elif test $ac_cv_prog_cxx_g = yes; then - if test "$GXX" = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-g" - fi -else - if test "$GXX" = yes; then - CXXFLAGS="-O2" - else - CXXFLAGS= - fi -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 - -depcc="$CXX" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CXX_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CXX_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CXX_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then - am__fastdepCXX_TRUE= - am__fastdepCXX_FALSE='#' -else - am__fastdepCXX_TRUE='#' - am__fastdepCXX_FALSE= -fi - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if 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:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { $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 - - -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 - 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 "$ac_ct_RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$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:${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 ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -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 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include -@%:@else -@%:@ include -@%:@endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include -@%:@else -@%:@ include -@%:@endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -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: error: in \`$ac_pwd':" >&2;} -as_fn_error "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 -$as_echo_n "checking how to run the C++ preprocessor... " >&6; } -if test -z "$CXXCPP"; then - if test "${ac_cv_prog_CXXCPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" - do - ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include -@%:@else -@%:@ include -@%:@endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -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 -/* end confdefs.h. */ -@%:@include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CXXCPP=$CXXCPP - -fi - CXXCPP=$ac_cv_prog_CXXCPP -else - ac_cv_prog_CXXCPP=$CXXCPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -$as_echo "$CXXCPP" >&6; } -ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include -@%:@else -@%:@ include -@%:@endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -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 -/* end confdefs.h. */ -@%:@include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -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: error: in \`$ac_pwd':" >&2;} -as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - -ac_config_headers="$ac_config_headers config.h" - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if 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 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -eval as_val=\$$as_ac_Header - 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 - - -for ac_header in unistd.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" -if test "x$ac_cv_header_unistd_h" = x""yes; then : - cat >>confdefs.h <<_ACEOF -@%:@define HAVE_UNISTD_H 1 -_ACEOF - -fi - -done - - - -III_CHECK_CXX_INCLUDE_PATH - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5 -$as_echo_n "checking whether the compiler implements namespaces... " >&6; } -if test "${ac_cv_cxx_namespaces+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -namespace Outer { namespace Inner { int i = 0; }} -int -main () -{ -using namespace Outer::Inner; return i; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_cxx_namespaces=yes -else - ac_cv_cxx_namespaces=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - 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 - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5 -$as_echo "$ac_cv_cxx_namespaces" >&6; } -if test "$ac_cv_cxx_namespaces" = yes; then - -$as_echo "@%:@define HAVE_NAMESPACES /**/" >>confdefs.h - -fi - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5 -$as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; } -if test "${ac_cv_cxx_have_stl+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#ifdef HAVE_NAMESPACES -using namespace std; -#endif -int -main () -{ -list x; x.push_back(5); -list::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_cxx_have_stl=yes -else - ac_cv_cxx_have_stl=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - 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 - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5 -$as_echo "$ac_cv_cxx_have_stl" >&6; } -if test "$ac_cv_cxx_have_stl" = yes; then - -$as_echo "@%:@define HAVE_STL /**/" >>confdefs.h - -fi - - -if test "$ac_cv_cxx_have_stl" = no; then - as_fn_error "This compiler does not have STL" "$LINENO" 5 -fi - -if test "$ac_cv_cxx_namespaces" = no; then - as_fn_error "This compiler does not support namespace" "$LINENO" 5 -fi - - - - - if test "$ac_cv_cxx_have_stl" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the STLport exists" >&5 -$as_echo_n "checking whether the STLport exists... " >&6; } -if test "${iii_cv_have_stlport+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - #ifdef __SGI_STL_PORT - yes - #endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : - iii_cv_have_stlport=yes -else - iii_cv_have_stlport=no -fi -rm -f conftest* - - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $iii_cv_have_stlport" >&5 -$as_echo "$iii_cv_have_stlport" >&6; } - - - if test "$host_os" = cygwin && test "$iii_cv_have_stlport" = yes ; then - LIBSTL=-lstlport_cygwin - elif test "$ac_cv_cxx_compiler_gnu" = yes; then - if test "$iii_cv_have_stlport" = yes; then - LIBSTL=-lstlport_gcc - else - LIBSTL=-lstdc++ - fi; - fi - - else - iii_cv_have_stlport=no - fi - - - -@%:@ Check whether --enable-thread was given. -if test "${enable_thread+set}" = set; then : - enableval=$enable_thread; - iii_cv_enable_thread=$enableval - -else - - if test x"$iii_cv_have_stlport" = xno; then - iii_cv_enable_thread=no - else - iii_cv_enable_thread=yes - fi - -fi - - -if test x"$iii_cv_enable_thread" = xyes && test "$host_os" != cygwin; then - - -acx_pthread_ok=no - -# First, check if the POSIX threads header, pthread.h, is available. -# If it isn't, don't bother looking for the threads libraries. -ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" -if test "x$ac_cv_header_pthread_h" = x""yes; then : - -else - acx_pthread_ok=noheader -fi - - - -# We must check for the threads library under a number of different -# names; the ordering is very important because some systems -# (e.g. DEC) have both -lpthread and -lpthreads, where one of the -# libraries is broken (non-POSIX). - -# First of all, check if the user has set any of the PTHREAD_LIBS, -# etcetera environment variables, and if threads linking works using -# them: -if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - save_LIBS="$LIBS" - LIBS="$PTHREAD_LIBS $LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 -$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 pthread_join (); -int -main () -{ -return pthread_join (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - acx_pthread_ok=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5 -$as_echo "$acx_pthread_ok" >&6; } - if test x"$acx_pthread_ok" = xno; then - PTHREAD_LIBS="" - PTHREAD_CFLAGS="" - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" -fi - -# Create a list of thread flags to try. Items starting with a "-" are -# C compiler flags, and other items are library names, except for "none" -# which indicates that we try without any flags at all. - -acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt" - -# The ordering *is* (sometimes) important. Some notes on the -# individual items follow: - -# pthreads: AIX (must check this before -lpthread) -# none: in case threads are in libc; should be tried before -Kthread and -# other compiler flags to prevent continual compiler warnings -# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) -# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) -# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) -# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) -# -pthreads: Solaris/gcc -# -mthreads: Mingw32/gcc, Lynx/gcc -# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it -# doesn't hurt to check since this sometimes defines pthreads too; -# also defines -D_REENTRANT) -# pthread: Linux, etcetera -# --thread-safe: KAI C++ - -case "${host_cpu}-${host_os}" in - *solaris*) - - # On Solaris (at least, for some versions), libc contains stubbed - # (non-functional) versions of the pthreads routines, so link-based - # tests will erroneously succeed. (We need to link with -pthread or - # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather - # a function called by this macro, so we could check for that, but - # who knows whether they'll stub that too in a future libc.) So, - # we'll just look for -pthreads and -lpthread first: - - acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags" - ;; -esac - -if test x"$acx_pthread_ok" = xno; then -for flag in $acx_pthread_flags; do - - case $flag in - none) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 -$as_echo_n "checking whether pthreads work without any flags... " >&6; } - ;; - - -*) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5 -$as_echo_n "checking whether pthreads work with $flag... " >&6; } - PTHREAD_CFLAGS="$flag" - ;; - - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5 -$as_echo_n "checking for the pthreads library -l$flag... " >&6; } - PTHREAD_LIBS="-l$flag" - ;; - esac - - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="$PTHREAD_LIBS $LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - - # Check for various functions. We must include pthread.h, - # since some functions may be macros. (On the Sequent, we - # need a special flag -Kthread to make this header compile.) - # We check for pthread_join because it is in -lpthread on IRIX - # while pthread_create is in libc. We check for pthread_attr_init - # due to DEC craziness with -lpthreads. We check for - # pthread_cleanup_push because it is one of the few pthread - # functions on Solaris that doesn't have a non-functional libc stub. - # We try pthread_create on general principles. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -pthread_t th; pthread_join(th, 0); - pthread_attr_init(0); pthread_cleanup_push(0, 0); - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - acx_pthread_ok=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5 -$as_echo "$acx_pthread_ok" >&6; } - if test "x$acx_pthread_ok" = xyes; then - break; - fi - - PTHREAD_LIBS="" - PTHREAD_CFLAGS="" -done -fi - -# Various other checks: -if test "x$acx_pthread_ok" = xyes; then - save_LIBS="$LIBS" - LIBS="$PTHREAD_LIBS $LIBS" - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - - # Detect AIX lossage: threads are created detached by default - # and the JOINABLE attribute has a nonstandard name (UNDETACHED). - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5 -$as_echo_n "checking for joinable pthread attribute... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -int attr=PTHREAD_CREATE_JOINABLE; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ok=PTHREAD_CREATE_JOINABLE -else - ok=unknown -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test x"$ok" = xunknown; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -int attr=PTHREAD_CREATE_UNDETACHED; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ok=PTHREAD_CREATE_UNDETACHED -else - ok=unknown -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - fi - if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then - -$as_echo "@%:@define PTHREAD_CREATE_JOINABLE \$ok" >>confdefs.h - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ok}" >&5 -$as_echo "${ok}" >&6; } - if test x"$ok" = xunknown; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: we do not know how to create joinable pthreads" >&5 -$as_echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;} - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5 -$as_echo_n "checking if more special flags are required for pthreads... " >&6; } - flag=no - case "${host_cpu}-${host_os}" in - *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";; - *solaris* | alpha*-osf*) flag="-D_REENTRANT";; - esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 -$as_echo "${flag}" >&6; } - if test "x$flag" != xno; then - PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" - fi - - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - - # More AIX lossage: must compile with cc_r - # Extract the first word of "cc_r", so it can be a program name with args. -set dummy cc_r; 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_PTHREAD_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$PTHREAD_CC"; then - ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_PTHREAD_CC="cc_r" - $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 - - test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}" -fi -fi -PTHREAD_CC=$ac_cv_prog_PTHREAD_CC -if test -n "$PTHREAD_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5 -$as_echo "$PTHREAD_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -else - PTHREAD_CC="$CC" -fi - - - - - -# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: -if test x"$acx_pthread_ok" = xyes; then - - LIBS="$PTHREAD_LIBS $LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - - : -else - acx_pthread_ok=no - - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Pthread not found, no compiler and linker flags for multithread are specified" >&5 -$as_echo "$as_me: WARNING: Pthread not found, no compiler and linker flags for multithread are specified" >&2;} - -fi - - -fi - -if test x"$iii_cv_enable_thread" = xyes ; then - - - if test x"$ac_cv_cxx_compiler_gnu" = xyes; then - if test x"$iii_cv_have_stlport" = xno; then - # assume using libstdc++ - if test x"$host_os" = xcygwin ; then - -$as_echo "@%:@define __STL_WIN32THREADS /**/" >>confdefs.h - - else - -$as_echo "@%:@define __STL_PTHREADS /**/" >>confdefs.h - - fi - else - # using stlport - -$as_echo "@%:@define _REENTRANT /**/" >>confdefs.h - - fi - fi - -else - -$as_echo "@%:@define BOOST_NO_MT /**/" >>confdefs.h - -fi - - -@%:@ Check whether --enable-allocator was given. -if test "${enable_allocator+set}" = set; then : - enableval=$enable_allocator; - iii_cv_enable_allocator=$enableval - -else - - if test "$host_os" != cygwin; then - iii_cv_enable_allocator=yes - else - iii_cv_enable_allocator=no - fi - -fi - - -if test x"$iii_cv_enable_allocator" = xyes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports boost/pool Library" >&5 -$as_echo_n "checking whether the compiler supports boost/pool Library... " >&6; } -if test "${iii_cv_boost_pool+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - struct Tag {}; - -int -main () -{ - - void* p = boost::singleton_pool::malloc(); - boost::singleton_pool::free(p); - return 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - iii_cv_boost_pool=yes - -else - - iii_cv_boost_pool=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $iii_cv_boost_pool" >&5 -$as_echo "$iii_cv_boost_pool" >&6; } - - if test x"$iii_cv_boost_pool" = xyes; then - -$as_echo "@%:@define ASN1_ALLOCATOR /**/" >>confdefs.h - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This compiler does not support boost/pool Library, custom memory manager disabled" >&5 -$as_echo "$as_me: WARNING: This compiler does not support boost/pool Library, custom memory manager disabled" >&2;} - iii_cv_enable_allocator=no - fi -fi - - - - - -@%:@ Check whether --with-asnh323 was given. -if test "${with_asnh323+set}" = set; then : - withval=$with_asnh323; - iii_cv_with_asnh323=$enableval - -else - - iii_cv_with_asnh323=yes - -fi - - -if test x"$iii_cv_with_asnh323" = xyes; then - asnh323dir=asnh323 -fi - - -if test x"$ac_cv_cxx_compiler_gnu" = xyes && test x"$iii_cv_have_stlport" = xno ; then -# assume using libstdc++, avoid linking cerr - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot run test program while cross compiling -See \`config.log' for more details." "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - int main(){ - #ifndef __THROW_BAD_ALLOC - return 0; - #else - return 1; - #endif - } - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - -$as_echo "@%:@define __THROW_BAD_ALLOC /**/" >>confdefs.h - - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has ASNI compliant iostream" >&5 -$as_echo_n "checking whether the compiler has ASNI compliant iostream... " >&6; } -if test "${ac_cv_cxx_have_new_iostream+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -using namespace std; - -int -main () -{ -ios_base::iostate state = ios_base::goodbit; return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_cxx_have_new_iostream=yes -else - ac_cv_cxx_have_new_iostream=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_new_iostream" >&5 -$as_echo "$ac_cv_cxx_have_new_iostream" >&6; } -if test "$ac_cv_cxx_have_new_iostream" = yes; then - -$as_echo "@%:@define HAVE_NEW_IOSTREAM /**/" >>confdefs.h - -fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has wstring" >&5 -$as_echo_n "checking whether the compiler has wstring... " >&6; } -if test "${ac_cv_cxx_have_wstring+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - #ifdef HAVE_NAMESPACES - using namespace std; - #endif - -int -main () -{ -wstring str; str = L"Hello"; return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_cxx_have_wstring=yes -else - ac_cv_cxx_have_wstring=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - if test "$ac_cv_cxx_have_wstring" = no; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #define _GLIBCPP_USE_WCHAR_T 1 - #include - #ifdef HAVE_NAMESPACES - using namespace std; - #endif - -int -main () -{ - - wstring str; str = L"Hello"; return 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ac_cv_cxx_have_wstring=yes - ac_cv_need__GLIBCPP_USE_WCHAR_T=yes - -else - ac_cv_cxx_have_wstring=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test "$ac_cv_cxx_have_wstring" = no; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - #ifdef HAVE_NAMESPACES - using namespace std; - #endif - -int -main () -{ - - typedef basic_string wstring; - wstring str; str = L"Hello"; return 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ac_cv_cxx_have_wstring=yes - ac_cv_need_wstring_typedef=yes - -else - ac_cv_cxx_have_wstring=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_wstring" >&5 -$as_echo "$ac_cv_cxx_have_wstring" >&6; } - - if test "$ac_cv_cxx_have_wstring" = yes; then - -$as_echo "@%:@define HAVE_WSTRING /**/" >>confdefs.h - - if test "$ac_cv_need__GLIBCPP_USE_WCHAR_T" = yes; then - -$as_echo "@%:@define _GLIBCPP_USE_WCHAR_T 1" >>confdefs.h - - fi - if test "$ac_cv_need_wstring_typedef" = yes; then - -$as_echo "@%:@define NEED_WSTRING_TYPEDEF 1" >>confdefs.h - - fi - fi - - - -if test "$ac_cv_cxx_have_wstring" = no; then - as_fn_error "This compiler does not have a working wstring" "$LINENO" 5 -fi - - - -@%:@ Check whether --enable-avn was given. -if test "${enable_avn+set}" = set; then : - enableval=$enable_avn; - if test "$enableval" = yes && test "$ac_cv_cxx_have_new_iostream" = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The compiler does not support new iostream, disable AVN" >&5 -$as_echo "$as_me: WARNING: The compiler does not support new iostream, disable AVN" >&2;} - enable_avn=no - fi - -else - enable_avn=$ac_cv_cxx_have_new_iostream -fi - - -if test x"$ac_cv_cxx_have_new_iostream" = xyes; then - -$as_echo "@%:@define ASN1_HAS_IOSTREAM /**/" >>confdefs.h - -fi - - - - -@%:@ Check whether --with-boost was given. -if test "${with_boost+set}" = set; then : - withval=$with_boost; CPPFLAGS = "$CPPFLAGS -I$withval" -fi - - - - -if test "$ac_cv_cxx_compiler_gnu" = yes; then - PIPEFLAG=-pipe -fi - - - - - -builddir=`pwd` -ASNPARSER=$builddir/asnparser/asnparser - - - -@%:@ Check whether --enable-debug was given. -if test "${enable_debug+set}" = set; then : - enableval=$enable_debug; debug="${enableval}" -else - debug=no -fi - - - -if test "x${debug}" = xyes ; then -CXXFLAGS="-g" -DEBUGFLAG="-D_DEBUG" -else -DEBUGFLAG="-DNDEBUG" -fi - - - - -ac_config_files="$ac_config_files Makefile asnparser/Makefile asn1/Makefile asn1/testsuite/Makefile asnh323/Makefile asnh323/testsuite/Makefile" - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $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=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:${as_lineno-$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: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -DEFS=-DHAVE_CONFIG_H - -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIB@&t@OBJS; 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' -done -LIB@&t@OBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - if test -n "$EXEEXT"; then - am__EXEEXT_TRUE= - am__EXEEXT_FALSE='#' -else - am__EXEEXT_TRUE='#' - am__EXEEXT_FALSE= -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 -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 -fi -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then - as_fn_error "conditional \"am__fastdepCXX\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -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: creating $CONFIG_STATUS" >&6;} -as_write_fail=0 -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -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. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -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_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in @%:@( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -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 -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -@%:@ as_fn_error ERROR [LINENO LOG_FD] -@%:@ --------------------------------- -@%:@ Output "`basename @S|@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 @S|@?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} @%:@ as_fn_error - - -@%:@ as_fn_set_status STATUS -@%:@ ----------------------- -@%:@ Set @S|@? 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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments -@%:@ must be portable across @S|@(()) 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 - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - 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 - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - 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 - -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 -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 - - -@%:@ as_fn_mkdir_p -@%:@ ------------- -@%:@ Create "@S|@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"' -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'" - - -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 -# 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.65. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac - -case $ac_config_headers in *" -"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -esac - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" -config_headers="$ac_config_headers" -config_commands="$ac_config_commands" - -_ACEOF - -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. - -Usage: $0 [OPTION]... [TAG]... - - -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 - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to the package provider." - -_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.65, - with options \\"\$ac_cs_config\\" - -Copyright (C) 2009 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -MKDIR_P='$MKDIR_P' -AWK='$AWK' -test -n "\$AWK" || AWK=awk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --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"` ;; - esac - as_fn_append 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'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - as_fn_error "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) as_fn_error "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX -@%:@@%:@ Running $as_me. @%:@@%:@ -_ASBOX - $as_echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# -# INIT-COMMANDS -# -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "asnparser/Makefile") CONFIG_FILES="$CONFIG_FILES asnparser/Makefile" ;; - "asn1/Makefile") CONFIG_FILES="$CONFIG_FILES asn1/Makefile" ;; - "asn1/testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES asn1/testsuite/Makefile" ;; - "asnh323/Makefile") CONFIG_FILES="$CONFIG_FILES asnh323/Makefile" ;; - "asnh323/testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES asnh323/testsuite/Makefile" ;; - - *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - 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 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -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_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' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$tmp/subs1.awk" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - 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 '$'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - 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 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\)..*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\)..*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' >$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || as_fn_error "could not setup config files machinery" "$LINENO" 5 -_ACEOF - -# 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[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || -BEGIN { -_ACEOF - -# Transform confdefs.h into an awk script `defines.awk', embedded as -# here-document in config.status, that substitutes the proper values into -# config.h.in to produce config.h. - -# Create a delimiter string that does not exist in confdefs.h, to ease -# handling of long lines. -ac_delim='%!_!# ' -for ac_last_try in false false :; do - ac_t=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then - break - elif $ac_last_try; then - as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -# For the awk script, D is an array of macro values keyed by name, -# likewise P contains macro parameters if any. Preserve backslash -# newline sequences. - -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -sed -n ' -s/.\{148\}/&'"$ac_delim"'/g -t rset -:rset -s/^[ ]*#[ ]*define[ ][ ]*/ / -t def -d -:def -s/\\$// -t bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3"/p -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -d -:bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3\\\\\\n"\\/p -t cont -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -t cont -d -:cont -n -s/.\{148\}/&'"$ac_delim"'/g -t clear -:clear -s/\\$// -t bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/"/p -d -:bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -b cont -' >$CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { - line = \$ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - as_fn_error "could not setup config headers machinery" "$LINENO" 5 -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac - ac_MKDIR_P=$MKDIR_P - case $MKDIR_P in - [\\/$]* | ?:[\\/]* ) ;; - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/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: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -s&@MKDIR_P@&$ac_MKDIR_P&;t t -$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 - -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: WARNING: $ac_file contains a reference to the variable \`datarootdir' -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 - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $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 - 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: $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 - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error "could not create -" "$LINENO" 5 - fi -# Compute "$ac_file"'s index in $config_headers. -_am_arg="$ac_file" -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$_am_arg" : 'X\(//\)[^/]' \| \ - X"$_am_arg" : 'X\(//\)$' \| \ - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$_am_arg" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`/stamp-h$_am_stamp_count - ;; - - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir=$dirpart/$fdir; as_fn_mkdir_p - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} - ;; - - esac -done # for ac_tag - - -as_fn_exit 0 -_ACEOF -ac_clean_files=$ac_clean_files_save - -test $ac_write_fail = 0 || - as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - 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 $? -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - diff --git a/autom4te.cache/requests b/autom4te.cache/requests deleted file mode 100644 index c4cd22c..0000000 --- a/autom4te.cache/requests +++ /dev/null @@ -1,155 +0,0 @@ -# This file was generated by Autom4te Tue Dec 22 07:01:21 UTC 2009. -# It contains the lists of macros which have been traced. -# It can be safely removed. - -@request = ( - bless( [ - '0', - 1, - [ - '/usr/share/autoconf' - ], - [ - '/usr/share/autoconf/autoconf/autoconf.m4f', - '/usr/share/aclocal-1.11/amversion.m4', - '/usr/share/aclocal-1.11/auxdir.m4', - '/usr/share/aclocal-1.11/cond.m4', - '/usr/share/aclocal-1.11/depend.m4', - '/usr/share/aclocal-1.11/depout.m4', - '/usr/share/aclocal-1.11/header.m4', - '/usr/share/aclocal-1.11/init.m4', - '/usr/share/aclocal-1.11/install-sh.m4', - '/usr/share/aclocal-1.11/lead-dot.m4', - '/usr/share/aclocal-1.11/make.m4', - '/usr/share/aclocal-1.11/missing.m4', - '/usr/share/aclocal-1.11/mkdirp.m4', - '/usr/share/aclocal-1.11/options.m4', - '/usr/share/aclocal-1.11/runlog.m4', - '/usr/share/aclocal-1.11/sanity.m4', - '/usr/share/aclocal-1.11/silent.m4', - '/usr/share/aclocal-1.11/strip.m4', - '/usr/share/aclocal-1.11/substnot.m4', - '/usr/share/aclocal-1.11/tar.m4', - 'config/ac_cxx_have_new_iostream.m4', - 'config/ac_cxx_have_stl.m4', - 'config/ac_cxx_have_wstring.m4', - 'config/ac_cxx_namespaces.m4', - 'config/acx_pthread.m4', - 'config/iii_check_stlport.m4', - 'config/iii_cross_tools.m4', - 'config/iii_enable_stl_thread.m4', - 'configure.in' - ], - { - 'm4_pattern_forbid' => 1, - 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, - 'III_CHECK_CROSS_SETTING' => 1, - '_AM_SET_OPTION' => 1, - 'AC_DEFUN' => 1, - 'AM_PROG_MKDIR_P' => 1, - 'AM_INIT_AUTOMAKE' => 1, - 'AM_AUTOMAKE_VERSION' => 1, - 'AM_MISSING_HAS_RUN' => 1, - 'AM_SUBST_NOTMAKE' => 1, - 'AM_MISSING_PROG' => 1, - 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, - 'AC_CXX_HAVE_WSTRING' => 1, - 'AC_DEFUN_ONCE' => 1, - 'AC_CXX_HAVE_STL' => 1, - 'AM_PROG_INSTALL_STRIP' => 1, - '_m4_warn' => 1, - 'AM_SANITY_CHECK' => 1, - 'III_ENABLE_STL_THREAD' => 1, - 'III_CHECK_STLPORT' => 1, - 'AM_SILENT_RULES' => 1, - 'include' => 1, - '_AM_PROG_TAR' => 1, - 'AM_AUX_DIR_EXPAND' => 1, - 'III_CROSS_TOOLS' => 1, - 'AM_DEP_TRACK' => 1, - 'AM_CONFIG_HEADER' => 1, - '_AM_SET_OPTIONS' => 1, - 'AM_RUN_LOG' => 1, - '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, - '_AM_IF_OPTION' => 1, - '_AM_SUBST_NOTMAKE' => 1, - 'ACX_PTHREAD' => 1, - '_AM_AUTOCONF_VERSION' => 1, - 'm4_pattern_allow' => 1, - '_AM_MANGLE_OPTION' => 1, - 'AM_CONDITIONAL' => 1, - 'AM_SET_LEADING_DOT' => 1, - 'AC_CXX_HAVE_NEW_IOSTREAM' => 1, - 'AM_SET_DEPDIR' => 1, - '_AM_DEPENDENCIES' => 1, - 'AC_CXX_NAMESPACES' => 1, - 'AM_PROG_INSTALL_SH' => 1, - 'm4_include' => 1, - '_AC_AM_CONFIG_HEADER_HOOK' => 1, - 'AU_DEFUN' => 1, - 'AM_MAKE_INCLUDE' => 1 - } - ], 'Autom4te::Request' ), - bless( [ - '1', - 1, - [ - '/usr/share/autoconf' - ], - [ - '/usr/share/autoconf/autoconf/autoconf.m4f', - 'aclocal.m4', - 'configure.in' - ], - { - '_LT_AC_TAGCONFIG' => 1, - 'AM_PROG_F77_C_O' => 1, - 'AC_INIT' => 1, - 'm4_pattern_forbid' => 1, - '_AM_COND_IF' => 1, - 'AC_CANONICAL_TARGET' => 1, - 'AC_SUBST' => 1, - 'AC_CONFIG_LIBOBJ_DIR' => 1, - 'AC_FC_SRCEXT' => 1, - 'AC_CANONICAL_HOST' => 1, - 'AC_PROG_LIBTOOL' => 1, - 'AM_INIT_AUTOMAKE' => 1, - 'AC_CONFIG_SUBDIRS' => 1, - 'AM_AUTOMAKE_VERSION' => 1, - 'LT_CONFIG_LTDL_DIR' => 1, - 'AC_REQUIRE_AUX_FILE' => 1, - 'AC_CONFIG_LINKS' => 1, - 'm4_sinclude' => 1, - 'LT_SUPPORTED_TAG' => 1, - 'AM_MAINTAINER_MODE' => 1, - 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, - '_m4_warn' => 1, - 'AM_PROG_CXX_C_O' => 1, - '_AM_COND_ENDIF' => 1, - 'AM_ENABLE_MULTILIB' => 1, - 'AM_SILENT_RULES' => 1, - 'AC_CONFIG_FILES' => 1, - 'include' => 1, - 'LT_INIT' => 1, - 'AM_GNU_GETTEXT' => 1, - 'AC_LIBSOURCE' => 1, - 'AM_PROG_FC_C_O' => 1, - 'AC_CANONICAL_BUILD' => 1, - 'AC_FC_FREEFORM' => 1, - 'AH_OUTPUT' => 1, - '_AM_SUBST_NOTMAKE' => 1, - 'AC_CONFIG_AUX_DIR' => 1, - 'sinclude' => 1, - 'm4_pattern_allow' => 1, - 'AM_PROG_CC_C_O' => 1, - 'AC_CANONICAL_SYSTEM' => 1, - 'AM_CONDITIONAL' => 1, - 'AC_CONFIG_HEADERS' => 1, - 'AC_DEFINE_TRACE_LITERAL' => 1, - 'm4_include' => 1, - '_AM_COND_ELSE' => 1, - 'AC_SUBST_TRACE' => 1 - } - ], 'Autom4te::Request' ) - ); - diff --git a/autom4te.cache/traces.0 b/autom4te.cache/traces.0 deleted file mode 100644 index 72534e8..0000000 --- a/autom4te.cache/traces.0 +++ /dev/null @@ -1,1417 +0,0 @@ -m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to -dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.11.1], [], - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl -]) -m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl -m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) -m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. -AC_PREREQ([2.50])dnl -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` -]) -m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE])dnl -AC_SUBST([$1_FALSE])dnl -_AM_SUBST_NOTMAKE([$1_TRUE])dnl -_AM_SUBST_NOTMAKE([$1_FALSE])dnl -m4_define([_AM_COND_VALUE_$1], [$2])dnl -if $2; then - $1_TRUE= - $1_FALSE='#' -else - $1_TRUE='#' - $1_FALSE= -fi -AC_CONFIG_COMMANDS_PRE( -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then - AC_MSG_ERROR([[conditional "$1" was never defined. -Usually this means the macro was only invoked conditionally.]]) -fi])]) -m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl -AC_REQUIRE([AM_MAKE_INCLUDE])dnl -AC_REQUIRE([AM_DEP_TRACK])dnl - -ifelse([$1], CC, [depcc="$CC" am_compiler_list=], - [$1], CXX, [depcc="$CXX" am_compiler_list=], - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], - [$1], UPC, [depcc="$UPC" am_compiler_list=], - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], - [depcc="$$1" am_compiler_list=]) - -AC_CACHE_CHECK([dependency style of $depcc], - [am_cv_$1_dependencies_compiler_type], -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_$1_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` - fi - am__universal=false - m4_case([$1], [CC], - [case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac], - [CXX], - [case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac]) - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_$1_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_$1_dependencies_compiler_type=none -fi -]) -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) -AM_CONDITIONAL([am__fastdep$1], [ - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) -]) -m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl -]) -m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, -[ --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors]) -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH])dnl -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl -]) -m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`AS_DIRNAME("$mf")` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`AS_DIRNAME(["$file"])` - AS_MKDIR_P([$dirpart/$fdir]) - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} -]) -m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) -]) -m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) -m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete. -You should run autoupdate.])dnl -AC_CONFIG_HEADERS($@)]) -m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl -dnl Autoconf wants to disallow AM_ names. We explicitly allow -dnl the ones we care about. -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl -AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl -AC_REQUIRE([AC_PROG_INSTALL])dnl -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi -AC_SUBST([CYGPATH_W]) - -# Define the identity of the package. -dnl Distinguish between old-style and new-style calls. -m4_ifval([$2], -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl - AC_SUBST([PACKAGE], [$1])dnl - AC_SUBST([VERSION], [$2])], -[_AM_SET_OPTIONS([$1])dnl -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, - [m4_fatal([AC_INIT should be called with package and version arguments])])dnl - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl - -_AM_IF_OPTION([no-define],, -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl - -# Some tools Automake needs. -AC_REQUIRE([AM_SANITY_CHECK])dnl -AC_REQUIRE([AC_ARG_PROGRAM])dnl -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) -AM_MISSING_PROG(AUTOCONF, autoconf) -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) -AM_MISSING_PROG(AUTOHEADER, autoheader) -AM_MISSING_PROG(MAKEINFO, makeinfo) -AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl -AC_REQUIRE([AM_PROG_MKDIR_P])dnl -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -AC_REQUIRE([AC_PROG_AWK])dnl -AC_REQUIRE([AC_PROG_MAKE_SET])dnl -AC_REQUIRE([AM_SET_LEADING_DOT])dnl -_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], - [_AM_PROG_TAR([v7])])]) -_AM_IF_OPTION([no-dependencies],, -[AC_PROVIDE_IFELSE([AC_PROG_CC], - [_AM_DEPENDENCIES(CC)], - [define([AC_PROG_CC], - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_CXX], - [_AM_DEPENDENCIES(CXX)], - [define([AC_PROG_CXX], - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES(OBJC)], - [define([AC_PROG_OBJC], - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl -]) -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. -AC_CONFIG_COMMANDS_PRE(dnl -[m4_provide_if([_AM_COMPILER_EXEEXT], - [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl -]) -m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. -_am_arg=$1 -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi -AC_SUBST(install_sh)]) -m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null -AC_SUBST([am__leading_dot])]) -m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -AC_MSG_CHECKING([for style of include used by $am_make]) -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi -AC_SUBST([am__include]) -AC_SUBST([am__quote]) -AC_MSG_RESULT([$_am_result]) -rm -f confinc confmf -]) -m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) -$1=${$1-"${am_missing_run}$2"} -AC_SUBST($1)]) -m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([missing])dnl -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - AC_MSG_WARN([`missing' script is too old or missing]) -fi -]) -m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl -AC_REQUIRE([AC_PROG_MKDIR_P])dnl -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, -dnl while keeping a definition of mkdir_p for backward compatibility. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of -dnl Makefile.ins that do not define MKDIR_P, so we do our own -dnl adjustment using top_builddir (which is defined more often than -dnl MKDIR_P). -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl -case $mkdir_p in - [[\\/$]]* | ?:[[\\/]]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac -]) -m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) -m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) -m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) -m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD - ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - (exit $ac_status); }]) -m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[[\\\"\#\$\&\'\`$am_lf]]*) - AC_MSG_ERROR([unsafe absolute working directory name]);; -esac -case $srcdir in - *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; -esac - -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$[*]" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$[*]" != "X $srcdir/configure conftest.file" \ - && test "$[*]" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # 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". - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken -alias in your environment]) - fi - - test "$[2]" = conftest.file - ) -then - # Ok. - : -else - AC_MSG_ERROR([newly created file is older than distributed files! -Check your system clock]) -fi -AC_MSG_RESULT(yes)]) -m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], -[ --enable-silent-rules less verbose build output (undo: `make V=1') - --disable-silent-rules verbose build output (undo: `make V=0')]) -case $enable_silent_rules in -yes) AM_DEFAULT_VERBOSITY=0;; -no) AM_DEFAULT_VERBOSITY=1;; -*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; -esac -AC_SUBST([AM_DEFAULT_VERBOSITY])dnl -AM_BACKSLASH='\' -AC_SUBST([AM_BACKSLASH])dnl -_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl -]) -m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. -if test "$cross_compiling" != no; then - AC_CHECK_TOOL([STRIP], [strip], :) -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -AC_SUBST([INSTALL_STRIP_PROGRAM])]) -m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) -m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) -m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. -AM_MISSING_PROG([AMTAR], [tar]) -m4_if([$1], [v7], - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], - [m4_case([$1], [ustar],, [pax],, - [m4_fatal([Unknown tar format])]) -AC_MSG_CHECKING([how to create a $1 tar archive]) -# Loop over all known methods to create a tar archive until one works. -_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' -_am_tools=${am_cv_prog_tar_$1-$_am_tools} -# Do not fold the above two line into one, because Tru64 sh and -# Solaris sh will not grok spaces in the rhs of `-'. -for _am_tool in $_am_tools -do - case $_am_tool in - gnutar) - for _am_tar in tar gnutar gtar; - do - AM_RUN_LOG([$_am_tar --version]) && break - done - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' - am__untar="$_am_tar -xf -" - ;; - plaintar) - # Must skip GNU tar: if it does not support --format= it doesn't create - # ustar tarball either. - (tar --version) >/dev/null 2>&1 && continue - am__tar='tar chf - "$$tardir"' - am__tar_='tar chf - "$tardir"' - am__untar='tar xf -' - ;; - pax) - am__tar='pax -L -x $1 -w "$$tardir"' - am__tar_='pax -L -x $1 -w "$tardir"' - am__untar='pax -r' - ;; - cpio) - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' - am__untar='cpio -i -H $1 -d' - ;; - none) - am__tar=false - am__tar_=false - am__untar=false - ;; - esac - - # If the value was cached, stop now. We just wanted to have am__tar - # and am__untar set. - test -n "${am_cv_prog_tar_$1}" && break - - # tar/untar a dummy directory, and stop if the command works - rm -rf conftest.dir - mkdir conftest.dir - echo GrepMe > conftest.dir/file - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) - rm -rf conftest.dir - if test -s conftest.tar; then - AM_RUN_LOG([$am__untar /dev/null 2>&1 && break - fi -done -rm -rf conftest.dir - -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) -AC_MSG_RESULT([$am_cv_prog_tar_$1])]) -AC_SUBST([am__tar]) -AC_SUBST([am__untar]) -]) -m4trace:config/ac_cxx_have_new_iostream.m4:8: -1- AC_DEFUN([AC_CXX_HAVE_NEW_IOSTREAM], [AC_CACHE_CHECK(whether the compiler has ASNI compliant iostream, -ac_cv_cxx_have_new_iostream, -[AC_REQUIRE([AC_CXX_NAMESPACES]) - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([#include -using namespace std; -],[ios_base::iostate state = ios_base::goodbit; return 0;], - ac_cv_cxx_have_new_iostream=yes, ac_cv_cxx_have_new_iostream=no) - AC_LANG_RESTORE -]) -if test "$ac_cv_cxx_have_new_iostream" = yes; then - AC_DEFINE(HAVE_NEW_IOSTREAM,,[define if the compiler has ASNI compliant iostream]) -fi -]) -m4trace:config/ac_cxx_have_stl.m4:8: -1- AC_DEFUN([AC_CXX_HAVE_STL], [ -AC_CACHE_CHECK([whether the compiler supports Standard Template Library], -[ac_cv_cxx_have_stl], -[AC_REQUIRE([AC_CXX_NAMESPACES]) - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([#include -#include -#ifdef HAVE_NAMESPACES -using namespace std; -#endif],[list x; x.push_back(5); -list::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;], - ac_cv_cxx_have_stl=yes, ac_cv_cxx_have_stl=no) - AC_LANG_RESTORE -]) -if test "$ac_cv_cxx_have_stl" = yes; then - AC_DEFINE([HAVE_STL],,[define if the compiler supports Standard Template Library]) -fi -]) -m4trace:config/ac_cxx_have_wstring.m4:9: -1- AC_DEFUN([AC_CXX_HAVE_WSTRING], [ AC_CACHE_CHECK([whether the compiler has wstring], - [ac_cv_cxx_have_wstring], - [ - AC_REQUIRE([AC_CXX_NAMESPACES]) - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([ - #include - #ifdef HAVE_NAMESPACES - using namespace std; - #endif - ],[wstring str; str = L"Hello"; return 0;], - ac_cv_cxx_have_wstring=yes, - ac_cv_cxx_have_wstring=no - ) - dnl GCC 3.0 require _GLIBCPP_USE_CHAR_T to be defined - if test "$ac_cv_cxx_have_wstring" = no; then - AC_TRY_COMPILE([ - #define _GLIBCPP_USE_WCHAR_T 1 - #include - #ifdef HAVE_NAMESPACES - using namespace std; - #endif - ],[ - wstring str; str = L"Hello"; return 0; - ],[ - ac_cv_cxx_have_wstring=yes - ac_cv_need__GLIBCPP_USE_WCHAR_T=yes - ], ac_cv_cxx_have_wstring=no) - fi - dnl GCC 2.95.x need a typedef - if test "$ac_cv_cxx_have_wstring" = no; then - AC_TRY_COMPILE([ - #include - #ifdef HAVE_NAMESPACES - using namespace std; - #endif - ],[ - typedef basic_string wstring; - wstring str; str = L"Hello"; return 0; - ],[ - ac_cv_cxx_have_wstring=yes - ac_cv_need_wstring_typedef=yes - ], ac_cv_cxx_have_wstring=no) - fi - AC_LANG_RESTORE - ] - ) - - if test "$ac_cv_cxx_have_wstring" = yes; then - AC_DEFINE(HAVE_WSTRING,,[define if the compiler has wstring]) - if test "$ac_cv_need__GLIBCPP_USE_WCHAR_T" = yes; then - AC_DEFINE(_GLIBCPP_USE_WCHAR_T,1, [define if the GLIB need the flag to turn on wstring support]) - fi - if test "$ac_cv_need_wstring_typedef" = yes; then - AC_DEFINE(NEED_WSTRING_TYPEDEF, 1, [define if explicit wstring typedef is needed]) - fi - fi - -]) -m4trace:config/ac_cxx_namespaces.m4:9: -1- AC_DEFUN([AC_CXX_NAMESPACES], [AC_CACHE_CHECK(whether the compiler implements namespaces, -ac_cv_cxx_namespaces, -[AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([namespace Outer { namespace Inner { int i = 0; }}], - [using namespace Outer::Inner; return i;], - ac_cv_cxx_namespaces=yes, ac_cv_cxx_namespaces=no) - AC_LANG_RESTORE -]) -if test "$ac_cv_cxx_namespaces" = yes; then - AC_DEFINE(HAVE_NAMESPACES,,[define if the compiler implements namespaces]) -fi -]) -m4trace:config/acx_pthread.m4:40: -1- AC_DEFUN([ACX_PTHREAD], [ -AC_REQUIRE([AC_CANONICAL_HOST]) -acx_pthread_ok=no - -# First, check if the POSIX threads header, pthread.h, is available. -# If it isn't, don't bother looking for the threads libraries. -AC_CHECK_HEADER(pthread.h, , acx_pthread_ok=noheader) - -# We must check for the threads library under a number of different -# names; the ordering is very important because some systems -# (e.g. DEC) have both -lpthread and -lpthreads, where one of the -# libraries is broken (non-POSIX). - -# First of all, check if the user has set any of the PTHREAD_LIBS, -# etcetera environment variables, and if threads linking works using -# them: -if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - save_LIBS="$LIBS" - LIBS="$PTHREAD_LIBS $LIBS" - AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS]) - AC_TRY_LINK_FUNC(pthread_join, acx_pthread_ok=yes) - AC_MSG_RESULT($acx_pthread_ok) - if test x"$acx_pthread_ok" = xno; then - PTHREAD_LIBS="" - PTHREAD_CFLAGS="" - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" -fi - -# Create a list of thread flags to try. Items starting with a "-" are -# C compiler flags, and other items are library names, except for "none" -# which indicates that we try without any flags at all. - -acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt" - -# The ordering *is* (sometimes) important. Some notes on the -# individual items follow: - -# pthreads: AIX (must check this before -lpthread) -# none: in case threads are in libc; should be tried before -Kthread and -# other compiler flags to prevent continual compiler warnings -# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) -# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) -# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) -# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) -# -pthreads: Solaris/gcc -# -mthreads: Mingw32/gcc, Lynx/gcc -# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it -# doesn't hurt to check since this sometimes defines pthreads too; -# also defines -D_REENTRANT) -# pthread: Linux, etcetera -# --thread-safe: KAI C++ - -case "${host_cpu}-${host_os}" in - *solaris*) - - # On Solaris (at least, for some versions), libc contains stubbed - # (non-functional) versions of the pthreads routines, so link-based - # tests will erroneously succeed. (We need to link with -pthread or - # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather - # a function called by this macro, so we could check for that, but - # who knows whether they'll stub that too in a future libc.) So, - # we'll just look for -pthreads and -lpthread first: - - acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags" - ;; -esac - -if test x"$acx_pthread_ok" = xno; then -for flag in $acx_pthread_flags; do - - case $flag in - none) - AC_MSG_CHECKING([whether pthreads work without any flags]) - ;; - - -*) - AC_MSG_CHECKING([whether pthreads work with $flag]) - PTHREAD_CFLAGS="$flag" - ;; - - *) - AC_MSG_CHECKING([for the pthreads library -l$flag]) - PTHREAD_LIBS="-l$flag" - ;; - esac - - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="$PTHREAD_LIBS $LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - - # Check for various functions. We must include pthread.h, - # since some functions may be macros. (On the Sequent, we - # need a special flag -Kthread to make this header compile.) - # We check for pthread_join because it is in -lpthread on IRIX - # while pthread_create is in libc. We check for pthread_attr_init - # due to DEC craziness with -lpthreads. We check for - # pthread_cleanup_push because it is one of the few pthread - # functions on Solaris that doesn't have a non-functional libc stub. - # We try pthread_create on general principles. - AC_TRY_LINK([#include ], - [pthread_t th; pthread_join(th, 0); - pthread_attr_init(0); pthread_cleanup_push(0, 0); - pthread_create(0,0,0,0); pthread_cleanup_pop(0); ], - [acx_pthread_ok=yes]) - - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - - AC_MSG_RESULT($acx_pthread_ok) - if test "x$acx_pthread_ok" = xyes; then - break; - fi - - PTHREAD_LIBS="" - PTHREAD_CFLAGS="" -done -fi - -# Various other checks: -if test "x$acx_pthread_ok" = xyes; then - save_LIBS="$LIBS" - LIBS="$PTHREAD_LIBS $LIBS" - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - - # Detect AIX lossage: threads are created detached by default - # and the JOINABLE attribute has a nonstandard name (UNDETACHED). - AC_MSG_CHECKING([for joinable pthread attribute]) - AC_TRY_LINK([#include ], - [int attr=PTHREAD_CREATE_JOINABLE;], - ok=PTHREAD_CREATE_JOINABLE, ok=unknown) - if test x"$ok" = xunknown; then - AC_TRY_LINK([#include ], - [int attr=PTHREAD_CREATE_UNDETACHED;], - ok=PTHREAD_CREATE_UNDETACHED, ok=unknown) - fi - if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then - AC_DEFINE(PTHREAD_CREATE_JOINABLE, $ok, - [Define to the necessary symbol if this constant - uses a non-standard name on your system.]) - fi - AC_MSG_RESULT(${ok}) - if test x"$ok" = xunknown; then - AC_MSG_WARN([we do not know how to create joinable pthreads]) - fi - - AC_MSG_CHECKING([if more special flags are required for pthreads]) - flag=no - case "${host_cpu}-${host_os}" in - *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";; - *solaris* | alpha*-osf*) flag="-D_REENTRANT";; - esac - AC_MSG_RESULT(${flag}) - if test "x$flag" != xno; then - PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" - fi - - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - - # More AIX lossage: must compile with cc_r - AC_CHECK_PROG(PTHREAD_CC, cc_r, cc_r, ${CC}) -else - PTHREAD_CC="$CC" -fi - -AC_SUBST(PTHREAD_LIBS) -AC_SUBST(PTHREAD_CFLAGS) -AC_SUBST(PTHREAD_CC) - -# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: -if test x"$acx_pthread_ok" = xyes; then - ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1]) - : -else - acx_pthread_ok=no - $2 -fi - -]) -m4trace:config/iii_check_stlport.m4:29: -1- AC_DEFUN([III_CHECK_STLPORT], [ - dnl AC_BEFORE([$0],[AC_CXX_HAVE_STL]) - if test "$ac_cv_cxx_have_stl" = yes; then - AC_CACHE_CHECK([whether the STLport exists], - [iii_cv_have_stlport], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - - AC_EGREP_CPP(yes,[ - #include - #ifdef __SGI_STL_PORT - yes - #endif - ], - iii_cv_have_stlport=yes, - iii_cv_have_stlport=no) - ] - ) - - dnl - dnl Choose the correct STL library to link with - dnl - - if test "$host_os" = cygwin && test "$iii_cv_have_stlport" = yes ; then - LIBSTL=-lstlport_cygwin - elif test "$ac_cv_prog_gxx" = yes; then - if test "$iii_cv_have_stlport" = yes; then - LIBSTL=-lstlport_gcc - else - LIBSTL=-lstdc++ - fi; - fi - - else - iii_cv_have_stlport=no - fi -]) -m4trace:config/iii_cross_tools.m4:29: -1- AC_DEFUN([III_CHECK_CROSS_SETTING], [ - if test -z "[$]$1"; then - xx=`sed -n -e 's/^[[:blank:]]*$1[[:blank:]]*=[[:blank:]]*\(.*\)$/\1/p' < $2` - if test -n "${xx}" ; then - $1=$xx - fi - fi -]) -m4trace:config/iii_cross_tools.m4:51: -1- AC_DEFUN([III_CROSS_TOOLS], [ -if test -e $srcdir/config/mh-$host_alias ; then - host_frag=$srcdir/config/mh-$host_alias - - III_CHECK_CROSS_SETTING(CC,${host_frag}) - III_CHECK_CROSS_SETTING(CXX,${host_frag}) - III_CHECK_CROSS_SETTING(RANLIB,${host_frag}) - III_CHECK_CROSS_SETTING(CFLAGS,${host_frag}) - III_CHECK_CROSS_SETTING(CXXFLAGS,${host_frag}) - III_CHECK_CROSS_SETTING(CPPFLAGS,${host_frag}) - III_CHECK_CROSS_SETTING(LDFLAGS,${host_frag}) - - if test "$host_alias" != "$build_alias" ; then - ac_cv_prog_cc_cross=yes - dnl prevent the AC_PROG_CXX from running the program produce by cross compiler - ac_exeext=yyy - else - ac_cv_prog_cc_cross=no - fi -fi - -dnl Checks for programs. -AC_CHECK_TOOL(CC, gcc) -AC_PROG_CC -AC_CHECK_TOOL(CXX, c++) -AC_PROG_CXX -AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_PROG_CPP -AC_PROG_CXXCPP -]) -m4trace:config/iii_enable_stl_thread.m4:27: -1- AC_DEFUN([III_ENABLE_STL_THREAD], [ - AC_BEFORE([III_CHECK_STLPORT]) - if test x"$ac_cv_prog_gxx" = xyes; then - if test x"$iii_cv_have_stlport" = xno; then - # assume using libstdc++ - if test x"$host_os" = xcygwin ; then - AC_DEFINE([__STL_WIN32THREADS], , [enable libstdc++ WIN32 thread support] ) - else - AC_DEFINE([__STL_PTHREADS], , [enable libstdc++ pthread support] ) - fi - else - # using stlport - AC_DEFINE([_REENTRANT], , [enable STLport thread support]) - fi - fi -]) -m4trace:configure.in:23: -1- m4_pattern_forbid([^_?A[CHUM]_]) -m4trace:configure.in:23: -1- m4_pattern_forbid([_AC_]) -m4trace:configure.in:23: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) -m4trace:configure.in:23: -1- m4_pattern_allow([^AS_FLAGS$]) -m4trace:configure.in:23: -1- m4_pattern_forbid([^_?m4_]) -m4trace:configure.in:23: -1- m4_pattern_forbid([^dnl$]) -m4trace:configure.in:23: -1- m4_pattern_forbid([^_?AS_]) -m4trace:configure.in:23: -1- m4_pattern_allow([^SHELL$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PATH_SEPARATOR$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_NAME$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_STRING$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_URL$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^exec_prefix$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^prefix$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^program_transform_name$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^bindir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^sbindir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^libexecdir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^datarootdir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^datadir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^sysconfdir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^sharedstatedir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^localstatedir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^includedir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^oldincludedir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^docdir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^infodir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^htmldir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^dvidir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^pdfdir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^psdir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^libdir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^localedir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^mandir$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_NAME$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_STRING$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_URL$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^DEFS$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^ECHO_C$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^ECHO_N$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^ECHO_T$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^build_alias$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^host_alias$]) -m4trace:configure.in:23: -1- m4_pattern_allow([^target_alias$]) -m4trace:configure.in:27: -1- _m4_warn([obsolete], [The macro `AC_CANONICAL_SYSTEM' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:1843: AC_CANONICAL_SYSTEM is expanded from... -configure.in:27: the top level]) -m4trace:configure.in:27: -1- m4_pattern_allow([^build$]) -m4trace:configure.in:27: -1- m4_pattern_allow([^build_cpu$]) -m4trace:configure.in:27: -1- m4_pattern_allow([^build_vendor$]) -m4trace:configure.in:27: -1- m4_pattern_allow([^build_os$]) -m4trace:configure.in:27: -1- m4_pattern_allow([^host$]) -m4trace:configure.in:27: -1- m4_pattern_allow([^host_cpu$]) -m4trace:configure.in:27: -1- m4_pattern_allow([^host_vendor$]) -m4trace:configure.in:27: -1- m4_pattern_allow([^host_os$]) -m4trace:configure.in:27: -1- m4_pattern_allow([^target$]) -m4trace:configure.in:27: -1- m4_pattern_allow([^target_cpu$]) -m4trace:configure.in:27: -1- m4_pattern_allow([^target_vendor$]) -m4trace:configure.in:27: -1- m4_pattern_allow([^target_os$]) -m4trace:configure.in:28: -1- AM_INIT_AUTOMAKE([iiiasn1], [2_12]) -m4trace:configure.in:28: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) -m4trace:configure.in:28: -1- AM_SET_CURRENT_AUTOMAKE_VERSION -m4trace:configure.in:28: -1- AM_AUTOMAKE_VERSION([1.11.1]) -m4trace:configure.in:28: -1- _AM_AUTOCONF_VERSION([2.65]) -m4trace:configure.in:28: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) -m4trace:configure.in:28: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) -m4trace:configure.in:28: -1- m4_pattern_allow([^INSTALL_DATA$]) -m4trace:configure.in:28: -1- m4_pattern_allow([^am__isrc$]) -m4trace:configure.in:28: -1- _AM_SUBST_NOTMAKE([am__isrc]) -m4trace:configure.in:28: -1- m4_pattern_allow([^CYGPATH_W$]) -m4trace:configure.in:28: -1- m4_pattern_allow([^PACKAGE$]) -m4trace:configure.in:28: -1- m4_pattern_allow([^VERSION$]) -m4trace:configure.in:28: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])]) -m4trace:configure.in:28: -2- _AM_MANGLE_OPTION([no-define]) -m4trace:configure.in:28: -1- m4_pattern_allow([^PACKAGE$]) -m4trace:configure.in:28: -1- m4_pattern_allow([^VERSION$]) -m4trace:configure.in:28: -1- AM_SANITY_CHECK -m4trace:configure.in:28: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) -m4trace:configure.in:28: -1- AM_MISSING_HAS_RUN -m4trace:configure.in:28: -1- AM_AUX_DIR_EXPAND -m4trace:configure.in:28: -1- m4_pattern_allow([^ACLOCAL$]) -m4trace:configure.in:28: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) -m4trace:configure.in:28: -1- m4_pattern_allow([^AUTOCONF$]) -m4trace:configure.in:28: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) -m4trace:configure.in:28: -1- m4_pattern_allow([^AUTOMAKE$]) -m4trace:configure.in:28: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) -m4trace:configure.in:28: -1- m4_pattern_allow([^AUTOHEADER$]) -m4trace:configure.in:28: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) -m4trace:configure.in:28: -1- m4_pattern_allow([^MAKEINFO$]) -m4trace:configure.in:28: -1- AM_PROG_INSTALL_SH -m4trace:configure.in:28: -1- m4_pattern_allow([^install_sh$]) -m4trace:configure.in:28: -1- AM_PROG_INSTALL_STRIP -m4trace:configure.in:28: -1- m4_pattern_allow([^STRIP$]) -m4trace:configure.in:28: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) -m4trace:configure.in:28: -1- AM_PROG_MKDIR_P -m4trace:configure.in:28: -1- m4_pattern_allow([^MKDIR_P$]) -m4trace:configure.in:28: -1- m4_pattern_allow([^mkdir_p$]) -m4trace:configure.in:28: -1- m4_pattern_allow([^AWK$]) -m4trace:configure.in:28: -1- m4_pattern_allow([^SET_MAKE$]) -m4trace:configure.in:28: -1- AM_SET_LEADING_DOT -m4trace:configure.in:28: -1- m4_pattern_allow([^am__leading_dot$]) -m4trace:configure.in:28: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], - [_AM_PROG_TAR([v7])])]) -m4trace:configure.in:28: -2- _AM_MANGLE_OPTION([tar-ustar]) -m4trace:configure.in:28: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) -m4trace:configure.in:28: -2- _AM_MANGLE_OPTION([tar-pax]) -m4trace:configure.in:28: -1- _AM_PROG_TAR([v7]) -m4trace:configure.in:28: -1- AM_MISSING_PROG([AMTAR], [tar]) -m4trace:configure.in:28: -1- m4_pattern_allow([^AMTAR$]) -m4trace:configure.in:28: -1- m4_pattern_allow([^am__tar$]) -m4trace:configure.in:28: -1- m4_pattern_allow([^am__untar$]) -m4trace:configure.in:28: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], - [_AM_DEPENDENCIES(CC)], - [define([AC_PROG_CC], - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_CXX], - [_AM_DEPENDENCIES(CXX)], - [define([AC_PROG_CXX], - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES(OBJC)], - [define([AC_PROG_OBJC], - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl -]) -m4trace:configure.in:28: -2- _AM_MANGLE_OPTION([no-dependencies]) -m4trace:configure.in:28: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])]) -m4trace:configure.in:28: -2- _AM_MANGLE_OPTION([silent-rules]) -m4trace:configure.in:40: -1- III_CROSS_TOOLS -m4trace:configure.in:40: -1- III_CHECK_CROSS_SETTING([CC], [${host_frag}]) -m4trace:configure.in:40: -1- III_CHECK_CROSS_SETTING([CXX], [${host_frag}]) -m4trace:configure.in:40: -1- III_CHECK_CROSS_SETTING([RANLIB], [${host_frag}]) -m4trace:configure.in:40: -1- III_CHECK_CROSS_SETTING([CFLAGS], [${host_frag}]) -m4trace:configure.in:40: -1- III_CHECK_CROSS_SETTING([CXXFLAGS], [${host_frag}]) -m4trace:configure.in:40: -1- III_CHECK_CROSS_SETTING([CPPFLAGS], [${host_frag}]) -m4trace:configure.in:40: -1- III_CHECK_CROSS_SETTING([LDFLAGS], [${host_frag}]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CFLAGS$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^LDFLAGS$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^ac_ct_CC$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^EXEEXT$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^OBJEXT$]) -m4trace:configure.in:40: -1- _AM_DEPENDENCIES([CC]) -m4trace:configure.in:40: -1- AM_SET_DEPDIR -m4trace:configure.in:40: -1- m4_pattern_allow([^DEPDIR$]) -m4trace:configure.in:40: -1- AM_OUTPUT_DEPENDENCY_COMMANDS -m4trace:configure.in:40: -1- AM_MAKE_INCLUDE -m4trace:configure.in:40: -1- m4_pattern_allow([^am__include$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^am__quote$]) -m4trace:configure.in:40: -1- AM_DEP_TRACK -m4trace:configure.in:40: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -m4trace:configure.in:40: -1- m4_pattern_allow([^AMDEP_TRUE$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^AMDEP_FALSE$]) -m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) -m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) -m4trace:configure.in:40: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) -m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CCDEPMODE$]) -m4trace:configure.in:40: -1- AM_CONDITIONAL([am__fastdepCC], [ - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) -m4trace:configure.in:40: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) -m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) -m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CXX$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CXX$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CXXFLAGS$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^LDFLAGS$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CXX$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^ac_ct_CXX$]) -m4trace:configure.in:40: -1- _AM_DEPENDENCIES([CXX]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CXXDEPMODE$]) -m4trace:configure.in:40: -1- AM_CONDITIONAL([am__fastdepCXX], [ - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3]) -m4trace:configure.in:40: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$]) -m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE]) -m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE]) -m4trace:configure.in:40: -1- m4_pattern_allow([^RANLIB$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CXXCPP$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CXXCPP$]) -m4trace:configure.in:46: -1- AM_CONFIG_HEADER([config.h]) -m4trace:configure.in:46: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete. -You should run autoupdate.], [/usr/share/aclocal-1.11/header.m4:12: AM_CONFIG_HEADER is expanded from... -configure.in:46: the top level]) -m4trace:configure.in:48: -1- m4_pattern_allow([^GREP$]) -m4trace:configure.in:48: -1- m4_pattern_allow([^EGREP$]) -m4trace:configure.in:48: -1- m4_pattern_allow([^STDC_HEADERS$]) -m4trace:configure.in:48: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) -m4trace:configure.in:61: -1- AC_CXX_NAMESPACES -m4trace:configure.in:61: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_namespaces.m4:9: AC_CXX_NAMESPACES is expanded from... -configure.in:61: the top level]) -m4trace:configure.in:61: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_namespaces.m4:9: AC_CXX_NAMESPACES is expanded from... -configure.in:61: the top level]) -m4trace:configure.in:61: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_namespaces.m4:9: AC_CXX_NAMESPACES is expanded from... -configure.in:61: the top level]) -m4trace:configure.in:61: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_namespaces.m4:9: AC_CXX_NAMESPACES is expanded from... -configure.in:61: the top level]) -m4trace:configure.in:61: -1- m4_pattern_allow([^HAVE_NAMESPACES$]) -m4trace:configure.in:67: -1- AC_CXX_HAVE_STL -m4trace:configure.in:67: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_stl.m4:8: AC_CXX_HAVE_STL is expanded from... -configure.in:67: the top level]) -m4trace:configure.in:67: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_stl.m4:8: AC_CXX_HAVE_STL is expanded from... -configure.in:67: the top level]) -m4trace:configure.in:67: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_stl.m4:8: AC_CXX_HAVE_STL is expanded from... -configure.in:67: the top level]) -m4trace:configure.in:67: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_stl.m4:8: AC_CXX_HAVE_STL is expanded from... -configure.in:67: the top level]) -m4trace:configure.in:67: -1- m4_pattern_allow([^HAVE_STL$]) -m4trace:configure.in:81: -1- III_CHECK_STLPORT -m4trace:configure.in:81: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/iii_check_stlport.m4:29: III_CHECK_STLPORT is expanded from... -configure.in:81: the top level]) -m4trace:configure.in:81: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/iii_check_stlport.m4:29: III_CHECK_STLPORT is expanded from... -configure.in:81: the top level]) -m4trace:configure.in:81: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gxx' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:674: ac_cv_prog_gxx is expanded from... -config/iii_check_stlport.m4:29: III_CHECK_STLPORT is expanded from... -configure.in:81: the top level]) -m4trace:configure.in:101: -1- ACX_PTHREAD([ - LIBS="$PTHREAD_LIBS $LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - ], [ - AC_MSG_WARN([Pthread not found, no compiler and linker flags for multithread are specified]) - ]) -m4trace:configure.in:101: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2654: AC_TRY_LINK is expanded from... -config/acx_pthread.m4:40: ACX_PTHREAD is expanded from... -configure.in:101: the top level]) -m4trace:configure.in:101: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2654: AC_TRY_LINK is expanded from... -config/acx_pthread.m4:40: ACX_PTHREAD is expanded from... -configure.in:101: the top level]) -m4trace:configure.in:101: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2654: AC_TRY_LINK is expanded from... -config/acx_pthread.m4:40: ACX_PTHREAD is expanded from... -configure.in:101: the top level]) -m4trace:configure.in:101: -1- m4_pattern_allow([^PTHREAD_CREATE_JOINABLE$]) -m4trace:configure.in:101: -1- m4_pattern_allow([^PTHREAD_CC$]) -m4trace:configure.in:101: -1- m4_pattern_allow([^PTHREAD_LIBS$]) -m4trace:configure.in:101: -1- m4_pattern_allow([^PTHREAD_CFLAGS$]) -m4trace:configure.in:101: -1- m4_pattern_allow([^PTHREAD_CC$]) -m4trace:configure.in:101: -2- m4_pattern_allow([^HAVE_PTHREAD$]) -m4trace:configure.in:110: -1- III_ENABLE_STL_THREAD -m4trace:configure.in:110: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gxx' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:674: ac_cv_prog_gxx is expanded from... -config/iii_enable_stl_thread.m4:27: III_ENABLE_STL_THREAD is expanded from... -configure.in:110: the top level]) -m4trace:configure.in:110: -1- m4_pattern_allow([^__STL_WIN32THREADS$]) -m4trace:configure.in:110: -1- m4_pattern_allow([^__STL_PTHREADS$]) -m4trace:configure.in:110: -1- m4_pattern_allow([^_REENTRANT$]) -m4trace:configure.in:112: -1- m4_pattern_allow([^BOOST_NO_MT$]) -m4trace:configure.in:133: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -configure.in:133: the top level]) -m4trace:configure.in:133: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -configure.in:133: the top level]) -m4trace:configure.in:133: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -configure.in:133: the top level]) -m4trace:configure.in:133: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -configure.in:133: the top level]) -m4trace:configure.in:153: -1- m4_pattern_allow([^ASN1_ALLOCATOR$]) -m4trace:configure.in:184: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gxx' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:674: ac_cv_prog_gxx is expanded from... -configure.in:184: the top level]) -m4trace:configure.in:186: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2731: AC_TRY_RUN is expanded from... -configure.in:186: the top level]) -m4trace:configure.in:186: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2715: AC_RUN_IFELSE is expanded from... -../../lib/autoconf/general.m4:2731: AC_TRY_RUN is expanded from... -configure.in:186: the top level]) -m4trace:configure.in:186: -1- m4_pattern_allow([^__THROW_BAD_ALLOC$]) -m4trace:configure.in:205: -1- AC_CXX_HAVE_NEW_IOSTREAM -m4trace:configure.in:205: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_new_iostream.m4:8: AC_CXX_HAVE_NEW_IOSTREAM is expanded from... -configure.in:205: the top level]) -m4trace:configure.in:205: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_new_iostream.m4:8: AC_CXX_HAVE_NEW_IOSTREAM is expanded from... -configure.in:205: the top level]) -m4trace:configure.in:205: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_new_iostream.m4:8: AC_CXX_HAVE_NEW_IOSTREAM is expanded from... -configure.in:205: the top level]) -m4trace:configure.in:205: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_new_iostream.m4:8: AC_CXX_HAVE_NEW_IOSTREAM is expanded from... -configure.in:205: the top level]) -m4trace:configure.in:205: -1- m4_pattern_allow([^HAVE_NEW_IOSTREAM$]) -m4trace:configure.in:215: -1- AC_CXX_HAVE_WSTRING -m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_wstring.m4:9: AC_CXX_HAVE_WSTRING is expanded from... -configure.in:215: the top level]) -m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_wstring.m4:9: AC_CXX_HAVE_WSTRING is expanded from... -configure.in:215: the top level]) -m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_wstring.m4:9: AC_CXX_HAVE_WSTRING is expanded from... -configure.in:215: the top level]) -m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_wstring.m4:9: AC_CXX_HAVE_WSTRING is expanded from... -configure.in:215: the top level]) -m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_wstring.m4:9: AC_CXX_HAVE_WSTRING is expanded from... -configure.in:215: the top level]) -m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_wstring.m4:9: AC_CXX_HAVE_WSTRING is expanded from... -configure.in:215: the top level]) -m4trace:configure.in:215: -1- m4_pattern_allow([^HAVE_WSTRING$]) -m4trace:configure.in:215: -1- m4_pattern_allow([^_GLIBCPP_USE_WCHAR_T$]) -m4trace:configure.in:215: -1- m4_pattern_allow([^NEED_WSTRING_TYPEDEF$]) -m4trace:configure.in:236: -1- m4_pattern_allow([^ASN1_HAS_IOSTREAM$]) -m4trace:configure.in:253: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gxx' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:674: ac_cv_prog_gxx is expanded from... -configure.in:253: the top level]) -m4trace:configure.in:257: -1- m4_pattern_allow([^LIBSTL$]) -m4trace:configure.in:258: -1- m4_pattern_allow([^PIPEFLAG$]) -m4trace:configure.in:259: -1- m4_pattern_allow([^asnh323dir$]) -m4trace:configure.in:263: -1- m4_pattern_allow([^ASNPARSER$]) -m4trace:configure.in:281: -1- m4_pattern_allow([^DEBUGFLAG$]) -m4trace:configure.in:287: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. -You should run autoupdate.], []) -m4trace:configure.in:287: -1- m4_pattern_allow([^LIB@&t@OBJS$]) -m4trace:configure.in:287: -1- m4_pattern_allow([^LTLIBOBJS$]) -m4trace:configure.in:287: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) -m4trace:configure.in:287: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) -m4trace:configure.in:287: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) -m4trace:configure.in:287: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) -m4trace:configure.in:287: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) -m4trace:configure.in:287: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) -m4trace:configure.in:287: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS diff --git a/autom4te.cache/traces.1 b/autom4te.cache/traces.1 deleted file mode 100644 index 9f9a7bf..0000000 --- a/autom4te.cache/traces.1 +++ /dev/null @@ -1,769 +0,0 @@ -m4trace:aclocal.m4:964: -1- m4_include([config/ac_cxx_have_new_iostream.m4]) -m4trace:aclocal.m4:965: -1- m4_include([config/ac_cxx_have_stl.m4]) -m4trace:aclocal.m4:966: -1- m4_include([config/ac_cxx_have_wstring.m4]) -m4trace:aclocal.m4:967: -1- m4_include([config/ac_cxx_namespaces.m4]) -m4trace:aclocal.m4:968: -1- m4_include([config/acx_pthread.m4]) -m4trace:aclocal.m4:969: -1- m4_include([config/iii_check_stlport.m4]) -m4trace:aclocal.m4:970: -1- m4_include([config/iii_cross_tools.m4]) -m4trace:aclocal.m4:971: -1- m4_include([config/iii_enable_stl_thread.m4]) -m4trace:configure.in:23: -1- AC_INIT -m4trace:configure.in:23: -1- m4_pattern_forbid([^_?A[CHUM]_]) -m4trace:configure.in:23: -1- m4_pattern_forbid([_AC_]) -m4trace:configure.in:23: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) -m4trace:configure.in:23: -1- m4_pattern_allow([^AS_FLAGS$]) -m4trace:configure.in:23: -1- m4_pattern_forbid([^_?m4_]) -m4trace:configure.in:23: -1- m4_pattern_forbid([^dnl$]) -m4trace:configure.in:23: -1- m4_pattern_forbid([^_?AS_]) -m4trace:configure.in:23: -1- AC_SUBST([SHELL]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([SHELL]) -m4trace:configure.in:23: -1- m4_pattern_allow([^SHELL$]) -m4trace:configure.in:23: -1- AC_SUBST([PATH_SEPARATOR]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([PATH_SEPARATOR]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PATH_SEPARATOR$]) -m4trace:configure.in:23: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([PACKAGE_NAME]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_NAME$]) -m4trace:configure.in:23: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([PACKAGE_TARNAME]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) -m4trace:configure.in:23: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:23: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([PACKAGE_STRING]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_STRING$]) -m4trace:configure.in:23: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) -m4trace:configure.in:23: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([PACKAGE_URL]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_URL$]) -m4trace:configure.in:23: -1- AC_SUBST([exec_prefix], [NONE]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([exec_prefix]) -m4trace:configure.in:23: -1- m4_pattern_allow([^exec_prefix$]) -m4trace:configure.in:23: -1- AC_SUBST([prefix], [NONE]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([prefix]) -m4trace:configure.in:23: -1- m4_pattern_allow([^prefix$]) -m4trace:configure.in:23: -1- AC_SUBST([program_transform_name], [s,x,x,]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([program_transform_name]) -m4trace:configure.in:23: -1- m4_pattern_allow([^program_transform_name$]) -m4trace:configure.in:23: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([bindir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^bindir$]) -m4trace:configure.in:23: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([sbindir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^sbindir$]) -m4trace:configure.in:23: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([libexecdir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^libexecdir$]) -m4trace:configure.in:23: -1- AC_SUBST([datarootdir], ['${prefix}/share']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([datarootdir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^datarootdir$]) -m4trace:configure.in:23: -1- AC_SUBST([datadir], ['${datarootdir}']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([datadir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^datadir$]) -m4trace:configure.in:23: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([sysconfdir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^sysconfdir$]) -m4trace:configure.in:23: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([sharedstatedir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^sharedstatedir$]) -m4trace:configure.in:23: -1- AC_SUBST([localstatedir], ['${prefix}/var']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([localstatedir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^localstatedir$]) -m4trace:configure.in:23: -1- AC_SUBST([includedir], ['${prefix}/include']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([includedir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^includedir$]) -m4trace:configure.in:23: -1- AC_SUBST([oldincludedir], ['/usr/include']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([oldincludedir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^oldincludedir$]) -m4trace:configure.in:23: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], - ['${datarootdir}/doc/${PACKAGE_TARNAME}'], - ['${datarootdir}/doc/${PACKAGE}'])]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([docdir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^docdir$]) -m4trace:configure.in:23: -1- AC_SUBST([infodir], ['${datarootdir}/info']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([infodir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^infodir$]) -m4trace:configure.in:23: -1- AC_SUBST([htmldir], ['${docdir}']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([htmldir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^htmldir$]) -m4trace:configure.in:23: -1- AC_SUBST([dvidir], ['${docdir}']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([dvidir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^dvidir$]) -m4trace:configure.in:23: -1- AC_SUBST([pdfdir], ['${docdir}']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([pdfdir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^pdfdir$]) -m4trace:configure.in:23: -1- AC_SUBST([psdir], ['${docdir}']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([psdir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^psdir$]) -m4trace:configure.in:23: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([libdir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^libdir$]) -m4trace:configure.in:23: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([localedir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^localedir$]) -m4trace:configure.in:23: -1- AC_SUBST([mandir], ['${datarootdir}/man']) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([mandir]) -m4trace:configure.in:23: -1- m4_pattern_allow([^mandir$]) -m4trace:configure.in:23: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_NAME$]) -m4trace:configure.in:23: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ -@%:@undef PACKAGE_NAME]) -m4trace:configure.in:23: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) -m4trace:configure.in:23: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ -@%:@undef PACKAGE_TARNAME]) -m4trace:configure.in:23: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:23: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ -@%:@undef PACKAGE_VERSION]) -m4trace:configure.in:23: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_STRING$]) -m4trace:configure.in:23: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ -@%:@undef PACKAGE_STRING]) -m4trace:configure.in:23: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) -m4trace:configure.in:23: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ -@%:@undef PACKAGE_BUGREPORT]) -m4trace:configure.in:23: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL]) -m4trace:configure.in:23: -1- m4_pattern_allow([^PACKAGE_URL$]) -m4trace:configure.in:23: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */ -@%:@undef PACKAGE_URL]) -m4trace:configure.in:23: -1- AC_SUBST([DEFS]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([DEFS]) -m4trace:configure.in:23: -1- m4_pattern_allow([^DEFS$]) -m4trace:configure.in:23: -1- AC_SUBST([ECHO_C]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([ECHO_C]) -m4trace:configure.in:23: -1- m4_pattern_allow([^ECHO_C$]) -m4trace:configure.in:23: -1- AC_SUBST([ECHO_N]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([ECHO_N]) -m4trace:configure.in:23: -1- m4_pattern_allow([^ECHO_N$]) -m4trace:configure.in:23: -1- AC_SUBST([ECHO_T]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([ECHO_T]) -m4trace:configure.in:23: -1- m4_pattern_allow([^ECHO_T$]) -m4trace:configure.in:23: -1- AC_SUBST([LIBS]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([LIBS]) -m4trace:configure.in:23: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:23: -1- AC_SUBST([build_alias]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([build_alias]) -m4trace:configure.in:23: -1- m4_pattern_allow([^build_alias$]) -m4trace:configure.in:23: -1- AC_SUBST([host_alias]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([host_alias]) -m4trace:configure.in:23: -1- m4_pattern_allow([^host_alias$]) -m4trace:configure.in:23: -1- AC_SUBST([target_alias]) -m4trace:configure.in:23: -1- AC_SUBST_TRACE([target_alias]) -m4trace:configure.in:23: -1- m4_pattern_allow([^target_alias$]) -m4trace:configure.in:25: -1- AC_CONFIG_AUX_DIR([config]) -m4trace:configure.in:27: -1- AC_CANONICAL_SYSTEM -m4trace:configure.in:27: -1- _m4_warn([obsolete], [The macro `AC_CANONICAL_SYSTEM' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:1843: AC_CANONICAL_SYSTEM is expanded from... -configure.in:27: the top level]) -m4trace:configure.in:27: -1- AC_CANONICAL_TARGET -m4trace:configure.in:27: -1- AC_CANONICAL_HOST -m4trace:configure.in:27: -1- AC_CANONICAL_BUILD -m4trace:configure.in:27: -1- AC_REQUIRE_AUX_FILE([config.sub]) -m4trace:configure.in:27: -1- AC_REQUIRE_AUX_FILE([config.guess]) -m4trace:configure.in:27: -1- AC_SUBST([build], [$ac_cv_build]) -m4trace:configure.in:27: -1- AC_SUBST_TRACE([build]) -m4trace:configure.in:27: -1- m4_pattern_allow([^build$]) -m4trace:configure.in:27: -1- AC_SUBST([build_cpu], [$[1]]) -m4trace:configure.in:27: -1- AC_SUBST_TRACE([build_cpu]) -m4trace:configure.in:27: -1- m4_pattern_allow([^build_cpu$]) -m4trace:configure.in:27: -1- AC_SUBST([build_vendor], [$[2]]) -m4trace:configure.in:27: -1- AC_SUBST_TRACE([build_vendor]) -m4trace:configure.in:27: -1- m4_pattern_allow([^build_vendor$]) -m4trace:configure.in:27: -1- AC_SUBST([build_os]) -m4trace:configure.in:27: -1- AC_SUBST_TRACE([build_os]) -m4trace:configure.in:27: -1- m4_pattern_allow([^build_os$]) -m4trace:configure.in:27: -1- AC_SUBST([host], [$ac_cv_host]) -m4trace:configure.in:27: -1- AC_SUBST_TRACE([host]) -m4trace:configure.in:27: -1- m4_pattern_allow([^host$]) -m4trace:configure.in:27: -1- AC_SUBST([host_cpu], [$[1]]) -m4trace:configure.in:27: -1- AC_SUBST_TRACE([host_cpu]) -m4trace:configure.in:27: -1- m4_pattern_allow([^host_cpu$]) -m4trace:configure.in:27: -1- AC_SUBST([host_vendor], [$[2]]) -m4trace:configure.in:27: -1- AC_SUBST_TRACE([host_vendor]) -m4trace:configure.in:27: -1- m4_pattern_allow([^host_vendor$]) -m4trace:configure.in:27: -1- AC_SUBST([host_os]) -m4trace:configure.in:27: -1- AC_SUBST_TRACE([host_os]) -m4trace:configure.in:27: -1- m4_pattern_allow([^host_os$]) -m4trace:configure.in:27: -1- AC_SUBST([target], [$ac_cv_target]) -m4trace:configure.in:27: -1- AC_SUBST_TRACE([target]) -m4trace:configure.in:27: -1- m4_pattern_allow([^target$]) -m4trace:configure.in:27: -1- AC_SUBST([target_cpu], [$[1]]) -m4trace:configure.in:27: -1- AC_SUBST_TRACE([target_cpu]) -m4trace:configure.in:27: -1- m4_pattern_allow([^target_cpu$]) -m4trace:configure.in:27: -1- AC_SUBST([target_vendor], [$[2]]) -m4trace:configure.in:27: -1- AC_SUBST_TRACE([target_vendor]) -m4trace:configure.in:27: -1- m4_pattern_allow([^target_vendor$]) -m4trace:configure.in:27: -1- AC_SUBST([target_os]) -m4trace:configure.in:27: -1- AC_SUBST_TRACE([target_os]) -m4trace:configure.in:27: -1- m4_pattern_allow([^target_os$]) -m4trace:configure.in:28: -1- AM_INIT_AUTOMAKE([iiiasn1], [2_12]) -m4trace:configure.in:28: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) -m4trace:configure.in:28: -1- AM_AUTOMAKE_VERSION([1.11.1]) -m4trace:configure.in:28: -1- AC_REQUIRE_AUX_FILE([install-sh]) -m4trace:configure.in:28: -1- AC_SUBST([INSTALL_PROGRAM]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([INSTALL_PROGRAM]) -m4trace:configure.in:28: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) -m4trace:configure.in:28: -1- AC_SUBST([INSTALL_SCRIPT]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([INSTALL_SCRIPT]) -m4trace:configure.in:28: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) -m4trace:configure.in:28: -1- AC_SUBST([INSTALL_DATA]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([INSTALL_DATA]) -m4trace:configure.in:28: -1- m4_pattern_allow([^INSTALL_DATA$]) -m4trace:configure.in:28: -1- AC_SUBST([am__isrc], [' -I$(srcdir)']) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([am__isrc]) -m4trace:configure.in:28: -1- m4_pattern_allow([^am__isrc$]) -m4trace:configure.in:28: -1- _AM_SUBST_NOTMAKE([am__isrc]) -m4trace:configure.in:28: -1- AC_SUBST([CYGPATH_W]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([CYGPATH_W]) -m4trace:configure.in:28: -1- m4_pattern_allow([^CYGPATH_W$]) -m4trace:configure.in:28: -1- AC_SUBST([PACKAGE], [iiiasn1]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([PACKAGE]) -m4trace:configure.in:28: -1- m4_pattern_allow([^PACKAGE$]) -m4trace:configure.in:28: -1- AC_SUBST([VERSION], [2_12]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([VERSION]) -m4trace:configure.in:28: -1- m4_pattern_allow([^VERSION$]) -m4trace:configure.in:28: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE]) -m4trace:configure.in:28: -1- m4_pattern_allow([^PACKAGE$]) -m4trace:configure.in:28: -1- AH_OUTPUT([PACKAGE], [/* Name of package */ -@%:@undef PACKAGE]) -m4trace:configure.in:28: -1- AC_DEFINE_TRACE_LITERAL([VERSION]) -m4trace:configure.in:28: -1- m4_pattern_allow([^VERSION$]) -m4trace:configure.in:28: -1- AH_OUTPUT([VERSION], [/* Version number of package */ -@%:@undef VERSION]) -m4trace:configure.in:28: -1- AC_REQUIRE_AUX_FILE([missing]) -m4trace:configure.in:28: -1- AC_SUBST([ACLOCAL]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([ACLOCAL]) -m4trace:configure.in:28: -1- m4_pattern_allow([^ACLOCAL$]) -m4trace:configure.in:28: -1- AC_SUBST([AUTOCONF]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([AUTOCONF]) -m4trace:configure.in:28: -1- m4_pattern_allow([^AUTOCONF$]) -m4trace:configure.in:28: -1- AC_SUBST([AUTOMAKE]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([AUTOMAKE]) -m4trace:configure.in:28: -1- m4_pattern_allow([^AUTOMAKE$]) -m4trace:configure.in:28: -1- AC_SUBST([AUTOHEADER]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([AUTOHEADER]) -m4trace:configure.in:28: -1- m4_pattern_allow([^AUTOHEADER$]) -m4trace:configure.in:28: -1- AC_SUBST([MAKEINFO]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([MAKEINFO]) -m4trace:configure.in:28: -1- m4_pattern_allow([^MAKEINFO$]) -m4trace:configure.in:28: -1- AC_SUBST([install_sh]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([install_sh]) -m4trace:configure.in:28: -1- m4_pattern_allow([^install_sh$]) -m4trace:configure.in:28: -1- AC_SUBST([STRIP]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([STRIP]) -m4trace:configure.in:28: -1- m4_pattern_allow([^STRIP$]) -m4trace:configure.in:28: -1- AC_SUBST([INSTALL_STRIP_PROGRAM]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM]) -m4trace:configure.in:28: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) -m4trace:configure.in:28: -1- AC_REQUIRE_AUX_FILE([install-sh]) -m4trace:configure.in:28: -1- AC_SUBST([MKDIR_P]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([MKDIR_P]) -m4trace:configure.in:28: -1- m4_pattern_allow([^MKDIR_P$]) -m4trace:configure.in:28: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([mkdir_p]) -m4trace:configure.in:28: -1- m4_pattern_allow([^mkdir_p$]) -m4trace:configure.in:28: -1- AC_SUBST([AWK]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([AWK]) -m4trace:configure.in:28: -1- m4_pattern_allow([^AWK$]) -m4trace:configure.in:28: -1- AC_SUBST([SET_MAKE]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([SET_MAKE]) -m4trace:configure.in:28: -1- m4_pattern_allow([^SET_MAKE$]) -m4trace:configure.in:28: -1- AC_SUBST([am__leading_dot]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([am__leading_dot]) -m4trace:configure.in:28: -1- m4_pattern_allow([^am__leading_dot$]) -m4trace:configure.in:28: -1- AC_SUBST([AMTAR]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([AMTAR]) -m4trace:configure.in:28: -1- m4_pattern_allow([^AMTAR$]) -m4trace:configure.in:28: -1- AC_SUBST([am__tar]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([am__tar]) -m4trace:configure.in:28: -1- m4_pattern_allow([^am__tar$]) -m4trace:configure.in:28: -1- AC_SUBST([am__untar]) -m4trace:configure.in:28: -1- AC_SUBST_TRACE([am__untar]) -m4trace:configure.in:28: -1- m4_pattern_allow([^am__untar$]) -m4trace:configure.in:40: -1- AC_SUBST([CC]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:40: -1- AC_SUBST([CC]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:40: -1- AC_SUBST([CFLAGS]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CFLAGS]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CFLAGS$]) -m4trace:configure.in:40: -1- AC_SUBST([LDFLAGS]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([LDFLAGS]) -m4trace:configure.in:40: -1- m4_pattern_allow([^LDFLAGS$]) -m4trace:configure.in:40: -1- AC_SUBST([LIBS]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([LIBS]) -m4trace:configure.in:40: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:40: -1- AC_SUBST([CPPFLAGS]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CPPFLAGS]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:40: -1- AC_SUBST([CC]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:40: -1- AC_SUBST([CC]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:40: -1- AC_SUBST([CC]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:40: -1- AC_SUBST([CC]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:40: -1- AC_SUBST([ac_ct_CC]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([ac_ct_CC]) -m4trace:configure.in:40: -1- m4_pattern_allow([^ac_ct_CC$]) -m4trace:configure.in:40: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([EXEEXT]) -m4trace:configure.in:40: -1- m4_pattern_allow([^EXEEXT$]) -m4trace:configure.in:40: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([OBJEXT]) -m4trace:configure.in:40: -1- m4_pattern_allow([^OBJEXT$]) -m4trace:configure.in:40: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([DEPDIR]) -m4trace:configure.in:40: -1- m4_pattern_allow([^DEPDIR$]) -m4trace:configure.in:40: -1- AC_SUBST([am__include]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__include]) -m4trace:configure.in:40: -1- m4_pattern_allow([^am__include$]) -m4trace:configure.in:40: -1- AC_SUBST([am__quote]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__quote]) -m4trace:configure.in:40: -1- m4_pattern_allow([^am__quote$]) -m4trace:configure.in:40: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -m4trace:configure.in:40: -1- AC_SUBST([AMDEP_TRUE]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([AMDEP_TRUE]) -m4trace:configure.in:40: -1- m4_pattern_allow([^AMDEP_TRUE$]) -m4trace:configure.in:40: -1- AC_SUBST([AMDEP_FALSE]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([AMDEP_FALSE]) -m4trace:configure.in:40: -1- m4_pattern_allow([^AMDEP_FALSE$]) -m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) -m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) -m4trace:configure.in:40: -1- AC_SUBST([AMDEPBACKSLASH]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([AMDEPBACKSLASH]) -m4trace:configure.in:40: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) -m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) -m4trace:configure.in:40: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CCDEPMODE]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CCDEPMODE$]) -m4trace:configure.in:40: -1- AM_CONDITIONAL([am__fastdepCC], [ - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) -m4trace:configure.in:40: -1- AC_SUBST([am__fastdepCC_TRUE]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE]) -m4trace:configure.in:40: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) -m4trace:configure.in:40: -1- AC_SUBST([am__fastdepCC_FALSE]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE]) -m4trace:configure.in:40: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) -m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) -m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) -m4trace:configure.in:40: -1- AC_SUBST([CXX]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CXX]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CXX$]) -m4trace:configure.in:40: -1- AC_SUBST([CXX]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CXX]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CXX$]) -m4trace:configure.in:40: -1- AC_SUBST([CXXFLAGS]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CXXFLAGS]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CXXFLAGS$]) -m4trace:configure.in:40: -1- AC_SUBST([LDFLAGS]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([LDFLAGS]) -m4trace:configure.in:40: -1- m4_pattern_allow([^LDFLAGS$]) -m4trace:configure.in:40: -1- AC_SUBST([LIBS]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([LIBS]) -m4trace:configure.in:40: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:40: -1- AC_SUBST([CPPFLAGS]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CPPFLAGS]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:40: -1- AC_SUBST([CXX]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CXX]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CXX$]) -m4trace:configure.in:40: -1- AC_SUBST([ac_ct_CXX]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([ac_ct_CXX]) -m4trace:configure.in:40: -1- m4_pattern_allow([^ac_ct_CXX$]) -m4trace:configure.in:40: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CXXDEPMODE]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CXXDEPMODE$]) -m4trace:configure.in:40: -1- AM_CONDITIONAL([am__fastdepCXX], [ - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3]) -m4trace:configure.in:40: -1- AC_SUBST([am__fastdepCXX_TRUE]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE]) -m4trace:configure.in:40: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$]) -m4trace:configure.in:40: -1- AC_SUBST([am__fastdepCXX_FALSE]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE]) -m4trace:configure.in:40: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$]) -m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE]) -m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE]) -m4trace:configure.in:40: -1- AC_SUBST([RANLIB]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([RANLIB]) -m4trace:configure.in:40: -1- m4_pattern_allow([^RANLIB$]) -m4trace:configure.in:40: -1- AC_SUBST([CPP]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CPP]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:40: -1- AC_SUBST([CPPFLAGS]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CPPFLAGS]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:40: -1- AC_SUBST([CPP]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CPP]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:40: -1- AC_SUBST([CXXCPP]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CXXCPP]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CXXCPP$]) -m4trace:configure.in:40: -1- AC_SUBST([CPPFLAGS]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CPPFLAGS]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:40: -1- AC_SUBST([CXXCPP]) -m4trace:configure.in:40: -1- AC_SUBST_TRACE([CXXCPP]) -m4trace:configure.in:40: -1- m4_pattern_allow([^CXXCPP$]) -m4trace:configure.in:46: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete. -You should run autoupdate.], [aclocal.m4:419: AM_CONFIG_HEADER is expanded from... -configure.in:46: the top level]) -m4trace:configure.in:46: -1- AC_CONFIG_HEADERS([config.h]) -m4trace:configure.in:48: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ -@%:@undef HAVE_UNISTD_H]) -m4trace:configure.in:48: -1- AC_SUBST([GREP]) -m4trace:configure.in:48: -1- AC_SUBST_TRACE([GREP]) -m4trace:configure.in:48: -1- m4_pattern_allow([^GREP$]) -m4trace:configure.in:48: -1- AC_SUBST([EGREP]) -m4trace:configure.in:48: -1- AC_SUBST_TRACE([EGREP]) -m4trace:configure.in:48: -1- m4_pattern_allow([^EGREP$]) -m4trace:configure.in:48: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) -m4trace:configure.in:48: -1- m4_pattern_allow([^STDC_HEADERS$]) -m4trace:configure.in:48: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ -@%:@undef STDC_HEADERS]) -m4trace:configure.in:48: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ -@%:@undef HAVE_SYS_TYPES_H]) -m4trace:configure.in:48: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ -@%:@undef HAVE_SYS_STAT_H]) -m4trace:configure.in:48: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ -@%:@undef HAVE_STDLIB_H]) -m4trace:configure.in:48: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the header file. */ -@%:@undef HAVE_STRING_H]) -m4trace:configure.in:48: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the header file. */ -@%:@undef HAVE_MEMORY_H]) -m4trace:configure.in:48: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ -@%:@undef HAVE_STRINGS_H]) -m4trace:configure.in:48: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the header file. */ -@%:@undef HAVE_INTTYPES_H]) -m4trace:configure.in:48: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ -@%:@undef HAVE_STDINT_H]) -m4trace:configure.in:48: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ -@%:@undef HAVE_UNISTD_H]) -m4trace:configure.in:48: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H]) -m4trace:configure.in:48: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) -m4trace:configure.in:61: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_namespaces.m4:9: AC_CXX_NAMESPACES is expanded from... -configure.in:61: the top level]) -m4trace:configure.in:61: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_namespaces.m4:9: AC_CXX_NAMESPACES is expanded from... -configure.in:61: the top level]) -m4trace:configure.in:61: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_namespaces.m4:9: AC_CXX_NAMESPACES is expanded from... -configure.in:61: the top level]) -m4trace:configure.in:61: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_namespaces.m4:9: AC_CXX_NAMESPACES is expanded from... -configure.in:61: the top level]) -m4trace:configure.in:61: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NAMESPACES]) -m4trace:configure.in:61: -1- m4_pattern_allow([^HAVE_NAMESPACES$]) -m4trace:configure.in:61: -1- AH_OUTPUT([HAVE_NAMESPACES], [/* define if the compiler implements namespaces */ -@%:@undef HAVE_NAMESPACES]) -m4trace:configure.in:67: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_stl.m4:8: AC_CXX_HAVE_STL is expanded from... -configure.in:67: the top level]) -m4trace:configure.in:67: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_stl.m4:8: AC_CXX_HAVE_STL is expanded from... -configure.in:67: the top level]) -m4trace:configure.in:67: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_stl.m4:8: AC_CXX_HAVE_STL is expanded from... -configure.in:67: the top level]) -m4trace:configure.in:67: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_stl.m4:8: AC_CXX_HAVE_STL is expanded from... -configure.in:67: the top level]) -m4trace:configure.in:67: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STL]) -m4trace:configure.in:67: -1- m4_pattern_allow([^HAVE_STL$]) -m4trace:configure.in:67: -1- AH_OUTPUT([HAVE_STL], [/* define if the compiler supports Standard Template Library */ -@%:@undef HAVE_STL]) -m4trace:configure.in:81: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/iii_check_stlport.m4:29: III_CHECK_STLPORT is expanded from... -configure.in:81: the top level]) -m4trace:configure.in:81: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/iii_check_stlport.m4:29: III_CHECK_STLPORT is expanded from... -configure.in:81: the top level]) -m4trace:configure.in:81: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gxx' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:674: ac_cv_prog_gxx is expanded from... -config/iii_check_stlport.m4:29: III_CHECK_STLPORT is expanded from... -configure.in:81: the top level]) -m4trace:configure.in:101: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2654: AC_TRY_LINK is expanded from... -config/acx_pthread.m4:40: ACX_PTHREAD is expanded from... -configure.in:101: the top level]) -m4trace:configure.in:101: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2654: AC_TRY_LINK is expanded from... -config/acx_pthread.m4:40: ACX_PTHREAD is expanded from... -configure.in:101: the top level]) -m4trace:configure.in:101: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2654: AC_TRY_LINK is expanded from... -config/acx_pthread.m4:40: ACX_PTHREAD is expanded from... -configure.in:101: the top level]) -m4trace:configure.in:101: -1- AC_DEFINE_TRACE_LITERAL([PTHREAD_CREATE_JOINABLE]) -m4trace:configure.in:101: -1- m4_pattern_allow([^PTHREAD_CREATE_JOINABLE$]) -m4trace:configure.in:101: -1- AH_OUTPUT([PTHREAD_CREATE_JOINABLE], [/* Define to the necessary symbol if this constant uses a non-standard name on - your system. */ -@%:@undef PTHREAD_CREATE_JOINABLE]) -m4trace:configure.in:101: -1- AC_SUBST([PTHREAD_CC]) -m4trace:configure.in:101: -1- AC_SUBST_TRACE([PTHREAD_CC]) -m4trace:configure.in:101: -1- m4_pattern_allow([^PTHREAD_CC$]) -m4trace:configure.in:101: -1- AC_SUBST([PTHREAD_LIBS]) -m4trace:configure.in:101: -1- AC_SUBST_TRACE([PTHREAD_LIBS]) -m4trace:configure.in:101: -1- m4_pattern_allow([^PTHREAD_LIBS$]) -m4trace:configure.in:101: -1- AC_SUBST([PTHREAD_CFLAGS]) -m4trace:configure.in:101: -1- AC_SUBST_TRACE([PTHREAD_CFLAGS]) -m4trace:configure.in:101: -1- m4_pattern_allow([^PTHREAD_CFLAGS$]) -m4trace:configure.in:101: -1- AC_SUBST([PTHREAD_CC]) -m4trace:configure.in:101: -1- AC_SUBST_TRACE([PTHREAD_CC]) -m4trace:configure.in:101: -1- m4_pattern_allow([^PTHREAD_CC$]) -m4trace:configure.in:101: -2- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD]) -m4trace:configure.in:101: -2- m4_pattern_allow([^HAVE_PTHREAD$]) -m4trace:configure.in:101: -2- AH_OUTPUT([HAVE_PTHREAD], [/* Define if you have POSIX threads libraries and header files. */ -@%:@undef HAVE_PTHREAD]) -m4trace:configure.in:110: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gxx' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:674: ac_cv_prog_gxx is expanded from... -config/iii_enable_stl_thread.m4:27: III_ENABLE_STL_THREAD is expanded from... -configure.in:110: the top level]) -m4trace:configure.in:110: -1- AC_DEFINE_TRACE_LITERAL([__STL_WIN32THREADS]) -m4trace:configure.in:110: -1- m4_pattern_allow([^__STL_WIN32THREADS$]) -m4trace:configure.in:110: -1- AH_OUTPUT([__STL_WIN32THREADS], [/* enable libstdc++ WIN32 thread support */ -@%:@undef __STL_WIN32THREADS]) -m4trace:configure.in:110: -1- AC_DEFINE_TRACE_LITERAL([__STL_PTHREADS]) -m4trace:configure.in:110: -1- m4_pattern_allow([^__STL_PTHREADS$]) -m4trace:configure.in:110: -1- AH_OUTPUT([__STL_PTHREADS], [/* enable libstdc++ pthread support */ -@%:@undef __STL_PTHREADS]) -m4trace:configure.in:110: -1- AC_DEFINE_TRACE_LITERAL([_REENTRANT]) -m4trace:configure.in:110: -1- m4_pattern_allow([^_REENTRANT$]) -m4trace:configure.in:110: -1- AH_OUTPUT([_REENTRANT], [/* enable STLport thread support */ -@%:@undef _REENTRANT]) -m4trace:configure.in:112: -1- AC_DEFINE_TRACE_LITERAL([BOOST_NO_MT]) -m4trace:configure.in:112: -1- m4_pattern_allow([^BOOST_NO_MT$]) -m4trace:configure.in:112: -1- AH_OUTPUT([BOOST_NO_MT], [/* disable multithreading for boost/pool */ -@%:@undef BOOST_NO_MT]) -m4trace:configure.in:133: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -configure.in:133: the top level]) -m4trace:configure.in:133: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -configure.in:133: the top level]) -m4trace:configure.in:133: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -configure.in:133: the top level]) -m4trace:configure.in:133: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -configure.in:133: the top level]) -m4trace:configure.in:153: -1- AC_DEFINE_TRACE_LITERAL([ASN1_ALLOCATOR]) -m4trace:configure.in:153: -1- m4_pattern_allow([^ASN1_ALLOCATOR$]) -m4trace:configure.in:153: -1- AH_OUTPUT([ASN1_ALLOCATOR], [/* enable custom memory manager */ -@%:@undef ASN1_ALLOCATOR]) -m4trace:configure.in:184: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gxx' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:674: ac_cv_prog_gxx is expanded from... -configure.in:184: the top level]) -m4trace:configure.in:186: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2731: AC_TRY_RUN is expanded from... -configure.in:186: the top level]) -m4trace:configure.in:186: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2715: AC_RUN_IFELSE is expanded from... -../../lib/autoconf/general.m4:2731: AC_TRY_RUN is expanded from... -configure.in:186: the top level]) -m4trace:configure.in:186: -1- AC_DEFINE_TRACE_LITERAL([__THROW_BAD_ALLOC]) -m4trace:configure.in:186: -1- m4_pattern_allow([^__THROW_BAD_ALLOC$]) -m4trace:configure.in:186: -1- AH_OUTPUT([__THROW_BAD_ALLOC], [/* throw std::bad_alloc when memory is exhausted */ -@%:@undef __THROW_BAD_ALLOC]) -m4trace:configure.in:205: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_new_iostream.m4:8: AC_CXX_HAVE_NEW_IOSTREAM is expanded from... -configure.in:205: the top level]) -m4trace:configure.in:205: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_new_iostream.m4:8: AC_CXX_HAVE_NEW_IOSTREAM is expanded from... -configure.in:205: the top level]) -m4trace:configure.in:205: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_new_iostream.m4:8: AC_CXX_HAVE_NEW_IOSTREAM is expanded from... -configure.in:205: the top level]) -m4trace:configure.in:205: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_new_iostream.m4:8: AC_CXX_HAVE_NEW_IOSTREAM is expanded from... -configure.in:205: the top level]) -m4trace:configure.in:205: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEW_IOSTREAM]) -m4trace:configure.in:205: -1- m4_pattern_allow([^HAVE_NEW_IOSTREAM$]) -m4trace:configure.in:205: -1- AH_OUTPUT([HAVE_NEW_IOSTREAM], [/* define if the compiler has ASNI compliant iostream */ -@%:@undef HAVE_NEW_IOSTREAM]) -m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_wstring.m4:9: AC_CXX_HAVE_WSTRING is expanded from... -configure.in:215: the top level]) -m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_wstring.m4:9: AC_CXX_HAVE_WSTRING is expanded from... -configure.in:215: the top level]) -m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_wstring.m4:9: AC_CXX_HAVE_WSTRING is expanded from... -configure.in:215: the top level]) -m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_wstring.m4:9: AC_CXX_HAVE_WSTRING is expanded from... -configure.in:215: the top level]) -m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_wstring.m4:9: AC_CXX_HAVE_WSTRING is expanded from... -configure.in:215: the top level]) -m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete. -You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from... -../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... -../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... -../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... -config/ac_cxx_have_wstring.m4:9: AC_CXX_HAVE_WSTRING is expanded from... -configure.in:215: the top level]) -m4trace:configure.in:215: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WSTRING]) -m4trace:configure.in:215: -1- m4_pattern_allow([^HAVE_WSTRING$]) -m4trace:configure.in:215: -1- AH_OUTPUT([HAVE_WSTRING], [/* define if the compiler has wstring */ -@%:@undef HAVE_WSTRING]) -m4trace:configure.in:215: -1- AC_DEFINE_TRACE_LITERAL([_GLIBCPP_USE_WCHAR_T]) -m4trace:configure.in:215: -1- m4_pattern_allow([^_GLIBCPP_USE_WCHAR_T$]) -m4trace:configure.in:215: -1- AH_OUTPUT([_GLIBCPP_USE_WCHAR_T], [/* define if the GLIB need the flag to turn on wstring support */ -@%:@undef _GLIBCPP_USE_WCHAR_T]) -m4trace:configure.in:215: -1- AC_DEFINE_TRACE_LITERAL([NEED_WSTRING_TYPEDEF]) -m4trace:configure.in:215: -1- m4_pattern_allow([^NEED_WSTRING_TYPEDEF$]) -m4trace:configure.in:215: -1- AH_OUTPUT([NEED_WSTRING_TYPEDEF], [/* define if explicit wstring typedef is needed */ -@%:@undef NEED_WSTRING_TYPEDEF]) -m4trace:configure.in:236: -1- AC_DEFINE_TRACE_LITERAL([ASN1_HAS_IOSTREAM]) -m4trace:configure.in:236: -1- m4_pattern_allow([^ASN1_HAS_IOSTREAM$]) -m4trace:configure.in:236: -1- AH_OUTPUT([ASN1_HAS_IOSTREAM], [/* enable AVN support */ -@%:@undef ASN1_HAS_IOSTREAM]) -m4trace:configure.in:253: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gxx' is obsolete. -You should run autoupdate.], [../../lib/autoconf/c.m4:674: ac_cv_prog_gxx is expanded from... -configure.in:253: the top level]) -m4trace:configure.in:257: -1- AC_SUBST([LIBSTL]) -m4trace:configure.in:257: -1- AC_SUBST_TRACE([LIBSTL]) -m4trace:configure.in:257: -1- m4_pattern_allow([^LIBSTL$]) -m4trace:configure.in:258: -1- AC_SUBST([PIPEFLAG]) -m4trace:configure.in:258: -1- AC_SUBST_TRACE([PIPEFLAG]) -m4trace:configure.in:258: -1- m4_pattern_allow([^PIPEFLAG$]) -m4trace:configure.in:259: -1- AC_SUBST([asnh323dir]) -m4trace:configure.in:259: -1- AC_SUBST_TRACE([asnh323dir]) -m4trace:configure.in:259: -1- m4_pattern_allow([^asnh323dir$]) -m4trace:configure.in:263: -1- AC_SUBST([ASNPARSER]) -m4trace:configure.in:263: -1- AC_SUBST_TRACE([ASNPARSER]) -m4trace:configure.in:263: -1- m4_pattern_allow([^ASNPARSER$]) -m4trace:configure.in:281: -1- AC_SUBST([DEBUGFLAG]) -m4trace:configure.in:281: -1- AC_SUBST_TRACE([DEBUGFLAG]) -m4trace:configure.in:281: -1- m4_pattern_allow([^DEBUGFLAG$]) -m4trace:configure.in:287: -1- AC_CONFIG_FILES([Makefile asnparser/Makefile asn1/Makefile asn1/testsuite/Makefile asnh323/Makefile asnh323/testsuite/Makefile]) -m4trace:configure.in:287: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. -You should run autoupdate.], []) -m4trace:configure.in:287: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) -m4trace:configure.in:287: -1- m4_pattern_allow([^LIB@&t@OBJS$]) -m4trace:configure.in:287: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([LTLIBOBJS]) -m4trace:configure.in:287: -1- m4_pattern_allow([^LTLIBOBJS$]) -m4trace:configure.in:287: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) -m4trace:configure.in:287: -1- AC_SUBST([am__EXEEXT_TRUE]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE]) -m4trace:configure.in:287: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) -m4trace:configure.in:287: -1- AC_SUBST([am__EXEEXT_FALSE]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE]) -m4trace:configure.in:287: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) -m4trace:configure.in:287: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) -m4trace:configure.in:287: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([top_builddir]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([top_build_prefix]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([srcdir]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([abs_srcdir]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([top_srcdir]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([abs_top_srcdir]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([builddir]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([abs_builddir]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([abs_top_builddir]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([INSTALL]) -m4trace:configure.in:287: -1- AC_SUBST_TRACE([MKDIR_P]) diff --git a/boost b/boost new file mode 160000 index 0000000..f72119a --- /dev/null +++ b/boost @@ -0,0 +1 @@ +Subproject commit f72119ab640b564c4b983bd457457046b52af9ee diff --git a/config.h.in b/config.h.in index 2ecae54..29d2f47 100644 --- a/config.h.in +++ b/config.h.in @@ -1,4 +1,4 @@ -/* config.h.in. Generated from configure.in by autoheader. */ +/* config.h.in. Generated from configure.ac by autoheader. */ /* enable custom memory manager */ #undef ASN1_ALLOCATOR diff --git a/config.h.in~ b/config.h.in~ deleted file mode 100644 index 5f779f2..0000000 --- a/config.h.in~ +++ /dev/null @@ -1,98 +0,0 @@ -/* config.h.in. Generated from configure.in by autoheader. */ - -/* enable custom memory manager */ -#undef ASN1_ALLOCATOR - -/* enable AVN support */ -#undef ASN1_HAS_IOSTREAM - -/* disable multithreading for boost/pool */ -#undef BOOST_NO_MT - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* define if the compiler implements namespaces */ -#undef HAVE_NAMESPACES - -/* define if the compiler has ASNI compliant iostream */ -#undef HAVE_NEW_IOSTREAM - -/* Define if you have POSIX threads libraries and header files. */ -#undef HAVE_PTHREAD - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H - -/* define if the compiler supports Standard Template Library */ -#undef HAVE_STL - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* define if the compiler has wstring */ -#undef HAVE_WSTRING - -/* define if explicit wstring typedef is needed */ -#undef NEED_WSTRING_TYPEDEF - -/* Name of package */ -#undef PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Define to the necessary symbol if this constant uses a non-standard name on - your system. */ -#undef PTHREAD_CREATE_JOINABLE - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Version number of package */ -#undef VERSION - -/* define if the GLIB need the flag to turn on wstring support */ -#undef _GLIBCPP_USE_WCHAR_T - -/* enable STLport thread support */ -#undef _REENTRANT - -/* enable libstdc++ pthread support */ -#undef __STL_PTHREADS - -/* enable libstdc++ WIN32 thread support */ -#undef __STL_WIN32THREADS - -/* throw std::bad_alloc when memory is exhausted */ -#undef __THROW_BAD_ALLOC diff --git a/config.log b/config.log deleted file mode 100644 index 8702b4e..0000000 --- a/config.log +++ /dev/null @@ -1,200 +0,0 @@ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by configure, which was -generated by GNU Autoconf 2.61. Invocation command line was - - $ ./configure - -## --------- ## -## Platform. ## -## --------- ## - -hostname = ilmari-laptop -uname -m = i686 -uname -r = 2.6.32-33-generic -uname -s = Linux -uname -v = #72-Ubuntu SMP Fri Jul 29 21:08:37 UTC 2011 - -/usr/bin/uname -p = unknown -/bin/uname -X = unknown - -/bin/arch = unknown -/usr/bin/arch -k = unknown -/usr/convex/getsysinfo = unknown -/usr/bin/hostinfo = unknown -/bin/machine = unknown -/usr/bin/oslevel = unknown -/bin/universe = unknown - -PATH: /usr/local/sbin -PATH: /usr/local/bin -PATH: /usr/sbin -PATH: /usr/bin -PATH: /sbin -PATH: /bin -PATH: /usr/games - - -## ----------- ## -## Core tests. ## -## ----------- ## - -configure:1813: checking build system type - -## ---------------- ## -## Cache variables. ## -## ---------------- ## - -ac_cv_env_CCC_set= -ac_cv_env_CCC_value= -ac_cv_env_CC_set= -ac_cv_env_CC_value= -ac_cv_env_CFLAGS_set= -ac_cv_env_CFLAGS_value= -ac_cv_env_CPPFLAGS_set= -ac_cv_env_CPPFLAGS_value= -ac_cv_env_CPP_set= -ac_cv_env_CPP_value= -ac_cv_env_CXXCPP_set= -ac_cv_env_CXXCPP_value= -ac_cv_env_CXXFLAGS_set= -ac_cv_env_CXXFLAGS_value= -ac_cv_env_CXX_set= -ac_cv_env_CXX_value= -ac_cv_env_LDFLAGS_set= -ac_cv_env_LDFLAGS_value= -ac_cv_env_LIBS_set= -ac_cv_env_LIBS_value= -ac_cv_env_build_alias_set= -ac_cv_env_build_alias_value= -ac_cv_env_host_alias_set= -ac_cv_env_host_alias_value= -ac_cv_env_target_alias_set= -ac_cv_env_target_alias_value= - -## ----------------- ## -## Output variables. ## -## ----------------- ## - -ACLOCAL='' -AMDEPBACKSLASH='' -AMDEP_FALSE='' -AMDEP_TRUE='' -AMTAR='' -ASNPARSER='' -AUTOCONF='' -AUTOHEADER='' -AUTOMAKE='' -AWK='' -CC='' -CCDEPMODE='' -CFLAGS='' -CPP='' -CPPFLAGS='' -CXX='' -CXXCPP='' -CXXDEPMODE='' -CXXFLAGS='' -CYGPATH_W='' -DEBUGFLAG='' -DEFS='' -DEPDIR='' -ECHO_C='' -ECHO_N='-n' -ECHO_T='' -EGREP='' -EXEEXT='' -GREP='' -INSTALL_DATA='' -INSTALL_PROGRAM='' -INSTALL_SCRIPT='' -INSTALL_STRIP_PROGRAM='' -LDFLAGS='' -LIBOBJS='' -LIBS='' -LIBSTL='' -LTLIBOBJS='' -MAKEINFO='' -OBJEXT='' -PACKAGE='' -PACKAGE_BUGREPORT='' -PACKAGE_NAME='' -PACKAGE_STRING='' -PACKAGE_TARNAME='' -PACKAGE_VERSION='' -PATH_SEPARATOR=':' -PIPEFLAG='' -PTHREAD_CC='' -PTHREAD_CFLAGS='' -PTHREAD_LIBS='' -RANLIB='' -SET_MAKE='' -SHELL='/bin/bash' -STRIP='' -VERSION='' -ac_ct_CC='' -ac_ct_CXX='' -am__fastdepCC_FALSE='' -am__fastdepCC_TRUE='' -am__fastdepCXX_FALSE='' -am__fastdepCXX_TRUE='' -am__include='' -am__isrc='' -am__leading_dot='' -am__quote='' -am__tar='' -am__untar='' -asnh323dir='' -bindir='${exec_prefix}/bin' -build='' -build_alias='' -build_cpu='' -build_os='' -build_vendor='' -datadir='${datarootdir}' -datarootdir='${prefix}/share' -docdir='${datarootdir}/doc/${PACKAGE}' -dvidir='${docdir}' -exec_prefix='NONE' -host='' -host_alias='' -host_cpu='' -host_os='' -host_vendor='' -htmldir='${docdir}' -includedir='${prefix}/include' -infodir='${datarootdir}/info' -install_sh='' -libdir='${exec_prefix}/lib' -libexecdir='${exec_prefix}/libexec' -localedir='${datarootdir}/locale' -localstatedir='${prefix}/var' -mandir='${datarootdir}/man' -mkdir_p='' -oldincludedir='/usr/include' -pdfdir='${docdir}' -prefix='NONE' -program_transform_name='s,x,x,' -psdir='${docdir}' -sbindir='${exec_prefix}/sbin' -sharedstatedir='${prefix}/com' -sysconfdir='${prefix}/etc' -target='' -target_alias='' -target_cpu='' -target_os='' -target_vendor='' - -## ----------- ## -## confdefs.h. ## -## ----------- ## - -#define PACKAGE_NAME "" -#define PACKAGE_TARNAME "" -#define PACKAGE_VERSION "" -#define PACKAGE_STRING "" -#define PACKAGE_BUGREPORT "" - -configure: caught signal 2 -configure: exit 1 diff --git a/config/CVS/Entries b/config/CVS/Entries deleted file mode 100644 index 7df19f5..0000000 --- a/config/CVS/Entries +++ /dev/null @@ -1,17 +0,0 @@ -/ac_cxx_have_new_iostream.m4/1.1.1.1/Wed Aug 1 07:38:42 2001// -/ac_cxx_have_stl.m4/1.2/Tue Apr 19 17:47:34 2011// -/ac_cxx_have_wstring.m4/1.4/Thu Jul 4 03:47:22 2002// -/ac_cxx_namespaces.m4/1.1.1.1/Wed Aug 1 07:38:42 2001// -/acx_pthread.m4/1.1.1.1/Wed Aug 1 07:38:48 2001// -/config.guess/1.1.1.1/Wed Aug 1 07:38:44 2001// -/config.sub/1.1.1.1/Wed Aug 1 07:38:46 2001// -/depcomp/1.2/Tue Jul 2 05:21:56 2002// -/iii_check_cxx_include_path.m4/1.2/Tue Apr 19 17:47:34 2011// -/iii_check_stlport.m4/1.2/Tue Apr 19 17:47:34 2011// -/iii_cross_tools.m4/1.2/Tue Apr 19 17:47:34 2011// -/iii_enable_stl_thread.m4/1.2/Tue Apr 19 17:47:34 2011// -/install-sh/1.1.1.1/Wed Aug 1 07:38:47 2001// -/mh-powerpc-mt/1.2/Tue Jul 2 05:21:56 2002// -/missing/1.2/Sat Oct 6 00:41:22 2001// -/mkinstalldirs/1.1.1.1/Wed Aug 1 07:38:48 2001// -D diff --git a/config/CVS/Repository b/config/CVS/Repository deleted file mode 100644 index 6d751cd..0000000 --- a/config/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -iiiasn1/config diff --git a/config/CVS/Root b/config/CVS/Root deleted file mode 100644 index 5edb607..0000000 --- a/config/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@iiiasn1.cvs.sourceforge.net:/cvsroot/iiiasn1 diff --git a/config/config.guess b/config/config.guess index 4e5345f..04ce648 100755 --- a/config/config.guess +++ b/config/config.guess @@ -1,10 +1,12 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc. -# +# Copyright 1992-2014 Free Software Foundation, Inc. + +timestamp='2014-11-04' + # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -13,162 +15,370 @@ # 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. +# along with this program; if not, see . # # 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. - -# Written by Per Bothner . -# The master version of this file is at the FSF in /home/gd/gnu/lib. -# -# 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 same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). # -# The plan is that this can be called by configure scripts if you -# don't specify an explicit system type (host/target name). +# Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # -# Only a few systems have been added to this list; please add others -# (but try to keep the structure clean). +# 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 # +# Please send patches to . + + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright 1992-2014 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 8/24/94.) +# (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown -dummy=dummy-$$ -trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15 +case "${UNAME_SYSTEM}" in +Linux|GNU|GNU/*) + # If the system lacks a compiler, then just pick glibc. + # We could probably try harder. + LIBC=gnu + + eval $set_cc_for_build + cat <<-EOF > $dummy.c + #include + #if defined(__UCLIBC__) + LIBC=uclibc + #elif defined(__dietlibc__) + LIBC=dietlibc + #else + LIBC=gnu + #endif + EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` + ;; +esac # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ELF__ + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit ;; + *:Bitrig:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; alpha:OSF1:*:*) - if test $UNAME_RELEASE = "V4.0"; then + case $UNAME_RELEASE in + *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - fi + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - cat <$dummy.s - .globl main - .ent main -main: - .frame \$30,0,\$26,0 - .prologue 0 - .long 0x47e03d80 # implver $0 - lda \$2,259 - .long 0x47e20c21 # amask $2,$1 - srl \$1,8,\$2 - sll \$2,2,\$2 - sll \$0,3,\$0 - addl \$1,\$0,\$0 - addl \$2,\$0,\$0 - ret \$31,(\$26),1 - .end main -EOF - ${CC-cc} $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - ./$dummy - case "$?" in - 7) - UNAME_MACHINE="alpha" - ;; - 15) - UNAME_MACHINE="alphaev5" - ;; - 14) - UNAME_MACHINE="alphaev56" - ;; - 10) - UNAME_MACHINE="alphapca56" - ;; - 16) - UNAME_MACHINE="alphaev6" - ;; - esac - fi - rm -f $dummy.s $dummy - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]` - exit 0 ;; + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 - exit 0 ;; + exit ;; Amiga*:UNIX_System_V:4.0:*) - echo m68k-cbm-sysv4 - exit 0;; - amiga:NetBSD:*:*) - echo m68k-cbm-netbsd${UNAME_RELEASE} - exit 0 ;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; + echo m68k-unknown-sysv4 + exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos - exit 0 ;; - arc64:OpenBSD:*:*) - echo mips64el-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hkmips:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} - exit 0;; - arm32:NetBSD:*:*) - echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - exit 0 ;; - SR2?01:HI-UX/MPP:*:*) + exit ;; + arm*:riscos:*:*|arm*:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp - exit 0;; - Pyramid*:OSx*:*:*|MIS*:OSx*:*:*|MIS*:SMP_DC-OSx*:*:*) + exit ;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi - exit 0 ;; - NILE:*:*:dcosx) + exit ;; + NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 - exit 0 ;; + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - i86pc:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + 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" + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH="x86_64" + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) @@ -177,12 +387,12 @@ EOF esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit 0 ;; + exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} - exit 0 ;; + exit ;; sun*:*:4.2BSD:*) - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) @@ -192,55 +402,63 @@ EOF echo sparc-sun-sunos${UNAME_RELEASE} ;; esac - exit 0 ;; + exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} - exit 0 ;; - atari*:NetBSD:*:*) - echo m68k-atari-netbsd${UNAME_RELEASE} - exit 0 ;; - atari*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sun3*:NetBSD:*:*) - echo m68k-sun-netbsd${UNAME_RELEASE} - exit 0 ;; - sun3*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:NetBSD:*:*) - echo m68k-apple-netbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; + exit ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} - exit 0 ;; - macppc:NetBSD:*:*) - echo powerpc-apple-netbsd${UNAME_RELEASE} - exit 0 ;; + exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 - exit 0 ;; + exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} - exit 0 ;; + exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - 2020:CLIX:*:*) + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} - exit 0 ;; + exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c - int main (argc, argv) int argc; char **argv; { +#ifdef __cplusplus +#include /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); @@ -255,61 +473,82 @@ EOF exit (-1); } EOF - ${CC-cc} $dummy.c -o $dummy \ - && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD -o $dummy $dummy.c && + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`$dummy $dummyarg` && + { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} - exit 0 ;; + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix - exit 0 ;; + exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 - exit 0 ;; + exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 - exit 0 ;; + exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 - exit 0 ;; + exit ;; AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88110 ] ; then - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \ - -o ${TARGET_BINARY_INTERFACE}x = x ] ; then + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then echo m88k-dg-dgux${UNAME_RELEASE} - else + else echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} fi - else echo i586-dg-dgux${UNAME_RELEASE} - fi - exit 0 ;; + exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 - exit 0 ;; + exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 - exit 0 ;; + exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 - exit 0 ;; + exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd - exit 0 ;; + exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit 0 ;; + exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i?86:AIX:*:*) + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) echo i386-ibm-aix - exit 0 ;; + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include @@ -321,93 +560,142 @@ EOF exit(0); } EOF - ${CC-cc} $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - echo rs6000-ibm-aix3.2.5 + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi - exit 0 ;; - *:AIX:*:4) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` - if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then + exit ;; + *:AIX:*:[4567]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` + if [ -x /usr/bin/lslpp ] ; then + IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | + awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` else - IBM_REV=4.${UNAME_RELEASE} + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit 0 ;; + exit ;; *:AIX:*:*) echo rs6000-ibm-aix - exit 0 ;; + exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 - exit 0 ;; - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC NetBSD and + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit 0 ;; # report: romp-ibm BSD 4.3 + exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx - exit 0 ;; + exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 - exit 0 ;; + exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd - exit 0 ;; + exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 - exit 0 ;; + exit ;; 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; - 9000/6?? | 9000/7?? | 9000/80[24] | 9000/8?[13679] | 9000/892 ) - sed 's/^ //' << EOF >$dummy.c - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } EOF - (${CC-cc} $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` - rm -f $dummy.c $dummy + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; esac - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + if [ ${HP_ARCH} = "hppa2.0w" ] + then + eval $set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + grep -q __LP64__ + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit 0 ;; + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit ;; 3050*:HI-UX:*:*) + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int @@ -433,347 +721,459 @@ EOF exit (0); } EOF - ${CC-cc} $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 - exit 0 ;; + exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd - exit 0 ;; + exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd - exit 0 ;; + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf - exit 0 ;; + exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf - exit 0 ;; - i?86:OSF1:*:*) + exit ;; + i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi - exit 0 ;; + exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites - exit 0 ;; + exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd - exit 0 ;; + exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi - exit 0 ;; + exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd - exit 0 ;; + exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd - exit 0 ;; + exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd - exit 0 ;; - CRAY*X-MP:*:*:*) - echo xmp-cray-unicos - exit 0 ;; + exit ;; CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} - exit 0 ;; + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ - exit 0 ;; + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; CRAY*TS:*:*:*) - echo t90-cray-unicos${UNAME_RELEASE} - exit 0 ;; + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; CRAY*T3E:*:*:*) - echo t3e-cray-unicosmk${UNAME_RELEASE} - exit 0 ;; - CRAY-2:*:*:*) - echo cray2-cray-unicos - exit 0 ;; - F300:UNIX_System_V:*:*) - FUJITSU_SYS=`uname -p | tr [A-Z] [a-z] | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit 0 ;; - F301:UNIX_System_V:*:*) - echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'` - exit 0 ;; - hp3[0-9][05]:NetBSD:*:*) - echo m68k-hp-netbsd${UNAME_RELEASE} - exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; - i?86:BSD/386:*:* | i?86:BSD/OS:*:*) - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit 0 ;; + exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; + exit ;; *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit 0 ;; - *:NetBSD:*:*) - echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - exit 0 ;; - *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - exit 0 ;; + UNAME_PROCESSOR=`/usr/bin/uname -p` + case ${UNAME_PROCESSOR} in + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac + exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin - exit 0 ;; - i*:MINGW*:*) + exit ;; + *:MINGW64*:*) + echo ${UNAME_MACHINE}-pc-mingw64 + exit ;; + *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 - exit 0 ;; + exit ;; + *:MSYS*:*) + echo ${UNAME_MACHINE}-pc-msys + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit ;; + *:Interix*:*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + authenticamd | genuineintel | EM64T) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + IA64) + echo ia64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; + [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 + # UNAME_MACHINE based on the output of uname instead of i386? + echo i586-pc-interix + exit ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin - exit 0 ;; + exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + exit ;; *:GNU:*:*) - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit 0 ;; - *:Linux:*:*) - # uname on the ARM produces all sorts of strangeness, and we need to - # filter it out. - case "$UNAME_MACHINE" in - arm* | sa110*) UNAME_MACHINE="arm" ;; - esac - - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. - ld_help_string=`ld --help 2>&1` - ld_supported_emulations=`echo $ld_help_string \ - | sed -ne '/supported emulations:/!d - s/[ ][ ]*/ /g - s/.*supported emulations: *// - s/ .*// - p'` - case "$ld_supported_emulations" in - i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;; - i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;; - sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; - armlinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; - m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; - elf32ppc) echo "powerpc-unknown-linux-gnu" ; exit 0 ;; + # the GNU system + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} + exit ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; + aarch64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + aarch64_be:Linux:*:*) + UNAME_MACHINE=aarch64_be + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + 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 - - if test "${UNAME_MACHINE}" = "alpha" ; then - sed 's/^ //' <$dummy.s - .globl main - .ent main - main: - .frame \$30,0,\$26,0 - .prologue 0 - .long 0x47e03d80 # implver $0 - lda \$2,259 - .long 0x47e20c21 # amask $2,$1 - srl \$1,8,\$2 - sll \$2,2,\$2 - sll \$0,3,\$0 - addl \$1,\$0,\$0 - addl \$2,\$0,\$0 - ret \$31,(\$26),1 - .end main -EOF - LIBC="" - ${CC-cc} $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - ./$dummy - case "$?" in - 7) - UNAME_MACHINE="alpha" - ;; - 15) - UNAME_MACHINE="alphaev5" - ;; - 14) - UNAME_MACHINE="alphaev56" - ;; - 10) - UNAME_MACHINE="alphapca56" - ;; - 16) - UNAME_MACHINE="alphaev6" - ;; - esac - - objdump --private-headers $dummy | \ - grep ld.so.1 > /dev/null - if test "$?" = 0 ; then - LIBC="libc1" - fi - fi - rm -f $dummy.s $dummy - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0 - elif test "${UNAME_MACHINE}" = "mips" ; then - cat >$dummy.c </dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC="gnulibc1" ; fi + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + arc:Linux:*:* | arceb:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + arm*:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} else - # Either a pre-BFD a.out linker (linux-gnuoldld) - # or one that does not give us useful --help. - # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout. - # If ld does not provide *any* "supported emulations:" - # that means it is gnuoldld. - echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:" - test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0 - - case "${UNAME_MACHINE}" in - i?86) - VENDOR=pc; - ;; - *) - VENDOR=unknown; - ;; - esac - # Determine whether the default compiler is a.out or elf - cat >$dummy.c < -main(argc, argv) - int argc; - char *argv[]; -{ -#ifdef __ELF__ -# ifdef __GLIBC__ -# if __GLIBC__ >= 2 - printf ("%s-${VENDOR}-linux-gnu\n", argv[1]); -# else - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); -# endif -# else - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); -# endif -#else - printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]); -#endif - return 0; -} + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi + else + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf + fi + fi + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + cris:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-${LIBC} + exit ;; + crisv32:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-${LIBC} + exit ;; + frv:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + hexagon:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + i*86:Linux:*:*) + echo ${UNAME_MACHINE}-pc-linux-${LIBC} + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + mips:Linux:*:* | mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=${UNAME_MACHINE}el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=${UNAME_MACHINE} + #else + CPU= + #endif + #endif EOF - ${CC-cc} $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - fi ;; -# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions -# are messed up and put the nodename in both sysname and nodename. - i?86:DYNIX/ptx:4*:*) + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } + ;; + openrisc*:Linux:*:*) + echo or1k-unknown-linux-${LIBC} + exit ;; + or32:Linux:*:* | or1k*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-${LIBC} + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-${LIBC} + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; + PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; + *) echo hppa-unknown-linux-${LIBC} ;; + esac + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-${LIBC} + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-${LIBC} + exit ;; + ppc64le:Linux:*:*) + echo powerpc64le-unknown-linux-${LIBC} + exit ;; + ppcle:Linux:*:*) + echo powerpcle-unknown-linux-${LIBC} + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux-${LIBC} + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + tile*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-${LIBC} + exit ;; + x86_64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + 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 + # sysname and nodename. echo i386-sequent-sysv4 - exit 0 ;; - i?86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, + exit ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. + # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit 0 ;; - i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*) + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE} + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE} + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi - exit 0 ;; - i?86:*:3.2:*) + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit ;; + i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi - exit 0 ;; - i?86:UnixWare:*:*) - if /bin/uname -X 2>/dev/null >/dev/null ; then - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ - && UNAME_MACHINE=i586 - fi - echo ${UNAME_MACHINE}-unixware-${UNAME_RELEASE}-${UNAME_VERSION} - exit 0 ;; + exit ;; pc:*:*:*) - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i386. - echo i386-pc-msdosdjgpp - exit 0 ;; + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configury will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 - exit 0 ;; + exit ;; paragon:*:*:*) echo i860-intel-osf1 - exit 0 ;; + exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi - exit 0 ;; + exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv - exit 0 ;; - M68*:*:R3V[567]*:*) - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4.3${OS_REL} && exit 0 + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4 && exit 0 ;; - m68*:LynxOS:2.*:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 - exit 0 ;; - i?86:LynxOS:2.*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*) + exit ;; + rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} - exit 0 ;; + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 - exit 0 ;; + exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` @@ -781,193 +1181,242 @@ EOF else echo ns32k-sni-sysv fi - exit 0 ;; - PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit 0 ;; + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 - exit 0 ;; + exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 - exit 0 ;; + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} - exit 0 ;; - news*:NEWS-OS:*:6*) + exit ;; + news*:NEWS-OS:6*:*) echo mips-sony-newsos6 - exit 0 ;; - R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R4000:UNIX_SV:*:*) + exit ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} + echo mips-nec-sysv${UNAME_RELEASE} else - echo mips-unknown-sysv${UNAME_RELEASE} + echo mips-unknown-sysv${UNAME_RELEASE} fi - exit 0 ;; + exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos - exit 0 ;; + exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos - exit 0 ;; + exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos - exit 0 ;; + exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; + x86_64:Haiku:*:*) + echo x86_64-unknown-haiku + exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} - exit 0 ;; + exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} - exit 0 ;; + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; + exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + eval $set_cc_for_build + if test "$UNAME_PROCESSOR" = unknown ; then + UNAME_PROCESSOR=powerpc + fi + if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in + i386) UNAME_PROCESSOR=x86_64 ;; + powerpc) UNAME_PROCESSOR=powerpc64 ;; + esac + fi + fi + elif test "$UNAME_PROCESSOR" = i386 ; then + # Avoid executing cc on OS X 10.9, as it ships with a stub + # that puts up a graphical alert prompting to install + # developer tools. Any system running Mac OS X 10.7 or + # later (Darwin 11 and later) is required to have a 64-bit + # processor. This is not true of the ARM version of Darwin + # that Apple uses in portable devices. + UNAME_PROCESSOR=x86_64 + fi + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NEO-?:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk${UNAME_RELEASE} + exit ;; + NSE-*:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; + x86_64:VMkernel:*:*) + echo ${UNAME_MACHINE}-unknown-esx + exit ;; esac -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 +cat >&2 <$dummy.c < -# include -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif +This script, last modified $timestamp, has failed to recognize +the operating system you are using. It is advised that you +download the most up to date version of the config scripts from -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix"); exit (0); -#endif + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD +and + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif +If the version you run ($0) is already up to date, please +send the following data and any information you think might be +pertinent to in order to provide the needed +information to handle your system. -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; - if (version < 4) - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); - else - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-pc-bsd\n"); exit (0); -#endif +config.guess timestamp = $timestamp -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); +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` - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -#if !defined (ultrix) - printf ("vax-dec-bsd\n"); exit (0); -#else - printf ("vax-dec-ultrix\n"); exit (0); -#endif -#endif +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` - exit (1); -} +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} EOF -${CC-cc} $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0 -rm -f $dummy.c $dummy - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } - -# Convex versions that predate uname can use getsysinfo(1) - -if [ -x /usr/convex/getsysinfo ] -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit 0 ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - c34*) - echo c34-convex-bsd - exit 0 ;; - c38*) - echo c38-convex-bsd - exit 0 ;; - c4*) - echo c4-convex-bsd - exit 0 ;; - esac -fi +exit 1 -#echo '(Unable to guess system type)' 1>&2 +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: -exit 1 diff --git a/config/config.sub b/config/config.sub index c892237..e93b6be 100755 --- a/config/config.sub +++ b/config/config.sub @@ -1,35 +1,40 @@ #! /bin/sh -# Configuration validation subroutine script, version 1.1. -# Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc. -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# Configuration validation subroutine script. +# Copyright 1992-2014 Free Software Foundation, Inc. + +timestamp='2014-09-26' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or # (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. +# 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. - +# along with this program; if not, see . +# # 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. +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). + +# Please send patches to . +# # 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. @@ -45,33 +50,83 @@ # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. -if [ x$1 = x ] -then - echo Configuration name missing. 1>&2 - echo "Usage: $0 CPU-MFR-OPSYS" 1>&2 - echo "or $0 ALIAS" 1>&2 - echo where ALIAS is a recognized configuration type. 1>&2 - exit 1 -fi +me=`echo "$0" | sed -e 's,.*/,,'` -# First pass through any local machine types. -case $1 in - *local*) - echo $1 - exit 0 - ;; - *) - ;; +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.sub ($timestamp) + +Copyright 1992-2014 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - linux-gnu*) + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; + android-linux) + os=-linux-android + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown + ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] @@ -94,15 +149,40 @@ case $os in -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple) + -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; + -bluegene*) + os=-cnk + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; -hiux*) os=-hiuxwe2 ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -sco5) - os=sco3.2v5 + os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) @@ -117,10 +197,17 @@ case $os in # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -131,6 +218,12 @@ case $os in -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; + -lynx*178) + os=-lynxos178 + ;; + -lynx*5) + os=-lynxos5 + ;; -lynx*) os=-lynxos ;; @@ -143,26 +236,129 @@ case $os in -psos*) os=-psos ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. - tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \ - | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \ - | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 | hppa2.0 \ - | alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \ - | i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \ - | mips64 | mipsel | mips64el | mips64orion | mips64orionel \ - | mipstx39 | mipstx39el \ - | sparc | sparclet | sparclite | sparc64 | v850) + 1750a | 580 \ + | a29k \ + | aarch64 | aarch64_be \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arceb \ + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ + | avr | avr32 \ + | be32 | be64 \ + | bfin \ + | c4x | c8051 | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | epiphany \ + | fido | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | hexagon \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | k1om \ + | le32 | le64 \ + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa32r6 | mipsisa32r6el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64r6 | mipsisa64r6el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipsr5900 | mipsr5900el \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nds32 | nds32le | nds32be \ + | nios | nios2 | nios2eb | nios2el \ + | ns16k | ns32k \ + | open8 | or1k | or1knd | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle \ + | pyramid \ + | riscv32 | riscv64 \ + | rl78 | 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 \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu \ + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ + | ubicom32 \ + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ + | we32k \ + | x86 | xc16x | xstormy16 | xtensa \ + | z8k | z80) basic_machine=$basic_machine-unknown ;; + c54x) + basic_machine=tic54x-unknown + ;; + c55x) + basic_machine=tic55x-unknown + ;; + c6x) + basic_machine=tic6x-unknown + ;; + leon|leon[3-9]) + basic_machine=sparc-$basic_machine + ;; + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + ms1) + basic_machine=mt-unknown + ;; + + strongarm | thumb | xscale) + basic_machine=arm-unknown + ;; + xgate) + basic_machine=$basic_machine-unknown + os=-none + ;; + xscaleeb) + basic_machine=armeb-unknown + ;; + + xscaleel) + basic_machine=armel-unknown + ;; + # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. - i[34567]86) + i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. @@ -171,27 +367,112 @@ case $basic_machine in exit 1 ;; # Recognize the basic CPU types with company name. - vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \ - | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ - | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ - | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \ - | xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* \ - | alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \ - | ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \ - | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ - | sparc64-* | mips64-* | mipsel-* \ - | mips64el-* | mips64orion-* | mips64orionel-* \ - | mipstx39-* | mipstx39el-* \ - | f301-*) + 580-* \ + | a29k-* \ + | aarch64-* | aarch64_be-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* | avr32-* \ + | be32-* | be64-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* \ + | c8051-* | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | hexagon-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | k1om-* \ + | le32-* | le64-* \ + | lm32-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ + | microblaze-* | microblazeel-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64octeon-* | mips64octeonel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa32r6-* | mipsisa32r6el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64r6-* | mipsisa64r6el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipsr5900-* | mipsr5900el-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ + | msp430-* \ + | nds32-* | nds32le-* | nds32be-* \ + | nios-* | nios2-* | nios2eb-* | nios2el-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | open8-* \ + | or1k*-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ + | pyramid-* \ + | rl78-* | romp-* | rs6000-* | rx-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ + | tahoe-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile*-* \ + | tron-* \ + | ubicom32-* \ + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ + | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* \ + | xstormy16-* | xtensa*-* \ + | ymp-* \ + | z8k-* | z80-*) + ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + abacus) + basic_machine=abacus-unknown + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; alliant | fx80) basic_machine=fx80-alliant ;; @@ -202,25 +483,39 @@ case $basic_machine in basic_machine=a29k-none os=-bsd ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) - basic_machine=m68k-cbm + basic_machine=m68k-unknown ;; amigaos | amigados) - basic_machine=m68k-cbm + basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) - basic_machine=m68k-cbm + basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aros) + basic_machine=i386-pc + os=-aros + ;; aux) basic_machine=m68k-apple os=-aux @@ -229,6 +524,35 @@ case $basic_machine in basic_machine=ns32k-sequent os=-dynix ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; + c54x-*) + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c55x-*) + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c6x-*) + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; convex-c1) basic_machine=c1-convex os=-bsd @@ -249,27 +573,45 @@ case $basic_machine in basic_machine=c38-convex os=-bsd ;; - cray | ymp) - basic_machine=ymp-cray + cray | j90) + basic_machine=j90-cray os=-unicos ;; - cray2) - basic_machine=cray2-cray - os=-unicos + craynv) + basic_machine=craynv-cray + os=-unicosmp ;; - [ctj]90-cray) - basic_machine=c90-cray - os=-unicos + cr16 | cr16-*) + basic_machine=cr16-unknown + os=-elf ;; crds | unos) basic_machine=m68k-crds ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola @@ -278,6 +620,14 @@ case $basic_machine in basic_machine=m88k-motorola os=-sysv3 ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx @@ -297,6 +647,10 @@ case $basic_machine in encore | umax | mmax) basic_machine=ns32k-encore ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; fx2800) basic_machine=i860-alliant ;; @@ -307,6 +661,10 @@ case $basic_machine in basic_machine=tron-gmicro os=-sysv ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 @@ -315,6 +673,14 @@ case $basic_machine in basic_machine=h8300-hitachi os=-hms ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; harris) basic_machine=m88k-harris os=-sysv3 @@ -330,13 +696,30 @@ case $basic_machine in basic_machine=m68k-hp os=-hpux ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; - hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7) + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) @@ -345,27 +728,41 @@ case $basic_machine in hppa-next) os=-nextstep3 ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; i370-ibm* | ibm*) basic_machine=i370-ibm - os=-mvs ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? - i[34567]86v32) + i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; - i[34567]86v4*) + i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; - i[34567]86v) + i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; - i[34567]86sol2) + i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; iris | iris4d) basic_machine=mips-sgi case $os in @@ -380,6 +777,17 @@ case $basic_machine in basic_machine=m68k-isi os=-sysv ;; + leon-*|leon[3-9]-*) + basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` + ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; m88k-omron*) basic_machine=m88k-omron ;; @@ -391,16 +799,27 @@ case $basic_machine in basic_machine=ns32k-utek os=-sysv ;; + microblaze*) + basic_machine=microblaze-xilinx + ;; + mingw64) + basic_machine=x86_64-pc + os=-mingw64 + ;; + mingw32) + basic_machine=i686-pc + os=-mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; miniframe) basic_machine=m68000-convergent ;; - mipsel*-linux*) - basic_machine=mipsel-unknown - os=-linux-gnu - ;; - mips*-linux*) - basic_machine=mips-unknown - os=-linux-gnu + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` @@ -408,10 +827,49 @@ case $basic_machine in mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + moxiebox) + basic_machine=moxie-unknown + os=-moxiebox + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; + msys) + basic_machine=i686-pc + os=-msys + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + nacl) + basic_machine=le32-unknown + os=-nacl + ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos @@ -424,6 +882,10 @@ case $basic_machine in basic_machine=mips-sony os=-newsos ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; next | m*-next ) basic_machine=m68k-next case $os in @@ -449,9 +911,45 @@ case $basic_machine in basic_machine=i960-intel os=-nindy ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; np1) basic_machine=np1-gould ;; + neo-tandem) + basic_machine=neo-tandem + ;; + nse-tandem) + basic_machine=nse-tandem + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + openrisc | openrisc-*) + basic_machine=or32-unknown + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 @@ -460,57 +958,128 @@ case $basic_machine in basic_machine=i860-intel os=-osf ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; - pc532 | pc532-*) + pc532 | pc532-*) basic_machine=ns32k-pc532 ;; - pentium | p5 | k5 | nexen) + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; - pentiumpro | p6 | k6 | 6x86) + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; - pentiumii | pentium2) + pentium4) basic_machine=i786-pc ;; - pentium-* | p5-* | k5-* | nexen-*) + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; - pentiumpro-* | p6-* | k6-* | 6x86-*) + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; - pentiumii-* | pentium2-*) + pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; - power) basic_machine=rs6000-ibm + power) basic_machine=power-ibm + ;; + ppc | ppcbe) basic_machine=powerpc-unknown ;; - ppc) basic_machine=powerpc-unknown - ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ppc-* | ppcbe-*) + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown - ;; + ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; ps2) basic_machine=i386-ibm ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rdos | rdos64) + basic_machine=x86_64-pc + os=-rdos + ;; + rdos32) + basic_machine=i386-pc + os=-rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; sequent) basic_machine=i386-sequent ;; @@ -518,6 +1087,16 @@ case $basic_machine in basic_machine=sh-hitachi os=-hms ;; + sh5el) + basic_machine=sh5le-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; sps7) basic_machine=m68k-bull os=-sysv2 @@ -525,6 +1104,16 @@ case $basic_machine in spur) basic_machine=spur-unknown ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + strongarm-* | thumb-*) + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; sun2) basic_machine=m68000-sun ;; @@ -565,19 +1154,43 @@ case $basic_machine in sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; symmetry) basic_machine=i386-sequent os=-dynix ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tile*) + basic_machine=$basic_machine-unknown + os=-linux-gnu + ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; tower | tower-32) basic_machine=m68k-ncr ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; udi29k) basic_machine=a29k-amd os=-udi @@ -586,6 +1199,10 @@ case $basic_machine in basic_machine=a29k-nyu os=-sym1 ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; vaxv) basic_machine=vax-dec os=-sysv @@ -595,8 +1212,8 @@ case $basic_machine in os=-vms ;; vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; + basic_machine=f301-fujitsu + ;; vxworks960) basic_machine=i960-wrs os=-vxworks @@ -609,13 +1226,36 @@ case $basic_machine in basic_machine=a29k-wrs os=-vxworks ;; - xmp) - basic_machine=xmp-cray - os=-unicos + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xbox) + basic_machine=i686-pc + os=-mingw32 ;; - xps | xps100) + xps | xps100) basic_machine=xps100-honeywell ;; + xscale-* | xscalee[bl]-*) + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + z80-*-coff) + basic_machine=z80-unknown + os=-sim + ;; none) basic_machine=none-none os=-none @@ -623,32 +1263,44 @@ case $basic_machine in # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. - mips) - if [ x$os = x-linux-gnu ]; then - basic_machine=mips-unknown - else - basic_machine=mips-mips - fi + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; + mmix) + basic_machine=mmix-knuth + ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; - sparc) + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; - cydra) + cydra) basic_machine=cydra-cydrome ;; orion) @@ -657,6 +1309,15 @@ case $basic_machine in orion105) basic_machine=clipper-highlevel ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 @@ -680,9 +1341,12 @@ esac if [ x"$os" != x"" ] then case $os in - # First match some system type aliases - # that might get confused with valid system types. + # 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|'` ;; @@ -703,21 +1367,57 @@ case $os in # 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* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ + | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -bitrig* | -openbsd* | -solidbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -rhapsody* \ - | -openstep*| -mt*) + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-musl* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*) # Remember, each alternative MUST END IN *, to match a version number. ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; @@ -727,6 +1427,15 @@ case $os in -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; + -opened*) + os=-openedition + ;; + -os400*) + os=-os400 + ;; + -wince*) + os=-wince + ;; -osfrose*) os=-osfrose ;; @@ -742,11 +1451,26 @@ case $os in -acis*) os=-aos ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; + -386bsd) + os=-bsd + ;; -ctix* | -uts*) os=-sysv ;; + -nova*) + os=-rtmk-nova + ;; -ns2 ) - os=-nextstep2 + os=-nextstep2 + ;; + -nsk*) + os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) @@ -755,6 +1479,9 @@ case $os in -sinix*) os=-sysv4 ;; + -tpf*) + os=-tpf + ;; -triton*) os=-sysv3 ;; @@ -773,9 +1500,29 @@ case $os in # This must come after -sysvr4. -sysv*) ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; -xenix) os=-xenix ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -zvmoe) + os=-zvmoe + ;; + -dicos*) + os=-dicos + ;; + -nacl*) + ;; -none) ;; *) @@ -798,13 +1545,44 @@ else # system, and we'll never get to this point. case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; *-acorn) os=-riscix1.2 ;; + arm*-rebel) + os=-linux + ;; arm*-semi) os=-aout ;; - pdp11-*) + c4x-* | tic4x-*) + os=-coff + ;; + c8051-*) + os=-elf + ;; + hexagon-*) + os=-elf + ;; + tic54x-*) + os=-coff + ;; + tic55x-*) + os=-coff + ;; + tic6x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) os=-none ;; *-dec | vax-*) @@ -818,9 +1596,21 @@ case $basic_machine in ;; m68000-sun) os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 + ;; + m68*-cisco) + os=-aout + ;; + mep-*) + os=-elf + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 @@ -831,9 +1621,24 @@ case $basic_machine in *-be) os=-beos ;; + *-haiku) + os=-haiku + ;; *-ibm) os=-aix ;; + *-knuth) + os=-mmixware + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; *-hp) os=-hpux ;; @@ -876,27 +1681,39 @@ case $basic_machine in *-next) os=-nextstep3 ;; - *-gould) + *-gould) os=-sysv ;; - *-highlevel) + *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; - *-sgi) + *-sgi) os=-irix ;; - *-siemens) + *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; - f301-fujitsu) + f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; *) os=-none ;; @@ -915,12 +1732,18 @@ case $basic_machine in -sunos*) vendor=sun ;; - -aix*) + -cnk*|-aix*) vendor=ibm ;; + -beos*) + vendor=be + ;; -hpux*) vendor=hp ;; + -mpeix*) + vendor=hp + ;; -hiux*) vendor=hitachi ;; @@ -936,21 +1759,48 @@ case $basic_machine in -genix*) vendor=ns ;; - -mvs*) + -mvs* | -opened*) + vendor=ibm + ;; + -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; - -vxsim* | -vxworks*) + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os +exit + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: + diff --git a/configure b/configure deleted file mode 100755 index 885a17d..0000000 --- a/configure +++ /dev/null @@ -1,7531 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.65. -# -# -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 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. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -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_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -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 -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -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 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=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} # as_fn_error - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - 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 - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - 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 - - - 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; } - - # 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 -} - -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 -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='mkdir -p "$as_dir"' -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'" - - -test -n "$DJDIR" || exec 7<&0 &1 - -# Name of the host. -# 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` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIBOBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= - -# Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= -PACKAGE_URL= - -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS -# include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif -# include -#endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_INTTYPES_H -# include -#endif -#ifdef HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#endif" - -ac_subst_vars='am__EXEEXT_FALSE -am__EXEEXT_TRUE -LTLIBOBJS -LIBOBJS -DEBUGFLAG -ASNPARSER -asnh323dir -PIPEFLAG -LIBSTL -PTHREAD_CFLAGS -PTHREAD_LIBS -PTHREAD_CC -EGREP -GREP -CXXCPP -CPP -RANLIB -am__fastdepCXX_FALSE -am__fastdepCXX_TRUE -CXXDEPMODE -ac_ct_CXX -CXXFLAGS -CXX -am__fastdepCC_FALSE -am__fastdepCC_TRUE -CCDEPMODE -AMDEPBACKSLASH -AMDEP_FALSE -AMDEP_TRUE -am__quote -am__include -DEPDIR -OBJEXT -EXEEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -am__untar -am__tar -AMTAR -am__leading_dot -SET_MAKE -AWK -mkdir_p -MKDIR_P -INSTALL_STRIP_PROGRAM -STRIP -install_sh -MAKEINFO -AUTOHEADER -AUTOMAKE -AUTOCONF -ACLOCAL -VERSION -PACKAGE -CYGPATH_W -am__isrc -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -target_os -target_vendor -target_cpu -target -host_os -host_vendor -host_cpu -host -build_os -build_vendor -build_cpu -build -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_URL -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -enable_dependency_tracking -enable_thread -enable_allocator -with_asnh323 -enable_avn -with_boost -enable_debug -' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CXX -CXXFLAGS -CCC -CPP -CXXCPP' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - 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" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - 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" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - 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" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - 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" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --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." - ;; - - *=*) - 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 - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error "missing argument to $ac_option" -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -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 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -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" -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - as_fn_error "pwd does not report name of working directory" - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -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" -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" - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --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 - --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 - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -Program names: - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM run sed PROGRAM on installed program names - -System types: - --build=BUILD configure for building on BUILD [guessed] - --host=HOST cross-compile to build programs to run on HOST [BUILD] - --target=TARGET configure for building compilers for TARGET [HOST] -_ACEOF -fi - -if test -n "$ac_init_help"; then - - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors - - --enable-thread enable thread support (default if using stlport) - --disable-thread disable thread support (default otherwise) - - --enable-allocator enable custom memory allocator (default) - --disable-allocator disable custom memory allocator - - --enable-avn enable AVN support (default) - --disable-avn disable AVN support - --enable-debug Turn on debugging - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - - --with-asnh323 build libasnh323.a (default) - --without-asnh323 do not build libasnh323.a - - - --with-boost=boost-dir specify the directory where BOOST library is located - - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - 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 - you have headers in a nonstandard directory - CXX C++ compiler command - CXXFLAGS C++ compiler flags - CPP C preprocessor - CXXCPP C++ preprocessor - -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 - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -configure -generated by GNU Autoconf 2.65 - -Copyright (C) 2009 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 - -## ------------------------ ## -## 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 - -} # ac_fn_c_try_compile - -# ac_fn_cxx_try_compile LINENO -# ---------------------------- -# Try to compile conftest.$ac_ext, and return whether this succeeded. -ac_fn_cxx_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_cxx_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 - -} # ac_fn_cxx_try_compile - -# ac_fn_c_try_cpp LINENO -# ---------------------- -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$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; } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_cpp - -# ac_fn_cxx_try_cpp LINENO -# ------------------------ -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_cxx_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; } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_cxx_try_cpp - -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists, giving a warning if it cannot be compiled using -# the include files in INCLUDES and setting the cache variable VAR -# accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+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> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.$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 { as_var=$3; eval "test \"\${$as_var+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_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 - -} # ac_fn_c_try_run - -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# 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 { as_var=$3; eval "test \"\${$as_var+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;} - -} # ac_fn_c_check_header_compile - -# ac_fn_cxx_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_cxx_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+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> -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+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_cxx_check_header_mongrel - -# ac_fn_cxx_try_link LINENO -# ------------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. -ac_fn_cxx_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - 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_cxx_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 - - 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 - -} # ac_fn_cxx_try_link - -# ac_fn_cxx_try_run LINENO -# ------------------------ -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_cxx_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 - -} # ac_fn_cxx_try_run -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.65. 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 - - 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:${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 - - 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 - - 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 - - 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'; 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 - 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 - 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" - 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' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - -ac_aux_dir= -for ac_dir in config "$srcdir"/config; do - for ac_t in install-sh install.sh shtool; do - if test -f "$ac_dir/$ac_t"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/$ac_t -c" - break 2 - fi - done -done -if test -z "$ac_aux_dir"; then - as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - - -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if 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 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } -case $ac_cv_build in -*-*-*) ;; -*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; -esac -build=$ac_cv_build -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_build -shift -build_cpu=$1 -build_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -build_os=$* -IFS=$ac_save_IFS -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if 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 -fi - -fi -{ $as_echo "$as_me:${as_lineno-$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;; -esac -host=$ac_cv_host -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_host -shift -host_cpu=$1 -host_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -host_os=$* -IFS=$ac_save_IFS -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 -$as_echo_n "checking target system type... " >&6; } -if test "${ac_cv_target+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test "x$target_alias" = x; then - ac_cv_target=$ac_cv_host -else - ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || - as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 -$as_echo "$ac_cv_target" >&6; } -case $ac_cv_target in -*-*-*) ;; -*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; -esac -target=$ac_cv_target -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_target -shift -target_cpu=$1 -target_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -target_os=$* -IFS=$ac_save_IFS -case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac - - -# The aliases save the names the user supplied, while $host etc. -# will get canonicalized. -test -n "$target_alias" && - test "$program_prefix$program_suffix$program_transform_name" = \ - NONENONEs,x,x, && - program_prefix=${target_alias}- - -am__api_version='1.11' - -# 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:${as_lineno-$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 - -fi - 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:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# 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' - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 -$as_echo_n "checking whether build environment is sane... " >&6; } -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[\\\"\#\$\&\'\`$am_lf]*) - as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; -esac -case $srcdir in - *[\\\"\#\$\&\'\`$am_lf\ \ ]*) - as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; -esac - -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # 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 - fi - - test "$2" = conftest.file - ) -then - # Ok. - : -else - as_fn_error "newly created file is older than distributed files! -Check your system clock" "$LINENO" 5 -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -test "$program_prefix" != NONE && - program_transform_name="s&^&$program_prefix&;$program_transform_name" -# Use a double $ so make ignores it. -test "$program_suffix" != NONE && - program_transform_name="s&\$&$program_suffix&;$program_transform_name" -# Double any \ or $. -# By default was `s,x,x', remove it if useless. -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` - -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` - -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - 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: WARNING: \`missing' script is too old or missing" >&2;} -fi - -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi - -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -if test "$cross_compiling" != no; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - 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 ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } -if test -z "$MKDIR_P"; then - if test "${ac_cv_path_mkdir+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - 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 #( - 'mkdir (GNU coreutils) '* | \ - 'mkdir (coreutils) '* | \ - 'mkdir (fileutils) '4.1*) - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext - break 3;; - esac - 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 - # As a last resort, use the slow shell script. Don't cache a - # 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. - MKDIR_P="$ac_install_sh -d" - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 -$as_echo "$MKDIR_P" >&6; } - -mkdir_p="$MKDIR_P" -case $mkdir_p in - [\\/$]* | ?:[\\/]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac - -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -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 -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# 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;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make -fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - SET_MAKE= -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" -fi - -rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null - -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - 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 - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi - - -# Define the identity of the package. - PACKAGE=iiiasn1 - VERSION=2_12 - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE "$PACKAGE" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define VERSION "$VERSION" -_ACEOF - -# Some tools Automake needs. - -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} - - -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} - - -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} - - -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} - - -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} - -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -# Always define AMTAR for backward compatibility. - -AMTAR=${AMTAR-"${am_missing_run}tar"} - -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' - - - - - - - - -DEPDIR="${am__leading_dot}deps" - -ac_config_commands="$ac_config_commands depfiles" - - -am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.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_n "checking for style of include used by $am_make... " >&6; } -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi - - -{ $as_echo "$as_me:${as_lineno-$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 : - enableval=$enable_dependency_tracking; -fi - -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi - if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' -else - AMDEP_TRUE='#' - AMDEP_FALSE= -fi - - - -if test -e $srcdir/config/mh-$host_alias ; then - host_frag=$srcdir/config/mh-$host_alias - - - if test -z "$CC"; then - xx=`sed -n -e 's/^[:blank:]*CC[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CC=$xx - fi - fi - - - if test -z "$CXX"; then - xx=`sed -n -e 's/^[:blank:]*CXX[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CXX=$xx - fi - fi - - - if test -z "$RANLIB"; then - xx=`sed -n -e 's/^[:blank:]*RANLIB[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - RANLIB=$xx - fi - fi - - - if test -z "$CFLAGS"; then - xx=`sed -n -e 's/^[:blank:]*CFLAGS[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CFLAGS=$xx - fi - fi - - - if test -z "$CXXFLAGS"; then - xx=`sed -n -e 's/^[:blank:]*CXXFLAGS[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CXXFLAGS=$xx - fi - fi - - - if test -z "$CPPFLAGS"; then - xx=`sed -n -e 's/^[:blank:]*CPPFLAGS[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - CPPFLAGS=$xx - fi - fi - - - if test -z "$LDFLAGS"; then - xx=`sed -n -e 's/^[:blank:]*LDFLAGS[:blank:]*=[:blank:]*\(.*\)$/\1/p' < ${host_frag}` - if test -n "${xx}" ; then - LDFLAGS=$xx - fi - fi - - - if test "$host_alias" != "$build_alias" ; then - ac_cv_prog_cc_cross=yes - ac_exeext=yyy - else - ac_cv_prog_cc_cross=no - fi -fi - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - 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 ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - 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 ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -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 - 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 - break 2 - fi -done - done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -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_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - 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 ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "no acceptable C compiler found in \$PATH -See \`config.log' for more details." "$LINENO" 5; } - -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - 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 - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -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_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -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 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ as_fn_set_status 77 -as_fn_error "C compiler cannot create executables -See \`config.log' for more details." "$LINENO" 5; }; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -ac_exeext=$ac_cv_exeext - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -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; }; 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 -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -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_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -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>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $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: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of object files: cannot compile -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - 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 "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -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_n "checking whether $CC accepts -g... " >&6; } -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 -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -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 "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if 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 -/* end confdefs.h. */ -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - -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 - -depcc="$CC" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if 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 - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CC_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' -else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= -fi - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}c++", so it can be a program name with args. -set dummy ${ac_tool_prefix}c++; 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_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # 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_CXX="${ac_tool_prefix}c++" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CXX"; then - ac_ct_CXX=$CXX - # Extract the first word of "c++", so it can be a program name with args. -set dummy c++; 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_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_CXX="c++" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CXX" = x; then - CXX="" - 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 ;; -esac - CXX=$ac_ct_CXX - fi -else - CXX="$ac_cv_prog_CXX" -fi - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -z "$CXX"; then - if test -n "$CCC"; then - CXX=$CCC - else - if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # 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_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC -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_ac_ct_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_CXX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CXX" && break -done - - if test "x$ac_ct_CXX" = x; then - CXX="g++" - 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 ;; -esac - CXX=$ac_ct_CXX - fi -fi - - fi -fi -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - 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:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GXX=yes -else - GXX= -fi -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if test "${ac_cv_prog_cxx_g+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -else - CXXFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -else - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -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_cxx_werror_flag=$ac_save_cxx_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS -elif test $ac_cv_prog_cxx_g = yes; then - if test "$GXX" = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-g" - fi -else - if test "$GXX" = yes; then - CXXFLAGS="-O2" - else - CXXFLAGS= - fi -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 - -depcc="$CXX" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CXX_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CXX_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CXX_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then - am__fastdepCXX_TRUE= - am__fastdepCXX_FALSE='#' -else - am__fastdepCXX_TRUE='#' - am__fastdepCXX_FALSE= -fi - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if 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:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { $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 - - -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 - 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 "$ac_ct_RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$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:${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 ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -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 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -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: error: in \`$ac_pwd':" >&2;} -as_fn_error "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 -$as_echo_n "checking how to run the C++ preprocessor... " >&6; } -if test -z "$CXXCPP"; then - if test "${ac_cv_prog_CXXCPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" - do - ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -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 -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CXXCPP=$CXXCPP - -fi - CXXCPP=$ac_cv_prog_CXXCPP -else - ac_cv_prog_CXXCPP=$CXXCPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -$as_echo "$CXXCPP" >&6; } -ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -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 -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -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: error: in \`$ac_pwd':" >&2;} -as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - -ac_config_headers="$ac_config_headers config.h" - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if 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 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -$as_echo "#define STDC_HEADERS 1" >>confdefs.h - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -eval as_val=\$$as_ac_Header - 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 - - -for ac_header in unistd.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" -if test "x$ac_cv_header_unistd_h" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_UNISTD_H 1 -_ACEOF - -fi - -done - - - -III_CHECK_CXX_INCLUDE_PATH - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5 -$as_echo_n "checking whether the compiler implements namespaces... " >&6; } -if test "${ac_cv_cxx_namespaces+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -namespace Outer { namespace Inner { int i = 0; }} -int -main () -{ -using namespace Outer::Inner; return i; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_cxx_namespaces=yes -else - ac_cv_cxx_namespaces=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - 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 - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5 -$as_echo "$ac_cv_cxx_namespaces" >&6; } -if test "$ac_cv_cxx_namespaces" = yes; then - -$as_echo "#define HAVE_NAMESPACES /**/" >>confdefs.h - -fi - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5 -$as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; } -if test "${ac_cv_cxx_have_stl+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#ifdef HAVE_NAMESPACES -using namespace std; -#endif -int -main () -{ -list x; x.push_back(5); -list::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_cxx_have_stl=yes -else - ac_cv_cxx_have_stl=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - 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 - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5 -$as_echo "$ac_cv_cxx_have_stl" >&6; } -if test "$ac_cv_cxx_have_stl" = yes; then - -$as_echo "#define HAVE_STL /**/" >>confdefs.h - -fi - - -if test "$ac_cv_cxx_have_stl" = no; then - as_fn_error "This compiler does not have STL" "$LINENO" 5 -fi - -if test "$ac_cv_cxx_namespaces" = no; then - as_fn_error "This compiler does not support namespace" "$LINENO" 5 -fi - - - - - if test "$ac_cv_cxx_have_stl" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the STLport exists" >&5 -$as_echo_n "checking whether the STLport exists... " >&6; } -if test "${iii_cv_have_stlport+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - #ifdef __SGI_STL_PORT - yes - #endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : - iii_cv_have_stlport=yes -else - iii_cv_have_stlport=no -fi -rm -f conftest* - - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $iii_cv_have_stlport" >&5 -$as_echo "$iii_cv_have_stlport" >&6; } - - - if test "$host_os" = cygwin && test "$iii_cv_have_stlport" = yes ; then - LIBSTL=-lstlport_cygwin - elif test "$ac_cv_cxx_compiler_gnu" = yes; then - if test "$iii_cv_have_stlport" = yes; then - LIBSTL=-lstlport_gcc - else - LIBSTL=-lstdc++ - fi; - fi - - else - iii_cv_have_stlport=no - fi - - - -# Check whether --enable-thread was given. -if test "${enable_thread+set}" = set; then : - enableval=$enable_thread; - iii_cv_enable_thread=$enableval - -else - - if test x"$iii_cv_have_stlport" = xno; then - iii_cv_enable_thread=no - else - iii_cv_enable_thread=yes - fi - -fi - - -if test x"$iii_cv_enable_thread" = xyes && test "$host_os" != cygwin; then - - -acx_pthread_ok=no - -# First, check if the POSIX threads header, pthread.h, is available. -# If it isn't, don't bother looking for the threads libraries. -ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" -if test "x$ac_cv_header_pthread_h" = x""yes; then : - -else - acx_pthread_ok=noheader -fi - - - -# We must check for the threads library under a number of different -# names; the ordering is very important because some systems -# (e.g. DEC) have both -lpthread and -lpthreads, where one of the -# libraries is broken (non-POSIX). - -# First of all, check if the user has set any of the PTHREAD_LIBS, -# etcetera environment variables, and if threads linking works using -# them: -if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - save_LIBS="$LIBS" - LIBS="$PTHREAD_LIBS $LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 -$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* 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 pthread_join (); -int -main () -{ -return pthread_join (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - acx_pthread_ok=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5 -$as_echo "$acx_pthread_ok" >&6; } - if test x"$acx_pthread_ok" = xno; then - PTHREAD_LIBS="" - PTHREAD_CFLAGS="" - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" -fi - -# Create a list of thread flags to try. Items starting with a "-" are -# C compiler flags, and other items are library names, except for "none" -# which indicates that we try without any flags at all. - -acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt" - -# The ordering *is* (sometimes) important. Some notes on the -# individual items follow: - -# pthreads: AIX (must check this before -lpthread) -# none: in case threads are in libc; should be tried before -Kthread and -# other compiler flags to prevent continual compiler warnings -# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) -# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) -# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) -# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) -# -pthreads: Solaris/gcc -# -mthreads: Mingw32/gcc, Lynx/gcc -# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it -# doesn't hurt to check since this sometimes defines pthreads too; -# also defines -D_REENTRANT) -# pthread: Linux, etcetera -# --thread-safe: KAI C++ - -case "${host_cpu}-${host_os}" in - *solaris*) - - # On Solaris (at least, for some versions), libc contains stubbed - # (non-functional) versions of the pthreads routines, so link-based - # tests will erroneously succeed. (We need to link with -pthread or - # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather - # a function called by this macro, so we could check for that, but - # who knows whether they'll stub that too in a future libc.) So, - # we'll just look for -pthreads and -lpthread first: - - acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags" - ;; -esac - -if test x"$acx_pthread_ok" = xno; then -for flag in $acx_pthread_flags; do - - case $flag in - none) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 -$as_echo_n "checking whether pthreads work without any flags... " >&6; } - ;; - - -*) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5 -$as_echo_n "checking whether pthreads work with $flag... " >&6; } - PTHREAD_CFLAGS="$flag" - ;; - - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5 -$as_echo_n "checking for the pthreads library -l$flag... " >&6; } - PTHREAD_LIBS="-l$flag" - ;; - esac - - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="$PTHREAD_LIBS $LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - - # Check for various functions. We must include pthread.h, - # since some functions may be macros. (On the Sequent, we - # need a special flag -Kthread to make this header compile.) - # We check for pthread_join because it is in -lpthread on IRIX - # while pthread_create is in libc. We check for pthread_attr_init - # due to DEC craziness with -lpthreads. We check for - # pthread_cleanup_push because it is one of the few pthread - # functions on Solaris that doesn't have a non-functional libc stub. - # We try pthread_create on general principles. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -pthread_t th; pthread_join(th, 0); - pthread_attr_init(0); pthread_cleanup_push(0, 0); - pthread_create(0,0,0,0); pthread_cleanup_pop(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - acx_pthread_ok=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5 -$as_echo "$acx_pthread_ok" >&6; } - if test "x$acx_pthread_ok" = xyes; then - break; - fi - - PTHREAD_LIBS="" - PTHREAD_CFLAGS="" -done -fi - -# Various other checks: -if test "x$acx_pthread_ok" = xyes; then - save_LIBS="$LIBS" - LIBS="$PTHREAD_LIBS $LIBS" - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - - # Detect AIX lossage: threads are created detached by default - # and the JOINABLE attribute has a nonstandard name (UNDETACHED). - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5 -$as_echo_n "checking for joinable pthread attribute... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -int attr=PTHREAD_CREATE_JOINABLE; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ok=PTHREAD_CREATE_JOINABLE -else - ok=unknown -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test x"$ok" = xunknown; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -int attr=PTHREAD_CREATE_UNDETACHED; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ok=PTHREAD_CREATE_UNDETACHED -else - ok=unknown -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - fi - if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then - -$as_echo "#define PTHREAD_CREATE_JOINABLE \$ok" >>confdefs.h - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ok}" >&5 -$as_echo "${ok}" >&6; } - if test x"$ok" = xunknown; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: we do not know how to create joinable pthreads" >&5 -$as_echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;} - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5 -$as_echo_n "checking if more special flags are required for pthreads... " >&6; } - flag=no - case "${host_cpu}-${host_os}" in - *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";; - *solaris* | alpha*-osf*) flag="-D_REENTRANT";; - esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 -$as_echo "${flag}" >&6; } - if test "x$flag" != xno; then - PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" - fi - - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - - # More AIX lossage: must compile with cc_r - # Extract the first word of "cc_r", so it can be a program name with args. -set dummy cc_r; 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_PTHREAD_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$PTHREAD_CC"; then - ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - 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_PTHREAD_CC="cc_r" - $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 - - test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}" -fi -fi -PTHREAD_CC=$ac_cv_prog_PTHREAD_CC -if test -n "$PTHREAD_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5 -$as_echo "$PTHREAD_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -else - PTHREAD_CC="$CC" -fi - - - - - -# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: -if test x"$acx_pthread_ok" = xyes; then - - LIBS="$PTHREAD_LIBS $LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - - : -else - acx_pthread_ok=no - - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Pthread not found, no compiler and linker flags for multithread are specified" >&5 -$as_echo "$as_me: WARNING: Pthread not found, no compiler and linker flags for multithread are specified" >&2;} - -fi - - -fi - -if test x"$iii_cv_enable_thread" = xyes ; then - - - if test x"$ac_cv_cxx_compiler_gnu" = xyes; then - if test x"$iii_cv_have_stlport" = xno; then - # assume using libstdc++ - if test x"$host_os" = xcygwin ; then - -$as_echo "#define __STL_WIN32THREADS /**/" >>confdefs.h - - else - -$as_echo "#define __STL_PTHREADS /**/" >>confdefs.h - - fi - else - # using stlport - -$as_echo "#define _REENTRANT /**/" >>confdefs.h - - fi - fi - -else - -$as_echo "#define BOOST_NO_MT /**/" >>confdefs.h - -fi - - -# Check whether --enable-allocator was given. -if test "${enable_allocator+set}" = set; then : - enableval=$enable_allocator; - iii_cv_enable_allocator=$enableval - -else - - if test "$host_os" != cygwin; then - iii_cv_enable_allocator=yes - else - iii_cv_enable_allocator=no - fi - -fi - - -if test x"$iii_cv_enable_allocator" = xyes; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports boost/pool Library" >&5 -$as_echo_n "checking whether the compiler supports boost/pool Library... " >&6; } -if test "${iii_cv_boost_pool+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - struct Tag {}; - -int -main () -{ - - void* p = boost::singleton_pool::malloc(); - boost::singleton_pool::free(p); - return 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - iii_cv_boost_pool=yes - -else - - iii_cv_boost_pool=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $iii_cv_boost_pool" >&5 -$as_echo "$iii_cv_boost_pool" >&6; } - - if test x"$iii_cv_boost_pool" = xyes; then - -$as_echo "#define ASN1_ALLOCATOR /**/" >>confdefs.h - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This compiler does not support boost/pool Library, custom memory manager disabled" >&5 -$as_echo "$as_me: WARNING: This compiler does not support boost/pool Library, custom memory manager disabled" >&2;} - iii_cv_enable_allocator=no - fi -fi - - - - - -# Check whether --with-asnh323 was given. -if test "${with_asnh323+set}" = set; then : - withval=$with_asnh323; - iii_cv_with_asnh323=$enableval - -else - - iii_cv_with_asnh323=yes - -fi - - -if test x"$iii_cv_with_asnh323" = xyes; then - asnh323dir=asnh323 -fi - - -if test x"$ac_cv_cxx_compiler_gnu" = xyes && test x"$iii_cv_have_stlport" = xno ; then -# assume using libstdc++, avoid linking cerr - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot run test program while cross compiling -See \`config.log' for more details." "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - int main(){ - #ifndef __THROW_BAD_ALLOC - return 0; - #else - return 1; - #endif - } - -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - - -$as_echo "#define __THROW_BAD_ALLOC /**/" >>confdefs.h - - -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has ASNI compliant iostream" >&5 -$as_echo_n "checking whether the compiler has ASNI compliant iostream... " >&6; } -if test "${ac_cv_cxx_have_new_iostream+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -using namespace std; - -int -main () -{ -ios_base::iostate state = ios_base::goodbit; return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_cxx_have_new_iostream=yes -else - ac_cv_cxx_have_new_iostream=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_new_iostream" >&5 -$as_echo "$ac_cv_cxx_have_new_iostream" >&6; } -if test "$ac_cv_cxx_have_new_iostream" = yes; then - -$as_echo "#define HAVE_NEW_IOSTREAM /**/" >>confdefs.h - -fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has wstring" >&5 -$as_echo_n "checking whether the compiler has wstring... " >&6; } -if test "${ac_cv_cxx_have_wstring+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - #ifdef HAVE_NAMESPACES - using namespace std; - #endif - -int -main () -{ -wstring str; str = L"Hello"; return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_cxx_have_wstring=yes -else - ac_cv_cxx_have_wstring=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - if test "$ac_cv_cxx_have_wstring" = no; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #define _GLIBCPP_USE_WCHAR_T 1 - #include - #ifdef HAVE_NAMESPACES - using namespace std; - #endif - -int -main () -{ - - wstring str; str = L"Hello"; return 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ac_cv_cxx_have_wstring=yes - ac_cv_need__GLIBCPP_USE_WCHAR_T=yes - -else - ac_cv_cxx_have_wstring=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test "$ac_cv_cxx_have_wstring" = no; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include - #ifdef HAVE_NAMESPACES - using namespace std; - #endif - -int -main () -{ - - typedef basic_string wstring; - wstring str; str = L"Hello"; return 0; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - - ac_cv_cxx_have_wstring=yes - ac_cv_need_wstring_typedef=yes - -else - ac_cv_cxx_have_wstring=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_wstring" >&5 -$as_echo "$ac_cv_cxx_have_wstring" >&6; } - - if test "$ac_cv_cxx_have_wstring" = yes; then - -$as_echo "#define HAVE_WSTRING /**/" >>confdefs.h - - if test "$ac_cv_need__GLIBCPP_USE_WCHAR_T" = yes; then - -$as_echo "#define _GLIBCPP_USE_WCHAR_T 1" >>confdefs.h - - fi - if test "$ac_cv_need_wstring_typedef" = yes; then - -$as_echo "#define NEED_WSTRING_TYPEDEF 1" >>confdefs.h - - fi - fi - - - -if test "$ac_cv_cxx_have_wstring" = no; then - as_fn_error "This compiler does not have a working wstring" "$LINENO" 5 -fi - - - -# Check whether --enable-avn was given. -if test "${enable_avn+set}" = set; then : - enableval=$enable_avn; - if test "$enableval" = yes && test "$ac_cv_cxx_have_new_iostream" = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The compiler does not support new iostream, disable AVN" >&5 -$as_echo "$as_me: WARNING: The compiler does not support new iostream, disable AVN" >&2;} - enable_avn=no - fi - -else - enable_avn=$ac_cv_cxx_have_new_iostream -fi - - -if test x"$ac_cv_cxx_have_new_iostream" = xyes; then - -$as_echo "#define ASN1_HAS_IOSTREAM /**/" >>confdefs.h - -fi - - - - -# Check whether --with-boost was given. -if test "${with_boost+set}" = set; then : - withval=$with_boost; CPPFLAGS = "$CPPFLAGS -I$withval" -fi - - - - -if test "$ac_cv_cxx_compiler_gnu" = yes; then - PIPEFLAG=-pipe -fi - - - - - -builddir=`pwd` -ASNPARSER=$builddir/asnparser/asnparser - - - -# Check whether --enable-debug was given. -if test "${enable_debug+set}" = set; then : - enableval=$enable_debug; debug="${enableval}" -else - debug=no -fi - - - -if test "x${debug}" = xyes ; then -CXXFLAGS="-g" -DEBUGFLAG="-D_DEBUG" -else -DEBUGFLAG="-DNDEBUG" -fi - - - - -ac_config_files="$ac_config_files Makefile asnparser/Makefile asn1/Makefile asn1/testsuite/Makefile asnh323/Makefile asnh323/testsuite/Makefile" - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $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=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:${as_lineno-$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: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -DEFS=-DHAVE_CONFIG_H - -ac_libobjs= -ac_ltlibobjs= -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' -done -LIBOBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - if test -n "$EXEEXT"; then - am__EXEEXT_TRUE= - am__EXEEXT_FALSE='#' -else - am__EXEEXT_TRUE='#' - am__EXEEXT_FALSE= -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 -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 -fi -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then - as_fn_error "conditional \"am__fastdepCXX\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -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: creating $CONFIG_STATUS" >&6;} -as_write_fail=0 -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -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. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -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_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -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 -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -# as_fn_error 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=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&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 - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - 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 - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - 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 - -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 -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 - - -# 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"' -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'" - - -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 -# 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.65. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac - -case $ac_config_headers in *" -"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -esac - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" -config_headers="$ac_config_headers" -config_commands="$ac_config_commands" - -_ACEOF - -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. - -Usage: $0 [OPTION]... [TAG]... - - -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 - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to the package provider." - -_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.65, - with options \\"\$ac_cs_config\\" - -Copyright (C) 2009 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -MKDIR_P='$MKDIR_P' -AWK='$AWK' -test -n "\$AWK" || AWK=awk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --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"` ;; - esac - as_fn_append 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'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - as_fn_error "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) as_fn_error "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - $as_echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# -# INIT-COMMANDS -# -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "asnparser/Makefile") CONFIG_FILES="$CONFIG_FILES asnparser/Makefile" ;; - "asn1/Makefile") CONFIG_FILES="$CONFIG_FILES asn1/Makefile" ;; - "asn1/testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES asn1/testsuite/Makefile" ;; - "asnh323/Makefile") CONFIG_FILES="$CONFIG_FILES asnh323/Makefile" ;; - "asnh323/testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES asnh323/testsuite/Makefile" ;; - - *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - 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 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -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_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' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$tmp/subs1.awk" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - 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 '$'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - 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 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\)..*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\)..*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' >$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || as_fn_error "could not setup config files machinery" "$LINENO" 5 -_ACEOF - -# 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[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || -BEGIN { -_ACEOF - -# Transform confdefs.h into an awk script `defines.awk', embedded as -# here-document in config.status, that substitutes the proper values into -# config.h.in to produce config.h. - -# Create a delimiter string that does not exist in confdefs.h, to ease -# handling of long lines. -ac_delim='%!_!# ' -for ac_last_try in false false :; do - ac_t=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then - break - elif $ac_last_try; then - as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -# For the awk script, D is an array of macro values keyed by name, -# likewise P contains macro parameters if any. Preserve backslash -# newline sequences. - -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -sed -n ' -s/.\{148\}/&'"$ac_delim"'/g -t rset -:rset -s/^[ ]*#[ ]*define[ ][ ]*/ / -t def -d -:def -s/\\$// -t bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3"/p -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -d -:bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3\\\\\\n"\\/p -t cont -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -t cont -d -:cont -n -s/.\{148\}/&'"$ac_delim"'/g -t clear -:clear -s/\\$// -t bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/"/p -d -:bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -b cont -' >$CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { - line = \$ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - as_fn_error "could not setup config headers machinery" "$LINENO" 5 -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac - ac_MKDIR_P=$MKDIR_P - case $MKDIR_P in - [\\/$]* | ?:[\\/]* ) ;; - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/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: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -s&@MKDIR_P@&$ac_MKDIR_P&;t t -$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 - -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: WARNING: $ac_file contains a reference to the variable \`datarootdir' -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 - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $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 - 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: $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 - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error "could not create -" "$LINENO" 5 - fi -# Compute "$ac_file"'s index in $config_headers. -_am_arg="$ac_file" -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$_am_arg" : 'X\(//\)[^/]' \| \ - X"$_am_arg" : 'X\(//\)$' \| \ - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$_am_arg" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`/stamp-h$_am_stamp_count - ;; - - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir=$dirpart/$fdir; as_fn_mkdir_p - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} - ;; - - esac -done # for ac_tag - - -as_fn_exit 0 -_ACEOF -ac_clean_files=$ac_clean_files_save - -test $ac_write_fail = 0 || - as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - 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 $? -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - diff --git a/configure.in b/configure.ac similarity index 92% rename from configure.in rename to configure.ac index 9b8fe2b..b67c1f8 100644 --- a/configure.in +++ b/configure.ac @@ -20,12 +20,10 @@ dnl ASN.1 types. For details, see the III ASN.1 Tool World-Wide-Web page, dnl `http://iiiasn1.sourceforge.net'. dnl -AC_INIT - +AC_INIT([iiiasn1], [2_12]) +AC_CONFIG_SRCDIR([asn1/asn1.h]) AC_CONFIG_AUX_DIR(config) - -AC_CANONICAL_SYSTEM -AM_INIT_AUTOMAKE(iiiasn1, 2_12) +AM_INIT_AUTOMAKE dnl dnl Choose the correct C++ compiler tool setting. @@ -36,6 +34,7 @@ dnl RANLIB LDFLAGS CFLAGS CXXFLAGS CPPFLAGS from that file, otherwise dnl use AC_PROG_CXX and AC_PROG_RANLIB to find a suitable setting. dnl +AC_PROG_RANLIB III_CROSS_TOOLS @@ -265,6 +264,27 @@ AC_SUBST(ASNPARSER) dnl dnl dnl +AC_ARG_ENABLE(shared, +[ --enable-shared Turn on -fPIC], +[shared="${enableval}"],[shared=no]) + + +if test "x${shared}" = xyes ; then +CXXFLAGS="${CXXFLAGS} -fPIC" +else +CXXFLAGS="${CXXFLAGS}" +fi + +AC_ARG_ENABLE(optimizations, +[ --enable-optimizations Turn on optimizations], +[optimizations="${enableval}"],[optimizations=no]) + + +if test "x${optimizations}" = xyes ; then +CXXFLAGS="${CXXFLAGS} -O2" +else +CXXFLAGS="${CXXFLAGS} -O0" +fi AC_ARG_ENABLE(debug, [ --enable-debug Turn on debugging], @@ -272,7 +292,7 @@ AC_ARG_ENABLE(debug, if test "x${debug}" = xyes ; then -CXXFLAGS="-g" +CXXFLAGS="${CXXFLAGS} -g -ggdb" DEBUGFLAG="-D_DEBUG" else DEBUGFLAG="-DNDEBUG" diff --git a/h323parser/.gitignore b/h323parser/.gitignore new file mode 100644 index 0000000..8b3571f --- /dev/null +++ b/h323parser/.gitignore @@ -0,0 +1,2 @@ +/Debug +/h2250v4_new.asn diff --git a/h323parser/CVS/Entries b/h323parser/CVS/Entries deleted file mode 100644 index dbccbaa..0000000 --- a/h323parser/CVS/Entries +++ /dev/null @@ -1,12 +0,0 @@ -/H323.def/1.2/Fri Dec 2 03:38:13 2005// -/H323Parser.cpp/1.3/Fri Dec 2 03:40:19 2005// -/H323Parser.dsp/1.7/Fri Dec 2 03:47:00 2005/-kb/ -/H323Parser.vcproj/1.5/Fri Dec 2 03:47:00 2005// -/Q931pdu.cpp/1.3/Fri Dec 2 03:40:19 2005// -/Q931pdu.h/1.2/Fri Dec 2 03:40:19 2005// -/h225.sed/1.2/Fri Dec 2 03:40:19 2005// -/perattacher.cpp/1.3/Fri Dec 2 03:40:19 2005// -/perattacher.h/1.2/Fri Dec 2 03:40:19 2005// -/pointainer.h/1.2/Fri Dec 2 03:38:55 2005// -/transform_h2250.js/1.1/Fri Dec 2 03:40:19 2005// -D diff --git a/h323parser/CVS/Repository b/h323parser/CVS/Repository deleted file mode 100644 index 4877332..0000000 --- a/h323parser/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -iiiasn1/h323parser diff --git a/h323parser/CVS/Root b/h323parser/CVS/Root deleted file mode 100644 index 5edb607..0000000 --- a/h323parser/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@iiiasn1.cvs.sourceforge.net:/cvsroot/iiiasn1 diff --git a/h323parser/H323Parser-x32-vs120.vcxproj b/h323parser/H323Parser-x32-vs120.vcxproj new file mode 100644 index 0000000..0875e3c --- /dev/null +++ b/h323parser/H323Parser-x32-vs120.vcxproj @@ -0,0 +1,184 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {EF024D3D-64DA-4ED8-9C2B-CF9CE434D5C9} + H323Parser + + + + DynamicLibrary + v120 + false + MultiByte + + + DynamicLibrary + v120 + false + MultiByte + + + + + + + + + + + + + + + <_ProjectFileVersion>11.0.50727.1 + + + .\Release\ + .\Release\ + false + + + .\Debug\ + .\Debug\ + true + $(ProjectName)d + .;$(IncludePath) + + + + NDEBUG;%(PreprocessorDefinitions) + true + true + Win32 + .\Release/H323Parser.tlb + + + /Zm300 %(AdditionalOptions) + OnlyExplicitInline + .;..\asn1;.\cxx;%(AdditionalIncludeDirectories) + NDEBUG;WIN32;_WINDOWS;_USRDLL;H323PARSER_EXPORTS;ASN1_HAS_IOSTREAM;%(PreprocessorDefinitions) + true + MultiThreadedDLL + true + + .\Release/H323Parser.pch + .\Release/ + .\Release/ + .\Release/ + Level3 + true + Default + + + NDEBUG;%(PreprocessorDefinitions) + 0x0404 + + + /MACHINE:I386 %(AdditionalOptions) + nmapi.lib;odbc32.lib;odbccp32.lib;asn1.lib;%(AdditionalDependencies) + Release/IIIh323Parser.dll + true + ..\LIB;%(AdditionalLibraryDirectories) + .\H323.def + .\Release/IIIh323Parser.pdb + .\Release/IIIh323Parser.lib + + + + + _DEBUG;%(PreprocessorDefinitions) + true + true + Win32 + .\Debug/H323Parser.tlb + + + /D /Zm500 %(AdditionalOptions) + Disabled + .;..\asn1;.\cxx;%(AdditionalIncludeDirectories) + _DEBUG;WIN32;__WIN32__;_WINDOWS;_USRDLL;H323PARSER_EXPORTS;ASN1_HAS_IOSTREAM;ASN1_ALLOCATOR;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + true + .\Debug/H323Parser.pch + .\Debug/ + .\Debug/ + .\Debug/ + Level3 + true + EditAndContinue + Default + + + _DEBUG;%(PreprocessorDefinitions) + 0x0404 + + + /MACHINE:I386 %(AdditionalOptions) + odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + ../lib/$(TargetFileName) + true + ..\LIB;%(AdditionalLibraryDirectories) + .\H323.def + true + .\Debug/IIIh323Parser.pdb + .\Debug/IIIh323Parser.lib + + + + + + + + + + + + + transform_h2250.js + h2250v4_new.asn;%(Outputs) + sed -f h225.sed ..\asnh323\h2250v4.asn > h2250v4_new.asn + + h2250v4_new.asn;%(Outputs) + + + cd ..\asnh323 +..\Lib\ASN1cmpd -v -c -o ..\h323parser\cxx h245v7.asn h235v2.asn h248.asn ..\h323parser\h2250v4_new.asn ro.asn h4501.asn h4502.asn h4503.asn h4504.asn h4505.asn h4506.asn h4507.asn h4508.asn h4509.asn h45010.asn + + cxx/addressing_data_elements.cxx;cxx/addressing_data_elements.h;cxx/addressing_data_elements.inl;cxx/call_completion_operations.cxx;cxx/call_completion_operations.h;cxx/call_completion_operations.inl;cxx/call_diversion_operations.cxx;cxx/call_diversion_operations.h;cxx/call_diversion_operations.inl;cxx/call_hold_operations.cxx;cxx/call_hold_operations.h;cxx/call_hold_operations.inl;cxx/call_offer_operations.cxx;cxx/call_offer_operations.h;cxx/call_offer_operations.inl;cxx/call_park_pickup_operations.cxx;cxx/call_park_pickup_operations.h;cxx/call_park_pickup_operations.inl;cxx/call_transfer_operations.cxx;cxx/call_transfer_operations.h;cxx/call_transfer_operations.inl;cxx/call_waiting_operations.cxx;cxx/call_waiting_operations.h;cxx/call_waiting_operations.inl;cxx/h225_generic_parameters_definition.cxx;cxx/h225_generic_parameters_definition.h;cxx/h235_security_messages.cxx;cxx/h235_security_messages.h;cxx/h235_security_messages.inl;cxx/h235_security_messages_t.cxx;cxx/h323_messages.cxx;cxx/h323_messages.h;cxx/h323_messages.inl;cxx/h4501_general_error_list.cxx;cxx/h4501_general_error_list.h;cxx/h4501_supplementary_serviceapdu_structure.cxx;cxx/h4501_supplementary_serviceapdu_structure.h;cxx/h4501_supplementary_serviceapdu_structure.inl;cxx/hm_aliasaddress.cxx;cxx/hm_aliasaddress.h;cxx/hm_aliasaddress.inl;cxx/hm_callidentifier.cxx;cxx/hm_callidentifier.h;cxx/hm_callidentifier.inl;cxx/manufacturer_specific_service_extension_definition.cxx;cxx/manufacturer_specific_service_extension_definition.h;cxx/manufacturer_specific_service_extension_definition.inl;cxx/manufacturer_specific_service_extension_definition_t.cxx;cxx/media_gateway_control.cxx;cxx/media_gateway_control.h;cxx/media_gateway_control.inl;cxx/message_waiting_indication_operations.cxx;cxx/message_waiting_indication_operations.h;cxx/message_waiting_indication_operations.inl;cxx/mgc_signalsdescriptor.cxx;cxx/mgc_signalsdescriptor.h;cxx/mgc_signalsdescriptor.inl;cxx/multimedia_system_control.cxx;cxx/multimedia_system_control.h;cxx/multimedia_system_control.inl;cxx/name_operations.cxx;cxx/name_operations.h;cxx/name_operations.inl;cxx/remote_operations_apdus.cxx;cxx/remote_operations_apdus.h;cxx/remote_operations_apdus.inl;cxx/remote_operations_apdus_t.cxx;cxx/remote_operations_information_objects.cxx;cxx/remote_operations_information_objects.h;cxx/remote_operations_information_objects.inl;%(Outputs) + cd ..\asnh323 +..\Lib\ASN1cmpd -v -c -o ..\h323parser\cxx h245v7.asn h235v2.asn h248.asn ..\h323parser\h2250v4_new.asn ro.asn h4501.asn h4502.asn h4503.asn h4504.asn h4505.asn h4506.asn h4507.asn h4508.asn h4509.asn h45010.asn + + cxx/addressing_data_elements.cxx;cxx/addressing_data_elements.h;cxx/addressing_data_elements.inl;cxx/call_completion_operations.cxx;cxx/call_completion_operations.h;cxx/call_completion_operations.inl;cxx/call_diversion_operations.cxx;cxx/call_diversion_operations.h;cxx/call_diversion_operations.inl;cxx/call_hold_operations.cxx;cxx/call_hold_operations.h;cxx/call_hold_operations.inl;cxx/call_offer_operations.cxx;cxx/call_offer_operations.h;cxx/call_offer_operations.inl;cxx/call_park_pickup_operations.cxx;cxx/call_park_pickup_operations.h;cxx/call_park_pickup_operations.inl;cxx/call_transfer_operations.cxx;cxx/call_transfer_operations.h;cxx/call_transfer_operations.inl;cxx/call_waiting_operations.cxx;cxx/call_waiting_operations.h;cxx/call_waiting_operations.inl;cxx/h225_generic_parameters_definition.cxx;cxx/h225_generic_parameters_definition.h;cxx/h235_security_messages.cxx;cxx/h235_security_messages.h;cxx/h235_security_messages.inl;cxx/h235_security_messages_t.cxx;cxx/h323_messages.cxx;cxx/h323_messages.h;cxx/h323_messages.inl;cxx/h4501_general_error_list.cxx;cxx/h4501_general_error_list.h;cxx/h4501_supplementary_serviceapdu_structure.cxx;cxx/h4501_supplementary_serviceapdu_structure.h;cxx/h4501_supplementary_serviceapdu_structure.inl;cxx/hm_aliasaddress.cxx;cxx/hm_aliasaddress.h;cxx/hm_aliasaddress.inl;cxx/hm_callidentifier.cxx;cxx/hm_callidentifier.h;cxx/hm_callidentifier.inl;cxx/manufacturer_specific_service_extension_definition.cxx;cxx/manufacturer_specific_service_extension_definition.h;cxx/manufacturer_specific_service_extension_definition.inl;cxx/manufacturer_specific_service_extension_definition_t.cxx;cxx/media_gateway_control.cxx;cxx/media_gateway_control.h;cxx/media_gateway_control.inl;cxx/message_waiting_indication_operations.cxx;cxx/message_waiting_indication_operations.h;cxx/message_waiting_indication_operations.inl;cxx/mgc_signalsdescriptor.cxx;cxx/mgc_signalsdescriptor.h;cxx/mgc_signalsdescriptor.inl;cxx/multimedia_system_control.cxx;cxx/multimedia_system_control.h;cxx/multimedia_system_control.inl;cxx/name_operations.cxx;cxx/name_operations.h;cxx/name_operations.inl;cxx/remote_operations_apdus.cxx;cxx/remote_operations_apdus.h;cxx/remote_operations_apdus.inl;cxx/remote_operations_apdus_t.cxx;cxx/remote_operations_information_objects.cxx;cxx/remote_operations_information_objects.h;cxx/remote_operations_information_objects.inl;%(Outputs) + + + + + + + + + + + {cc4dce75-9957-4642-a86b-ea14dbcebf54} + false + + + {1eed4b13-2a75-4c49-a198-12f2a46f5944} + false + + + + + + \ No newline at end of file diff --git a/h323parser/H323Parser-x32-vs120.vcxproj.filters b/h323parser/H323Parser-x32-vs120.vcxproj.filters new file mode 100644 index 0000000..37d1925 --- /dev/null +++ b/h323parser/H323Parser-x32-vs120.vcxproj.filters @@ -0,0 +1,52 @@ + + + + + {a7bc5457-8343-4098-816c-9c8d829af8cd} + cpp;c;cxx;rc;def;r;odl;idl;hpj;bat + + + {87965335-6716-48b3-932a-7f866de6c6e7} + h;hpp;hxx;hm;inl + + + {5317dbdd-a6a0-4552-878f-4c747030c489} + ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe + + + + + Source Files + + + Source Files + + + Source Files + + + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/h323parser/H323Parser.cpp b/h323parser/H323Parser.cpp index 471ca94..4dab8da 100644 --- a/h323parser/H323Parser.cpp +++ b/h323parser/H323Parser.cpp @@ -756,7 +756,7 @@ LPBYTE BHAPI RAS_RecognizeFrame( HFRAME hFrame, try { H323_MESSAGES::RasMessage msg; - ASN1::PERDecoder decoder((char*)pFrame, (char*)pFrame+BytesLeft); + ASN1::PERDecoder decoder((char*)pFrame, BytesLeft); if (msg.accept(decoder)) *pProtocolStatus = PROTOCOL_STATUS_CLAIMED; } @@ -808,7 +808,7 @@ LPBYTE BHAPI RAS_AttachProperties( HFRAME hFrame, 0, 0, 0); H323_MESSAGES::RasMessage msg; - ASN1::PERDecoder decoder((char*)pFrame, (char*)pFrame+BytesLeft, env); + ASN1::PERDecoder decoder((char*)pFrame, BytesLeft, env); PERAttacher attacher(decoder, hFrame, RasPropertyInfo.hProperty, "RasMessage ",1); msg.accept(attacher); @@ -956,7 +956,7 @@ LPBYTE BHAPI H245_RecognizeFrame( HFRAME hFrame, *pProtocolStatus = PROTOCOL_STATUS_NOT_RECOGNIZED; - ASN1::PERDecoder decoder((char*)pFrame, (char*)pFrame+BytesLeft, env, true); + ASN1::PERDecoder decoder((char*)pFrame, BytesLeft, env, true); MULTIMEDIA_SYSTEM_CONTROL::MultimediaSystemControlMessage msg; try @@ -1035,7 +1035,7 @@ LPBYTE BHAPI H245_AttachProperties( HFRAME hFrame, { // Decode the first byte to determine the type of the message - ASN1::PERDecoder decoder((char*)pFrame, (char*)pFrame+BytesLeft, env); + ASN1::PERDecoder decoder((char*)pFrame, BytesLeft, env); ASN1::PERDecoder::memento_type memento = decoder.get_memento(); MULTIMEDIA_SYSTEM_CONTROL::MultimediaSystemControlMessage msg; msg.accept(decoder); diff --git a/h323parser/H323Parser.dsp b/h323parser/H323Parser.dsp index 6c2af10..2cf3664 100644 --- a/h323parser/H323Parser.dsp +++ b/h323parser/H323Parser.dsp @@ -1,1004 +1,1004 @@ -# Microsoft Developer Studio Project File - Name="H323Parser" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=H323Parser - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "H323Parser.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "H323Parser.mak" CFG="H323Parser - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "H323Parser - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "H323Parser - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "H323Parser___Win32_Debug" -# PROP BASE Intermediate_Dir "H323Parser___Win32_Debug" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /I "." /I "..\ASN1" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "H323PARSER_EXPORTS" /FD /D /GZ /Zm500 /c -# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /I "." /I "..\ASN1" /D "_DEBUG" /D "WIN32" /D "__WIN32__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "H323PARSER_EXPORTS" /D "ASN1_HAS_IOSTREAM" /D "ASN1_STATIC" /FD /D /GZ /Zm500 /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 nmapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib asn1_nb_d.lib /nologo /dll /debug /machine:I386 /out:"Debug/IIIh323Parser.dll" /pdbtype:sept /libpath:"..\LIB" -# ADD LINK32 nmapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"Debug/IIIh323Parser.dll" /pdbtype:sept /libpath:"..\LIB" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "H323Parser___Win32_Release" -# PROP BASE Intermediate_Dir "H323Parser___Win32_Release" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\ASN1" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "H323PARSER_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\ASN1" /D "NDEBUG" /D "WIN32" /D "__WIN32__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "H323PARSER_EXPORTS" /D "ASN1_HAS_IOSTREAM" /D "ASN1_STATIC" /YX /FD /Zm300 /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 nmapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib asn1_nb.lib /nologo /dll /machine:I386 /out:"Release/IIIh323Parser.dll" /libpath:"..\LIB" -# ADD LINK32 nmapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"Release/IIIh323Parser.dll" /libpath:"..\LIB" - -!ENDIF - -# Begin Target - -# Name "H323Parser - Win32 Debug" -# Name "H323Parser - Win32 Release" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\addressing_data_elements.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\call_completion_operations.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\call_diversion_operations.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\call_hold_operations.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\call_offer_operations.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\call_park_pickup_operations.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\call_transfer_operations.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\call_waiting_operations.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\asnh323\h2250v4.asn - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" -# Begin Custom Build -InputPath=..\asnh323\h2250v4.asn - -"h2250v4_new.asn" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - transform_h2250.js - -# End Custom Build - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" -# Begin Custom Build -InputPath=..\asnh323\h2250v4.asn - -"h2250v4_new.asn" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - transform_h2250.js - -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\h2250v4_new.asn - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" -# Begin Custom Build -InputPath=.\h2250v4_new.asn - -BuildCmds= \ - cd ..\asnh323 \ - ..\Lib\asnparser -v -c -o ..\h323parser h245v7.asn h235v2.asn h248.asn ..\h323parser\h2250v4_new.asn ro.asn h4501.asn h4502.asn h4503.asn h4504.asn h4505.asn h4506.asn h4507.asn h4508.asn h4509.asn h45010.asn \ - - -"addressing_data_elements.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"addressing_data_elements.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"addressing_data_elements.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_completion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_completion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_completion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_diversion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_diversion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_diversion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_hold_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_hold_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_hold_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_offer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_offer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_offer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_park_pickup_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_park_pickup_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_park_pickup_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_transfer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_transfer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_transfer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_waiting_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_waiting_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_waiting_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h225_generic_parameters_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h225_generic_parameters_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h235_security_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h235_security_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h235_security_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h235_security_messages_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h323_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h323_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h323_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h4501_general_error_list.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h4501_general_error_list.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h4501_supplementary_serviceapdu_structure.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h4501_supplementary_serviceapdu_structure.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h4501_supplementary_serviceapdu_structure.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"hm_aliasaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"hm_aliasaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"hm_aliasaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"hm_callidentifier.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"hm_callidentifier.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"hm_callidentifier.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"manufacturer_specific_service_extension_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"manufacturer_specific_service_extension_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"manufacturer_specific_service_extension_definition.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"manufacturer_specific_service_extension_definition_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"media_gateway_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"media_gateway_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"media_gateway_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"message_waiting_indication_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"message_waiting_indication_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"message_waiting_indication_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"mgc_signalsdescriptor.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"mgc_signalsdescriptor.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"mgc_signalsdescriptor.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"multimedia_system_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"multimedia_system_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"multimedia_system_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"name_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"name_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"name_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"remote_operations_apdus.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"remote_operations_apdus.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"remote_operations_apdus.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"remote_operations_apdus_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"remote_operations_information_objects.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"remote_operations_information_objects.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"remote_operations_information_objects.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" -# Begin Custom Build -InputPath=.\h2250v4_new.asn - -BuildCmds= \ - cd ..\asnh323 \ - ..\Lib\asnparser -v -c -o ..\h323parser h245v7.asn h235v2.asn h248.asn ..\h323parser\h2250v4_new.asn ro.asn h4501.asn h4502.asn h4503.asn h4504.asn h4505.asn h4506.asn h4507.asn h4508.asn h4509.asn h45010.asn \ - - -"addressing_data_elements.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"addressing_data_elements.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"addressing_data_elements.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_completion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_completion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_completion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_diversion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_diversion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_diversion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_hold_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_hold_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_hold_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_offer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_offer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_offer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_park_pickup_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_park_pickup_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_park_pickup_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_transfer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_transfer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_transfer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_waiting_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_waiting_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"call_waiting_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h225_generic_parameters_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h225_generic_parameters_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h235_security_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h235_security_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h235_security_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h235_security_messages_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h323_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h323_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h323_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h4501_general_error_list.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h4501_general_error_list.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h4501_supplementary_serviceapdu_structure.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h4501_supplementary_serviceapdu_structure.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"h4501_supplementary_serviceapdu_structure.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"hm_aliasaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"hm_aliasaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"hm_aliasaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"hm_callidentifier.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"hm_callidentifier.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"hm_callidentifier.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"manufacturer_specific_service_extension_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"manufacturer_specific_service_extension_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"manufacturer_specific_service_extension_definition.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"manufacturer_specific_service_extension_definition_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"media_gateway_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"media_gateway_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"media_gateway_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"message_waiting_indication_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"message_waiting_indication_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"message_waiting_indication_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"mgc_signalsdescriptor.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"mgc_signalsdescriptor.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"mgc_signalsdescriptor.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"multimedia_system_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"multimedia_system_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"multimedia_system_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"name_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"name_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"name_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"remote_operations_apdus.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"remote_operations_apdus.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"remote_operations_apdus.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"remote_operations_apdus_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"remote_operations_information_objects.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"remote_operations_information_objects.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"remote_operations_information_objects.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\h225_generic_parameters_definition.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\h235_security_messages.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\H323.def - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\h323_messages.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\H323Parser.cpp - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" -# ADD BASE CPP /YX -# ADD CPP /YX - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\h4501_general_error_list.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\h4501_supplementary_serviceapdu_structure.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\hm_aliasaddress.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\hm_callidentifier.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\manufacturer_specific_service_extension_definition.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\media_gateway_control.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\message_waiting_indication_operations.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\mgc_signalsdescriptor.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\multimedia_system_control.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\name_operations.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\perattacher.cpp - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\Q931pdu.cpp - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\remote_operations_apdus.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\remote_operations_information_objects.cxx - -!IF "$(CFG)" == "H323Parser - Win32 Debug" - -# PROP Intermediate_Dir "Debug" - -!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" - -# PROP Intermediate_Dir "Release" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\perattacher.h -# End Source File -# Begin Source File - -SOURCE=.\Q931pdu.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="H323Parser" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=H323Parser - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "H323Parser.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "H323Parser.mak" CFG="H323Parser - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "H323Parser - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "H323Parser - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "H323Parser___Win32_Debug" +# PROP BASE Intermediate_Dir "H323Parser___Win32_Debug" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /I "." /I "..\ASN1" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "H323PARSER_EXPORTS" /FD /D /GZ /Zm500 /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /I "." /I "..\ASN1" /D "_DEBUG" /D "WIN32" /D "__WIN32__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "H323PARSER_EXPORTS" /D "ASN1_HAS_IOSTREAM" /D "ASN1_STATIC" /FD /D /GZ /Zm500 /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x404 /d "_DEBUG" +# ADD RSC /l 0x404 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 nmapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib asn1_nb_d.lib /nologo /dll /debug /machine:I386 /out:"Debug/IIIh323Parser.dll" /pdbtype:sept /libpath:"..\LIB" +# ADD LINK32 nmapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"Debug/IIIh323Parser.dll" /pdbtype:sept /libpath:"..\LIB" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "H323Parser___Win32_Release" +# PROP BASE Intermediate_Dir "H323Parser___Win32_Release" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\ASN1" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "H323PARSER_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\ASN1" /D "NDEBUG" /D "WIN32" /D "__WIN32__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "H323PARSER_EXPORTS" /D "ASN1_HAS_IOSTREAM" /D "ASN1_STATIC" /YX /FD /Zm300 /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x404 /d "NDEBUG" +# ADD RSC /l 0x404 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 nmapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib asn1_nb.lib /nologo /dll /machine:I386 /out:"Release/IIIh323Parser.dll" /libpath:"..\LIB" +# ADD LINK32 nmapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"Release/IIIh323Parser.dll" /libpath:"..\LIB" + +!ENDIF + +# Begin Target + +# Name "H323Parser - Win32 Debug" +# Name "H323Parser - Win32 Release" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=.\addressing_data_elements.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\call_completion_operations.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\call_diversion_operations.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\call_hold_operations.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\call_offer_operations.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\call_park_pickup_operations.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\call_transfer_operations.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\call_waiting_operations.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\asnh323\h2250v4.asn + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" +# Begin Custom Build +InputPath=..\asnh323\h2250v4.asn + +"h2250v4_new.asn" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + transform_h2250.js + +# End Custom Build + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" +# Begin Custom Build +InputPath=..\asnh323\h2250v4.asn + +"h2250v4_new.asn" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + transform_h2250.js + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\h2250v4_new.asn + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" +# Begin Custom Build +InputPath=.\h2250v4_new.asn + +BuildCmds= \ + cd ..\asnh323 \ + ..\Lib\asnparser -v -c -o ..\h323parser h245v7.asn h235v2.asn h248.asn ..\h323parser\h2250v4_new.asn ro.asn h4501.asn h4502.asn h4503.asn h4504.asn h4505.asn h4506.asn h4507.asn h4508.asn h4509.asn h45010.asn \ + + +"addressing_data_elements.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"addressing_data_elements.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"addressing_data_elements.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_completion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_completion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_completion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_diversion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_diversion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_diversion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_hold_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_hold_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_hold_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_offer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_offer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_offer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_park_pickup_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_park_pickup_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_park_pickup_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_transfer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_transfer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_transfer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_waiting_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_waiting_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_waiting_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h225_generic_parameters_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h225_generic_parameters_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h235_security_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h235_security_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h235_security_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h235_security_messages_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h323_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h323_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h323_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h4501_general_error_list.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h4501_general_error_list.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h4501_supplementary_serviceapdu_structure.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h4501_supplementary_serviceapdu_structure.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h4501_supplementary_serviceapdu_structure.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"hm_aliasaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"hm_aliasaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"hm_aliasaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"hm_callidentifier.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"hm_callidentifier.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"hm_callidentifier.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"manufacturer_specific_service_extension_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"manufacturer_specific_service_extension_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"manufacturer_specific_service_extension_definition.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"manufacturer_specific_service_extension_definition_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"media_gateway_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"media_gateway_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"media_gateway_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"message_waiting_indication_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"message_waiting_indication_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"message_waiting_indication_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"mgc_signalsdescriptor.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"mgc_signalsdescriptor.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"mgc_signalsdescriptor.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"multimedia_system_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"multimedia_system_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"multimedia_system_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"name_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"name_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"name_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"remote_operations_apdus.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"remote_operations_apdus.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"remote_operations_apdus.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"remote_operations_apdus_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"remote_operations_information_objects.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"remote_operations_information_objects.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"remote_operations_information_objects.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" +# Begin Custom Build +InputPath=.\h2250v4_new.asn + +BuildCmds= \ + cd ..\asnh323 \ + ..\Lib\asnparser -v -c -o ..\h323parser h245v7.asn h235v2.asn h248.asn ..\h323parser\h2250v4_new.asn ro.asn h4501.asn h4502.asn h4503.asn h4504.asn h4505.asn h4506.asn h4507.asn h4508.asn h4509.asn h45010.asn \ + + +"addressing_data_elements.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"addressing_data_elements.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"addressing_data_elements.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_completion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_completion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_completion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_diversion_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_diversion_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_diversion_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_hold_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_hold_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_hold_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_offer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_offer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_offer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_park_pickup_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_park_pickup_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_park_pickup_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_transfer_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_transfer_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_transfer_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_waiting_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_waiting_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"call_waiting_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h225_generic_parameters_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h225_generic_parameters_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h235_security_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h235_security_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h235_security_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h235_security_messages_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h323_messages.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h323_messages.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h323_messages.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h4501_general_error_list.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h4501_general_error_list.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h4501_supplementary_serviceapdu_structure.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h4501_supplementary_serviceapdu_structure.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"h4501_supplementary_serviceapdu_structure.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"hm_aliasaddress.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"hm_aliasaddress.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"hm_aliasaddress.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"hm_callidentifier.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"hm_callidentifier.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"hm_callidentifier.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"manufacturer_specific_service_extension_definition.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"manufacturer_specific_service_extension_definition.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"manufacturer_specific_service_extension_definition.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"manufacturer_specific_service_extension_definition_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"media_gateway_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"media_gateway_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"media_gateway_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"message_waiting_indication_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"message_waiting_indication_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"message_waiting_indication_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"mgc_signalsdescriptor.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"mgc_signalsdescriptor.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"mgc_signalsdescriptor.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"multimedia_system_control.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"multimedia_system_control.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"multimedia_system_control.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"name_operations.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"name_operations.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"name_operations.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"remote_operations_apdus.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"remote_operations_apdus.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"remote_operations_apdus.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"remote_operations_apdus_t.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"remote_operations_information_objects.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"remote_operations_information_objects.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"remote_operations_information_objects.inl" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\h225_generic_parameters_definition.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\h235_security_messages.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\H323.def + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\h323_messages.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\H323Parser.cpp + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" +# ADD BASE CPP /YX +# ADD CPP /YX + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\h4501_general_error_list.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\h4501_supplementary_serviceapdu_structure.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\hm_aliasaddress.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\hm_callidentifier.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\manufacturer_specific_service_extension_definition.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\media_gateway_control.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\message_waiting_indication_operations.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\mgc_signalsdescriptor.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\multimedia_system_control.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\name_operations.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\perattacher.cpp + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\Q931pdu.cpp + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\remote_operations_apdus.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\remote_operations_information_objects.cxx + +!IF "$(CFG)" == "H323Parser - Win32 Debug" + +# PROP Intermediate_Dir "Debug" + +!ELSEIF "$(CFG)" == "H323Parser - Win32 Release" + +# PROP Intermediate_Dir "Release" + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=.\perattacher.h +# End Source File +# Begin Source File + +SOURCE=.\Q931pdu.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# Begin Source File + +SOURCE=.\ReadMe.txt +# End Source File +# End Target +# End Project diff --git a/h323parser/Q931pdu.cpp b/h323parser/Q931pdu.cpp index a50692e..903fdb2 100644 --- a/h323parser/Q931pdu.cpp +++ b/h323parser/Q931pdu.cpp @@ -300,7 +300,7 @@ void UserUserInformationElement::attachProperties(HFRAME hFrame, HPROPERTY hProp strlen(buf) + 1, buf , 0, 2, 0); H323_MESSAGES::H323_UserInformation userInformation; - ASN1::PERDecoder decoder((char*)data+4, (char*)data+len, env); + ASN1::PERDecoder decoder((char*)data+4, len, env); PERAttacher attacher(decoder, hFrame, hProperty, "H323_UserInformation ",2); userInformation.accept(attacher); } @@ -309,7 +309,7 @@ bool UserUserInformationElement::decodeIE() const { H323_MESSAGES::H323_UserInformation userInformation; - ASN1::PERDecoder decoder((char*)data+4, (char*)data+len); + ASN1::PERDecoder decoder((char*)data+4, len); return userInformation.accept(decoder); } diff --git a/h323parser/netmon.h b/h323parser/netmon.h new file mode 100644 index 0000000..987bff4 --- /dev/null +++ b/h323parser/netmon.h @@ -0,0 +1,5738 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 7.00.0555 */ +/* Compiler settings for netmon.idl: + Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555 + protocol : dce , ms_ext, c_ext, robust + error checks: allocation ref bounds_check enum stub_data + VC __declspec() decoration level: + __declspec(uuid()), __declspec(selectany), __declspec(novtable) + DECLSPEC_UUID(), MIDL_INTERFACE() +*/ +/* @@MIDL_FILE_HEADING( ) */ + +#pragma warning( disable: 4049 ) /* more than 64k source lines */ + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 500 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif // __RPCNDR_H_VERSION__ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __netmon_h__ +#define __netmon_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +/* Forward Declarations */ + +#ifndef __IDelaydC_FWD_DEFINED__ +#define __IDelaydC_FWD_DEFINED__ +typedef interface IDelaydC IDelaydC; +#endif /* __IDelaydC_FWD_DEFINED__ */ + + +#ifndef __IRTC_FWD_DEFINED__ +#define __IRTC_FWD_DEFINED__ +typedef interface IRTC IRTC; +#endif /* __IRTC_FWD_DEFINED__ */ + + +#ifndef __IStats_FWD_DEFINED__ +#define __IStats_FWD_DEFINED__ +typedef interface IStats IStats; +#endif /* __IStats_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "unknwn.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_netmon_0000_0000 */ +/* [local] */ + +//============================================================================= +// Microsoft (R) Network Monitor (tm). +// Copyright (C) Microsoft Corporation. All rights reserved. +// +// MODULE: netmon.h +// +// This is the consolidated include file for all Network Monitor components. +// +// It contains the contents of these files from previous SDKs: +// +// NPPTypes.h +// Finder.h +// NMSupp.h +// BHTypes.h +// NMErr.h +// BHFilter.h +// Frame.h +// Parser.h +// IniLib.h +// NMExpert.h (previously Expert.h) +// Netmon.h (previously bh.h) +// NMBlob.h (previously blob.h) +// NMRegHelp.h (previously reghelp.h) +// NMIpStructs.h (previously IpStructs.h) +// NMIcmpStructs.h (previously IcmpStructs.h) +// NMIpxStructs.h (previously IpxStructs.h) +// NMTcpStructs.h (previously TcpStructs.h) +// +// IDelaydC.idl +// IRTC.idl +// IStats.idl +// +//============================================================================= +#include +#include + +#pragma pack(1) +// For backward compatability with old SDK versions, all structures within this header +// file will be byte packed on x86 platforms. All other platforms will only have those +// structures that will be used to decode network data packed. +#ifdef _X86_ +#pragma pack(1) +#else +#pragma pack() +#endif + +// yes we know that many of our structures have: +// warning C4200: nonstandard extension used : zero-sized array in struct/union +// this is OK and intended +#pragma warning(disable:4200) +//============================================================================= +//============================================================================= +// (NPPTypes.h) +//============================================================================= +//============================================================================= +typedef BYTE *LPBYTE; + +typedef const void *HBLOB; + +//============================================================================= +// General constants. +//============================================================================= +#define MAC_TYPE_UNKNOWN ( 0 ) + +#define MAC_TYPE_ETHERNET ( 1 ) + +#define MAC_TYPE_TOKENRING ( 2 ) + +#define MAC_TYPE_FDDI ( 3 ) + +#define MAC_TYPE_ATM ( 4 ) + +#define MAC_TYPE_1394 ( 5 ) + +#define MACHINE_NAME_LENGTH ( 16 ) + +#define USER_NAME_LENGTH ( 32 ) + +#define ADAPTER_COMMENT_LENGTH ( 32 ) + +#define CONNECTION_FLAGS_WANT_CONVERSATION_STATS ( 0x1 ) + +//============================================================================= +// Transmit statistics structure. +//============================================================================= +typedef struct _TRANSMITSTATS + { + DWORD TotalFramesSent; + DWORD TotalBytesSent; + DWORD TotalTransmitErrors; + } TRANSMITSTATS; + +typedef TRANSMITSTATS *LPTRANSMITSTATS; + +#define TRANSMITSTATS_SIZE ( sizeof( TRANSMITSTATS ) ) + +//============================================================================= +// Statistics structure. +//============================================================================= +typedef struct _STATISTICS + { + __int64 TimeElapsed; + DWORD TotalFramesCaptured; + DWORD TotalBytesCaptured; + DWORD TotalFramesFiltered; + DWORD TotalBytesFiltered; + DWORD TotalMulticastsFiltered; + DWORD TotalBroadcastsFiltered; + DWORD TotalFramesSeen; + DWORD TotalBytesSeen; + DWORD TotalMulticastsReceived; + DWORD TotalBroadcastsReceived; + DWORD TotalFramesDropped; + DWORD TotalFramesDroppedFromBuffer; + DWORD MacFramesReceived; + DWORD MacCRCErrors; + __int64 MacBytesReceivedEx; + DWORD MacFramesDropped_NoBuffers; + DWORD MacMulticastsReceived; + DWORD MacBroadcastsReceived; + DWORD MacFramesDropped_HwError; + } STATISTICS; + +typedef STATISTICS *LPSTATISTICS; + +#define STATISTICS_SIZE ( sizeof( STATISTICS ) ) + +//============================================================================= +// Address structures +//============================================================================= + +// These structures are used to decode network data and so need to be packed + +#pragma pack(push, 1) +#define MAX_NAME_SIZE ( 32 ) + +#define IP_ADDRESS_SIZE ( 4 ) + +#define MAC_ADDRESS_SIZE ( 6 ) + +#define IP6_ADDRESS_SIZE ( 16 ) + +// Q: What is the maximum address size that we could have to copy? +// A: IP6 +#define MAX_ADDRESS_SIZE ( 16 ) + +#define ADDRESS_TYPE_ETHERNET ( 0 ) + +#define ADDRESS_TYPE_IP ( 1 ) + +#define ADDRESS_TYPE_IPX ( 2 ) + +#define ADDRESS_TYPE_TOKENRING ( 3 ) + +#define ADDRESS_TYPE_FDDI ( 4 ) + +#define ADDRESS_TYPE_XNS ( 5 ) + +#define ADDRESS_TYPE_ANY ( 6 ) + +#define ADDRESS_TYPE_ANY_GROUP ( 7 ) + +#define ADDRESS_TYPE_FIND_HIGHEST ( 8 ) + +#define ADDRESS_TYPE_VINES_IP ( 9 ) + +#define ADDRESS_TYPE_LOCAL_ONLY ( 10 ) + +#define ADDRESS_TYPE_ATM ( 11 ) + +#define ADDRESS_TYPE_1394 ( 12 ) + +#define ADDRESS_TYPE_IP6 ( 13 ) + +#define ADDRESSTYPE_FLAGS_NORMALIZE ( 0x1 ) + +#define ADDRESSTYPE_FLAGS_BIT_REVERSE ( 0x2 ) + +// Vines IP Address Structure +typedef struct _VINES_IP_ADDRESS + { + DWORD NetID; + WORD SubnetID; + } VINES_IP_ADDRESS; + +typedef VINES_IP_ADDRESS *LPVINES_IP_ADDRESS; + +#define VINES_IP_ADDRESS_SIZE ( sizeof( VINES_IP_ADDRESS ) ) + +// IPX Address Structure +typedef struct _IPX_ADDR + { + BYTE Subnet[ 4 ]; + BYTE Address[ 6 ]; + } IPX_ADDR; + +typedef IPX_ADDR *LPIPX_ADDR; + +#define IPX_ADDR_SIZE ( sizeof( IPX_ADDR ) ) + +// XNS Address Structure +typedef IPX_ADDR XNS_ADDRESS; + +typedef IPX_ADDR *LPXNS_ADDRESS; + +// ETHERNET SOURCE ADDRESS +typedef struct _ETHERNET_SRC_ADDRESS +{ + BYTE RoutingBit: 1; + BYTE LocalBit: 1; + BYTE Byte0: 6; + BYTE Reserved[5]; + +} ETHERNET_SRC_ADDRESS; +typedef ETHERNET_SRC_ADDRESS *LPETHERNET_SRC_ADDRESS; +// ETHERNET DESTINATION ADDRESS +typedef struct _ETHERNET_DST_ADDRESS +{ + BYTE GroupBit: 1; + BYTE AdminBit: 1; + BYTE Byte0: 6; + BYTE Reserved[5]; +} ETHERNET_DST_ADDRESS; +typedef ETHERNET_DST_ADDRESS *LPETHERNET_DST_ADDRESS; + +// FDDI addresses +typedef ETHERNET_SRC_ADDRESS FDDI_SRC_ADDRESS; +typedef ETHERNET_DST_ADDRESS FDDI_DST_ADDRESS; + +typedef FDDI_SRC_ADDRESS *LPFDDI_SRC_ADDRESS; +typedef FDDI_DST_ADDRESS *LPFDDI_DST_ADDRESS; + +// TOKENRING Source Address +typedef struct _TOKENRING_SRC_ADDRESS +{ + BYTE Byte0: 6; + BYTE LocalBit: 1; + BYTE RoutingBit: 1; + BYTE Byte1; + BYTE Byte2: 7; + BYTE Functional: 1; + BYTE Reserved[3]; +} TOKENRING_SRC_ADDRESS; +typedef TOKENRING_SRC_ADDRESS *LPTOKENRING_SRC_ADDRESS; + +// TOKENRING Destination Address +typedef struct _TOKENRING_DST_ADDRESS +{ + BYTE Byte0: 6; + BYTE AdminBit: 1; + BYTE GroupBit: 1; + BYTE Reserved[5]; +} TOKENRING_DST_ADDRESS; +typedef TOKENRING_DST_ADDRESS *LPTOKENRING_DST_ADDRESS; +// Address Structure +typedef struct _ADDRESS2 +{ + DWORD Type; + + union + { + // ADDRESS_TYPE_ETHERNET + // ADDRESS_TYPE_TOKENRING + // ADDRESS_TYPE_FDDI + BYTE MACAddress[MAC_ADDRESS_SIZE]; + + // IP + BYTE IPAddress[IP_ADDRESS_SIZE]; + + // IP6 + BYTE IP6Address[IP6_ADDRESS_SIZE]; + + // raw IPX + BYTE IPXRawAddress[IPX_ADDR_SIZE]; + + // real IPX + IPX_ADDR IPXAddress; + + // raw Vines IP + BYTE VinesIPRawAddress[VINES_IP_ADDRESS_SIZE]; + + // real Vines IP + VINES_IP_ADDRESS VinesIPAddress; + + // ethernet with bits defined + ETHERNET_SRC_ADDRESS EthernetSrcAddress; + + // ethernet with bits defined + ETHERNET_DST_ADDRESS EthernetDstAddress; + + // tokenring with bits defined + TOKENRING_SRC_ADDRESS TokenringSrcAddress; + + // tokenring with bits defined + TOKENRING_DST_ADDRESS TokenringDstAddress; + + // fddi with bits defined + FDDI_SRC_ADDRESS FddiSrcAddress; + + // fddi with bits defined + FDDI_DST_ADDRESS FddiDstAddress; + }; + + WORD Flags; +} ADDRESS2; +typedef ADDRESS2 *LPADDRESS2; +#define ADDRESS2_SIZE sizeof(ADDRESS2) + + +#pragma pack(pop) +//============================================================================= +// Address Pair Structure +//============================================================================= +#define ADDRESS_FLAGS_MATCH_DST ( 0x1 ) + +#define ADDRESS_FLAGS_MATCH_SRC ( 0x2 ) + +#define ADDRESS_FLAGS_EXCLUDE ( 0x4 ) + +#define ADDRESS_FLAGS_DST_GROUP_ADDR ( 0x8 ) + +#define ADDRESS_FLAGS_MATCH_BOTH ( 0x3 ) + +typedef struct _ADDRESSPAIR2 +{ + WORD AddressFlags; + WORD NalReserved; + ADDRESS2 DstAddress; + ADDRESS2 SrcAddress; + +} ADDRESSPAIR2; +typedef ADDRESSPAIR2 *LPADDRESSPAIR2; +#define ADDRESSPAIR2_SIZE sizeof(ADDRESSPAIR2) +//============================================================================= +// Address table. +//============================================================================= +#define MAX_ADDRESS_PAIRS ( 8 ) + +typedef struct _ADDRESSTABLE2 +{ + DWORD nAddressPairs; + DWORD nNonMacAddressPairs; + ADDRESSPAIR2 AddressPair[MAX_ADDRESS_PAIRS]; + +} ADDRESSTABLE2; + +typedef ADDRESSTABLE2 *LPADDRESSTABLE2; +#define ADDRESSTABLE2_SIZE sizeof(ADDRESSTABLE2) +//============================================================================= +// Network information. +//============================================================================= +#define NETWORKINFO_FLAGS_PMODE_NOT_SUPPORTED ( 0x1 ) + +#define NETWORKINFO_FLAGS_REMOTE_NAL ( 0x4 ) + +#define NETWORKINFO_FLAGS_REMOTE_NAL_CONNECTED ( 0x8 ) + +#define NETWORKINFO_FLAGS_REMOTE_CARD ( 0x10 ) + +#define NETWORKINFO_FLAGS_RAS ( 0x20 ) + +#define NETWORKINFO_RESERVED_FIELD_SIZE (FIELD_OFFSET(ADDRESS2,IPXAddress) + sizeof(IPX_ADDR)) +typedef struct _NETWORKINFO +{ + BYTE PermanentAddr[6]; //... Permanent MAC address + BYTE CurrentAddr[6]; //... Current MAC address + BYTE Reserved[NETWORKINFO_RESERVED_FIELD_SIZE]; + DWORD LinkSpeed; //... Link speed in Mbits. + DWORD MacType; //... Media type. + DWORD MaxFrameSize; //... Max frame size allowed. + DWORD Flags; //... Informational flags. + DWORD TimestampScaleFactor; //... 1 = 1/1 ms, 10 = 1/10 ms, 100 = 1/100 ms, etc. + BYTE NodeName[32]; //... Name of remote workstation. + BOOL PModeSupported; //... Card claims to support P-Mode + BYTE Comment[ADAPTER_COMMENT_LENGTH]; // Adapter comment field. + +} NETWORKINFO; +typedef NETWORKINFO *LPNETWORKINFO; +#define NETWORKINFO_SIZE sizeof(NETWORKINFO) +#define MINIMUM_FRAME_SIZE ( 32 ) + +//============================================================================= +// Pattern structure. +//============================================================================= +#define MAX_PATTERN_LENGTH ( 16 ) + +// When set this flag will cause those frames which do NOT have the specified pattern +// in the proper stop to be kept. +#define PATTERN_MATCH_FLAGS_NOT ( 0x1 ) + +#define PATTERN_MATCH_FLAGS_RESERVED_1 ( 0x2 ) + +// When set this flag indicates that the user is not interested in a pattern match within +// IP or IPX, but in the protocol that follows. The driver will ensure that the protocol +// given in OffsetBasis is there and then that the port in the fram matches the port given. +// It will then calculate the offset from the beginning of the protocol that follows IP or IPX. +// NOTE: This flag is ignored if it is used with any OffsetBasis other than +// OFFSET_BASIS_RELATIVE_TO_IPX or OFFSET_BASIS_RELATIVE_TO_IP +#define PATTERN_MATCH_FLAGS_PORT_SPECIFIED ( 0x8 ) + +// The offset given is relative to the beginning of the frame. The +// PATTERN_MATCH_FLAGS_PORT_SPECIFIED flag is ignored. +#define OFFSET_BASIS_RELATIVE_TO_FRAME ( 0 ) + +// The offset given is relative to the beginning of the Effective Protocol. +// The Effective Protocol is defined as the protocol that follows +// the last protocol that determines Etype/SAP. In normal terms this means +// that the Effective Protocol will be IP, IPX, XNS, or any of their ilk. +// The PATTERN_MATCH_FLAGS_PORT_SPECIFIED flag is ignored. +#define OFFSET_BASIS_RELATIVE_TO_EFFECTIVE_PROTOCOL ( 1 ) + +// The offset given is relative to the beginning of IPX. If IPX is not present +// then the frame does not match. If the PATTERN_MATCH_FLAGS_PORT_SPECIFIED +// flag is set then the offset is relative to the beginning of the protocol +// which follows IPX. +#define OFFSET_BASIS_RELATIVE_TO_IPX ( 2 ) + +// The offset given is relative to the beginning of IP. If IP is not present +// then the frame does not match. If the PATTERN_MATCH_FLAGS_PORT_SPECIFIED +// flag is set then the offset is relative to the beginning of the protocol +// which follows IP. +#define OFFSET_BASIS_RELATIVE_TO_IP ( 3 ) + +// The offset given is relative to the beginning of IP6. If IP6 is not present +// then the frame does not match. If the PATTERN_MATCH_FLAGS_PORT_SPECIFIED +// flag is set then the offset is relative to the beginning of the protocol +// which follows IP6. +#define OFFSET_BASIS_RELATIVE_TO_IP6 ( 4 ) + +typedef /* [public][public][public][public][public][public][public][public][public] */ union __MIDL___MIDL_itf_netmon_0000_0000_0001 + { + BYTE NextHeader; + BYTE IPPort; + WORD ByteSwappedIPXPort; + } GENERIC_PORT; + +typedef struct _PATTERNMATCH + { + DWORD Flags; + BYTE OffsetBasis; + GENERIC_PORT Port; + WORD Offset; + WORD Length; + BYTE PatternToMatch[ 16 ]; + } PATTERNMATCH; + +typedef PATTERNMATCH *LPPATTERNMATCH; + +#define PATTERNMATCH_SIZE ( sizeof( PATTERNMATCH ) ) + +//============================================================================= +// Expression structure. +//============================================================================= +#define MAX_PATTERNS ( 4 ) + +typedef struct _ANDEXP + { + DWORD nPatternMatches; + PATTERNMATCH PatternMatch[ 4 ]; + } ANDEXP; + +typedef ANDEXP *LPANDEXP; + +#define ANDEXP_SIZE ( sizeof( ANDEXP ) ) + +typedef struct _EXPRESSION + { + DWORD nAndExps; + ANDEXP AndExp[ 4 ]; + } EXPRESSION; + +typedef EXPRESSION *LPEXPRESSION; + +#define EXPRESSION_SIZE ( sizeof( EXPRESSION ) ) + +//============================================================================= +// Trigger. +//============================================================================= +#define TRIGGER_TYPE_PATTERN_MATCH ( 1 ) + +#define TRIGGER_TYPE_BUFFER_CONTENT ( 2 ) + +#define TRIGGER_TYPE_PATTERN_MATCH_THEN_BUFFER_CONTENT ( 3 ) + +#define TRIGGER_TYPE_BUFFER_CONTENT_THEN_PATTERN_MATCH ( 4 ) + +#define TRIGGER_FLAGS_FRAME_RELATIVE ( 0 ) + +#define TRIGGER_FLAGS_DATA_RELATIVE ( 0x1 ) + +#define TRIGGER_ACTION_NOTIFY ( 0 ) + +#define TRIGGER_ACTION_STOP ( 0x2 ) + +#define TRIGGER_ACTION_PAUSE ( 0x3 ) + +#define TRIGGER_BUFFER_FULL_25_PERCENT ( 0 ) + +#define TRIGGER_BUFFER_FULL_50_PERCENT ( 1 ) + +#define TRIGGER_BUFFER_FULL_75_PERCENT ( 2 ) + +#define TRIGGER_BUFFER_FULL_100_PERCENT ( 3 ) + +typedef struct _TRIGGER + { + BOOL TriggerActive; + BYTE TriggerType; + BYTE TriggerAction; + DWORD TriggerFlags; + PATTERNMATCH TriggerPatternMatch; + DWORD TriggerBufferSize; + DWORD TriggerReserved; + char TriggerCommandLine[ 260 ]; + } TRIGGER; + +typedef TRIGGER *LPTRIGGER; + +#define TRIGGER_SIZE ( sizeof( TRIGGER ) ) + +//============================================================================= +// Capture filter. +//============================================================================= +// Capture filter flags. By default all frames are rejected and +// Network Monitor enables them based on the CAPTUREFILTER flags +// defined below. +#define CAPTUREFILTER_FLAGS_INCLUDE_ALL_SAPS ( 0x1 ) + +#define CAPTUREFILTER_FLAGS_INCLUDE_ALL_ETYPES ( 0x2 ) + +#define CAPTUREFILTER_FLAGS_TRIGGER ( 0x4 ) + +#define CAPTUREFILTER_FLAGS_LOCAL_ONLY ( 0x8 ) + +// throw away our internal comment frames +#define CAPTUREFILTER_FLAGS_DISCARD_COMMENTS ( 0x10 ) + +// Keep SMT and Token Ring MAC frames +#define CAPTUREFILTER_FLAGS_KEEP_RAW ( 0x20 ) + +#define CAPTUREFILTER_FLAGS_INCLUDE_ALL ( 0x3 ) + +#define BUFFER_FULL_25_PERCENT ( 0 ) + +#define BUFFER_FULL_50_PERCENT ( 1 ) + +#define BUFFER_FULL_75_PERCENT ( 2 ) + +#define BUFFER_FULL_100_PERCENT ( 3 ) + +typedef struct _CAPTUREFILTER +{ + DWORD FilterFlags; + LPBYTE lpSapTable; + LPWORD lpEtypeTable; + WORD nSaps; + WORD nEtypes; + LPADDRESSTABLE2 AddressTable; + EXPRESSION FilterExpression; + TRIGGER Trigger; + DWORD nFrameBytesToCopy; + DWORD Reserved; + +} CAPTUREFILTER; +typedef CAPTUREFILTER *LPCAPTUREFILTER; +#define CAPTUREFILTER_SIZE sizeof(CAPTUREFILTER) +//============================================================================= +// Frame type. +//============================================================================= +// TimeStamp is in 1/1,000,000th seconds. +typedef struct _FRAME + { + __int64 TimeStamp; + DWORD FrameLength; + DWORD nBytesAvail; + BYTE MacFrame[ 1 ]; + } FRAME; + +typedef FRAME *LPFRAME; + +typedef FRAME UNALIGNED *ULPFRAME; +#define FRAME_SIZE ( sizeof( FRAME ) ) + +//============================================================================= +// Frame descriptor type. +//============================================================================= +#define LOW_PROTOCOL_IPX ( OFFSET_BASIS_RELATIVE_TO_IPX ) + +#define LOW_PROTOCOL_IP ( OFFSET_BASIS_RELATIVE_TO_IP ) + +#define LOW_PROTOCOL_IP6 ( OFFSET_BASIS_RELATIVE_TO_IP6 ) + +#define LOW_PROTOCOL_UNKNOWN ( ( BYTE )-1 ) + +typedef struct _FRAME_DESCRIPTOR + { + LPBYTE FramePointer; + __int64 TimeStamp; + DWORD FrameLength; + DWORD nBytesAvail; + WORD Etype; + BYTE Sap; + BYTE LowProtocol; + WORD LowProtocolOffset; + /* [switch_type] */ union + { + WORD Reserved; + BYTE IPPort; + WORD ByteSwappedIPXPort; + } HighPort; + WORD HighProtocolOffset; + } FRAME_DESCRIPTOR; + +typedef FRAME_DESCRIPTOR *LPFRAME_DESCRIPTOR; + +#define FRAME_DESCRIPTOR_SIZE ( sizeof( FRAME_DESCRIPTOR ) ) + +//============================================================================= +// Frame descriptor table. +//============================================================================= +typedef struct _FRAMETABLE + { + DWORD FrameTableLength; + DWORD StartIndex; + DWORD EndIndex; + DWORD FrameCount; + FRAME_DESCRIPTOR Frames[ 1 ]; + } FRAMETABLE; + +typedef FRAMETABLE *LPFRAMETABLE; + +//============================================================================= +// Station statistics. +//============================================================================= +#define STATIONSTATS_FLAGS_INITIALIZED ( 0x1 ) + +#define STATIONSTATS_FLAGS_EVENTPOSTED ( 0x2 ) + +#define STATIONSTATS_POOL_SIZE ( 100 ) + +typedef struct _STATIONSTATS + { + DWORD NextStationStats; + DWORD SessionPartnerList; + DWORD Flags; + BYTE StationAddress[ 6 ]; + WORD Pad; + DWORD TotalPacketsReceived; + DWORD TotalDirectedPacketsSent; + DWORD TotalBroadcastPacketsSent; + DWORD TotalMulticastPacketsSent; + DWORD TotalBytesReceived; + DWORD TotalBytesSent; + } STATIONSTATS; + +typedef STATIONSTATS *LPSTATIONSTATS; + +#define STATIONSTATS_SIZE ( sizeof( STATIONSTATS ) ) + +//============================================================================= +// Session statistics. +//============================================================================= +#define SESSION_FLAGS_INITIALIZED ( 0x1 ) + +#define SESSION_FLAGS_EVENTPOSTED ( 0x2 ) + +#define SESSION_POOL_SIZE ( 100 ) + +typedef struct _SESSIONSTATS + { + DWORD NextSession; + DWORD StationOwner; + DWORD StationPartner; + DWORD Flags; + DWORD TotalPacketsSent; + } SESSIONSTATS; + +typedef SESSIONSTATS *LPSESSIONSTATS; + +#define SESSIONSTATS_SIZE ( sizeof( SESSIONSTATS ) ) + +//============================================================================= +// Station Query +//============================================================================= + +// These structures are obsolete and should not be used +// They are included so that our interfaces need not change + +#pragma pack(push, 1) +typedef struct _STATIONQUERY + { + DWORD Flags; + BYTE BCDVerMinor; + BYTE BCDVerMajor; + DWORD LicenseNumber; + BYTE MachineName[ 16 ]; + BYTE UserName[ 32 ]; + BYTE Reserved[ 32 ]; + BYTE AdapterAddress[ 6 ]; + WCHAR WMachineName[ 16 ]; + WCHAR WUserName[ 32 ]; + } STATIONQUERY; + +typedef STATIONQUERY *LPSTATIONQUERY; + +#define STATIONQUERY_SIZE ( sizeof( STATIONQUERY ) ) + + +#pragma pack(pop) +//============================================================================= +// structure. +//============================================================================= +typedef struct _QUERYTABLE + { + DWORD nStationQueries; + STATIONQUERY StationQuery[ 1 ]; + } QUERYTABLE; + +typedef QUERYTABLE *LPQUERYTABLE; + +#define QUERYTABLE_SIZE ( sizeof( QUERYTABLE ) ) + +//============================================================================= +// The LINK structure is used to chain structures together into a list. +//============================================================================= +typedef struct _LINK *LPLINK; + +typedef struct _LINK + { + LPLINK PrevLink; + LPLINK NextLink; + } LINK; + +//============================================================================= +// Security Response packet +//============================================================================= + +// This structure is used to decode network data and so needs to be packed + +#pragma pack(push, 1) +#define MAX_SECURITY_BREACH_REASON_SIZE ( 100 ) + +#define MAX_SIGNATURE_LENGTH ( 128 ) + +#define MAX_USER_NAME_LENGTH ( 256 ) + +typedef struct _SECURITY_PERMISSION_RESPONSE + { + UINT Version; + DWORD RandomNumber; + BYTE MachineName[ 16 ]; + BYTE Address[ 6 ]; + BYTE UserName[ 256 ]; + BYTE Reason[ 100 ]; + DWORD SignatureLength; + BYTE Signature[ 128 ]; + } SECURITY_PERMISSION_RESPONSE; + +typedef SECURITY_PERMISSION_RESPONSE *LPSECURITY_PERMISSION_RESPONSE; + +typedef SECURITY_PERMISSION_RESPONSE UNALIGNED * ULPSECURITY_PERMISSION_RESPONSE; +#define SECURITY_PERMISSION_RESPONSE_SIZE ( sizeof( SECURITY_PERMISSION_RESPONSE ) ) + + +#pragma pack(pop) +//============================================================================= +// Callback type +//============================================================================= +// generic events +#define UPDATE_EVENT_TERMINATE_THREAD ( 0 ) + +#define UPDATE_EVENT_NETWORK_STATUS ( 0x1 ) + +// rtc events +#define UPDATE_EVENT_RTC_INTERVAL_ELAPSED ( 0x2 ) + +#define UPDATE_EVENT_RTC_FRAME_TABLE_FULL ( 0x3 ) + +#define UPDATE_EVENT_RTC_BUFFER_FULL ( 0x4 ) + +// delayed events +#define UPDATE_EVENT_TRIGGER_BUFFER_CONTENT ( 0x5 ) + +#define UPDATE_EVENT_TRIGGER_PATTERN_MATCH ( 0x6 ) + +#define UPDATE_EVENT_TRIGGER_BUFFER_PATTERN ( 0x7 ) + +#define UPDATE_EVENT_TRIGGER_PATTERN_BUFFER ( 0x8 ) + +// transmit events +#define UPDATE_EVENT_TRANSMIT_STATUS ( 0x9 ) + +// Security events +#define UPDATE_EVENT_SECURITY_BREACH ( 0xa ) + +// Remote failure event +#define UPDATE_EVENT_REMOTE_FAILURE ( 0xb ) + +// actions +#define UPDATE_ACTION_TERMINATE_THREAD ( 0 ) + +#define UPDATE_ACTION_NOTIFY ( 0x1 ) + +#define UPDATE_ACTION_STOP_CAPTURE ( 0x2 ) + +#define UPDATE_ACTION_PAUSE_CAPTURE ( 0x3 ) + +#define UPDATE_ACTION_RTC_BUFFER_SWITCH ( 0x4 ) + +typedef struct _UPDATE_EVENT + { + USHORT Event; + DWORD Action; + DWORD Status; + DWORD Value; + __int64 TimeStamp; + DWORD_PTR lpUserContext; + DWORD_PTR lpReserved; + UINT FramesDropped; + /* [switch_type] */ union + { + DWORD Reserved; + LPFRAMETABLE lpFrameTable; + DWORD_PTR lpPacketQueue; + SECURITY_PERMISSION_RESPONSE SecurityResponse; + } ; + LPSTATISTICS lpFinalStats; + } UPDATE_EVENT; + +typedef UPDATE_EVENT *PUPDATE_EVENT; + +// note for c++ users: +// the declaration for this callback should be in the public part of the header file: +// static WINAPI DWORD NetworkCallback( UPDATE_EVENT events); +// and the implementation should be, in the protected section of the cpp file: +// DWORD WINAPI ClassName::NetworkCallback( UPDATE_EVENT events) {}; +//typedef DWORD (WINAPI *LPNETWORKCALLBACKPROC)( UPDATE_EVENT); +typedef DWORD (WINAPI *LPNETWORKCALLBACKPROC)( UPDATE_EVENT); +//============================================================================= +// NETWORKSTATUS data structure. +//============================================================================= +typedef struct _NETWORKSTATUS + { + DWORD State; + DWORD Flags; + } NETWORKSTATUS; + +typedef NETWORKSTATUS *LPNETWORKSTATUS; + +#define NETWORKSTATUS_SIZE ( sizeof( NETWORKSTATUS ) ) + +#define NETWORKSTATUS_STATE_VOID ( 0 ) + +#define NETWORKSTATUS_STATE_INIT ( 1 ) + +#define NETWORKSTATUS_STATE_CAPTURING ( 2 ) + +#define NETWORKSTATUS_STATE_PAUSED ( 3 ) + +#define NETWORKSTATUS_FLAGS_TRIGGER_PENDING ( 0x1 ) + +#define MAKE_WORD(l, h) (((WORD) (l)) | (((WORD) (h)) << 8)) +#define MAKE_LONG(l, h) (((DWORD) (l)) | (((DWORD) (h)) << 16L)) +#define MAKE_SIG(a, b, c, d) MAKE_LONG(MAKE_WORD(a, b), MAKE_WORD(c, d)) +//============================================================================= +// STATISTICS parameter structure. +//============================================================================= +#define MAX_SESSIONS ( 100 ) + +#define MAX_STATIONS ( 100 ) + +typedef struct _STATISTICSPARAM + { + DWORD StatisticsSize; + STATISTICS Statistics; + DWORD StatisticsTableEntries; + STATIONSTATS StatisticsTable[ 100 ]; + DWORD SessionTableEntries; + SESSIONSTATS SessionTable[ 100 ]; + } STATISTICSPARAM; + +typedef STATISTICSPARAM *LPSTATISTICSPARAM; + +#define STATISTICSPARAM_SIZE ( sizeof( STATISTICSPARAM ) ) + +//============================================================================= +// Capture file header. +//============================================================================= + +// This structure is used to decode file data and so needs to be packed + +#pragma pack(push, 1) +#define CAPTUREFILE_VERSION_MAJOR ( 2 ) + +#define CAPTUREFILE_VERSION_MINOR ( 0 ) + +#define MakeVersion(Major, Minor) ((DWORD) MAKEWORD(Minor, Major)) +#define GetCurrentVersion() MakeVersion(CAPTUREFILE_VERSION_MAJOR, CAPTUREFILE_VERSION_MINOR) +#define NETMON_1_0_CAPTUREFILE_SIGNATURE MAKE_IDENTIFIER('R', 'T', 'S', 'S') +#define NETMON_2_0_CAPTUREFILE_SIGNATURE MAKE_IDENTIFIER('G', 'M', 'B', 'U') +typedef struct _CAPTUREFILE_HEADER_VALUES + { + DWORD Signature; + BYTE BCDVerMinor; + BYTE BCDVerMajor; + WORD MacType; + SYSTEMTIME TimeStamp; + DWORD FrameTableOffset; + DWORD FrameTableLength; + DWORD UserDataOffset; + DWORD UserDataLength; + DWORD CommentDataOffset; + DWORD CommentDataLength; + DWORD StatisticsOffset; + DWORD StatisticsLength; + DWORD NetworkInfoOffset; + DWORD NetworkInfoLength; + DWORD ConversationStatsOffset; + DWORD ConversationStatsLength; + } CAPTUREFILE_HEADER_VALUES; + +typedef CAPTUREFILE_HEADER_VALUES *LPCAPTUREFILE_HEADER_VALUES; + +#define CAPTUREFILE_HEADER_VALUES_SIZE ( sizeof( CAPTUREFILE_HEADER_VALUES ) ) + + +#pragma pack(pop) +//============================================================================= +// Capture file. +//============================================================================= + +// This structure is used to decode file data and so needs to be packed + +#pragma pack(push, 1) +typedef struct _CAPTUREFILE_HEADER + { + union + { + CAPTUREFILE_HEADER_VALUES ActualHeader; + BYTE Buffer[ 72 ]; + } ; + BYTE Reserved[ 56 ]; + } CAPTUREFILE_HEADER; + +typedef CAPTUREFILE_HEADER *LPCAPTUREFILE_HEADER; + +#define CAPTUREFILE_HEADER_SIZE ( sizeof( CAPTUREFILE_HEADER ) ) + + +#pragma pack(pop) +//============================================================================= +// Stats Frame definitions. +//============================================================================= + +// These structures are used to create network data and so need to be packed + +#pragma pack(push, 1) +typedef struct _EFRAMEHDR + { + BYTE SrcAddress[ 6 ]; + BYTE DstAddress[ 6 ]; + WORD Length; + BYTE DSAP; + BYTE SSAP; + BYTE Control; + BYTE ProtocolID[ 3 ]; + WORD EtherType; + } EFRAMEHDR; + +typedef struct _TRFRAMEHDR + { + BYTE AC; + BYTE FC; + BYTE SrcAddress[ 6 ]; + BYTE DstAddress[ 6 ]; + BYTE DSAP; + BYTE SSAP; + BYTE Control; + BYTE ProtocolID[ 3 ]; + WORD EtherType; + } TRFRAMEHDR; + +#define DEFAULT_TR_AC ( 0 ) + +#define DEFAULT_TR_FC ( 0x40 ) + +#define DEFAULT_SAP ( 0xaa ) + +#define DEFAULT_CONTROL ( 0x3 ) + +#define DEFAULT_ETHERTYPE ( 0x8419 ) + +typedef struct _FDDIFRAMEHDR + { + BYTE FC; + BYTE SrcAddress[ 6 ]; + BYTE DstAddress[ 6 ]; + BYTE DSAP; + BYTE SSAP; + BYTE Control; + BYTE ProtocolID[ 3 ]; + WORD EtherType; + } FDDIFRAMEHDR; + +#define DEFAULT_FDDI_FC ( 0x10 ) + +typedef struct _FDDISTATFRAME + { + __int64 TimeStamp; + DWORD FrameLength; + DWORD nBytesAvail; + FDDIFRAMEHDR FrameHeader; + BYTE FrameID[ 4 ]; + DWORD Flags; + DWORD FrameType; + WORD StatsDataLen; + DWORD StatsVersion; + STATISTICS Statistics; + } FDDISTATFRAME; + +typedef FDDISTATFRAME *LPFDDISTATFRAME; + +typedef FDDISTATFRAME UNALIGNED *ULPFDDISTATFRAME; +#define FDDISTATFRAME_SIZE ( sizeof( FDDISTATFRAME ) ) + +typedef struct _ATMFRAMEHDR + { + BYTE SrcAddress[ 6 ]; + BYTE DstAddress[ 6 ]; + WORD Vpi; + WORD Vci; + } ATMFRAMEHDR; + +typedef struct _ATMSTATFRAME + { + __int64 TimeStamp; + DWORD FrameLength; + DWORD nBytesAvail; + ATMFRAMEHDR FrameHeader; + BYTE FrameID[ 4 ]; + DWORD Flags; + DWORD FrameType; + WORD StatsDataLen; + DWORD StatsVersion; + STATISTICS Statistics; + } ATMSTATFRAME; + +typedef ATMSTATFRAME *LPATMSTATFRAME; + +typedef ATMSTATFRAME UNALIGNED *ULPATMSTATFRAME; +#define ATMSTATFRAME_SIZE ( sizeof( ATMSTATFRAME ) ) + +typedef struct _TRSTATFRAME + { + __int64 TimeStamp; + DWORD FrameLength; + DWORD nBytesAvail; + TRFRAMEHDR FrameHeader; + BYTE FrameID[ 4 ]; + DWORD Flags; + DWORD FrameType; + WORD StatsDataLen; + DWORD StatsVersion; + STATISTICS Statistics; + } TRSTATFRAME; + +typedef TRSTATFRAME *LPTRSTATFRAME; + +typedef TRSTATFRAME UNALIGNED *ULPTRSTATFRAME; +#define TRSTATFRAME_SIZE ( sizeof( TRSTATFRAME ) ) + +typedef struct _ESTATFRAME + { + __int64 TimeStamp; + DWORD FrameLength; + DWORD nBytesAvail; + EFRAMEHDR FrameHeader; + BYTE FrameID[ 4 ]; + DWORD Flags; + DWORD FrameType; + WORD StatsDataLen; + DWORD StatsVersion; + STATISTICS Statistics; + } ESTATFRAME; + +typedef ESTATFRAME *LPESTATFRAME; + +typedef ESTATFRAME UNALIGNED *ULPESTATFRAME; +#define ESTATFRAME_SIZE ( sizeof( ESTATFRAME ) ) + +#define STATISTICS_VERSION_1_0 ( 0 ) + +#define STATISTICS_VERSION_2_0 ( 0x20 ) + +#define MAX_STATSFRAME_SIZE ( sizeof( TRSTATFRAME ) ) + +#define STATS_FRAME_TYPE ( 103 ) + + +#pragma pack(pop) +//**************************************************************************** +//**************************************************************************** +// Obsolete structures +// The newer structures (named with a 2 appended) should be used +//**************************************************************************** +//**************************************************************************** + +#pragma pack(push, 1) +// Address Structure +// Obsolete, ADDRESS2 should be used +typedef struct _ADDRESS +{ + DWORD Type; + + union + { + // ADDRESS_TYPE_ETHERNET + // ADDRESS_TYPE_TOKENRING + // ADDRESS_TYPE_FDDI + BYTE MACAddress[MAC_ADDRESS_SIZE]; + + // IP + BYTE IPAddress[IP_ADDRESS_SIZE]; + + // raw IPX + BYTE IPXRawAddress[IPX_ADDR_SIZE]; + + // real IPX + IPX_ADDR IPXAddress; + + // raw Vines IP + BYTE VinesIPRawAddress[VINES_IP_ADDRESS_SIZE]; + + // real Vines IP + VINES_IP_ADDRESS VinesIPAddress; + + // ethernet with bits defined + ETHERNET_SRC_ADDRESS EthernetSrcAddress; + + // ethernet with bits defined + ETHERNET_DST_ADDRESS EthernetDstAddress; + + // tokenring with bits defined + TOKENRING_SRC_ADDRESS TokenringSrcAddress; + + // tokenring with bits defined + TOKENRING_DST_ADDRESS TokenringDstAddress; + + // fddi with bits defined + FDDI_SRC_ADDRESS FddiSrcAddress; + + // fddi with bits defined + FDDI_DST_ADDRESS FddiDstAddress; + }; + + WORD Flags; +} ADDRESS; +typedef ADDRESS *LPADDRESS; +#define ADDRESS_SIZE sizeof(ADDRESS) + + +#pragma pack(pop) +// Obsolete, ADDRESSPAIR2 should be used +typedef struct _ADDRESSPAIR +{ + WORD AddressFlags; + WORD NalReserved; + ADDRESS DstAddress; + ADDRESS SrcAddress; + +} ADDRESSPAIR; +typedef ADDRESSPAIR *LPADDRESSPAIR; +#define ADDRESSPAIR_SIZE sizeof(ADDRESSPAIR) +// Obsolete, ADDRESSTABLE2 should be used +typedef struct _ADDRESSTABLE +{ + DWORD nAddressPairs; + DWORD nNonMacAddressPairs; + ADDRESSPAIR AddressPair[MAX_ADDRESS_PAIRS]; + +} ADDRESSTABLE; + +typedef ADDRESSTABLE *LPADDRESSTABLE; +#define ADDRESSTABLE_SIZE sizeof(ADDRESSTABLE) +// Obsolete, ADDRESSINFO2 should be used +typedef struct _ADDRESSINFO +{ + ADDRESS Address; + WCHAR Name[MAX_NAME_SIZE]; + DWORD Flags; + LPVOID lpAddressInstData; + +} ADDRESSINFO; +typedef struct _ADDRESSINFO *LPADDRESSINFO; +#define ADDRESSINFO_SIZE sizeof(ADDRESSINFO) +// Obsolete, ADDRESSINFOTABLE2 should be used +typedef struct _ADDRESSINFOTABLE +{ + DWORD nAddressInfos; + LPADDRESSINFO lpAddressInfo[0]; + +} ADDRESSINFOTABLE; +typedef ADDRESSINFOTABLE *LPADDRESSINFOTABLE; +#define ADDRESSINFOTABLE_SIZE sizeof(ADDRESSINFOTABLE) +//**************************************************************************** +//**************************************************************************** +// Obsolete functions +// The newer functions should be used +//**************************************************************************** +//**************************************************************************** +// Obsolete, SetNPPAddress2FilterInBlob should be used +DWORD _cdecl SetNPPAddressFilterInBlob( HBLOB hBlob, + LPADDRESSTABLE pAddressTable); +// Obsolete, GetNPPAddress2FilterFromBlob should be used +DWORD _cdecl GetNPPAddressFilterFromBlob( HBLOB hBlob, + LPADDRESSTABLE pAddressTable, + HBLOB hErrorBlob); +//============================================================================= +//============================================================================= +// (NMEvent.h) +//============================================================================= +//============================================================================= + +#pragma pack(push, 8) +// NMCOLUMNTYPE +typedef /* [public][public][public][public][public][public] */ +enum __MIDL___MIDL_itf_netmon_0000_0000_0005 + { NMCOLUMNTYPE_UINT8 = 0, + NMCOLUMNTYPE_SINT8 = ( NMCOLUMNTYPE_UINT8 + 1 ) , + NMCOLUMNTYPE_UINT16 = ( NMCOLUMNTYPE_SINT8 + 1 ) , + NMCOLUMNTYPE_SINT16 = ( NMCOLUMNTYPE_UINT16 + 1 ) , + NMCOLUMNTYPE_UINT32 = ( NMCOLUMNTYPE_SINT16 + 1 ) , + NMCOLUMNTYPE_SINT32 = ( NMCOLUMNTYPE_UINT32 + 1 ) , + NMCOLUMNTYPE_FLOAT64 = ( NMCOLUMNTYPE_SINT32 + 1 ) , + NMCOLUMNTYPE_FRAME = ( NMCOLUMNTYPE_FLOAT64 + 1 ) , + NMCOLUMNTYPE_YESNO = ( NMCOLUMNTYPE_FRAME + 1 ) , + NMCOLUMNTYPE_ONOFF = ( NMCOLUMNTYPE_YESNO + 1 ) , + NMCOLUMNTYPE_TRUEFALSE = ( NMCOLUMNTYPE_ONOFF + 1 ) , + NMCOLUMNTYPE_MACADDR = ( NMCOLUMNTYPE_TRUEFALSE + 1 ) , + NMCOLUMNTYPE_IPXADDR = ( NMCOLUMNTYPE_MACADDR + 1 ) , + NMCOLUMNTYPE_IPADDR = ( NMCOLUMNTYPE_IPXADDR + 1 ) , + NMCOLUMNTYPE_VARTIME = ( NMCOLUMNTYPE_IPADDR + 1 ) , + NMCOLUMNTYPE_STRING = ( NMCOLUMNTYPE_VARTIME + 1 ) + } NMCOLUMNTYPE; + +// NMCOLUMNVARIANT +typedef struct _NMCOLUMNVARIANT + { + NMCOLUMNTYPE Type; + union + { + BYTE Uint8Val; + char Sint8Val; + WORD Uint16Val; + short Sint16Val; + DWORD Uint32Val; + long Sint32Val; + DOUBLE Float64Val; + DWORD FrameVal; + BOOL YesNoVal; + BOOL OnOffVal; + BOOL TrueFalseVal; + BYTE MACAddrVal[ 6 ]; + IPX_ADDR IPXAddrVal; + DWORD IPAddrVal; + DOUBLE VarTimeVal; + LPCSTR pStringVal; + } Value; + } NMCOLUMNVARIANT; + +// COLUMNINFO +typedef struct _NMCOLUMNINFO + { + LPSTR szColumnName; + NMCOLUMNVARIANT VariantData; + } NMCOLUMNINFO; + +typedef NMCOLUMNINFO *PNMCOLUMNINFO; + +// JTYPE +typedef LPSTR JTYPE; + +// EVENTDATA +#ifdef MIDL_PASS +typedef struct _NMEVENTDATA + { + LPSTR pszReserved; + BYTE Version; + DWORD EventIdent; + DWORD Flags; + DWORD Severity; + BYTE NumColumns; + LPSTR szSourceName; + LPSTR szEventName; + LPSTR szDescription; + LPSTR szMachine; + JTYPE Justification; + PVOID pvReserved; + SYSTEMTIME SysTime; + NMCOLUMNINFO Column[ 1 ]; + } NMEVENTDATA; + +#else // MIDL_PASS +typedef struct _NMEVENTDATA +{ + LPSTR pszReserved; // Reserved + BYTE Version; // Version for this structure (must be 0) + DWORD EventIdent; // ID for this event + DWORD Flags; // Flags for Expert generated and others + DWORD Severity; // Severity level + BYTE NumColumns; // Number of optional columns for this event + LPSTR szSourceName; // Name of Expert + LPSTR szEventName; // Name of event + LPSTR szDescription;// Description of event + LPSTR szMachine; // Name (or IPADDRESS?) of the machine supplying the event (NULL for Experts usually) + JTYPE Justification;// Justification pane info (currently a string, but possible structure) + PVOID pvReserved; // Reserved + SYSTEMTIME SysTime; // Systemtime of the event + NMCOLUMNINFO Column[0]; +} NMEVENTDATA; +#endif // MIDL_PASS +typedef NMEVENTDATA *PNMEVENTDATA; + + +#pragma pack(pop) +// EVENT FLAGS +#define NMEVENTFLAG_EXPERT ( 0x1 ) + +#define NMEVENTFLAG_DO_NOT_DISPLAY_SEVERITY ( 0x80000000 ) + +#define NMEVENTFLAG_DO_NOT_DISPLAY_SOURCE ( 0x40000000 ) + +#define NMEVENTFLAG_DO_NOT_DISPLAY_EVENT_NAME ( 0x20000000 ) + +#define NMEVENTFLAG_DO_NOT_DISPLAY_DESCRIPTION ( 0x10000000 ) + +#define NMEVENTFLAG_DO_NOT_DISPLAY_MACHINE ( 0x8000000 ) + +#define NMEVENTFLAG_DO_NOT_DISPLAY_TIME ( 0x4000000 ) + +#define NMEVENTFLAG_DO_NOT_DISPLAY_DATE ( 0x2000000 ) + +//#define NMEVENTFLAG_DO_NOT_DISPLAY_FIXED_COLUMNS (NMEVENTFLAG_DO_NOT_DISPLAY_SEVERITY | \ +// NMEVENTFLAG_DO_NOT_DISPLAY_SOURCE | \ +// NMEVENTFLAG_DO_NOT_DISPLAY_EVENT_NAME | \ +// NMEVENTFLAG_DO_NOT_DISPLAY_DESCRIPTION| \ +// NMEVENTFLAG_DO_NOT_DISPLAY_MACHINE | \ +// NMEVENTFLAG_DO_NOT_DISPLAY_TIME | \ +// NMEVENTFLAG_DO_NOT_DISPLAY_DATE ) +#define NMEVENTFLAG_DO_NOT_DISPLAY_FIXED_COLUMNS ( 0xfe000000 ) + + +enum _NMEVENT_SEVERITIES + { NMEVENT_SEVERITY_INFORMATIONAL = 0, + NMEVENT_SEVERITY_WARNING = ( NMEVENT_SEVERITY_INFORMATIONAL + 1 ) , + NMEVENT_SEVERITY_STRONG_WARNING = ( NMEVENT_SEVERITY_WARNING + 1 ) , + NMEVENT_SEVERITY_ERROR = ( NMEVENT_SEVERITY_STRONG_WARNING + 1 ) , + NMEVENT_SEVERITY_SEVERE_ERROR = ( NMEVENT_SEVERITY_ERROR + 1 ) , + NMEVENT_SEVERITY_CRITICAL_ERROR = ( NMEVENT_SEVERITY_SEVERE_ERROR + 1 ) + } ; +//============================================================================= +//============================================================================= +// (Finder.h) +//============================================================================= +//============================================================================= +//============================================================================= +// Structures use by NPPs & the Finder +//============================================================================= +typedef /* [public][public] */ struct __MIDL___MIDL_itf_netmon_0000_0000_0007 + { + DWORD dwNumBlobs; + HBLOB hBlobs[ 1 ]; + } BLOB_TABLE; + +typedef BLOB_TABLE *PBLOB_TABLE; + +typedef /* [public][public][public] */ struct __MIDL___MIDL_itf_netmon_0000_0000_0008 + { + DWORD size; + BYTE *pBytes; + } MBLOB; + +typedef /* [public][public] */ struct __MIDL___MIDL_itf_netmon_0000_0000_0009 + { + DWORD dwNumBlobs; + MBLOB mBlobs[ 1 ]; + } MBLOB_TABLE; + +typedef MBLOB_TABLE *PMBLOB_TABLE; + +//============================================================================= +// Functions called by monitors, tools, netmon +//============================================================================= +DWORD _cdecl GetNPPBlobTable(HBLOB hFilterBlob, + PBLOB_TABLE* ppBlobTable); + +DWORD _cdecl GetNPPBlobFromUI(HWND hwnd, + HBLOB hFilterBlob, + HBLOB* phBlob); + +DWORD _cdecl GetNPPBlobFromUIExU(HWND hwnd, + HBLOB hFilterBlob, + HBLOB* phBlob, + char* szHelpFileName); + +DWORD _cdecl SelectNPPBlobFromTable( HWND hwnd, + PBLOB_TABLE pBlobTable, + HBLOB* hBlob); + +DWORD _cdecl SelectNPPBlobFromTableExU( HWND hwnd, + PBLOB_TABLE pBlobTable, + HBLOB* hBlob, + char* szHelpFileName); + +//============================================================================= +// Helper functions provided by the Finder +//============================================================================= + +__inline DWORD BLOB_TABLE_SIZE(DWORD dwNumBlobs) +{ + return (DWORD) (sizeof(BLOB_TABLE)+dwNumBlobs*sizeof(HBLOB)); +} + +__inline PBLOB_TABLE AllocBlobTable(DWORD dwNumBlobs) +{ + DWORD size = BLOB_TABLE_SIZE(dwNumBlobs); + + return (PBLOB_TABLE)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); +} + +__inline DWORD MBLOB_TABLE_SIZE(DWORD dwNumBlobs) +{ + return (DWORD) (sizeof(MBLOB_TABLE)+dwNumBlobs*sizeof(MBLOB)); +} + +__inline PMBLOB_TABLE AllocMBlobTable(DWORD dwNumBlobs) +{ + DWORD size = MBLOB_TABLE_SIZE(dwNumBlobs); + + return (PMBLOB_TABLE)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); +} + +//============================================================================= +// Functions provided by NPPs, called by the Finder +//============================================================================= + +// For NPP's that can return a Blob table without additional configuration. +DWORD _cdecl GetNPPBlobs(PBLOB_TABLE* ppBlobTable); +typedef DWORD (_cdecl FAR* BLOBSPROC) (PBLOB_TABLE* ppBlobTable); + +// For NPP's that need additional information to return a Blob table. +DWORD _cdecl GetConfigBlob(HBLOB* phBlob); +typedef DWORD (_cdecl FAR* GETCFGBLOB) (HBLOB, HBLOB*); +typedef DWORD (_cdecl FAR* CFGPROC) (HWND hwnd, + HBLOB SpecialBlob, + PBLOB_TABLE* ppBlobTable); + +//============================================================================= +// Handy functions +//============================================================================= +BOOL _cdecl FilterNPPBlob(HBLOB hBlob, HBLOB FilterBlob); + +BOOL _cdecl RaiseNMEvent(HINSTANCE hInstance, + WORD EventType, + DWORD EventID, + WORD nStrings, + const char** aInsertStrs, + LPVOID lpvData, + DWORD dwDataSize); + +//============================================================================= +//============================================================================= +// (NMmonitor.h) +//============================================================================= +//============================================================================= +//============================================================================= +//============================================================================= +// (NMSupp.h) +//============================================================================= +//============================================================================= + +#ifndef __cplusplus +#ifndef try +#define try __try +#endif // try + +#ifndef except +#define except __except +#endif // except +#endif // __cplusplus +//============================================================================= +// Windows version constants. +//============================================================================= +#define WINDOWS_VERSION_UNKNOWN ( 0 ) + +#define WINDOWS_VERSION_WIN32S ( 1 ) + +#define WINDOWS_VERSION_WIN32C ( 2 ) + +#define WINDOWS_VERSION_WIN32 ( 3 ) + +//============================================================================= +// Frame masks. +//============================================================================= +#define FRAME_MASK_ETHERNET ( ( BYTE )~0x1 ) + +#define FRAME_MASK_TOKENRING ( ( BYTE )~0x80 ) + +#define FRAME_MASK_FDDI ( ( BYTE )~0x1 ) + +//============================================================================= +// Object heap type. +//============================================================================= +typedef LPVOID HOBJECTHEAP; + +//============================================================================= +// Object cleanup procedure. +//============================================================================= + +typedef VOID (WINAPI *OBJECTPROC)(HOBJECTHEAP, LPVOID); + +//============================================================================= +// Network Monitor timers. +//============================================================================= +typedef struct _TIMER *HTIMER; + +typedef VOID (WINAPI *BHTIMERPROC)(LPVOID); + +HTIMER WINAPI BhSetTimer(BHTIMERPROC TimerProc, LPVOID InstData, DWORD TimeOut); + +VOID WINAPI BhKillTimer(HTIMER hTimer); + +//============================================================================= +// Network Monitor global error API. +//============================================================================= + +DWORD WINAPI BhGetLastError(VOID); + +DWORD WINAPI BhSetLastError(DWORD Error); + +//============================================================================= +// Object manager function prototypes. +//============================================================================= + +HOBJECTHEAP WINAPI CreateObjectHeap(DWORD ObjectSize, OBJECTPROC ObjectProc); + +HOBJECTHEAP WINAPI DestroyObjectHeap(HOBJECTHEAP hObjectHeap); + +LPVOID WINAPI AllocObject(HOBJECTHEAP hObjectHeap); + +LPVOID WINAPI FreeObject(HOBJECTHEAP hObjectHeap, LPVOID ObjectMemory); + +DWORD WINAPI GrowObjectHeap(HOBJECTHEAP hObjectHeap, DWORD nObjects); + +DWORD WINAPI GetObjectHeapSize(HOBJECTHEAP hObjectHeap); + +VOID WINAPI PurgeObjectHeap(HOBJECTHEAP hObjectHeap); + +//============================================================================= +// Memory functions. +//============================================================================= + +LPVOID WINAPI AllocMemory(SIZE_T size); + +LPVOID WINAPI ReallocMemory(LPVOID ptr, SIZE_T NewSize); + +VOID WINAPI FreeMemory(LPVOID ptr); + +VOID WINAPI TestMemory(LPVOID ptr); + +SIZE_T WINAPI MemorySize(LPVOID ptr); + +HANDLE WINAPI MemoryHandle(LPBYTE ptr); + +//============================================================================= +// EXPRESSION API's +//============================================================================= + +LPEXPRESSION WINAPI InitializeExpression(LPEXPRESSION Expression); + +LPPATTERNMATCH WINAPI InitializePattern(LPPATTERNMATCH Pattern, LPVOID ptr, DWORD offset, DWORD length); + +LPEXPRESSION WINAPI AndExpression(LPEXPRESSION Expression, LPPATTERNMATCH Pattern); + +LPEXPRESSION WINAPI OrExpression(LPEXPRESSION Expression, LPPATTERNMATCH Pattern); + +LPPATTERNMATCH WINAPI NegatePattern(LPPATTERNMATCH Pattern); + +LPADDRESSTABLE2 WINAPI AdjustOperatorPrecedence(LPADDRESSTABLE2 AddressTable); + +LPADDRESS2 WINAPI NormalizeAddress(LPADDRESS2 Address); + +LPADDRESSTABLE2 WINAPI NormalizeAddressTable(LPADDRESSTABLE2 AddressTable); + +//============================================================================= +// MISC. API's +//============================================================================= + +DWORD WINAPI BhGetWindowsVersion(VOID); + +BOOL WINAPI IsDaytona(VOID); + +VOID _cdecl dprintf(__in LPSTR format, ...); + +//============================================================================= +//============================================================================= +// (BHTypes.h) +//============================================================================= +//============================================================================= +//============================================================================= +// Unaligned base type definitions. +//============================================================================= +typedef VOID UNALIGNED *ULPVOID; +typedef BYTE UNALIGNED *ULPBYTE; +typedef WORD UNALIGNED *ULPWORD; +typedef DWORD UNALIGNED *ULPDWORD; +typedef CHAR UNALIGNED *ULPSTR; +typedef SYSTEMTIME UNALIGNED *ULPSYSTEMTIME; +//============================================================================= +// Handle definitions. +//============================================================================= +typedef struct _PARSER *HPARSER; + +typedef struct _CAPFRAMEDESC *HFRAME; + +typedef struct _CAPTURE *HCAPTURE; + +typedef struct _FILTER *HFILTER; + +typedef struct _ADDRESSDB *HADDRESSDB; + +typedef struct _PROTOCOL *HPROTOCOL; + +typedef DWORD_PTR HPROPERTY; + +typedef HPROTOCOL *LPHPROTOCOL; + +//============================================================================= +// GetTableSize() -- The following macro is used to calculate the actual +// length of Network Monitor variable-length table structures. +// +// EXAMPLE: +// +// GetTableSize(PROTOCOLTABLESIZE, +// ProtocolTable->nProtocols, +// sizeof(HPROTOCOL)) +//============================================================================= +#define GetTableSize(TableBaseSize, nElements, ElementSize) ((TableBaseSize) + ((nElements) * (ElementSize))) +//============================================================================= +// Object type identifiers. +//============================================================================= +typedef DWORD OBJECTTYPE; + +#ifndef MAKE_IDENTIFIER +#define MAKE_IDENTIFIER(a, b, c, d) ((DWORD) MAKELONG(MAKEWORD(a, b), MAKEWORD(c, d))) +#endif // MAKE_IDENTIFIER +#define HANDLE_TYPE_INVALID MAKE_IDENTIFIER(-1, -1, -1, -1) +#define HANDLE_TYPE_CAPTURE MAKE_IDENTIFIER('C', 'A', 'P', '$') +#define HANDLE_TYPE_PARSER MAKE_IDENTIFIER('P', 'S', 'R', '$') +#define HANDLE_TYPE_ADDRESSDB MAKE_IDENTIFIER('A', 'D', 'R', '$') +#define HANDLE_TYPE_PROTOCOL MAKE_IDENTIFIER('P', 'R', 'T', '$') +#define HANDLE_TYPE_BUFFER MAKE_IDENTIFIER('B', 'U', 'F', '$') +//============================================================================= +// Network Monitor constant definitions. +//============================================================================= +#define INLINE __inline +#define BHAPI WINAPI +#define MAX_NAME_LENGTH ( 16 ) + +#define MAX_ADDR_LENGTH ( 6 ) + +//============================================================================= +// Ethernet type (ETYPE) constant definitions. +//============================================================================= +#define ETYPE_LOOP ( 0x9000 ) + +#define ETYPE_3COM_NETMAP1 ( 0x9001 ) + +#define ETYPE_3COM_NETMAP2 ( 0x9002 ) + +#define ETYPE_IBM_RT ( 0x80d5 ) + +#define ETYPE_NETWARE ( 0x8137 ) + +#define ETYPE_XNS1 ( 0x600 ) + +#define ETYPE_XNS2 ( 0x807 ) + +#define ETYPE_3COM_NBP0 ( 0x3c00 ) + +#define ETYPE_3COM_NBP1 ( 0x3c01 ) + +#define ETYPE_3COM_NBP2 ( 0x3c02 ) + +#define ETYPE_3COM_NBP3 ( 0x3c03 ) + +#define ETYPE_3COM_NBP4 ( 0x3c04 ) + +#define ETYPE_3COM_NBP5 ( 0x3c05 ) + +#define ETYPE_3COM_NBP6 ( 0x3c06 ) + +#define ETYPE_3COM_NBP7 ( 0x3c07 ) + +#define ETYPE_3COM_NBP8 ( 0x3c08 ) + +#define ETYPE_3COM_NBP9 ( 0x3c09 ) + +#define ETYPE_3COM_NBP10 ( 0x3c0a ) + +#define ETYPE_IP ( 0x800 ) + +#define ETYPE_ARP1 ( 0x806 ) + +#define ETYPE_ARP2 ( 0x807 ) + +#define ETYPE_RARP ( 0x8035 ) + +#define ETYPE_TRLR0 ( 0x1000 ) + +#define ETYPE_TRLR1 ( 0x1001 ) + +#define ETYPE_TRLR2 ( 0x1002 ) + +#define ETYPE_TRLR3 ( 0x1003 ) + +#define ETYPE_TRLR4 ( 0x1004 ) + +#define ETYPE_TRLR5 ( 0x1005 ) + +#define ETYPE_PUP ( 0x200 ) + +#define ETYPE_PUP_ARP ( 0x201 ) + +#define ETYPE_APPLETALK_ARP ( 0x80f3 ) + +#define ETYPE_APPLETALK_LAP ( 0x809b ) + +#define ETYPE_SNMP ( 0x814c ) + +//============================================================================= +// LLC (802.2) SAP constant definitions. +//============================================================================= +#define SAP_SNAP ( 0xaa ) + +#define SAP_BPDU ( 0x42 ) + +#define SAP_IBM_NM ( 0xf4 ) + +#define SAP_IBM_NETBIOS ( 0xf0 ) + +#define SAP_SNA1 ( 0x4 ) + +#define SAP_SNA2 ( 0x5 ) + +#define SAP_SNA3 ( 0x8 ) + +#define SAP_SNA4 ( 0xc ) + +#define SAP_NETWARE1 ( 0x10 ) + +#define SAP_NETWARE2 ( 0xe0 ) + +#define SAP_NETWARE3 ( 0xfe ) + +#define SAP_IP ( 0x6 ) + +#define SAP_X25 ( 0x7e ) + +#define SAP_RPL1 ( 0xf8 ) + +#define SAP_RPL2 ( 0xfc ) + +#define SAP_UB ( 0xfa ) + +#define SAP_XNS ( 0x80 ) + +//============================================================================= +// Property constants +//============================================================================= +// data types +#define PROP_TYPE_VOID ( 0 ) + +#define PROP_TYPE_SUMMARY ( 0x1 ) + +#define PROP_TYPE_BYTE ( 0x2 ) + +#define PROP_TYPE_WORD ( 0x3 ) + +#define PROP_TYPE_DWORD ( 0x4 ) + +#define PROP_TYPE_LARGEINT ( 0x5 ) + +#define PROP_TYPE_ADDR ( 0x6 ) + +#define PROP_TYPE_TIME ( 0x7 ) + +#define PROP_TYPE_STRING ( 0x8 ) + +#define PROP_TYPE_IP_ADDRESS ( 0x9 ) + +#define PROP_TYPE_IPX_ADDRESS ( 0xa ) + +#define PROP_TYPE_BYTESWAPPED_WORD ( 0xb ) + +#define PROP_TYPE_BYTESWAPPED_DWORD ( 0xc ) + +#define PROP_TYPE_TYPED_STRING ( 0xd ) + +#define PROP_TYPE_RAW_DATA ( 0xe ) + +#define PROP_TYPE_COMMENT ( 0xf ) + +#define PROP_TYPE_SRCFRIENDLYNAME ( 0x10 ) + +#define PROP_TYPE_DSTFRIENDLYNAME ( 0x11 ) + +#define PROP_TYPE_TOKENRING_ADDRESS ( 0x12 ) + +#define PROP_TYPE_FDDI_ADDRESS ( 0x13 ) + +#define PROP_TYPE_ETHERNET_ADDRESS ( 0x14 ) + +#define PROP_TYPE_OBJECT_IDENTIFIER ( 0x15 ) + +#define PROP_TYPE_VINES_IP_ADDRESS ( 0x16 ) + +#define PROP_TYPE_VAR_LEN_SMALL_INT ( 0x17 ) + +#define PROP_TYPE_ATM_ADDRESS ( 0x18 ) + +#define PROP_TYPE_1394_ADDRESS ( 0x19 ) + +#define PROP_TYPE_IP6_ADDRESS ( 0x1a ) + +// data qualifiers +#define PROP_QUAL_NONE ( 0 ) + +#define PROP_QUAL_RANGE ( 0x1 ) + +#define PROP_QUAL_SET ( 0x2 ) + +#define PROP_QUAL_BITFIELD ( 0x3 ) + +#define PROP_QUAL_LABELED_SET ( 0x4 ) + +#define PROP_QUAL_LABELED_BITFIELD ( 0x8 ) + +#define PROP_QUAL_CONST ( 0x9 ) + +#define PROP_QUAL_FLAGS ( 0xa ) + +#define PROP_QUAL_ARRAY ( 0xb ) + +//============================================================================= +// LARGEINT structure defined in winnt.h +//============================================================================= +typedef LARGE_INTEGER *LPLARGEINT; + +typedef LARGE_INTEGER UNALIGNED *ULPLARGEINT; +//============================================================================= +// Range structure. +//============================================================================= +typedef struct _RANGE + { + DWORD MinValue; + DWORD MaxValue; + } RANGE; + +typedef RANGE *LPRANGE; + +//============================================================================= +// LABELED_BYTE structure +//============================================================================= +typedef struct _LABELED_BYTE + { + BYTE Value; + LPSTR Label; + } LABELED_BYTE; + +typedef LABELED_BYTE *LPLABELED_BYTE; + +//============================================================================= +// LABELED_WORD structure +//============================================================================= +typedef struct _LABELED_WORD + { + WORD Value; + LPSTR Label; + } LABELED_WORD; + +typedef LABELED_WORD *LPLABELED_WORD; + +//============================================================================= +// LABELED_DWORD structure +//============================================================================= +typedef struct _LABELED_DWORD + { + DWORD Value; + LPSTR Label; + } LABELED_DWORD; + +typedef LABELED_DWORD *LPLABELED_DWORD; + +//============================================================================= +// LABELED_LARGEINT structure +//============================================================================= +typedef struct _LABELED_LARGEINT + { + LARGE_INTEGER Value; + LPSTR Label; + } LABELED_LARGEINT; + +typedef LABELED_LARGEINT *LPLABELED_LARGEINT; + +//============================================================================= +// LABELED_SYSTEMTIME structure +//============================================================================= +typedef struct _LABELED_SYSTEMTIME + { + SYSTEMTIME Value; + LPSTR Label; + } LABELED_SYSTEMTIME; + +typedef LABELED_SYSTEMTIME *LPLABELED_SYSTEMTIME; + +//============================================================================= +// LABELED_BIT structure +//============================================================================= +// BitNumber starts at 0, up to 256 bits. +typedef struct _LABELED_BIT + { + BYTE BitNumber; + LPSTR LabelOff; + LPSTR LabelOn; + } LABELED_BIT; + +typedef LABELED_BIT *LPLABELED_BIT; + +//============================================================================= +// TYPED_STRING structure +//============================================================================= +#define TYPED_STRING_NORMAL ( 1 ) + +#define TYPED_STRING_UNICODE ( 2 ) + +#define TYPED_STRING_EXFLAG ( 1 ) + +// Typed Strings are always Ex, so to actually Ex we set fStringEx and put the Ex data in Byte +typedef struct _TYPED_STRING +{ + BYTE StringType:7; + BYTE fStringEx:1; + LPSTR lpString; + BYTE Byte[0]; +} TYPED_STRING; + +typedef TYPED_STRING *LPTYPED_STRING; +//============================================================================= +// OBJECT_IDENTIFIER structure +//============================================================================= +typedef struct _OBJECT_IDENTIFIER + { + DWORD Length; + LPDWORD lpIdentifier; + } OBJECT_IDENTIFIER; + +typedef OBJECT_IDENTIFIER *LPOBJECT_IDENTIFIER; + +//============================================================================= +// Set structure. +//============================================================================= +typedef struct _SET + { + DWORD nEntries; + union + { + LPVOID lpVoidTable; + LPBYTE lpByteTable; + LPWORD lpWordTable; + LPDWORD lpDwordTable; + LPLARGEINT lpLargeIntTable; + LPSYSTEMTIME lpSystemTimeTable; + LPLABELED_BYTE lpLabeledByteTable; + LPLABELED_WORD lpLabeledWordTable; + LPLABELED_DWORD lpLabeledDwordTable; + LPLABELED_LARGEINT lpLabeledLargeIntTable; + LPLABELED_SYSTEMTIME lpLabeledSystemTimeTable; + LPLABELED_BIT lpLabeledBit; + } ; + } SET; + +typedef SET *LPSET; + +//============================================================================= +// String table. +//============================================================================= +typedef struct _STRINGTABLE +{ + DWORD nStrings; + LPSTR String[0]; + +} STRINGTABLE; + +typedef STRINGTABLE *LPSTRINGTABLE; +#define STRINGTABLE_SIZE sizeof(STRINGTABLE) + +//============================================================================= +// RECOGNIZEDATA structure. +// +// This structure to keep track of the start of each recognized protocol. +//============================================================================= +typedef struct _RECOGNIZEDATA + { + WORD ProtocolID; + WORD nProtocolOffset; + LPVOID InstData; + } RECOGNIZEDATA; + +typedef RECOGNIZEDATA *LPRECOGNIZEDATA; + +//============================================================================= +// RECOGNIZEDATATABLE structure. +// +// This structure to keep track of the start of each RECOGNIZEDATA structure +//============================================================================= +typedef struct _RECOGNIZEDATATABLE +{ + WORD nRecognizeDatas; //... number of RECOGNIZEDATA structures + RECOGNIZEDATA RecognizeData[0]; //... array of RECOGNIZEDATA structures follows + +} RECOGNIZEDATATABLE; + +typedef RECOGNIZEDATATABLE * LPRECOGNIZEDATATABLE; + +//============================================================================= +// Property information structure. +//============================================================================= +typedef struct _PROPERTYINFO + { + HPROPERTY hProperty; + DWORD Version; + LPSTR Label; + LPSTR Comment; + BYTE DataType; + BYTE DataQualifier; + union + { + LPVOID lpExtendedInfo; + LPRANGE lpRange; + LPSET lpSet; + DWORD Bitmask; + DWORD Value; + } ; + WORD FormatStringSize; + LPVOID InstanceData; + } PROPERTYINFO; + +typedef PROPERTYINFO *LPPROPERTYINFO; + +#define PROPERTYINFO_SIZE ( sizeof( PROPERTYINFO ) ) + +//============================================================================= +// Property instance Extended structure. +//============================================================================= +typedef struct _PROPERTYINSTEX +{ + WORD Length; //... length of raw data in frame + WORD LengthEx; //... number of bytes following + ULPVOID lpData; //... pointer to raw data in frame + + union + { + BYTE Byte[]; //... table of bytes follows + WORD Word[]; //... table of words follows + DWORD Dword[]; //... table of Dwords follows + LARGE_INTEGER LargeInt[]; //... table of LARGEINT structures to follow + SYSTEMTIME SysTime[]; //... table of SYSTEMTIME structures follows + TYPED_STRING TypedString;//... a typed_string that may have extended data + }; +} PROPERTYINSTEX; +typedef PROPERTYINSTEX *LPPROPERTYINSTEX; +typedef PROPERTYINSTEX UNALIGNED *ULPPROPERTYINSTEX; +#define PROPERTYINSTEX_SIZE sizeof(PROPERTYINSTEX) +//============================================================================= +// Property instance structure. +//============================================================================= +typedef struct _PROPERTYINST +{ + LPPROPERTYINFO lpPropertyInfo; // pointer to property info + LPSTR szPropertyText; // pointer to string description + + union + { + LPVOID lpData; // pointer to data + ULPBYTE lpByte; // bytes + ULPWORD lpWord; // words + ULPDWORD lpDword; // dwords + + ULPLARGEINT lpLargeInt; // LargeInt + ULPSYSTEMTIME lpSysTime; // pointer to SYSTEMTIME structures + LPPROPERTYINSTEX lpPropertyInstEx; // pointer to propertyinstex (if DataLength = -1) + }; + + WORD DataLength; // length of data, or flag for propertyinstex struct + WORD Level : 4 ; // level information ............1111 + WORD HelpID : 12 ; // context ID for helpfile 111111111111.... + // --------------- + // total of 16 bits == 1 WORD == DWORD ALIGNED structure + // Interpretation Flags: Flags that define attach time information to the + // interpretation of the property. For example, in RPC, the client can be + // Intel format and the server can be non-Intel format... thus the property + // database cannot describe the property at database creation time. + DWORD IFlags; + +} PROPERTYINST; +typedef PROPERTYINST *LPPROPERTYINST; +#define PROPERTYINST_SIZE sizeof(PROPERTYINST) + +// Flags passed at AttachPropertyInstance and AttachPropertyInstanceEx time in the IFlags field: +// flag for error condition ...............1 +#define IFLAG_ERROR ( 0x1 ) + +// is the WORD or DWORD byte non-Intel format at attach time? +#define IFLAG_SWAPPED ( 0x2 ) + +// is the STRING UNICODE at attach time? +#define IFLAG_UNICODE ( 0x4 ) + +//============================================================================= +// Property instance table structure. +//============================================================================= +typedef struct _PROPERTYINSTTABLE + { + WORD nPropertyInsts; + WORD nPropertyInstIndex; + } PROPERTYINSTTABLE; + +typedef PROPERTYINSTTABLE *LPPROPERTYINSTTABLE; + +#define PROPERTYINSTTABLE_SIZE ( sizeof( PROPERTYINSTTABLE ) ) + +//============================================================================= +// Property table structure. +//============================================================================= +typedef struct _PROPERTYTABLE +{ + LPVOID lpFormatBuffer; //... Opaque. (PRIVATE) + DWORD FormatBufferLength; //... Opaque. (PRIVATE) + DWORD nTotalPropertyInsts; //... total number of propertyinstances in array + LPPROPERTYINST lpFirstPropertyInst; //... array of property instances + BYTE nPropertyInstTables; //... total PropertyIndexTables following + PROPERTYINSTTABLE PropertyInstTable[0]; //... array of propertyinstance index table structures + +} PROPERTYTABLE; + +typedef PROPERTYTABLE *LPPROPERTYTABLE; + +#define PROPERTYTABLE_SIZE sizeof(PROPERTYTABLE) +//============================================================================= +// Protocol entry points. +//============================================================================= + +typedef VOID (WINAPI *REGISTER)(HPROTOCOL); + +typedef VOID (WINAPI *DEREGISTER)(HPROTOCOL); + +typedef LPBYTE (WINAPI *RECOGNIZEFRAME)(HFRAME, ULPBYTE, ULPBYTE, DWORD, DWORD, HPROTOCOL, DWORD, LPDWORD, LPHPROTOCOL, PDWORD_PTR); + +typedef LPBYTE (WINAPI *ATTACHPROPERTIES)(HFRAME, ULPBYTE, ULPBYTE, DWORD, DWORD, HPROTOCOL, DWORD, DWORD_PTR); + +typedef DWORD (WINAPI *FORMATPROPERTIES)(HFRAME, ULPBYTE, ULPBYTE, DWORD, LPPROPERTYINST); + +//============================================================================= +// Protocol entry point structure. +//============================================================================= + +typedef struct _ENTRYPOINTS +{ + REGISTER Register; //... Protocol Register() entry point. + DEREGISTER Deregister; //... Protocol Deregister() entry point. + RECOGNIZEFRAME RecognizeFrame; //... Protocol RecognizeFrame() entry point. + ATTACHPROPERTIES AttachProperties; //... Protocol AttachProperties() entry point. + FORMATPROPERTIES FormatProperties; //... Protocol FormatProperties() entry point. + +} ENTRYPOINTS; + +typedef ENTRYPOINTS *LPENTRYPOINTS; + +#define ENTRYPOINTS_SIZE sizeof(ENTRYPOINTS) + +//============================================================================= +// Property database structure. +//============================================================================= +typedef struct _PROPERTYDATABASE +{ + DWORD nProperties; //... Number of properties in database. + LPPROPERTYINFO PropertyInfo[0]; //... Array of property info pointers. + +} PROPERTYDATABASE; +#define PROPERTYDATABASE_SIZE sizeof(PROPERTYDATABASE) +typedef PROPERTYDATABASE *LPPROPERTYDATABASE; + +//============================================================================= +// Protocol info structure (PUBLIC portion of HPROTOCOL). +//============================================================================= +typedef struct _PROTOCOLINFO +{ + DWORD ProtocolID; //... Prootocol ID of owning protocol. + LPPROPERTYDATABASE PropertyDatabase; //... Property database. + BYTE ProtocolName[16]; //... Protocol name. + BYTE HelpFile[16]; //... Optional helpfile name. + BYTE Comment[128]; //... Comment describing protocol. +} PROTOCOLINFO; +typedef PROTOCOLINFO *LPPROTOCOLINFO; +#define PROTOCOLINFO_SIZE sizeof(PROTOCOLINFO) + +//============================================================================= +// Protocol Table. +//============================================================================= +typedef struct _PROTOCOLTABLE + { + DWORD nProtocols; + HPROTOCOL hProtocol[ 1 ]; + } PROTOCOLTABLE; + +typedef PROTOCOLTABLE *LPPROTOCOLTABLE; + +#define PROTOCOLTABLE_SIZE ( ( sizeof( PROTOCOLTABLE ) - sizeof( HPROTOCOL ) ) ) + +#define PROTOCOLTABLE_ACTUAL_SIZE(p) GetTableSize(PROTOCOLTABLE_SIZE, (p)->nProtocols, sizeof(HPROTOCOL)) +//============================================================================= +// AddressInfo structure +//============================================================================= +#define SORT_BYADDRESS ( 0 ) + +#define SORT_BYNAME ( 1 ) + +#define PERMANENT_NAME ( 0x100 ) + +typedef struct _ADDRESSINFO2 +{ + ADDRESS2 Address; + WCHAR Name[MAX_NAME_SIZE]; + DWORD Flags; + LPVOID lpAddressInstData; + +} ADDRESSINFO2; +typedef struct _ADDRESSINFO2 *LPADDRESSINFO2; +#define ADDRESSINFO2_SIZE sizeof(ADDRESSINFO2) +//============================================================================= +// AddressInfoTable +//============================================================================= +typedef struct _ADDRESSINFOTABLE2 +{ + DWORD nAddressInfos; + LPADDRESSINFO2 lpAddressInfo[0]; + +} ADDRESSINFOTABLE2; +typedef ADDRESSINFOTABLE2 *LPADDRESSINFOTABLE2; +#define ADDRESSINFOTABLE2_SIZE sizeof(ADDRESSINFOTABLE2) +//============================================================================= +// callback procedures. +//============================================================================= + +typedef DWORD (WINAPI *FILTERPROC)(HCAPTURE, HFRAME, LPVOID); + +//============================================================================= +//============================================================================= +// (NMErr.h) +//============================================================================= +//============================================================================= +// The operation succeeded. +#define NMERR_SUCCESS ( 0 ) + +// An error occured creating a memory-mapped file. +#define NMERR_MEMORY_MAPPED_FILE_ERROR ( 1 ) + +// The handle to a filter is invalid. +#define NMERR_INVALID_HFILTER ( 2 ) + +// Capturing has already been started. +#define NMERR_CAPTURING ( 3 ) + +// Capturing has not been started. +#define NMERR_NOT_CAPTURING ( 4 ) + +// The are no frames available. +#define NMERR_NO_MORE_FRAMES ( 5 ) + +// The buffer is too small to complete the operation. +#define NMERR_BUFFER_TOO_SMALL ( 6 ) + +// No protocol was able to recognize the frame. +#define NMERR_FRAME_NOT_RECOGNIZED ( 7 ) + +// The file already exists. +#define NMERR_FILE_ALREADY_EXISTS ( 8 ) + +// A needed device driver was not found or is not loaded. +#define NMERR_DRIVER_NOT_FOUND ( 9 ) + +// This address aready exists in the database. +#define NMERR_ADDRESS_ALREADY_EXISTS ( 10 ) + +// The frame handle is invalid. +#define NMERR_INVALID_HFRAME ( 11 ) + +// The protocol handle is invalid. +#define NMERR_INVALID_HPROTOCOL ( 12 ) + +// The property handle is invalid. +#define NMERR_INVALID_HPROPERTY ( 13 ) + +// The the object has been locked. +#define NMERR_LOCKED ( 14 ) + +// A pop operation was attempted on an empty stack. +#define NMERR_STACK_EMPTY ( 15 ) + +// A push operation was attempted on an full stack. +#define NMERR_STACK_OVERFLOW ( 16 ) + +// There are too many protocols active. +#define NMERR_TOO_MANY_PROTOCOLS ( 17 ) + +// The file was not found. +#define NMERR_FILE_NOT_FOUND ( 18 ) + +// No memory was available. Shut down windows to free up resources. +#define NMERR_OUT_OF_MEMORY ( 19 ) + +// The capture is already in the paused state. +#define NMERR_CAPTURE_PAUSED ( 20 ) + +// There are no buffers available or present. +#define NMERR_NO_BUFFERS ( 21 ) + +// There are already buffers present. +#define NMERR_BUFFERS_ALREADY_EXIST ( 22 ) + +// The object is not locked. +#define NMERR_NOT_LOCKED ( 23 ) + +// A integer type was out of range. +#define NMERR_OUT_OF_RANGE ( 24 ) + +// An object was locked too many times. +#define NMERR_LOCK_NESTING_TOO_DEEP ( 25 ) + +// A parser failed to load. +#define NMERR_LOAD_PARSER_FAILED ( 26 ) + +// A parser failed to unload. +#define NMERR_UNLOAD_PARSER_FAILED ( 27 ) + +// The address database handle is invalid. +#define NMERR_INVALID_HADDRESSDB ( 28 ) + +// The MAC address was not found in the database. +#define NMERR_ADDRESS_NOT_FOUND ( 29 ) + +// The network software was not found in the system. +#define NMERR_NETWORK_NOT_PRESENT ( 30 ) + +// There is no property database for a protocol. +#define NMERR_NO_PROPERTY_DATABASE ( 31 ) + +// A property was not found in the database. +#define NMERR_PROPERTY_NOT_FOUND ( 32 ) + +// The property database handle is in valid. +#define NMERR_INVALID_HPROPERTYDB ( 33 ) + +// The protocol has not been enabled. +#define NMERR_PROTOCOL_NOT_ENABLED ( 34 ) + +// The protocol DLL could not be found. +#define NMERR_PROTOCOL_NOT_FOUND ( 35 ) + +// The parser DLL is not valid. +#define NMERR_INVALID_PARSER_DLL ( 36 ) + +// There are no properties attached. +#define NMERR_NO_ATTACHED_PROPERTIES ( 37 ) + +// There are no frames in the buffer. +#define NMERR_NO_FRAMES ( 38 ) + +// The capture file format is not valid. +#define NMERR_INVALID_FILE_FORMAT ( 39 ) + +// The OS could not create a temporary file. +#define NMERR_COULD_NOT_CREATE_TEMPFILE ( 40 ) + +// There is not enough MS-DOS memory available. +#define NMERR_OUT_OF_DOS_MEMORY ( 41 ) + +// There are no protocols enabled. +#define NMERR_NO_PROTOCOLS_ENABLED ( 42 ) + +// The MAC type is invalid or unsupported. +#define NMERR_UNKNOWN_MACTYPE ( 46 ) + +// There is no routing information present in the MAC frame. +#define NMERR_ROUTING_INFO_NOT_PRESENT ( 47 ) + +// The network handle is invalid. +#define NMERR_INVALID_HNETWORK ( 48 ) + +// The network is already open. +#define NMERR_NETWORK_ALREADY_OPENED ( 49 ) + +// The network is not open. +#define NMERR_NETWORK_NOT_OPENED ( 50 ) + +// The frame was not found in the buffer. +#define NMERR_FRAME_NOT_FOUND ( 51 ) + +// There are no handles available. +#define NMERR_NO_HANDLES ( 53 ) + +// The network ID is invalid. +#define NMERR_INVALID_NETWORK_ID ( 54 ) + +// The capture handle is invalid. +#define NMERR_INVALID_HCAPTURE ( 55 ) + +// The protocol has already been enabled. +#define NMERR_PROTOCOL_ALREADY_ENABLED ( 56 ) + +// The filter expression is invalid. +#define NMERR_FILTER_INVALID_EXPRESSION ( 57 ) + +// A transmit error occured. +#define NMERR_TRANSMIT_ERROR ( 58 ) + +// The buffer handle is invalid. +#define NMERR_INVALID_HBUFFER ( 59 ) + +// The specified data is unknown or invalid. +#define NMERR_INVALID_DATA ( 60 ) + +// The MS-DOS/NDIS 2.0 network driver is not loaded. +#define NMERR_MSDOS_DRIVER_NOT_LOADED ( 61 ) + +// The Windows VxD/NDIS 3.0 network driver is not loaded. +#define NMERR_WINDOWS_DRIVER_NOT_LOADED ( 62 ) + +// The MS-DOS/NDIS 2.0 driver had an init-time failure. +#define NMERR_MSDOS_DRIVER_INIT_FAILURE ( 63 ) + +// The Windows/NDIS 3.0 driver had an init-time failure. +#define NMERR_WINDOWS_DRIVER_INIT_FAILURE ( 64 ) + +// The network driver is busy and cannot handle requests. +#define NMERR_NETWORK_BUSY ( 65 ) + +// The capture is not paused. +#define NMERR_CAPTURE_NOT_PAUSED ( 66 ) + +// The frame/packet length is not valid. +#define NMERR_INVALID_PACKET_LENGTH ( 67 ) + +// An internal exception occured. +#define NMERR_INTERNAL_EXCEPTION ( 69 ) + +// The MAC driver does not support promiscious mode. +#define NMERR_PROMISCUOUS_MODE_NOT_SUPPORTED ( 70 ) + +// The MAC driver failed to open. +#define NMERR_MAC_DRIVER_OPEN_FAILURE ( 71 ) + +// The protocol went off the end of the frame. +#define NMERR_RUNAWAY_PROTOCOL ( 72 ) + +// An asynchronous operation is still pending. +#define NMERR_PENDING ( 73 ) + +// Access is denied. +#define NMERR_ACCESS_DENIED ( 74 ) + +// The password handle is invalid. +#define NMERR_INVALID_HPASSWORD ( 75 ) + +// A bad parameter was detected. +#define NMERR_INVALID_PARAMETER ( 76 ) + +// An error occured reading the file. +#define NMERR_FILE_READ_ERROR ( 77 ) + +// An error occured writing to the file. +#define NMERR_FILE_WRITE_ERROR ( 78 ) + +// The protocol has not been registered +#define NMERR_PROTOCOL_NOT_REGISTERED ( 79 ) + +// The frame does not contain an IP address. +#define NMERR_IP_ADDRESS_NOT_FOUND ( 80 ) + +// The transmit request was cancelled. +#define NMERR_TRANSMIT_CANCELLED ( 81 ) + +// The operation cannot be performed on a capture with 1 or more locked frames. +#define NMERR_LOCKED_FRAMES ( 82 ) + +// A cancel transmit request was submitted but there were no transmits pending. +#define NMERR_NO_TRANSMITS_PENDING ( 83 ) + +// Path not found. +#define NMERR_PATH_NOT_FOUND ( 84 ) + +// A windows error has occured. +#define NMERR_WINDOWS_ERROR ( 85 ) + +// The handle to the frame has no frame number. +#define NMERR_NO_FRAME_NUMBER ( 86 ) + +// The frame is not associated with any capture. +#define NMERR_FRAME_HAS_NO_CAPTURE ( 87 ) + +// The frame is already associated with a capture. +#define NMERR_FRAME_ALREADY_HAS_CAPTURE ( 88 ) + +// The NAL is not remotable. +#define NMERR_NAL_IS_NOT_REMOTE ( 89 ) + +// The API is not supported +#define NMERR_NOT_SUPPORTED ( 90 ) + +// Network Monitor should discard the current frame. +// This error code is only used during a filtered SaveCapture() API call. +#define NMERR_DISCARD_FRAME ( 91 ) + +// Network Monitor should cancel the current save. +// This error code is only used during a filtered SaveCapture() API call. +#define NMERR_CANCEL_SAVE_CAPTURE ( 92 ) + +// The connection to the remote machine has been lost +#define NMERR_LOST_CONNECTION ( 93 ) + +// The media/mac type is not valid. +#define NMERR_INVALID_MEDIA_TYPE ( 94 ) + +// The Remote Agent is currently in use +#define NMERR_AGENT_IN_USE ( 95 ) + +// The request has timed out +#define NMERR_TIMEOUT ( 96 ) + +// The remote agent has been disconnected +#define NMERR_DISCONNECTED ( 97 ) + +// A timer required for operation failed creation +#define NMERR_SETTIMER_FAILED ( 98 ) + +// A network error occured. +#define NMERR_NETWORK_ERROR ( 99 ) + +// Frame callback procedure is not valid +#define NMERR_INVALID_FRAMESPROC ( 100 ) + +// Capture type specified is unknown +#define NMERR_UNKNOWN_CAPTURETYPE ( 101 ) + +// The NPP is not connected to a network. +#define NMERR_NOT_CONNECTED ( 102 ) + +// The NPP is already connected to a network. +#define NMERR_ALREADY_CONNECTED ( 103 ) + +// The registry tag does not indicate a known configuration. +#define NMERR_INVALID_REGISTRY_CONFIGURATION ( 104 ) + +// The NPP is currently configured for delayed capturing. +#define NMERR_DELAYED ( 105 ) + +// The NPP is not currently configured for delayed capturing. +#define NMERR_NOT_DELAYED ( 106 ) + +// The NPP is currently configured for real time capturing. +#define NMERR_REALTIME ( 107 ) + +// The NPP is not currently configured for real time capturing. +#define NMERR_NOT_REALTIME ( 108 ) + +// The NPP is currently configured for stats only capturing. +#define NMERR_STATS_ONLY ( 109 ) + +// The NPP is not currently configured for stats only capturing. +#define NMERR_NOT_STATS_ONLY ( 110 ) + +// The NPP is currently configured for transmitting. +#define NMERR_TRANSMIT ( 111 ) + +// The NPP is not currently configured for transmitting. +#define NMERR_NOT_TRANSMIT ( 112 ) + +// The NPP is currently transmitting +#define NMERR_TRANSMITTING ( 113 ) + +// The specified capture file hard disk is not local +#define NMERR_DISK_NOT_LOCAL_FIXED ( 114 ) + +// Could not create the default capture directory on the given disk +#define NMERR_COULD_NOT_CREATE_DIRECTORY ( 115 ) + +// The default capture directory was not set in the registry: +// HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\nm\Parameters\CapturePath +#define NMERR_NO_DEFAULT_CAPTURE_DIRECTORY ( 116 ) + +// The capture file is an uplevel version that this netmon does not understand +#define NMERR_UPLEVEL_CAPTURE_FILE ( 117 ) + +// An expert failed to load. +#define NMERR_LOAD_EXPERT_FAILED ( 118 ) + +// An expert failed to report its EXPERT_INFO structs. +#define NMERR_EXPERT_REPORT_FAILED ( 119 ) + +// Registry API call failed. +#define NMERR_REG_OPERATION_FAILED ( 120 ) + +// Registry API call failed. +#define NMERR_NO_DLLS_FOUND ( 121 ) + +// There are no conversation stats, they were not asked for. +#define NMERR_NO_CONVERSATION_STATS ( 122 ) + +// We have received a security response packet from a security monitor. +#define NMERR_SECURITY_BREACH_CAPTURE_DELETED ( 123 ) + +// The given frame failed the display filter. +#define NMERR_FRAME_FAILED_FILTER ( 124 ) + +// Netmon wants the Expert to stop running. +#define NMERR_EXPERT_TERMINATE ( 125 ) + +// Netmon needs the remote machine to be a server. +#define NMERR_REMOTE_NOT_A_SERVER ( 126 ) + +// Netmon needs the remote machine to be a server. +#define NMERR_REMOTE_VERSION_OUTOFSYNC ( 127 ) + +// The supplied group is an invalid handle +#define NMERR_INVALID_EXPERT_GROUP ( 128 ) + +// The supplied expert name cannot be found +#define NMERR_INVALID_EXPERT_NAME ( 129 ) + +// The supplied expert name cannot be found +#define NMERR_INVALID_EXPERT_HANDLE ( 130 ) + +// The supplied group name already exists +#define NMERR_GROUP_NAME_ALREADY_EXISTS ( 131 ) + +// The supplied group name is invalid +#define NMERR_INVALID_GROUP_NAME ( 132 ) + +// The supplied Expert is already in the group. +#define NMERR_EXPERT_ALREADY_IN_GROUP ( 133 ) + +// The Expert cannot be deleted from the group because it is not in the group +#define NMERR_EXPERT_NOT_IN_GROUP ( 134 ) + +// The COM object has not been initialized +#define NMERR_NOT_INITIALIZED ( 135 ) + +// Cannot perform function to Root group +#define NMERR_INVALID_GROUP_ROOT ( 136 ) + +// Potential data structure mismatch between NdisNpp and Driver. +#define NMERR_BAD_VERSION ( 137 ) + +// The NPP is currently configured for ESP capturing. +#define NMERR_ESP ( 138 ) + +// The NPP is not currently configured for ESP capturing. +#define NMERR_NOT_ESP ( 139 ) + +//============================================================================= +// Blob Errors +//============================================================================= +#define NMERR_BLOB_NOT_INITIALIZED ( 1000 ) + +#define NMERR_INVALID_BLOB ( 1001 ) + +#define NMERR_UPLEVEL_BLOB ( 1002 ) + +#define NMERR_BLOB_ENTRY_ALREADY_EXISTS ( 1003 ) + +#define NMERR_BLOB_ENTRY_DOES_NOT_EXIST ( 1004 ) + +#define NMERR_AMBIGUOUS_SPECIFIER ( 1005 ) + +#define NMERR_BLOB_OWNER_NOT_FOUND ( 1006 ) + +#define NMERR_BLOB_CATEGORY_NOT_FOUND ( 1007 ) + +#define NMERR_UNKNOWN_CATEGORY ( 1008 ) + +#define NMERR_UNKNOWN_TAG ( 1009 ) + +#define NMERR_BLOB_CONVERSION_ERROR ( 1010 ) + +#define NMERR_ILLEGAL_TRIGGER ( 1011 ) + +#define NMERR_BLOB_STRING_INVALID ( 1012 ) + +//============================================================================= +// FINDER errors +//============================================================================= +#define NMERR_UNABLE_TO_LOAD_LIBRARY ( 1013 ) + +#define NMERR_UNABLE_TO_GET_PROCADDR ( 1014 ) + +#define NMERR_CLASS_NOT_REGISTERED ( 1015 ) + +#define NMERR_INVALID_REMOTE_COMPUTERNAME ( 1016 ) + +#define NMERR_RPC_REMOTE_FAILURE ( 1017 ) + +#define NMERR_NO_NPPS ( 3016 ) + +#define NMERR_NO_MATCHING_NPPS ( 3017 ) + +#define NMERR_NO_NPP_SELECTED ( 3018 ) + +#define NMERR_NO_INPUT_BLOBS ( 3019 ) + +#define NMERR_NO_NPP_DLLS ( 3020 ) + +#define NMERR_NO_VALID_NPP_DLLS ( 3021 ) + +//============================================================================= +// Error Macros +//============================================================================= +#ifndef INLINE +#define INLINE __inline +#endif // INLINE +// normal Network Monitor errors will be put into the code portion of an hresult +// for return from OLE objects: +// these two macros will help to create and crack the scode +INLINE HRESULT NMERR_TO_HRESULT( DWORD nmerror ) +{ + HRESULT hResult; + if (nmerror == NMERR_SUCCESS) + hResult = NOERROR; + else + hResult = MAKE_HRESULT( SEVERITY_ERROR,FACILITY_ITF, (WORD)nmerror) ; + + return hResult; +} +//We use to decide whether the first bit was set to 1 or 0, not regarding +//whether the result passed with a warning set in the low word. Now we +//disregard the first bit and pass back the warning. +INLINE DWORD HRESULT_TO_NMERR( HRESULT hResult ) +{ + return HRESULT_CODE(hResult); +} +//============================================================================= +//============================================================================= +// (BHFilter.h) +//============================================================================= +//============================================================================= +//============================================================================ +// types +//============================================================================ +typedef HFILTER *LPHFILTER; + +typedef DWORD FILTERACTIONTYPE; + +typedef DWORD VALUETYPE; + +// check for protocols existing in the frame. + +// ProtocolPart +// this is the raw data for a Protocol based expression +// +// WHAT FIELD DESCRIPTION EXAMPLE +// ---- ----- ----------- ------- +// Count of Protocol(nPropertyDBs) Number of protocols to pass 5 +// PropertyDB Table (PropertyDB) Table of HPROTOCOL SMB, LLC, MAC +// +// NOTE: the nPropertyDBs field may also be the following, which implies that +// all are selected but that none have actually been put into the structure +#define PROTOCOL_NUM_ANY ( -1 ) + +typedef PROTOCOLTABLE PROTOCOLTABLETYPE; + +typedef PROTOCOLTABLETYPE *LPPROTOCOLTABLETYPE; + +// filter bits stores who passed what filter per frame to speed up +// the filter process... This is actually an array. +typedef DWORD FILTERBITS; + +typedef FILTERBITS *LPFILTERBITS; + +typedef SYSTEMTIME *LPTIME; + +typedef SYSTEMTIME UNALIGNED * ULPTIME; +// The Filter Object is the basic unit of the postfix stack. +// I need to restart the convert property to value if the comparison does not match. +// To do this, I need the original pointer to the property. Pull the hProperty out of +// the union so that the pointer to the property is saved. +typedef struct _FILTEROBJECT2 +{ + FILTERACTIONTYPE Action; // Object action, see codes below + HPROPERTY hProperty; // property key + union + { + VALUETYPE Value; // value of the object. + HPROTOCOL hProtocol; // protocol key. + LPVOID lpArray; // if array, length is ItemCount below. + LPPROTOCOLTABLETYPE lpProtocolTable; // list of protocols to see if exist in frame. + LPADDRESS2 lpAddress; // kernel type address, mac or ip + ULPLARGEINT lpLargeInt; // Double DWORD used by NT + ULPTIME lpTime; // pointer to SYSTEMTIME + LPOBJECT_IDENTIFIER lpOID; // pointer to OBJECT_IDENTIFIER + + }; + union + { + WORD ByteCount; // Number of BYTES! + WORD ByteOffset; // offset for array compare + }; + + struct _FILTEROBJECT2 * pNext; // reserved + +} FILTEROBJECT2; + +typedef FILTEROBJECT2 * LPFILTEROBJECT2; + +#define FILTERINFO_SIZE (sizeof(FILTEROBJECT2) ) + + + +typedef struct _FILTERDESC2 +{ + WORD NumEntries; + WORD Flags; // private + LPFILTEROBJECT2 lpStack; + LPFILTEROBJECT2 lpKeepLast; + LPVOID UIInstanceData; // UI specific information. + LPFILTERBITS lpFilterBits; // cache who passed + LPFILTERBITS lpCheckBits; // have we looked at it yet? + +} FILTERDESC2; + +typedef FILTERDESC2 * LPFILTERDESC2; + +#define FILTERDESC2_SIZE sizeof(FILTERDESC2) +// Obsolete, FILTEROBJECT2 should be used +typedef struct _FILTEROBJECT +{ + FILTERACTIONTYPE Action; // Object action, see codes below + HPROPERTY hProperty; // property key + union + { + VALUETYPE Value; // value of the object. + HPROTOCOL hProtocol; // protocol key. + LPVOID lpArray; // if array, length is ItemCount below. + LPPROTOCOLTABLETYPE lpProtocolTable; // list of protocols to see if exist in frame. + LPADDRESS lpAddress; // kernel type address, mac or ip + ULPLARGEINT lpLargeInt; // Double DWORD used by NT + ULPTIME lpTime; // pointer to SYSTEMTIME + LPOBJECT_IDENTIFIER lpOID; // pointer to OBJECT_IDENTIFIER + + }; + union + { + WORD ByteCount; // Number of BYTES! + WORD ByteOffset; // offset for array compare + }; + + struct _FILTEROBJECT * pNext; // reserved + +} FILTEROBJECT; +typedef FILTEROBJECT * LPFILTEROBJECT; +// Obsolete, FILTERDESC2 should be used +typedef struct _FILTERDESC +{ + WORD NumEntries; + WORD Flags; // private + LPFILTEROBJECT lpStack; + LPFILTEROBJECT lpKeepLast; + LPVOID UIInstanceData; // UI specific information. + LPFILTERBITS lpFilterBits; // cache who passed + LPFILTERBITS lpCheckBits; // have we looked at it yet? + +} FILTERDESC; +typedef FILTERDESC * LPFILTERDESC; +#define FILTERDESC_SIZE sizeof(FILTERDESC) +//============================================================================ +// Macros. +//============================================================================ +#define FilterGetUIInstanceData(hfilt) (((LPFILTERDESC2)hfilt)->UIInstanceData) +#define FilterSetUIInstanceData(hfilt,inst) (((LPFILTERDESC2)hfilt)->UIInstanceData = (LPVOID)inst) +//============================================================================ +// defines +//============================================================================ +#define FILTERFREEPOOLSTART ( 20 ) + +#define INVALIDELEMENT ( -1 ) + +#define INVALIDVALUE ( ( VALUETYPE )-9999 ) + +// use filter failed to check the return code on FilterFrame. +#define FILTER_FAIL_WITH_ERROR ( -1 ) + +#define FILTER_PASSED ( TRUE ) + +#define FILTER_FAILED ( FALSE ) + +#define FILTERACTION_INVALID ( 0 ) + +#define FILTERACTION_PROPERTY ( 1 ) + +#define FILTERACTION_VALUE ( 2 ) + +#define FILTERACTION_STRING ( 3 ) + +#define FILTERACTION_ARRAY ( 4 ) + +#define FILTERACTION_AND ( 5 ) + +#define FILTERACTION_OR ( 6 ) + +#define FILTERACTION_XOR ( 7 ) + +#define FILTERACTION_PROPERTYEXIST ( 8 ) + +#define FILTERACTION_CONTAINSNC ( 9 ) + +#define FILTERACTION_CONTAINS ( 10 ) + +#define FILTERACTION_NOT ( 11 ) + +#define FILTERACTION_EQUALNC ( 12 ) + +#define FILTERACTION_EQUAL ( 13 ) + +#define FILTERACTION_NOTEQUALNC ( 14 ) + +#define FILTERACTION_NOTEQUAL ( 15 ) + +#define FILTERACTION_GREATERNC ( 16 ) + +#define FILTERACTION_GREATER ( 17 ) + +#define FILTERACTION_LESSNC ( 18 ) + +#define FILTERACTION_LESS ( 19 ) + +#define FILTERACTION_GREATEREQUALNC ( 20 ) + +#define FILTERACTION_GREATEREQUAL ( 21 ) + +#define FILTERACTION_LESSEQUALNC ( 22 ) + +#define FILTERACTION_LESSEQUAL ( 23 ) + +#define FILTERACTION_PLUS ( 24 ) + +#define FILTERACTION_MINUS ( 25 ) + +#define FILTERACTION_ADDRESS ( 26 ) + +#define FILTERACTION_ADDRESSANY ( 27 ) + +#define FILTERACTION_FROM ( 28 ) + +#define FILTERACTION_TO ( 29 ) + +#define FILTERACTION_FROMTO ( 30 ) + +#define FILTERACTION_AREBITSON ( 31 ) + +#define FILTERACTION_AREBITSOFF ( 32 ) + +#define FILTERACTION_PROTOCOLSEXIST ( 33 ) + +#define FILTERACTION_PROTOCOLEXIST ( 34 ) + +#define FILTERACTION_ARRAYEQUAL ( 35 ) + +#define FILTERACTION_DEREFPROPERTY ( 36 ) + +#define FILTERACTION_LARGEINT ( 37 ) + +#define FILTERACTION_TIME ( 38 ) + +#define FILTERACTION_ADDR_ETHER ( 39 ) + +#define FILTERACTION_ADDR_TOKEN ( 40 ) + +#define FILTERACTION_ADDR_FDDI ( 41 ) + +#define FILTERACTION_ADDR_IPX ( 42 ) + +#define FILTERACTION_ADDR_IP ( 43 ) + +#define FILTERACTION_OID ( 44 ) + +#define FILTERACTION_OID_CONTAINS ( 45 ) + +#define FILTERACTION_OID_BEGINS_WITH ( 46 ) + +#define FILTERACTION_OID_ENDS_WITH ( 47 ) + +#define FILTERACTION_ADDR_VINES ( 48 ) + +#define FILTERACTION_ADDR_IP6 ( 49 ) + +#define FILTERACTION_EXPRESSION ( 97 ) + +#define FILTERACTION_BOOL ( 98 ) + +#define FILTERACTION_NOEVAL ( 99 ) + +#define FILTER_NO_MORE_FRAMES ( 0xffffffff ) + +#define FILTER_CANCELED ( 0xfffffffe ) + +#define FILTER_DIRECTION_NEXT ( TRUE ) + +#define FILTER_DIRECTION_PREV ( FALSE ) + +//============================================================================ +// Helper functions. +//============================================================================ +typedef BOOL (WINAPI *STATUSPROC)(DWORD, HCAPTURE, HFILTER, LPVOID); +//============================================================================= +// FILTER API's. +//============================================================================= + +HFILTER WINAPI CreateFilter(VOID); + +DWORD WINAPI DestroyFilter(HFILTER hFilter); + +HFILTER WINAPI FilterDuplicate(HFILTER hFilter); + +DWORD WINAPI DisableParserFilter(HFILTER hFilter, HPARSER hParser); + +DWORD WINAPI EnableParserFilter(HFILTER hFilter, HPARSER hParser); + +DWORD WINAPI FilterAddObject(HFILTER hFilter, LPFILTEROBJECT2 lpFilterObject ); + +VOID WINAPI FilterFlushBits(HFILTER hFilter); + +DWORD WINAPI FilterFrame(HFRAME hFrame, HFILTER hFilter, HCAPTURE hCapture); + // returns -1 == check BH set last error + // 0 == FALSE + // 1 == TRUE + +BOOL WINAPI FilterAttachesProperties(HFILTER hFilter); + +DWORD WINAPI FilterFindFrame ( HFILTER hFilter, + HCAPTURE hCapture, + DWORD nFrame, + STATUSPROC StatusProc, + LPVOID UIInstance, + DWORD TimeDelta, + BOOL FilterDirection ); + +HFRAME FilterFindPropertyInstance ( HFRAME hFrame, + HFILTER hMasterFilter, + HCAPTURE hCapture, + HFILTER hInstanceFilter, + LPPROPERTYINST *lpPropRestartKey, + STATUSPROC StatusProc, + LPVOID UIInstance, + DWORD TimeDelta, + BOOL FilterForward ); + + +VOID WINAPI SetCurrentFilter(HFILTER); +HFILTER WINAPI GetCurrentFilter(VOID); + +//============================================================================= +//============================================================================= +// (Frame.h) +//============================================================================= +//============================================================================= +//============================================================================= +// 802.3 and ETHERNET MAC structure. +//============================================================================= +typedef struct _ETHERNET +{ + BYTE DstAddr[MAX_ADDR_LENGTH]; //... destination address. + BYTE SrcAddr[MAX_ADDR_LENGTH]; //... source address. + union + { + WORD Length; //... 802.3 length field. + WORD Type; //... Ethernet type field. + }; + BYTE Info[0]; //... information field. + +} ETHERNET; +typedef ETHERNET *LPETHERNET; +typedef ETHERNET UNALIGNED *ULPETHERNET; +#define ETHERNET_SIZE sizeof(ETHERNET) +#define ETHERNET_HEADER_LENGTH ( 14 ) + +#define ETHERNET_DATA_LENGTH ( 0x5dc ) + +#define ETHERNET_FRAME_LENGTH ( 0x5ea ) + +#define ETHERNET_FRAME_TYPE ( 0x600 ) + +//============================================================================= +// Header for NM_ATM Packets. +//============================================================================= + +typedef struct _NM_ATM + { + UCHAR DstAddr[ 6 ]; + UCHAR SrcAddr[ 6 ]; + ULONG Vpi; + ULONG Vci; + } NM_ATM; + +typedef NM_ATM *PNM_ATM; + +typedef NM_ATM *UPNM_ATM; + +#define NM_ATM_HEADER_LENGTH sizeof(NM_ATM) + +#pragma pack(push, 1) +typedef struct _NM_1394 + { + UCHAR DstAddr[ 6 ]; + UCHAR SrcAddr[ 6 ]; + ULONGLONG VcId; + } NM_1394; + +typedef NM_1394 *PNM_1394; + +typedef NM_1394 *UPNM_1394; + +#define NM_1394_HEADER_LENGTH sizeof(NM_1394) +//============================================================================= +// 802.5 (TOKENRING) MAC structure. +//============================================================================= + +// This structure is used to decode network data and so needs to be packed +typedef struct _TOKENRING +{ + BYTE AccessCtrl; //... access control field. + BYTE FrameCtrl; //... frame control field. + BYTE DstAddr[MAX_ADDR_LENGTH]; //... destination address. + BYTE SrcAddr[MAX_ADDR_LENGTH]; //... source address. + union + { + BYTE Info[0]; //... information field. + WORD RoutingInfo[0]; //... routing information field. + }; +} TOKENRING; + +typedef TOKENRING *LPTOKENRING; +typedef TOKENRING UNALIGNED *ULPTOKENRING; +#define TOKENRING_SIZE sizeof(TOKENRING) +#define TOKENRING_HEADER_LENGTH ( 14 ) + +#define TOKENRING_SA_ROUTING_INFO ( 0x80 ) + +#define TOKENRING_SA_LOCAL ( 0x40 ) + +#define TOKENRING_DA_LOCAL ( 0x40 ) + +#define TOKENRING_DA_GROUP ( 0x80 ) + +#define TOKENRING_RC_LENGTHMASK ( 0x1f ) + +#define TOKENRING_BC_MASK ( 0xe0 ) + +#define TOKENRING_TYPE_MAC ( 0 ) + +#define TOKENRING_TYPE_LLC ( 0x40 ) + + +#pragma pack(pop) +//============================================================================= +// FDDI MAC structure. +//============================================================================= + +// This structure is used to decode network data and so needs to be packed + +#pragma pack(push, 1) +typedef struct _FDDI +{ + BYTE FrameCtrl; //... frame control field. + BYTE DstAddr[MAX_ADDR_LENGTH]; //... destination address. + BYTE SrcAddr[MAX_ADDR_LENGTH]; //... source address. + BYTE Info[0]; //... information field. + +} FDDI; +#define FDDI_SIZE sizeof(FDDI) +typedef FDDI *LPFDDI; +typedef FDDI UNALIGNED *ULPFDDI; +#define FDDI_HEADER_LENGTH ( 13 ) + +#define FDDI_TYPE_MAC ( 0 ) + +#define FDDI_TYPE_LLC ( 0x10 ) + +#define FDDI_TYPE_LONG_ADDRESS ( 0x40 ) + + +#pragma pack(pop) +//============================================================================= +// LLC (802.2) +//============================================================================= + +// This structure is used to decode network data and so needs to be packed + +#pragma pack(push, 1) +typedef struct _LLC + { + BYTE dsap; + BYTE ssap; + struct + { + union + { + BYTE Command; + BYTE NextSend; + } ; + union + { + BYTE NextRecv; + BYTE Data[ 1 ]; + } ; + } ControlField; + } LLC; + +typedef LLC *LPLLC; + +typedef LLC UNALIGNED *ULPLLC; +#define LLC_SIZE ( sizeof( LLC ) ) + + +#pragma pack(pop) +//============================================================================= +// Helper macros. +//============================================================================= + +#define IsRoutingInfoPresent(f) ((((ULPTOKENRING) (f))->SrcAddr[0] & TOKENRING_SA_ROUTING_INFO) ? TRUE : FALSE) + +#define GetRoutingInfoLength(f) (IsRoutingInfoPresent(f) \ + ? (((ULPTOKENRING) (f))->RoutingInfo[0] & TOKENRING_RC_LENGTHMASK) : 0) + +//============================================================================= +//============================================================================= +// (Parser.h) +//============================================================================= +//============================================================================= + +//============================================================================= +// Format Procedure Type. +// +// NOTE: All format functions *must* be declared as WINAPIV not WINAPI! +//============================================================================= + +typedef VOID (WINAPIV *FORMAT)(LPPROPERTYINST, ...); + +// The protocol recognized the frame and moved the pointer to end of its +// protocol header. Network Monitor uses the protocols follow set to continue +// parsing. +#define PROTOCOL_STATUS_RECOGNIZED ( 0 ) + +// The protocol did not recognized the frame and did not move the pointer +// (i.e. the start data pointer which was passed in). Network Monitor uses the +// protocols follow set to continue parsing. +#define PROTOCOL_STATUS_NOT_RECOGNIZED ( 1 ) + +// The protocol recognized the frame and claimed it all for itself, +// and parsing terminates. +#define PROTOCOL_STATUS_CLAIMED ( 2 ) + +// The protocol recognized the frame and moved the pointer to end of its +// protocol header. The current protocol requests that Network Monitor +// continue parsing at a known next protocol by returning the next protocols +// handle back to Network Monitor. In this case, the follow of the current +// protocol, if any, is not used. +#define PROTOCOL_STATUS_NEXT_PROTOCOL ( 3 ) + +//============================================================================= +// Macros. +//============================================================================= + +extern BYTE HexTable[]; + +#define XCHG(x) MAKEWORD( HIBYTE(x), LOBYTE(x) ) + +#define DXCHG(x) MAKELONG( XCHG(HIWORD(x)), XCHG(LOWORD(x)) ) + +#define LONIBBLE(b) ((BYTE) ((b) & 0x0F)) + +#define HINIBBLE(b) ((BYTE) ((b) >> 4)) + +#define HEX(b) (HexTable[LONIBBLE(b)]) + +#define SWAPBYTES(w) ((w) = XCHG(w)) + +#define SWAPWORDS(d) ((d) = DXCHG(d)) + +//============================================================================= +// All the MAC frame types combined. +//============================================================================= +typedef union _MACFRAME +{ + LPBYTE MacHeader; //... generic pointer. + LPETHERNET Ethernet; //... ethernet pointer. + LPTOKENRING Tokenring; //... tokenring pointer. + LPFDDI Fddi; //... FDDI pointer. + +} MACFRAME; +typedef MACFRAME *LPMACFRAME; + +#define HOT_SIGNATURE MAKE_IDENTIFIER('H', 'O', 'T', '$') +#define HOE_SIGNATURE MAKE_IDENTIFIER('H', 'O', 'E', '$') +typedef struct _HANDOFFENTRY + { + DWORD hoe_sig; + DWORD hoe_ProtIdentNumber; + HPROTOCOL hoe_ProtocolHandle; + DWORD hoe_ProtocolData; + } HANDOFFENTRY; + +typedef HANDOFFENTRY *LPHANDOFFENTRY; + +typedef struct _HANDOFFTABLE + { + DWORD hot_sig; + DWORD hot_NumEntries; + LPHANDOFFENTRY hot_Entries; + } HANDOFFTABLE; + +typedef struct _HANDOFFTABLE *LPHANDOFFTABLE; + +//============================================================================= +// Parser helper macros. +//============================================================================= + +INLINE LPVOID GetPropertyInstanceData(LPPROPERTYINST PropertyInst) +{ + if ( PropertyInst->DataLength != (WORD) -1 ) + { + return PropertyInst->lpData; + } + + return (LPVOID) PropertyInst->lpPropertyInstEx->Byte; +} + +#define GetPropertyInstanceDataValue(p, type) ((type *) GetPropertyInstanceData(p))[0] + +INLINE DWORD GetPropertyInstanceFrameDataLength(LPPROPERTYINST PropertyInst) +{ + if ( PropertyInst->DataLength != (WORD) -1 ) + { + return PropertyInst->DataLength; + } + + return PropertyInst->lpPropertyInstEx->Length; +} + +INLINE DWORD GetPropertyInstanceExDataLength(LPPROPERTYINST PropertyInst) +{ + if ( PropertyInst->DataLength == (WORD) -1 ) + { + PropertyInst->lpPropertyInstEx->Length; + } + + return (WORD) -1; +} + +//============================================================================= +// Parser helper functions. +//============================================================================= + +LPLABELED_WORD WINAPI GetProtocolDescriptionTable(LPDWORD TableSize); + +LPLABELED_WORD WINAPI GetProtocolDescription(DWORD ProtocolID); + +DWORD WINAPI GetMacHeaderLength(LPVOID MacHeader, DWORD MacType); + +DWORD WINAPI GetLLCHeaderLength(LPLLC Frame); + +DWORD WINAPI GetEtype(LPVOID MacHeader, DWORD MacType); + +DWORD WINAPI GetSaps(LPVOID MacHeader, DWORD MacType); + +BOOL WINAPI IsLLCPresent(LPVOID MacHeader, DWORD MacType); + +VOID WINAPI CanonicalizeHexString(LPSTR hex, LPSTR dest, DWORD len); + +void WINAPI CanonHex(UCHAR * pDest, UCHAR * pSource, int iLen, BOOL fOx ); + +DWORD WINAPI ByteToBinary(LPSTR string, DWORD ByteValue); + +DWORD WINAPI WordToBinary(LPSTR string, DWORD WordValue); + +DWORD WINAPI DwordToBinary(LPSTR string, DWORD DwordValue); + +LPSTR WINAPI AddressToString(__out_ecount(MAX_ADDR_LENGTH) LPSTR string, + __in_ecount(MAX_ADDR_LENGTH) BYTE *lpAddress); + +LPBYTE WINAPI StringToAddress(__out_ecount(MAX_ADDR_LENGTH*2) LPBYTE lpAddress, + __in_ecount(MAX_ADDR_LENGTH*2) LPSTR string); + +LPDWORD WINAPI VarLenSmallIntToDword( LPBYTE pValue, + WORD ValueLen, + BOOL fIsByteswapped, + LPDWORD lpDword ); + +LPBYTE WINAPI LookupByteSetString (LPSET lpSet, BYTE Value); + +LPBYTE WINAPI LookupWordSetString (LPSET lpSet, WORD Value); + +LPBYTE WINAPI LookupDwordSetString (LPSET lpSet, DWORD Value); + +DWORD WINAPIV FormatByteFlags(__out_ecount(8) LPSTR string, DWORD ByteValue, DWORD BitMask); + +DWORD WINAPIV FormatWordFlags(__out_ecount(16) LPSTR string, DWORD WordValue, DWORD BitMask); + +DWORD WINAPIV FormatDwordFlags(__out_ecount(32) LPSTR string, DWORD DwordValue, DWORD BitMask); + +LPSTR WINAPIV FormatTimeAsString(SYSTEMTIME *time, __inout_ecount(MAX_PATH) LPSTR string); + +VOID WINAPIV FormatLabeledByteSetAsFlags(LPPROPERTYINST lpPropertyInst); + +VOID WINAPIV FormatLabeledWordSetAsFlags(LPPROPERTYINST lpPropertyInst); + +VOID WINAPIV FormatLabeledDwordSetAsFlags(LPPROPERTYINST lpPropertyInst); + +VOID WINAPIV FormatPropertyDataAsByte(LPPROPERTYINST lpPropertyInst, DWORD Base); + +VOID WINAPIV FormatPropertyDataAsWord(LPPROPERTYINST lpPropertyInst, DWORD Base); + +VOID WINAPIV FormatPropertyDataAsDword(LPPROPERTYINST lpPropertyInst, DWORD Base); + +VOID WINAPIV FormatLabeledByteSet(LPPROPERTYINST lpPropertyInst); + +VOID WINAPIV FormatLabeledWordSet(LPPROPERTYINST lpPropertyInst); + +VOID WINAPIV FormatLabeledDwordSet(LPPROPERTYINST lpPropertyInst); + +VOID WINAPIV FormatPropertyDataAsInt64(LPPROPERTYINST lpPropertyInst, DWORD Base); + +VOID WINAPIV FormatPropertyDataAsTime(LPPROPERTYINST lpPropertyInst); + +VOID WINAPIV FormatPropertyDataAsString(LPPROPERTYINST lpPropertyInst); + +VOID WINAPIV FormatPropertyDataAsHexString(LPPROPERTYINST lpPropertyInst); + +// Parsers should NOT call LockFrame(). If a parser takes a lock and then gets +// faulted or returns without unlocking, it leaves the system in a state where +// it cannot change protocols or cut/copy frames. Parsers should use ParserTemporaryLockFrame +// which grants a lock ONLY during the context of the api entry into the parser. The +// lock is released on exit from the parser for that frame. +ULPBYTE WINAPI ParserTemporaryLockFrame(HFRAME hFrame); + +LPVOID WINAPI GetCCInstPtr(VOID); +VOID WINAPI SetCCInstPtr(LPVOID lpCurCaptureInst); +LPVOID WINAPI CCHeapAlloc(DWORD dwBytes, BOOL bZeroInit); +LPVOID WINAPI CCHeapReAlloc(LPVOID lpMem, DWORD dwBytes, BOOL bZeroInit); +BOOL WINAPI CCHeapFree(LPVOID lpMem); +SIZE_T WINAPI CCHeapSize(LPVOID lpMem); + +BOOL _cdecl BERGetInteger( ULPBYTE pCurrentPointer, + ULPBYTE *ppValuePointer, + LPDWORD pHeaderLength, + LPDWORD pDataLength, + ULPBYTE *ppNext); +BOOL _cdecl BERGetString( ULPBYTE pCurrentPointer, + ULPBYTE *ppValuePointer, + LPDWORD pHeaderLength, + LPDWORD pDataLength, + ULPBYTE *ppNext); +BOOL _cdecl BERGetHeader( ULPBYTE pCurrentPointer, + ULPBYTE pTag, + LPDWORD pHeaderLength, + LPDWORD pDataLength, + ULPBYTE *ppNext); + +//============================================================================= +// Parser Finder Structures. +//============================================================================= +#define MAX_PROTOCOL_COMMENT_LEN ( 256 ) + +#define NETMON_MAX_PROTOCOL_NAME_LEN ( 16 ) + +// the constant MAX_PROTOCOL_NAME_LEN conflicts with one of the same name +// but different size in rtutils.h. +// So if both headers are included, we do not define MAX_PROTOCOL_NAME_LEN. +#ifndef MAX_PROTOCOL_NAME_LEN +#define MAX_PROTOCOL_NAME_LEN ( NETMON_MAX_PROTOCOL_NAME_LEN ) + +#else +#undef MAX_PROTOCOL_NAME_LEN +#endif +// Handoff Value Format Base +typedef /* [public][public][public] */ +enum __MIDL___MIDL_itf_netmon_0000_0000_0015 + { HANDOFF_VALUE_FORMAT_BASE_UNKNOWN = 0, + HANDOFF_VALUE_FORMAT_BASE_DECIMAL = 10, + HANDOFF_VALUE_FORMAT_BASE_HEX = 16 + } PF_HANDOFFVALUEFORMATBASE; + +// PF_HANDOFFENTRY +typedef struct _PF_HANDOFFENTRY + { + char szIniFile[ 260 ]; + char szIniSection[ 260 ]; + char szProtocol[ 16 ]; + DWORD dwHandOffValue; + PF_HANDOFFVALUEFORMATBASE ValueFormatBase; + } PF_HANDOFFENTRY; + +typedef PF_HANDOFFENTRY *PPF_HANDOFFENTRY; + +// PF_HANDOFFSET +typedef struct _PF_HANDOFFSET +{ + DWORD nEntries; + PF_HANDOFFENTRY Entry[0]; + +} PF_HANDOFFSET; +typedef PF_HANDOFFSET* PPF_HANDOFFSET; +// FOLLOWENTRY +typedef struct _PF_FOLLOWENTRY + { + char szProtocol[ 16 ]; + } PF_FOLLOWENTRY; + +typedef PF_FOLLOWENTRY *PPF_FOLLOWENTRY; + +// PF_FOLLOWSET +typedef struct _PF_FOLLOWSET +{ + DWORD nEntries; + PF_FOLLOWENTRY Entry[0]; + +} PF_FOLLOWSET; +typedef PF_FOLLOWSET* PPF_FOLLOWSET; + +// PARSERINFO - contains information about a single parser +typedef struct _PF_PARSERINFO +{ + char szProtocolName[NETMON_MAX_PROTOCOL_NAME_LEN]; + char szComment[MAX_PROTOCOL_COMMENT_LEN]; + char szHelpFile[MAX_PATH]; + + PPF_FOLLOWSET pWhoCanPrecedeMe; + PPF_FOLLOWSET pWhoCanFollowMe; + + PPF_HANDOFFSET pWhoHandsOffToMe; + PPF_HANDOFFSET pWhoDoIHandOffTo; + +} PF_PARSERINFO; +typedef PF_PARSERINFO* PPF_PARSERINFO; + +// PF_PARSERDLLINFO - contains information about a single parser DLL +typedef struct _PF_PARSERDLLINFO +{ +// char szDLLName[MAX_PATH]; + DWORD nParsers; + PF_PARSERINFO ParserInfo[0]; + +} PF_PARSERDLLINFO; +typedef PF_PARSERDLLINFO* PPF_PARSERDLLINFO; +//============================================================================= +//============================================================================= +// (IniLib.h) +//============================================================================= +//============================================================================= +#define INI_PATH_LENGTH ( 256 ) + +#define MAX_HANDOFF_ENTRY_LENGTH ( 80 ) + +#define MAX_PROTOCOL_NAME ( 40 ) + +#define NUMALLOCENTRIES ( 10 ) + +#define RAW_INI_STR_LEN ( 200 ) + +#define PARSERS_SUBDIR "PARSERS" +#define INI_EXTENSION "INI" +#define BASE10_FORMAT_STR "%ld=%s %ld" +#define BASE16_FORMAT_STR "%lx=%s %lx" +// Given "XNS" or "TCP" or whatever BuildINIPath will return fully qual. path to "XNS.INI" or "TCP.INI" +LPSTR _cdecl BuildINIPath( __out_ecount(MAX_PATH) LPSTR FullPath, + __in LPSTR IniFileName ); + +// Builds Handoff Set +DWORD WINAPI CreateHandoffTable(__in LPSTR secName, + __in LPSTR iniFile, + LPHANDOFFTABLE * hTable, + DWORD nMaxProtocolEntries, + DWORD base); + +HPROTOCOL WINAPI GetProtocolFromTable(LPHANDOFFTABLE hTable, // lp to Handoff Table... + DWORD ItemToFind, // port number etc... + PDWORD_PTR lpInstData ); // inst data to give to next protocol + +VOID WINAPI DestroyHandoffTable( LPHANDOFFTABLE hTable ); + +BOOLEAN WINAPI IsRawIPXEnabled(__in LPSTR secName, + __in LPSTR iniFile, + __in LPSTR CurProtocol ); + +//============================================================================= +//============================================================================= +// (NMExpert.h) +//============================================================================= +//============================================================================= +#define EXPERTSTRINGLENGTH ( 260 ) + +#define EXPERTGROUPNAMELENGTH ( 25 ) + +// HEXPERTKEY tracks running experts. It is only used by experts for +// self reference. It refers to a RUNNINGEXPERT (an internal only structure).. +typedef LPVOID HEXPERTKEY; + +typedef HEXPERTKEY *PHEXPERTKEY; + +// HEXPERT tracks loaded experts. It refers to an EXPERTENUMINFO. +typedef LPVOID HEXPERT; + +typedef HEXPERT *PHEXPERT; + +// HRUNNINGEXPERT tracks a currently running expert. +// It refers to a RUNNINGEXPERT (an internal only structure). +typedef LPVOID HRUNNINGEXPERT; + +typedef HRUNNINGEXPERT *PHRUNNINGEXPERT; + +typedef struct _EXPERTENUMINFO * PEXPERTENUMINFO; +typedef struct _EXPERTCONFIG * PEXPERTCONFIG; +typedef struct _EXPERTSTARTUPINFO * PEXPERTSTARTUPINFO; +// Definitions needed to call experts +#define EXPERTENTRY_REGISTER "Register" +#define EXPERTENTRY_CONFIGURE "Configure" +#define EXPERTENTRY_RUN "Run" +typedef BOOL (WINAPI * PEXPERTREGISTERPROC)( PEXPERTENUMINFO ); +typedef BOOL (WINAPI * PEXPERTCONFIGPROC) ( HEXPERTKEY, PEXPERTCONFIG*, PEXPERTSTARTUPINFO, DWORD, HWND ); +typedef BOOL (WINAPI * PEXPERTRUNPROC) ( HEXPERTKEY, PEXPERTCONFIG, PEXPERTSTARTUPINFO, DWORD, HWND); +// EXPERTENUMINFO describes an expert that NetMon has loaded from disk. +// It does not include any configuration or runtime information. +typedef struct _EXPERTENUMINFO +{ + char szName[EXPERTSTRINGLENGTH]; + char szVendor[EXPERTSTRINGLENGTH]; + char szDescription[EXPERTSTRINGLENGTH]; + DWORD Version; + DWORD Flags; + char szDllName[MAX_PATH]; // private, dont' touch + HEXPERT hExpert; // private, don't touch + HINSTANCE hModule; // private, don't touch + PEXPERTREGISTERPROC pRegisterProc; // private, don't touch + PEXPERTCONFIGPROC pConfigProc; // private, don't touch + PEXPERTRUNPROC pRunProc; // private, don't touch + +} EXPERTENUMINFO; +typedef EXPERTENUMINFO * PEXPERTENUMINFO; +#define EXPERT_ENUM_FLAG_CONFIGURABLE ( 0x1 ) + +#define EXPERT_ENUM_FLAG_VIEWER_PRIVATE ( 0x2 ) + +#define EXPERT_ENUM_FLAG_NO_VIEWER ( 0x4 ) + +#define EXPERT_ENUM_FLAG_ADD_ME_TO_RMC_IN_SUMMARY ( 0x10 ) + +#define EXPERT_ENUM_FLAG_ADD_ME_TO_RMC_IN_DETAIL ( 0x20 ) + +// EXPERTSTARTUPINFO +// This gives the Expert an indication of where he came from. +// Note: if the lpPropertyInst->PropertyInfo->DataQualifier == PROP_QUAL_FLAGS +// then the sBitField structure is filled in +typedef struct _EXPERTSTARTUPINFO +{ + DWORD Flags; + HCAPTURE hCapture; + char szCaptureFile[MAX_PATH]; + DWORD dwFrameNumber; + HPROTOCOL hProtocol; + + LPPROPERTYINST lpPropertyInst; + + struct + { + BYTE BitNumber; + BOOL bOn; + } sBitfield; + +} EXPERTSTARTUPINFO; +// EXPERTCONFIG +// This is a generic holder for an Expert's config data. +typedef struct _EXPERTCONFIG +{ + DWORD RawConfigLength; + BYTE RawConfigData[0]; + +} EXPERTCONFIG; +typedef EXPERTCONFIG * PEXPERTCONFIG; +// CONFIGUREDEXPERT +// This structure associates a loaded expert with its configuration data. +typedef struct +{ + HEXPERT hExpert; + DWORD StartupFlags; + PEXPERTCONFIG pConfig; +} CONFIGUREDEXPERT; +typedef CONFIGUREDEXPERT * PCONFIGUREDEXPERT; +// EXPERTFRAMEDESCRIPTOR - passed back to the expert to fulfil the request for a frame +typedef struct +{ + DWORD FrameNumber; // Frame Number. + HFRAME hFrame; // Handle to the frame. + ULPFRAME pFrame; // pointer to frame. + LPRECOGNIZEDATATABLE lpRecognizeDataTable;// pointer to table of RECOGNIZEDATA structures. + LPPROPERTYTABLE lpPropertyTable; // pointer to property table. + +} EXPERTFRAMEDESCRIPTOR; +typedef EXPERTFRAMEDESCRIPTOR * LPEXPERTFRAMEDESCRIPTOR; +#define GET_SPECIFIED_FRAME ( 0 ) + +#define GET_FRAME_NEXT_FORWARD ( 1 ) + +#define GET_FRAME_NEXT_BACKWARD ( 2 ) + +#define FLAGS_DEFER_TO_UI_FILTER ( 0x1 ) + +#define FLAGS_ATTACH_PROPERTIES ( 0x2 ) + +// EXPERTSTATUSENUM +// gives the possible values for the status field in the EXPERTSTATUS structure +typedef /* [public][public][public] */ +enum __MIDL___MIDL_itf_netmon_0000_0000_0016 + { EXPERTSTATUS_INACTIVE = 0, + EXPERTSTATUS_STARTING = ( EXPERTSTATUS_INACTIVE + 1 ) , + EXPERTSTATUS_RUNNING = ( EXPERTSTATUS_STARTING + 1 ) , + EXPERTSTATUS_PROBLEM = ( EXPERTSTATUS_RUNNING + 1 ) , + EXPERTSTATUS_ABORTED = ( EXPERTSTATUS_PROBLEM + 1 ) , + EXPERTSTATUS_DONE = ( EXPERTSTATUS_ABORTED + 1 ) + } EXPERTSTATUSENUMERATION; + +// EXPERTSUBSTATUS bitfield +// gives the possible values for the substatus field in the EXPERTSTATUS structure +#define EXPERTSUBSTATUS_ABORTED_USER ( 0x1 ) + +#define EXPERTSUBSTATUS_ABORTED_LOAD_FAIL ( 0x2 ) + +#define EXPERTSUBSTATUS_ABORTED_THREAD_FAIL ( 0x4 ) + +#define EXPERTSUBSTATUS_ABORTED_BAD_ENTRY ( 0x8 ) + +// EXPERTSTATUS +// Indicates the current status of a running expert. +typedef /* [public][public] */ struct __MIDL___MIDL_itf_netmon_0000_0000_0017 + { + EXPERTSTATUSENUMERATION Status; + DWORD SubStatus; + DWORD PercentDone; + DWORD Frame; + char szStatusText[ 260 ]; + } EXPERTSTATUS; + +typedef EXPERTSTATUS *PEXPERTSTATUS; + +// EXPERT STARTUP FLAGS +#define EXPERT_STARTUP_FLAG_USE_STARTUP_DATA_OVER_CONFIG_DATA ( 0x1 ) + +//============================================================================= +//============================================================================= +// (NetMon.h) +//============================================================================= +//============================================================================= +// A frame with no number contains this value as its frame number. +#define INVALID_FRAME_NUMBER ( ( DWORD )-1 ) + +//============================================================================= +// Capture file flags. +//============================================================================= +#define CAPTUREFILE_OPEN OPEN_EXISTING +#define CAPTUREFILE_CREATE CREATE_NEW +//============================================================================= +// CAPTURE CONTEXT API's. +//============================================================================= + +LPSYSTEMTIME WINAPI GetCaptureTimeStamp(HCAPTURE hCapture); + +DWORD WINAPI GetCaptureMacType(HCAPTURE hCapture); + +DWORD WINAPI GetCaptureTotalFrames(HCAPTURE hCapture); + +LPSTR WINAPI GetCaptureComment(HCAPTURE hCapture); + +//============================================================================= +// FRAME HELP API's. +//============================================================================= + +DWORD WINAPI MacTypeToAddressType(DWORD MacType); + +DWORD WINAPI AddressTypeToMacType(DWORD AddressType); + +DWORD WINAPI GetFrameDstAddressOffset(HFRAME hFrame, DWORD AddressType, LPDWORD AddressLength); + +DWORD WINAPI GetFrameSrcAddressOffset(HFRAME hFrame, DWORD AddressType, LPDWORD AddressLength); + +HCAPTURE WINAPI GetFrameCaptureHandle(HFRAME hFrame); + + +DWORD WINAPI GetFrameDestAddress(HFRAME hFrame, + LPADDRESS2 lpAddress, + DWORD AddressType, + DWORD Flags); + +DWORD WINAPI GetFrameSourceAddress(HFRAME hFrame, + LPADDRESS2 lpAddress, + DWORD AddressType, + DWORD Flags); + +DWORD WINAPI GetFrameMacHeaderLength(HFRAME hFrame); + +BOOL WINAPI CompareFrameDestAddress(HFRAME hFrame, LPADDRESS2 lpAddress); + +BOOL WINAPI CompareFrameSourceAddress(HFRAME hFrame, LPADDRESS2 lpAddress); + +DWORD WINAPI GetFrameLength(HFRAME hFrame); + +DWORD WINAPI GetFrameStoredLength(HFRAME hFrame); + +DWORD WINAPI GetFrameMacType(HFRAME hFrame); + +DWORD WINAPI GetFrameMacHeaderLength(HFRAME hFrame); + +DWORD WINAPI GetFrameNumber(HFRAME hFrame); + +__int64 WINAPI GetFrameTimeStamp(HFRAME hFrame); + +ULPFRAME WINAPI GetFrameFromFrameHandle(HFRAME hFrame); + +//============================================================================= +// FRAME API's. +//============================================================================= + +HFRAME WINAPI ModifyFrame(HCAPTURE hCapture, + DWORD FrameNumber, + LPBYTE FrameData, + DWORD FrameLength, + __int64 TimeStamp); + +HFRAME WINAPI FindNextFrame(HFRAME hCurrentFrame, + __in LPSTR ProtocolName, + LPADDRESS2 lpDestAddress, + LPADDRESS2 lpSrcAddress, + LPWORD ProtocolOffset, + DWORD OriginalFrameNumber, + DWORD nHighestFrame); + +HFRAME WINAPI FindPreviousFrame(HFRAME hCurrentFrame, + __in LPSTR ProtocolName, + LPADDRESS2 lpDstAddress, + LPADDRESS2 lpSrcAddress, + LPWORD ProtocolOffset, + DWORD OriginalFrameNumber, + DWORD nLowestFrame ); + +HCAPTURE WINAPI GetFrameCaptureHandle(HFRAME); + +HFRAME WINAPI GetFrame(HCAPTURE hCapture, DWORD FrameNumber); + +LPRECOGNIZEDATATABLE WINAPI GetFrameRecognizeData(HFRAME hFrame); + +//============================================================================= +// Protocol API's. +//============================================================================= + +HPROTOCOL WINAPI CreateProtocol(__in LPSTR ProtocolName, + LPENTRYPOINTS lpEntryPoints, + DWORD cbEntryPoints); + +VOID WINAPI DestroyProtocol(HPROTOCOL hProtocol); + +LPPROTOCOLINFO WINAPI GetProtocolInfo(HPROTOCOL hProtocol); + +HPROPERTY WINAPI GetProperty(HPROTOCOL hProtocol, __in LPSTR PropertyName); + +HPROTOCOL WINAPI GetProtocolFromName(__in LPSTR ProtocolName); + +DWORD WINAPI GetProtocolStartOffset(HFRAME hFrame, __in LPSTR ProtocolName); + +DWORD WINAPI GetProtocolStartOffsetHandle(HFRAME hFrame, HPROTOCOL hProtocol); + +DWORD WINAPI GetPreviousProtocolOffsetByName(HFRAME hFrame, + DWORD dwStartOffset, + __in LPSTR szProtocolName, + DWORD* pdwPreviousOffset); + +LPPROTOCOLTABLE WINAPI GetEnabledProtocols(HCAPTURE hCapture); + +//============================================================================= +// Property API's. +//============================================================================= + +DWORD WINAPI CreatePropertyDatabase(HPROTOCOL hProtocol, DWORD nProperties); + +DWORD WINAPI DestroyPropertyDatabase(HPROTOCOL hProtocol); + +HPROPERTY WINAPI AddProperty(HPROTOCOL hProtocol, LPPROPERTYINFO PropertyInfo); + +BOOL WINAPI AttachPropertyInstance(HFRAME hFrame, + HPROPERTY hProperty, + DWORD Length, + ULPVOID lpData, + DWORD HelpID, + DWORD Level, + DWORD IFlags); + +BOOL WINAPI AttachPropertyInstanceEx(HFRAME hFrame, + HPROPERTY hProperty, + DWORD Length, + ULPVOID lpData, + DWORD ExLength, + ULPVOID lpExData, + DWORD HelpID, + DWORD Level, + DWORD IFlags); + +LPPROPERTYINST WINAPI FindPropertyInstance(HFRAME hFrame, HPROPERTY hProperty); + +LPPROPERTYINST WINAPI FindPropertyInstanceRestart (HFRAME hFrame, + HPROPERTY hProperty, + LPPROPERTYINST *lpRestartKey, + BOOL DirForward ); + +LPPROPERTYINFO WINAPI GetPropertyInfo(HPROPERTY hProperty); + +LPSTR WINAPI GetPropertyText(HFRAME hFrame, LPPROPERTYINST lpPI, __out_ecount(BufferSize) LPSTR szBuffer, DWORD BufferSize); + +DWORD WINAPI ResetPropertyInstanceLength( LPPROPERTYINST lpProp, + WORD nOrgLen, + WORD nNewLen ); +//============================================================================= +// MISC. API's. +//============================================================================= + +DWORD WINAPI GetCaptureCommentFromFilename(__in LPSTR lpFilename, __out_ecount(CommentSize) LPSTR lpComment, DWORD CommentSize); + +int WINAPI CompareAddresses(LPADDRESS2 lpAddress1, LPADDRESS2 lpAddress2); + +DWORD WINAPIV FormatPropertyInstance(LPPROPERTYINST lpPropertyInst, ...); + +SYSTEMTIME * WINAPI AdjustSystemTime(SYSTEMTIME *SystemTime, __int64 TimeDelta); + +LPSTR WINAPI NMRtlIpv6AddressToStringA(const BYTE IP6Addr[], __out_ecount(MAX_PATH) LPSTR S); + +LPWSTR WINAPI NMRtlIpv6AddressToStringW(const BYTE IP6Addr[], __out_ecount(IPV6_STR_LENGTH*4) LPWSTR S); + +ULONG WINAPI NMRtlIpv6StringToAddressA(LPCSTR S, LPCSTR *Terminator, BYTE IP6Addr[]); + +ULONG WINAPI NMRtlIpv6StringToAddressW(LPCWSTR S, LPCWSTR *Terminator, BYTE IP6Addr[]); + +//============================================================================= +// EXPERT API's for use by Experts +//============================================================================= + +DWORD WINAPI ExpertGetFrame( IN HEXPERTKEY hExpertKey, + IN DWORD Direction, + IN DWORD RequestFlags, + IN DWORD RequestedFrameNumber, + IN HFILTER hFilter, + OUT LPEXPERTFRAMEDESCRIPTOR pEFrameDescriptor); + +LPVOID WINAPI ExpertAllocMemory( IN HEXPERTKEY hExpertKey, + IN SIZE_T nBytes, + OUT DWORD* pError); + +LPVOID WINAPI ExpertReallocMemory( IN HEXPERTKEY hExpertKey, + IN LPVOID pOriginalMemory, + IN SIZE_T nBytes, + OUT DWORD* pError); + +DWORD WINAPI ExpertFreeMemory( IN HEXPERTKEY hExpertKey, + IN LPVOID pOriginalMemory); + +SIZE_T WINAPI ExpertMemorySize( IN HEXPERTKEY hExpertKey, + IN LPVOID pOriginalMemory); + +DWORD WINAPI ExpertIndicateStatus( IN HEXPERTKEY hExpertKey, + IN EXPERTSTATUSENUMERATION Status, + IN DWORD SubStatus, + IN const char * szText, + IN LONG PercentDone); + +DWORD WINAPI ExpertSubmitEvent( IN HEXPERTKEY hExpertKey, + IN PNMEVENTDATA pExpertEvent); + +DWORD WINAPI ExpertGetStartupInfo( IN HEXPERTKEY hExpertKey, + OUT PEXPERTSTARTUPINFO pExpertStartupInfo); + +//============================================================================= +// DEBUG API's. +//============================================================================= +#ifdef DEBUG + +//============================================================================= +// BreakPoint() macro. +//============================================================================= +// We do not want breakpoints in our code any more... +// so we are defining DebugBreak(), usually a system call, to be +// just a dprintf. BreakPoint() is still defined as DebugBreak(). + +#ifdef DebugBreak +#undef DebugBreak +#endif // DebugBreak + +#define DebugBreak() dprintf("DebugBreak Called at %s:%s", __FILE__, __LINE__); +#define BreakPoint() DebugBreak() + +#endif // DEBUG +//============================================================================= +//============================================================================= +// (NMBlob.h) +//============================================================================= +//============================================================================= +//============================================================================= +// Blob Constants +//============================================================================= +#define INITIAL_RESTART_KEY ( 0xffffffff ) + +//============================================================================= +// Blob Core Helper Routines +//============================================================================= +DWORD _cdecl CreateBlob(HBLOB * phBlob); + +DWORD _cdecl DestroyBlob(HBLOB hBlob); + +DWORD _cdecl SetStringInBlob(HBLOB hBlob, + const char * pOwnerName, + const char * pCategoryName, + const char * pTagName, + const char * pString); + +DWORD _cdecl SetWStringInBlob(HBLOB hBlob, + const char * pOwnerName, + const char * pCategoryName, + const char * pTagName, + const WCHAR * pwString); + +DWORD _cdecl ConvertWStringToHexString(const WCHAR *pwsz, + char ** ppsz); + +DWORD _cdecl GetStringFromBlob(HBLOB hBlob, + const char * pOwnerName, + const char * pCategoryName, + const char * pTagName, + const char ** ppString); + +DWORD _cdecl ConvertHexStringToWString(CHAR *psz, + WCHAR **ppwsz); + +DWORD _cdecl GetWStringFromBlob(HBLOB hBlob, + const char * pOwnerName, + const char * pCategoryName, + const char * pTagName, + WCHAR ** ppwString); + +DWORD _cdecl GetStringsFromBlob(HBLOB hBlob, + const char * pRequestedOwnerName, + const char * pRequestedCategoryName, + const char * pRequestedTagName, + const char ** ppReturnedOwnerName, + const char ** ppReturnedCategoryName, + const char ** ppReturnedTagName, + const char ** ppReturnedString, + DWORD * pRestartKey); + +DWORD _cdecl RemoveFromBlob(HBLOB hBlob, + const char * pOwnerName, + const char * pCategoryName, + const char * pTagName); + +DWORD _cdecl LockBlob(HBLOB hBlob); + +DWORD _cdecl UnlockBlob(HBLOB hBlob); + +DWORD _cdecl FindUnknownBlobCategories( HBLOB hBlob, + const char * pOwnerName, + const char * pKnownCategoriesTable[], + HBLOB hUnknownCategoriesBlob); + +//============================================================================= +// Blob Helper Routines +//============================================================================= +DWORD _cdecl MergeBlob(HBLOB hDstBlob, + HBLOB hSrcBlob); + +DWORD _cdecl DuplicateBlob (HBLOB hSrcBlob, + HBLOB *hBlobThatWillBeCreated ); + +DWORD _cdecl WriteBlobToFile(HBLOB hBlob, + const char * pFileName); + +DWORD _cdecl ReadBlobFromFile(HBLOB* phBlob, + const char * pFileName); + +DWORD _cdecl RegCreateBlobKey(HKEY hkey, const char* szBlobName, HBLOB hBlob); + +DWORD _cdecl RegOpenBlobKey(HKEY hkey, const char* szBlobName, HBLOB* phBlob); + +DWORD _cdecl MarshalBlob(HBLOB hBlob, DWORD* pSize, BYTE** ppBytes); + +DWORD _cdecl UnMarshalBlob(HBLOB* phBlob, DWORD Size, BYTE* pBytes); + +DWORD _cdecl SetDwordInBlob(HBLOB hBlob, + const char * pOwnerName, + const char * pCategoryName, + const char * pTagName, + DWORD Dword); + +DWORD _cdecl GetDwordFromBlob(HBLOB hBlob, + const char * pOwnerName, + const char * pCategoryName, + const char * pTagName, + DWORD * pDword); + +DWORD _cdecl SetBoolInBlob(HBLOB hBlob, + const char * pOwnerName, + const char * pCategoryName, + const char * pTagName, + BOOL Bool); + +DWORD _cdecl GetBoolFromBlob(HBLOB hBlob, + const char * pOwnerName, + const char * pCategoryName, + const char * pTagName, + BOOL * pBool); + +DWORD _cdecl GetMacAddressFromBlob(HBLOB hBlob, + const char * pOwnerName, + const char * pCategoryName, + const char * pTagName, + BYTE * pMacAddress); + +DWORD _cdecl SetMacAddressInBlob(HBLOB hBlob, + const char * pOwnerName, + const char * pCategoryName, + const char * pTagName, + const BYTE * pMacAddress); + +DWORD _cdecl FindUnknownBlobTags( HBLOB hBlob, + const char * pOwnerName, + const char * pCategoryName, + const char * pKnownTagsTable[], + HBLOB hUnknownTagsBlob); + +//============================================================================= +// Blob NPP Helper Routines +//============================================================================= +DWORD _cdecl SetNetworkInfoInBlob(HBLOB hBlob, + LPNETWORKINFO lpNetworkInfo); + +DWORD _cdecl GetNetworkInfoFromBlob(HBLOB hBlob, + LPNETWORKINFO lpNetworkInfo); + +DWORD _cdecl CreateNPPInterface ( HBLOB hBlob, + REFIID iid, + void ** ppvObject); + +DWORD _cdecl SetClassIDInBlob(HBLOB hBlob, + const char* pOwnerName, + const char* pCategoryName, + const char* pTagName, + const CLSID* pClsID); + +DWORD _cdecl GetClassIDFromBlob(HBLOB hBlob, + const char* pOwnerName, + const char* pCategoryName, + const char* pTagName, + CLSID * pClsID); + +DWORD _cdecl SetNPPPatternFilterInBlob( HBLOB hBlob, + LPEXPRESSION pExpression, + HBLOB hErrorBlob); + +DWORD _cdecl GetNPPPatternFilterFromBlob( HBLOB hBlob, + LPEXPRESSION pExpression, + HBLOB hErrorBlob); + +DWORD _cdecl SetNPPAddress2FilterInBlob( HBLOB hBlob, + LPADDRESSTABLE2 pAddressTable); + +DWORD _cdecl GetNPPAddress2FilterFromBlob( HBLOB hBlob, + LPADDRESSTABLE2 pAddressTable, + HBLOB hErrorBlob); + +DWORD _cdecl SetNPPTriggerInBlob( HBLOB hBlob, + LPTRIGGER pTrigger, + HBLOB hErrorBlob); + +DWORD _cdecl GetNPPTriggerFromBlob( HBLOB hBlob, + LPTRIGGER pTrigger, + HBLOB hErrorBlob); + +DWORD _cdecl SetNPPEtypeSapFilter(HBLOB hBlob, + WORD nSaps, + WORD nEtypes, + LPBYTE lpSapTable, + LPWORD lpEtypeTable, + DWORD FilterFlags, + HBLOB hErrorBlob); + +DWORD _cdecl GetNPPEtypeSapFilter(HBLOB hBlob, + WORD *pnSaps, + WORD *pnEtypes, + LPBYTE *ppSapTable, + LPWORD *ppEtypeTable, + DWORD *pFilterFlags, + HBLOB hErrorBlob); + +// GetNPPMacTypeAsNumber maps the tag NPP:NetworkInfo:MacType to the MAC_TYPE_* +// defined in the NPPTYPES.h. If the tag is unavailable, the API returns MAC_TYPE_UNKNOWN. +DWORD _cdecl GetNPPMacTypeAsNumber(HBLOB hBlob, + LPDWORD lpMacType); + +// See if a remote catagory exists... and make sure that the remote computername +// isn't the same as the local computername. +BOOL _cdecl IsRemoteNPP ( HBLOB hBLOB); + +//============================================================================= +// npp tag definitions +//============================================================================= +#define OWNER_NPP "NPP" + +#define CATEGORY_NETWORKINFO "NetworkInfo" +#define TAG_MACTYPE "MacType" +#define TAG_CURRENTADDRESS "CurrentAddress" +#define TAG_LINKSPEED "LinkSpeed" +#define TAG_MAXFRAMESIZE "MaxFrameSize" +#define TAG_FLAGS "Flags" +#define TAG_TIMESTAMPSCALEFACTOR "TimeStampScaleFactor" +#define TAG_COMMENT "Comment" +#define TAG_NODENAME "NodeName" +#define TAG_NAME "Name" +#define TAG_FAKENPP "Fake" +#define TAG_PROMISCUOUS_MODE "PMode" + +#define CATEGORY_LOCATION "Location" +#define TAG_RAS "Dial-up Connection" +#define TAG_MACADDRESS "MacAddress" +#define TAG_CLASSID "ClassID" +#define TAG_NAME "Name" +#define TAG_CONNECTIONNAME "Connection Name" +#define TAG_FRIENDLYNAME "Friendly Name" + +#define CATEGORY_CONFIG "Config" +#define TAG_FRAME_SIZE "FrameSize" +#define TAG_UPDATE_FREQUENCY "UpdateFreq" +#define TAG_BUFFER_SIZE "BufferSize" +#define TAG_PATTERN_DESIGNATOR "PatternMatch" +#define TAG_PATTERN "Pattern" +#define TAG_ADDRESS_PAIR "AddressPair" +#define TAG_CONNECTIONFLAGS "ConnectionFlags" +#define TAG_ETYPES "Etypes" +#define TAG_SAPS "Saps" +#define TAG_NO_CONVERSATION_STATS "NoConversationStats" +#define TAG_NO_STATS_FRAME "NoStatsFrame" +#define TAG_DONT_DELETE_EMPTY_CAPTURE "DontDeleteEmptyCapture" +#define TAG_WANT_PROTOCOL_INFO "WantProtocolInfo" +#define TAG_INTERFACE_DELAYED_CAPTURE "IDdC" +#define TAG_INTERFACE_REALTIME_CAPTURE "IRTC" +#define TAG_INTERFACE_STATS "ISts" +#define TAG_INTERFACE_TRANSMIT "IXmt" +#define TAG_LOCAL_ONLY "LocalOnly" +// Is_Remote is set to TRUE by NPPs that go remote. Note that when you +// are looking for a remote NPP, you probably also need to ask for +// blobs that have the TAG_GET_SPECIAL_BLOBS bool set +#define TAG_IS_REMOTE "IsRemote" + + +#define CATEGORY_TRIGGER "Trigger" +#define TAG_TRIGGER "Trigger" + +#define CATEGORY_FINDER "Finder" +#define TAG_ROOT "Root" +#define TAG_PROCNAME "ProcName" +#define TAG_DISP_STRING "Display" +#define TAG_DLL_FILENAME "DLLName" +#define TAG_GET_SPECIAL_BLOBS "Specials" + +#define CATEGORY_REMOTE "Remote" +#define TAG_REMOTECOMPUTER "RemoteComputer" +#define TAG_REMOTECLASSID "ClassID" + + +//============================================================================= +// npp value definitions +//============================================================================= +// Mac types +#define PROTOCOL_STRING_ETHERNET_TXT "ETHERNET" +#define PROTOCOL_STRING_TOKENRING_TXT "TOKENRING" +#define PROTOCOL_STRING_FDDI_TXT "FDDI" +#define PROTOCOL_STRING_ATM_TXT "ATM" +#define PROTOCOL_STRING_1394_TXT "IP/1394" + +// lower protocols +#define PROTOCOL_STRING_IP_TXT "IP" +#define PROTOCOL_STRING_IP6_TXT "IP6" +#define PROTOCOL_STRING_IPX_TXT "IPX" +#define PROTOCOL_STRING_XNS_TXT "XNS" +#define PROTOCOL_STRING_VINES_IP_TXT "VINES IP" + +// upper protocols +#define PROTOCOL_STRING_ICMP_TXT "ICMP" +#define PROTOCOL_STRING_TCP_TXT "TCP" +#define PROTOCOL_STRING_UDP_TXT "UDP" +#define PROTOCOL_STRING_SPX_TXT "SPX" +#define PROTOCOL_STRING_NCP_TXT "NCP" + +// pseudo protocols +#define PROTOCOL_STRING_ANY_TXT "ANY" +#define PROTOCOL_STRING_ANY_GROUP_TXT "ANY GROUP" +#define PROTOCOL_STRING_HIGHEST_TXT "HIGHEST" +#define PROTOCOL_STRING_LOCAL_ONLY_TXT "LOCAL ONLY" +#define PROTOCOL_STRING_UNKNOWN_TXT "UNKNOWN" +#define PROTOCOL_STRING_DATA_TXT "DATA" +#define PROTOCOL_STRING_FRAME_TXT "FRAME" +#define PROTOCOL_STRING_NONE_TXT "NONE" +#define PROTOCOL_STRING_EFFECTIVE_TXT "EFFECTIVE" + +#define ADDRESS_PAIR_INCLUDE_TXT "INCLUDE" +#define ADDRESS_PAIR_EXCLUDE_TXT "EXCLUDE" + +#define INCLUDE_ALL_EXCEPT_TXT "INCLUDE ALL EXCEPT" +#define EXCLUDE_ALL_EXCEPT_TXT "EXCLUDE ALL EXCEPT" + +#define PATTERN_MATCH_OR_TXT "OR(" +#define PATTERN_MATCH_AND_TXT "AND(" + +#define TRIGGER_PATTERN_TXT "PATTERN MATCH" +#define TRIGGER_BUFFER_TXT "BUFFER CONTENT" + +#define TRIGGER_NOTIFY_TXT "NOTIFY" +#define TRIGGER_STOP_TXT "STOP" +#define TRIGGER_PAUSE_TXT "PAUSE" + +#define TRIGGER_25_PERCENT_TXT "25 PERCENT" +#define TRIGGER_50_PERCENT_TXT "50 PERCENT" +#define TRIGGER_75_PERCENT_TXT "75 PERCENT" +#define TRIGGER_100_PERCENT_TXT "100 PERCENT" + +#define PATTERN_MATCH_NOT_TXT "NOT" + +//============================================================================= +//============================================================================= +// (NMRegHelp.h) +//============================================================================= +//============================================================================= + +// Registry helpers +LPCSTR _cdecl FindOneOf(LPCSTR p1, LPCSTR p2); + +LONG _cdecl recursiveDeleteKey(HKEY hKeyParent, // Parent of key to delete. + const char* lpszKeyChild); // Key to delete. + +BOOL _cdecl SubkeyExists(const char* pszPath, // Path of key to check + const char* szSubkey); // Key to check + +BOOL _cdecl setKeyAndValue(const char* szKey, + const char* szSubkey, + const char* szValue, + const char* szName) ; + +//============================================================================= +//============================================================================= +// (NMIpStructs.h) +//============================================================================= +//============================================================================= + +// These structures are used to decode network data and so need to be packed + +#pragma pack(push, 1) +// +// IP Packet Structure +// +typedef struct _IP +{ + union + { + BYTE Version; + BYTE HdrLen; + }; + BYTE ServiceType; + WORD TotalLen; + WORD ID; + union + { + WORD Flags; + WORD FragOff; + }; + BYTE TimeToLive; + BYTE Protocol; + WORD HdrChksum; + DWORD SrcAddr; + DWORD DstAddr; + BYTE Options[0]; +} IP; + +typedef IP * LPIP; +typedef IP UNALIGNED * ULPIP; +// Psuedo Header used for CheckSum Calculations +typedef struct _PSUHDR + { + DWORD ph_SrcIP; + DWORD ph_DstIP; + UCHAR ph_Zero; + UCHAR ph_Proto; + WORD ph_ProtLen; + } PSUHDR; + +typedef PSUHDR UNALIGNED * LPPSUHDR; +// +// IP Bitmasks that are useful +// (and the appropriate bit shifts, as well) +// + +#define IP_VERSION_MASK ((BYTE) 0xf0) +#define IP_VERSION_SHIFT (4) +#define IP_HDRLEN_MASK ((BYTE) 0x0f) +#define IP_HDRLEN_SHIFT (0) +#define IP_PRECEDENCE_MASK ((BYTE) 0xE0) +#define IP_PRECEDENCE_SHIFT (5) +#define IP_TOS_MASK ((BYTE) 0x1E) +#define IP_TOS_SHIFT (1) +#define IP_DELAY_MASK ((BYTE) 0x10) +#define IP_THROUGHPUT_MASK ((BYTE) 0x08) +#define IP_RELIABILITY_MASK ((BYTE) 0x04) +#define IP_FLAGS_MASK ((BYTE) 0xE0) +#define IP_FLAGS_SHIFT (13) +#define IP_DF_MASK ((BYTE) 0x40) +#define IP_MF_MASK ((BYTE) 0x20) +#define IP_MF_SHIFT (5) +#define IP_FRAGOFF_MASK ((WORD) 0x1FFF) +#define IP_FRAGOFF_SHIFT (3) +#define IP_TCC_MASK ((DWORD) 0xFFFFFF00) +#define IP_TIME_OPTS_MASK ((BYTE) 0x0F) +#define IP_MISS_STNS_MASK ((BYTE) 0xF0) + +#define IP_TIME_OPTS_SHIFT (0) +#define IP_MISS_STNS_SHIFT (4) + +// +// Offset to checksum field in ip header +// +#define IP_CHKSUM_OFF 10 + +INLINE BYTE IP_Version(ULPIP pIP) +{ + return (pIP->Version & IP_VERSION_MASK) >> IP_VERSION_SHIFT; +} + +INLINE DWORD IP_HdrLen(ULPIP pIP) +{ + return ((pIP->HdrLen & IP_HDRLEN_MASK) >> IP_HDRLEN_SHIFT) << 2; +} + +INLINE WORD IP_FragOff(ULPIP pIP) +{ + return (XCHG(pIP->FragOff) & IP_FRAGOFF_MASK) << IP_FRAGOFF_SHIFT; +} + +INLINE DWORD IP_TotalLen(ULPIP pIP) +{ + return XCHG(pIP->TotalLen); +} + +INLINE DWORD IP_MoreFragments(ULPIP pIP) +{ + return (pIP->Flags & IP_MF_MASK) >> IP_MF_SHIFT; +} +// +// Well known ports in the TCP/IP protocol (See RFC 1060) +// +#define PORT_TCPMUX 1 // TCP Port Service Multiplexer +#define PORT_RJE 5 // Remote Job Entry +#define PORT_ECHO 7 // Echo +#define PORT_DISCARD 9 // Discard +#define PORT_USERS 11 // Active users +#define PORT_DAYTIME 13 // Daytime +#define PORT_NETSTAT 15 // Netstat +#define PORT_QUOTE 17 // Quote of the day +#define PORT_CHARGEN 19 // Character Generator +#define PORT_FTPDATA 20 // File transfer [default data] +#define PORT_FTP 21 // File transfer [Control] +#define PORT_TELNET 23 // Telnet +#define PORT_SMTP 25 // Simple Mail Transfer +#define PORT_NSWFE 27 // NSW User System FE +#define PORT_MSGICP 29 // MSG ICP +#define PORT_MSGAUTH 31 // MSG Authentication +#define PORT_DSP 33 // Display Support +#define PORT_PRTSERVER 35 // any private printer server +#define PORT_TIME 37 // Time +#define PORT_RLP 39 // Resource Location Protocol +#define PORT_GRAPHICS 41 // Graphics +#define PORT_NAMESERVER 42 // Host Name Server +#define PORT_NICNAME 43 // Who is +#define PORT_MPMFLAGS 44 // MPM Flags +#define PORT_MPM 45 // Message Processing Module [recv] +#define PORT_MPMSND 46 // MPM [default send] +#define PORT_NIFTP 47 // NI FTP +#define PORT_LOGIN 49 // Login Host Protocol +#define PORT_LAMAINT 51 // IMP Logical Address Maintenance +#define PORT_DOMAIN 53 // Domain Name Server +#define PORT_ISIGL 55 // ISI Graphics Language +#define PORT_ANYTERMACC 57 // any private terminal access +#define PORT_ANYFILESYS 59 // any private file service +#define PORT_NIMAIL 61 // NI Mail +#define PORT_VIAFTP 63 // VIA Systems - FTP +#define PORT_TACACSDS 65 // TACACS - Database Service +#define PORT_BOOTPS 67 // Bootstrap Protocol server +#define PORT_BOOTPC 68 // Bootstrap Protocol client +#define PORT_TFTP 69 // Trivial File Transfer +#define PORT_NETRJS1 71 // Remote Job service +#define PORT_NETRJS2 72 // Remote Job service +#define PORT_NETRJS3 73 // Remote Job service +#define PORT_NETRJS4 74 // Remote Job service +#define PORT_ANYDIALOUT 75 // any private dial out service +#define PORT_ANYRJE 77 // any private RJE service +#define PORT_FINGER 79 // Finger +#define PORT_HTTP 80 // HTTP (www) +#define PORT_HOSTS2NS 81 // Hosts2 Name Server +#define PORT_MITMLDEV1 83 // MIT ML Device +#define PORT_MITMLDEV2 85 // MIT ML Device +#define PORT_ANYTERMLINK 87 // any private terminal link +#define PORT_SUMITTG 89 // SU/MIT Telnet Gateway +#define PORT_MITDOV 91 // MIT Dover Spooler +#define PORT_DCP 93 // Device Control Protocol +#define PORT_SUPDUP 95 // SUPDUP +#define PORT_SWIFTRVF 97 // Swift Remote Vitural File Protocol +#define PORT_TACNEWS 98 // TAC News +#define PORT_METAGRAM 99 // Metagram Relay +#define PORT_NEWACCT 100 // [Unauthorized use] +#define PORT_HOSTNAME 101 // NIC Host Name Server +#define PORT_ISOTSAP 102 // ISO-TSAP +#define PORT_X400 103 // X400 +#define PORT_X400SND 104 // X400 - SND +#define PORT_CSNETNS 105 // Mailbox Name Nameserver +#define PORT_RTELNET 107 // Remote Telnet Service +#define PORT_POP2 109 // Post Office Protocol - version 2 +#define PORT_POP3 110 // Post Office Protocol - version 3 +#define PORT_SUNRPC 111 // SUN Remote Procedure Call +#define PORT_AUTH 113 // Authentication +#define PORT_SFTP 115 // Simple File Transfer Protocol +#define PORT_UUCPPATH 117 // UUCP Path Service +#define PORT_NNTP 119 // Network News Transfer Protocol +#define PORT_ERPC 121 // Encore Expedited Remote Proc. Call +#define PORT_NTP 123 // Network Time Protocol +#define PORT_LOCUSMAP 125 // Locus PC-Interface Net Map Sesrver +#define PORT_LOCUSCON 127 // Locus PC-Interface Conn Server +#define PORT_PWDGEN 129 // Password Generator Protocol +#define PORT_CISCOFNA 130 // CISCO FNATIVE +#define PORT_CISCOTNA 131 // CISCO TNATIVE +#define PORT_CISCOSYS 132 // CISCO SYSMAINT +#define PORT_STATSRV 133 // Statistics Service +#define PORT_INGRESNET 134 // Ingres net service +#define PORT_LOCSRV 135 // Location Service +#define PORT_PROFILE 136 // PROFILE Naming System +#define PORT_NETBIOSNS 137 // NETBIOS Name Service +#define PORT_NETBIOSDGM 138 // NETBIOS Datagram Service +#define PORT_NETBIOSSSN 139 // NETBIOS Session Service +#define PORT_EMFISDATA 140 // EMFIS Data Service +#define PORT_EMFISCNTL 141 // EMFIS Control Service +#define PORT_BLIDM 142 // Britton-Lee IDM +#define PORT_IMAP2 143 // Interim Mail Access Protocol v2 +#define PORT_NEWS 144 // NewS +#define PORT_UAAC 145 // UAAC protocol +#define PORT_ISOTP0 146 // ISO-IP0 +#define PORT_ISOIP 147 // ISO-IP +#define PORT_CRONUS 148 // CRONUS-Support +#define PORT_AED512 149 // AED 512 Emulation Service +#define PORT_SQLNET 150 // SQL-NET +#define PORT_HEMS 151 // HEMS +#define PORT_BFTP 152 // Background File Transfer Protocol +#define PORT_SGMP 153 // SGMP +#define PORT_NETSCPROD 154 // NETSC +#define PORT_NETSCDEV 155 // NETSC +#define PORT_SQLSRV 156 // SQL service +#define PORT_KNETCMP 157 // KNET/VM Command/Message Protocol +#define PORT_PCMAILSRV 158 // PCMail server +#define PORT_NSSROUTING 159 // NSS routing +#define PORT_SGMPTRAPS 160 // SGMP-TRAPS +#define PORT_SNMP 161 // SNMP +#define PORT_SNMPTRAP 162 // SNMPTRAP +#define PORT_CMIPMANAGE 163 // CMIP/TCP Manager +#define PORT_CMIPAGENT 164 // CMIP/TCP Agent +#define PORT_XNSCOURIER 165 // Xerox +#define PORT_SNET 166 // Sirius Systems +#define PORT_NAMP 167 // NAMP +#define PORT_RSVD 168 // RSVC +#define PORT_SEND 169 // SEND +#define PORT_PRINTSRV 170 // Network Postscript +#define PORT_MULTIPLEX 171 // Network Innovations Multiples +#define PORT_CL1 172 // Network Innovations CL/1 +#define PORT_XYPLEXMUX 173 // Xyplex +#define PORT_MAILQ 174 // MAILQ +#define PORT_VMNET 175 // VMNET +#define PORT_GENRADMUX 176 // GENRAD-MUX +#define PORT_XDMCP 177 // X Display Manager Control Protocol +#define PORT_NEXTSTEP 178 // NextStep Window Server +#define PORT_BGP 179 // Border Gateway Protocol +#define PORT_RIS 180 // Intergraph +#define PORT_UNIFY 181 // Unify +#define PORT_UNISYSCAM 182 // Unisys-Cam +#define PORT_OCBINDER 183 // OCBinder +#define PORT_OCSERVER 184 // OCServer +#define PORT_REMOTEKIS 185 // Remote-KIS +#define PORT_KIS 186 // KIS protocol +#define PORT_ACI 187 // Application Communication Interface +#define PORT_MUMPS 188 // MUMPS +#define PORT_QFT 189 // Queued File Transport +#define PORT_GACP 190 // Gateway Access Control Protocol +#define PORT_PROSPERO 191 // Prospero +#define PORT_OSUNMS 192 // OSU Network Monitoring System +#define PORT_SRMP 193 // Spider Remote Monitoring Protocol +#define PORT_IRC 194 // Internet Relay Chat Protocol +#define PORT_DN6NLMAUD 195 // DNSIX Network Level Module Audit +#define PORT_DN6SMMRED 196 // DSNIX Session Mgt Module Audit Redirector +#define PORT_DLS 197 // Directory Location Service +#define PORT_DLSMON 198 // Directory Location Service Monitor +#define PORT_ATRMTP 201 // AppleTalk Routing Maintenance +#define PORT_ATNBP 202 // AppleTalk Name Binding +#define PORT_AT3 203 // AppleTalk Unused +#define PORT_ATECHO 204 // AppleTalk Echo +#define PORT_AT5 205 // AppleTalk Unused +#define PORT_ATZIS 206 // AppleTalk Zone Information +#define PORT_AT7 207 // AppleTalk Unused +#define PORT_AT8 208 // AppleTalk Unused +#define PORT_SURMEAS 243 // Survey Measurement +#define PORT_LINK 245 // LINK +#define PORT_DSP3270 246 // Display Systems Protocol +#define PORT_LDAP1 389 // LDAP +#define PORT_ISAKMP 500 // ISAKMP +#define PORT_REXEC 512 // Remote Process Execution +#define PORT_RLOGIN 513 // Remote login a la telnet +#define PORT_RSH 514 // Remote command +#define PORT_LPD 515 // Line printer spooler - LPD +#define PORT_RIP 520 // TCP=? / UDP=RIP +#define PORT_TEMPO 526 // Newdate +#define PORT_COURIER 530 // rpc +#define PORT_NETNEWS 532 // READNEWS +#define PORT_UUCPD 540 // UUCPD +#define PORT_KLOGIN 543 // +#define PORT_KSHELL 544 // krcmd +#define PORT_DSF 555 // +#define PORT_REMOTEEFS 556 // RFS server +#define PORT_CHSHELL 562 // chmod +#define PORT_METER 570 // METER +#define PORT_PCSERVER 600 // SUN IPC Server +#define PORT_NQS 607 // NQS +#define PORT_HMMP_INDICATION 612 // +#define PORT_HMMP_OPERATION 613 // +#define PORT_MDQS 666 // MDQS +#define PORT_LPD721 721 // LPD Client (lpd client ports 721 - 731) +#define PORT_LPD722 722 // LPD Client (see RFC 1179) +#define PORT_LPD723 723 // LPD Client +#define PORT_LPD724 724 // LPD Client +#define PORT_LPD725 725 // LPD Client +#define PORT_LPD726 726 // LPD Client +#define PORT_LPD727 727 // LPD Client +#define PORT_LPD728 728 // LPD Client +#define PORT_LPD729 729 // LPD Client +#define PORT_LPD730 730 // LPD Client +#define PORT_LPD731 731 // LPD Client +#define PORT_RFILE 750 // RFILE +#define PORT_PUMP 751 // PUMP +#define PORT_QRH 752 // QRH +#define PORT_RRH 753 // RRH +#define PORT_TELL 754 // TELL +#define PORT_NLOGIN 758 // NLOGIN +#define PORT_CON 759 // CON +#define PORT_NS 760 // NS +#define PORT_RXE 761 // RXE +#define PORT_QUOTAD 762 // QUOTAD +#define PORT_CYCLESERV 763 // CYCLESERV +#define PORT_OMSERV 764 // OMSERV +#define PORT_WEBSTER 765 // WEBSTER +#define PORT_PHONEBOOK 767 // PHONE +#define PORT_VID 769 // VID +#define PORT_RTIP 771 // RTIP +#define PORT_CYCLESERV2 772 // CYCLESERV-2 +#define PORT_SUBMIT 773 // submit +#define PORT_RPASSWD 774 // RPASSWD +#define PORT_ENTOMB 775 // ENTOMB +#define PORT_WPAGES 776 // WPAGES +#define PORT_WPGS 780 // wpgs +#define PORT_MDBSDAEMON 800 // MDBS DAEMON +#define PORT_DEVICE 801 // DEVICE +#define PORT_MAITRD 997 // MAITRD +#define PORT_BUSBOY 998 // BUSBOY +#define PORT_GARCON 999 // GARCON +#define PORT_NFS 2049 // NFS +#define PORT_LDAP2 3268 // LDAP +#define PORT_PPTP 5678 // PPTP + +//============================================================================= +//============================================================================= +// (NMIcmpStructs.h) +//============================================================================= +//============================================================================= + +// +// ICMP Frame Structure +// +typedef struct _RequestReplyFields + { + WORD ID; + WORD SeqNo; + } ReqReply; + +typedef struct _ParameterProblemFields + { + BYTE Pointer; + BYTE junk[ 3 ]; + } ParmProb; + +typedef struct _TimestampFields + { + DWORD tsOrig; + DWORD tsRecv; + DWORD tsXmit; + } TS; + +typedef struct _RouterAnnounceHeaderFields + { + BYTE NumAddrs; + BYTE AddrEntrySize; + WORD Lifetime; + } RouterAH; + +typedef struct _RouterAnnounceEntry + { + DWORD Address; + DWORD PreferenceLevel; + } RouterAE; + +typedef struct _ICMP +{ + BYTE Type; + BYTE Code; + WORD Checksum; + union + { + DWORD Unused; + DWORD Address; + ReqReply RR; + ParmProb PP; + RouterAH RAH; + }; + + union + { + TS Time; + IP IP; + RouterAE RAE[0]; + }; +} ICMP; + +typedef ICMP * LPICMP; +typedef ICMP UNALIGNED * ULPICMP; +#define ICMP_HEADER_LENGTH ( 8 ) + +// # of *BYTES* of IP data to attach to +// datagram in addition to IP header +#define ICMP_IP_DATA_LENGTH ( 8 ) + +// +// ICMP Packet Types +// +#define ECHO_REPLY ( 0 ) + +#define DESTINATION_UNREACHABLE ( 3 ) + +#define SOURCE_QUENCH ( 4 ) + +#define REDIRECT ( 5 ) + +#define ECHO ( 8 ) + +#define ROUTER_ADVERTISEMENT ( 9 ) + +#define ROUTER_SOLICITATION ( 10 ) + +#define TIME_EXCEEDED ( 11 ) + +#define PARAMETER_PROBLEM ( 12 ) + +#define TIMESTAMP ( 13 ) + +#define TIMESTAMP_REPLY ( 14 ) + +#define INFORMATION_REQUEST ( 15 ) + +#define INFORMATION_REPLY ( 16 ) + +#define ADDRESS_MASK_REQUEST ( 17 ) + +#define ADDRESS_MASK_REPLY ( 18 ) + +//============================================================================= +//============================================================================= +// (NMIpxStructs.h) +//============================================================================= +//============================================================================= +// IPX +typedef /* [public][public][public] */ struct __MIDL___MIDL_itf_netmon_0000_0000_0018 + { + UCHAR ha_address[ 6 ]; + } HOST_ADDRESS; + +typedef struct _IPXADDRESS + { + ULONG ipx_NetNumber; + HOST_ADDRESS ipx_HostAddr; + } IPXADDRESS; + +typedef IPXADDRESS UNALIGNED * PIPXADDRESS; +typedef struct _NET_ADDRESS + { + IPXADDRESS na_IPXAddr; + USHORT na_socket; + } NET_ADDRESS; + +typedef NET_ADDRESS UNALIGNED * UPNET_ADDRESS; +// IPX Internetwork Packet eXchange Protocol Header. +typedef /* [public][public] */ struct __MIDL___MIDL_itf_netmon_0000_0000_0019 + { + USHORT ipx_checksum; + USHORT ipx_length; + UCHAR ipx_xport_control; + UCHAR ipx_packet_type; + NET_ADDRESS ipx_dest; + NET_ADDRESS ipx_source; + } IPX_HDR; + +typedef IPX_HDR UNALIGNED * ULPIPX_HDR; +// SPX - Sequenced Packet Protocol +typedef struct _SPX_HDR + { + IPX_HDR spx_idp_hdr; + UCHAR spx_conn_ctrl; + UCHAR spx_data_type; + USHORT spx_src_conn_id; + USHORT spx_dest_conn_id; + USHORT spx_sequence_num; + USHORT spx_ack_num; + USHORT spx_alloc_num; + } SPX_HDR; + +typedef SPX_HDR UNALIGNED *PSPX_HDR; +//============================================================================= +//============================================================================= +// (NMTcpStructs.h) +//============================================================================= +//============================================================================= +// +// TCP Packet Structure +// +typedef struct _TCP + { + WORD SrcPort; + WORD DstPort; + DWORD SeqNum; + DWORD AckNum; + BYTE DataOff; + BYTE Flags; + WORD Window; + WORD Chksum; + WORD UrgPtr; + } TCP; + +typedef TCP *LPTCP; + +typedef TCP UNALIGNED * ULPTCP; +INLINE DWORD TCP_HdrLen(ULPTCP pTCP) +{ + return (pTCP->DataOff & 0xf0) >> 2; +} + +INLINE DWORD TCP_SrcPort(ULPTCP pTCP) +{ + return XCHG(pTCP->SrcPort); +} + +INLINE DWORD TCP_DstPort(ULPTCP pTCP) +{ + return XCHG(pTCP->DstPort); +} +// +// TCP Option Opcodes +// +#define TCP_OPTION_ENDOFOPTIONS ( 0 ) + +#define TCP_OPTION_NOP ( 1 ) + +#define TCP_OPTION_MAXSEGSIZE ( 2 ) + +#define TCP_OPTION_WSCALE ( 3 ) + +#define TCP_OPTION_SACK_PERMITTED ( 4 ) + +#define TCP_OPTION_SACK ( 5 ) + +#define TCP_OPTION_TIMESTAMPS ( 8 ) + +// +// TCP Flags +// +#define TCP_FLAG_URGENT ( 0x20 ) + +#define TCP_FLAG_ACK ( 0x10 ) + +#define TCP_FLAG_PUSH ( 0x8 ) + +#define TCP_FLAG_RESET ( 0x4 ) + +#define TCP_FLAG_SYN ( 0x2 ) + +#define TCP_FLAG_FIN ( 0x1 ) + +// +// TCP Field Masks +// +#define TCP_RESERVED_MASK ( 0xfc0 ) + + +#pragma pack(pop) +//**************************************************************************** +//**************************************************************************** +// IDelaydC - used by a consumer to get frames after a capture has completed. +//**************************************************************************** +//**************************************************************************** +#define DEFAULT_DELAYED_BUFFER_SIZE ( 1 ) + +#define USE_DEFAULT_DRIVE_LETTER ( 0 ) + +#define RTC_FRAME_SIZE_FULL ( 0 ) + + + +extern RPC_IF_HANDLE __MIDL_itf_netmon_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_netmon_0000_0000_v0_0_s_ifspec; + +#ifndef __IDelaydC_INTERFACE_DEFINED__ +#define __IDelaydC_INTERFACE_DEFINED__ + +/* interface IDelaydC */ +/* [local][unique][uuid][object] */ + + +EXTERN_C const IID IID_IDelaydC; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("BFF9C030-B58F-11ce-B5B0-00AA006CB37D") + IDelaydC : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Connect( + /* [in] */ HBLOB hInputBlob, + /* [in] */ LPVOID StatusCallbackProc, + /* [in] */ LPVOID UserContext, + /* [out] */ HBLOB hErrorBlob) = 0; + + virtual HRESULT STDMETHODCALLTYPE Disconnect( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryStatus( + /* [out] */ NETWORKSTATUS *pNetworkStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE Configure( + /* [in] */ HBLOB hConfigurationBlob, + /* [out] */ HBLOB hErrorBlob) = 0; + + virtual HRESULT STDMETHODCALLTYPE Start( + /* [out] */ char *pFileName) = 0; + + virtual HRESULT STDMETHODCALLTYPE Pause( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resume( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( + /* [out] */ LPSTATISTICS lpStats) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetControlState( + /* [out] */ BOOL *IsRunnning, + /* [out] */ BOOL *IsPaused) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTotalStatistics( + /* [out] */ LPSTATISTICS lpStats, + /* [in] */ BOOL fClearAfterReading) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConversationStatistics( + /* [out] */ DWORD *nSessions, + /* [size_is][out] */ LPSESSIONSTATS lpSessionStats, + /* [out] */ DWORD *nStations, + /* [size_is][out] */ LPSTATIONSTATS lpStationStats, + /* [in] */ BOOL fClearAfterReading) = 0; + + virtual HRESULT STDMETHODCALLTYPE InsertSpecialFrame( + /* [in] */ DWORD FrameType, + /* [in] */ DWORD Flags, + /* [in] */ BYTE *pUserData, + /* [in] */ DWORD UserDataLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryStations( + /* [out][in] */ QUERYTABLE *lpQueryTable) = 0; + + }; + +#else /* C style interface */ + + typedef struct IDelaydCVtbl + { + BEGIN_INTERFACE + + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IDelaydC * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + __RPC__deref_out void **ppvObject); + + ULONG ( STDMETHODCALLTYPE *AddRef )( + IDelaydC * This); + + ULONG ( STDMETHODCALLTYPE *Release )( + IDelaydC * This); + + HRESULT ( STDMETHODCALLTYPE *Connect )( + IDelaydC * This, + /* [in] */ HBLOB hInputBlob, + /* [in] */ LPVOID StatusCallbackProc, + /* [in] */ LPVOID UserContext, + /* [out] */ HBLOB hErrorBlob); + + HRESULT ( STDMETHODCALLTYPE *Disconnect )( + IDelaydC * This); + + HRESULT ( STDMETHODCALLTYPE *QueryStatus )( + IDelaydC * This, + /* [out] */ NETWORKSTATUS *pNetworkStatus); + + HRESULT ( STDMETHODCALLTYPE *Configure )( + IDelaydC * This, + /* [in] */ HBLOB hConfigurationBlob, + /* [out] */ HBLOB hErrorBlob); + + HRESULT ( STDMETHODCALLTYPE *Start )( + IDelaydC * This, + /* [out] */ char *pFileName); + + HRESULT ( STDMETHODCALLTYPE *Pause )( + IDelaydC * This); + + HRESULT ( STDMETHODCALLTYPE *Resume )( + IDelaydC * This); + + HRESULT ( STDMETHODCALLTYPE *Stop )( + IDelaydC * This, + /* [out] */ LPSTATISTICS lpStats); + + HRESULT ( STDMETHODCALLTYPE *GetControlState )( + IDelaydC * This, + /* [out] */ BOOL *IsRunnning, + /* [out] */ BOOL *IsPaused); + + HRESULT ( STDMETHODCALLTYPE *GetTotalStatistics )( + IDelaydC * This, + /* [out] */ LPSTATISTICS lpStats, + /* [in] */ BOOL fClearAfterReading); + + HRESULT ( STDMETHODCALLTYPE *GetConversationStatistics )( + IDelaydC * This, + /* [out] */ DWORD *nSessions, + /* [size_is][out] */ LPSESSIONSTATS lpSessionStats, + /* [out] */ DWORD *nStations, + /* [size_is][out] */ LPSTATIONSTATS lpStationStats, + /* [in] */ BOOL fClearAfterReading); + + HRESULT ( STDMETHODCALLTYPE *InsertSpecialFrame )( + IDelaydC * This, + /* [in] */ DWORD FrameType, + /* [in] */ DWORD Flags, + /* [in] */ BYTE *pUserData, + /* [in] */ DWORD UserDataLength); + + HRESULT ( STDMETHODCALLTYPE *QueryStations )( + IDelaydC * This, + /* [out][in] */ QUERYTABLE *lpQueryTable); + + END_INTERFACE + } IDelaydCVtbl; + + interface IDelaydC + { + CONST_VTBL struct IDelaydCVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IDelaydC_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IDelaydC_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IDelaydC_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IDelaydC_Connect(This,hInputBlob,StatusCallbackProc,UserContext,hErrorBlob) \ + ( (This)->lpVtbl -> Connect(This,hInputBlob,StatusCallbackProc,UserContext,hErrorBlob) ) + +#define IDelaydC_Disconnect(This) \ + ( (This)->lpVtbl -> Disconnect(This) ) + +#define IDelaydC_QueryStatus(This,pNetworkStatus) \ + ( (This)->lpVtbl -> QueryStatus(This,pNetworkStatus) ) + +#define IDelaydC_Configure(This,hConfigurationBlob,hErrorBlob) \ + ( (This)->lpVtbl -> Configure(This,hConfigurationBlob,hErrorBlob) ) + +#define IDelaydC_Start(This,pFileName) \ + ( (This)->lpVtbl -> Start(This,pFileName) ) + +#define IDelaydC_Pause(This) \ + ( (This)->lpVtbl -> Pause(This) ) + +#define IDelaydC_Resume(This) \ + ( (This)->lpVtbl -> Resume(This) ) + +#define IDelaydC_Stop(This,lpStats) \ + ( (This)->lpVtbl -> Stop(This,lpStats) ) + +#define IDelaydC_GetControlState(This,IsRunnning,IsPaused) \ + ( (This)->lpVtbl -> GetControlState(This,IsRunnning,IsPaused) ) + +#define IDelaydC_GetTotalStatistics(This,lpStats,fClearAfterReading) \ + ( (This)->lpVtbl -> GetTotalStatistics(This,lpStats,fClearAfterReading) ) + +#define IDelaydC_GetConversationStatistics(This,nSessions,lpSessionStats,nStations,lpStationStats,fClearAfterReading) \ + ( (This)->lpVtbl -> GetConversationStatistics(This,nSessions,lpSessionStats,nStations,lpStationStats,fClearAfterReading) ) + +#define IDelaydC_InsertSpecialFrame(This,FrameType,Flags,pUserData,UserDataLength) \ + ( (This)->lpVtbl -> InsertSpecialFrame(This,FrameType,Flags,pUserData,UserDataLength) ) + +#define IDelaydC_QueryStations(This,lpQueryTable) \ + ( (This)->lpVtbl -> QueryStations(This,lpQueryTable) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IDelaydC_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_netmon_0000_0001 */ +/* [local] */ + +//**************************************************************************** +//**************************************************************************** +// IRTC - used by a consumer to get an interface to local entry points +// necessary to do real time capture processing. It includes a method +// for handing a callback to the NPP. +//**************************************************************************** +//**************************************************************************** +#define DEFAULT_RTC_BUFFER_SIZE ( 0x100000 ) + + + +extern RPC_IF_HANDLE __MIDL_itf_netmon_0000_0001_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_netmon_0000_0001_v0_0_s_ifspec; + +#ifndef __IRTC_INTERFACE_DEFINED__ +#define __IRTC_INTERFACE_DEFINED__ + +/* interface IRTC */ +/* [local][unique][uuid][object] */ + + +EXTERN_C const IID IID_IRTC; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4811EA40-B582-11ce-B5AF-00AA006CB37D") + IRTC : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Connect( + /* [in] */ HBLOB hInputBlob, + /* [in] */ LPVOID StatusCallbackProc, + /* [in] */ LPVOID FramesCallbackProc, + /* [in] */ LPVOID UserContext, + /* [out] */ HBLOB hErrorBlob) = 0; + + virtual HRESULT STDMETHODCALLTYPE Disconnect( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryStatus( + /* [out] */ NETWORKSTATUS *pNetworkStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE Configure( + /* [in] */ HBLOB hConfigurationBlob, + /* [out] */ HBLOB hErrorBlob) = 0; + + virtual HRESULT STDMETHODCALLTYPE Start( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE Pause( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resume( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetControlState( + /* [out] */ BOOL *IsRunnning, + /* [out] */ BOOL *IsPaused) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTotalStatistics( + /* [out] */ LPSTATISTICS lpStats, + /* [in] */ BOOL fClearAfterReading) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConversationStatistics( + /* [out] */ DWORD *nSessions, + /* [size_is][out] */ LPSESSIONSTATS lpSessionStats, + /* [out] */ DWORD *nStations, + /* [size_is][out] */ LPSTATIONSTATS lpStationStats, + /* [in] */ BOOL fClearAfterReading) = 0; + + virtual HRESULT STDMETHODCALLTYPE InsertSpecialFrame( + /* [in] */ DWORD FrameType, + /* [in] */ DWORD Flags, + /* [in] */ BYTE *pUserData, + /* [in] */ DWORD UserDataLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryStations( + /* [out][in] */ QUERYTABLE *lpQueryTable) = 0; + + }; + +#else /* C style interface */ + + typedef struct IRTCVtbl + { + BEGIN_INTERFACE + + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IRTC * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + __RPC__deref_out void **ppvObject); + + ULONG ( STDMETHODCALLTYPE *AddRef )( + IRTC * This); + + ULONG ( STDMETHODCALLTYPE *Release )( + IRTC * This); + + HRESULT ( STDMETHODCALLTYPE *Connect )( + IRTC * This, + /* [in] */ HBLOB hInputBlob, + /* [in] */ LPVOID StatusCallbackProc, + /* [in] */ LPVOID FramesCallbackProc, + /* [in] */ LPVOID UserContext, + /* [out] */ HBLOB hErrorBlob); + + HRESULT ( STDMETHODCALLTYPE *Disconnect )( + IRTC * This); + + HRESULT ( STDMETHODCALLTYPE *QueryStatus )( + IRTC * This, + /* [out] */ NETWORKSTATUS *pNetworkStatus); + + HRESULT ( STDMETHODCALLTYPE *Configure )( + IRTC * This, + /* [in] */ HBLOB hConfigurationBlob, + /* [out] */ HBLOB hErrorBlob); + + HRESULT ( STDMETHODCALLTYPE *Start )( + IRTC * This); + + HRESULT ( STDMETHODCALLTYPE *Pause )( + IRTC * This); + + HRESULT ( STDMETHODCALLTYPE *Resume )( + IRTC * This); + + HRESULT ( STDMETHODCALLTYPE *Stop )( + IRTC * This); + + HRESULT ( STDMETHODCALLTYPE *GetControlState )( + IRTC * This, + /* [out] */ BOOL *IsRunnning, + /* [out] */ BOOL *IsPaused); + + HRESULT ( STDMETHODCALLTYPE *GetTotalStatistics )( + IRTC * This, + /* [out] */ LPSTATISTICS lpStats, + /* [in] */ BOOL fClearAfterReading); + + HRESULT ( STDMETHODCALLTYPE *GetConversationStatistics )( + IRTC * This, + /* [out] */ DWORD *nSessions, + /* [size_is][out] */ LPSESSIONSTATS lpSessionStats, + /* [out] */ DWORD *nStations, + /* [size_is][out] */ LPSTATIONSTATS lpStationStats, + /* [in] */ BOOL fClearAfterReading); + + HRESULT ( STDMETHODCALLTYPE *InsertSpecialFrame )( + IRTC * This, + /* [in] */ DWORD FrameType, + /* [in] */ DWORD Flags, + /* [in] */ BYTE *pUserData, + /* [in] */ DWORD UserDataLength); + + HRESULT ( STDMETHODCALLTYPE *QueryStations )( + IRTC * This, + /* [out][in] */ QUERYTABLE *lpQueryTable); + + END_INTERFACE + } IRTCVtbl; + + interface IRTC + { + CONST_VTBL struct IRTCVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IRTC_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IRTC_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IRTC_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IRTC_Connect(This,hInputBlob,StatusCallbackProc,FramesCallbackProc,UserContext,hErrorBlob) \ + ( (This)->lpVtbl -> Connect(This,hInputBlob,StatusCallbackProc,FramesCallbackProc,UserContext,hErrorBlob) ) + +#define IRTC_Disconnect(This) \ + ( (This)->lpVtbl -> Disconnect(This) ) + +#define IRTC_QueryStatus(This,pNetworkStatus) \ + ( (This)->lpVtbl -> QueryStatus(This,pNetworkStatus) ) + +#define IRTC_Configure(This,hConfigurationBlob,hErrorBlob) \ + ( (This)->lpVtbl -> Configure(This,hConfigurationBlob,hErrorBlob) ) + +#define IRTC_Start(This) \ + ( (This)->lpVtbl -> Start(This) ) + +#define IRTC_Pause(This) \ + ( (This)->lpVtbl -> Pause(This) ) + +#define IRTC_Resume(This) \ + ( (This)->lpVtbl -> Resume(This) ) + +#define IRTC_Stop(This) \ + ( (This)->lpVtbl -> Stop(This) ) + +#define IRTC_GetControlState(This,IsRunnning,IsPaused) \ + ( (This)->lpVtbl -> GetControlState(This,IsRunnning,IsPaused) ) + +#define IRTC_GetTotalStatistics(This,lpStats,fClearAfterReading) \ + ( (This)->lpVtbl -> GetTotalStatistics(This,lpStats,fClearAfterReading) ) + +#define IRTC_GetConversationStatistics(This,nSessions,lpSessionStats,nStations,lpStationStats,fClearAfterReading) \ + ( (This)->lpVtbl -> GetConversationStatistics(This,nSessions,lpSessionStats,nStations,lpStationStats,fClearAfterReading) ) + +#define IRTC_InsertSpecialFrame(This,FrameType,Flags,pUserData,UserDataLength) \ + ( (This)->lpVtbl -> InsertSpecialFrame(This,FrameType,Flags,pUserData,UserDataLength) ) + +#define IRTC_QueryStations(This,lpQueryTable) \ + ( (This)->lpVtbl -> QueryStations(This,lpQueryTable) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IRTC_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_netmon_0000_0002 */ +/* [local] */ + +//**************************************************************************** +//**************************************************************************** +// IStats - used by a consumer to get just statistics, no frames. +//**************************************************************************** +//**************************************************************************** + + +extern RPC_IF_HANDLE __MIDL_itf_netmon_0000_0002_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_netmon_0000_0002_v0_0_s_ifspec; + +#ifndef __IStats_INTERFACE_DEFINED__ +#define __IStats_INTERFACE_DEFINED__ + +/* interface IStats */ +/* [local][unique][uuid][object] */ + + +EXTERN_C const IID IID_IStats; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("944AD530-B09D-11ce-B59C-00AA006CB37D") + IStats : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Connect( + /* [in] */ HBLOB hInputBlob, + /* [in] */ LPVOID StatusCallbackProc, + /* [in] */ LPVOID UserContext, + /* [out] */ HBLOB hErrorBlob) = 0; + + virtual HRESULT STDMETHODCALLTYPE Disconnect( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryStatus( + /* [out] */ NETWORKSTATUS *pNetworkStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE Configure( + /* [in] */ HBLOB hConfigurationBlob, + /* [out] */ HBLOB hErrorBlob) = 0; + + virtual HRESULT STDMETHODCALLTYPE Start( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE Pause( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE Resume( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetControlState( + /* [out] */ BOOL *IsRunnning, + /* [out] */ BOOL *IsPaused) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTotalStatistics( + /* [out] */ LPSTATISTICS lpStats, + /* [in] */ BOOL fClearAfterReading) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConversationStatistics( + /* [out] */ DWORD *nSessions, + /* [size_is][out] */ LPSESSIONSTATS lpSessionStats, + /* [out] */ DWORD *nStations, + /* [size_is][out] */ LPSTATIONSTATS lpStationStats, + /* [in] */ BOOL fClearAfterReading) = 0; + + virtual HRESULT STDMETHODCALLTYPE InsertSpecialFrame( + /* [in] */ DWORD FrameType, + /* [in] */ DWORD Flags, + /* [in] */ BYTE *pUserData, + /* [in] */ DWORD UserDataLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryStations( + /* [out][in] */ QUERYTABLE *lpQueryTable) = 0; + + }; + +#else /* C style interface */ + + typedef struct IStatsVtbl + { + BEGIN_INTERFACE + + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IStats * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + __RPC__deref_out void **ppvObject); + + ULONG ( STDMETHODCALLTYPE *AddRef )( + IStats * This); + + ULONG ( STDMETHODCALLTYPE *Release )( + IStats * This); + + HRESULT ( STDMETHODCALLTYPE *Connect )( + IStats * This, + /* [in] */ HBLOB hInputBlob, + /* [in] */ LPVOID StatusCallbackProc, + /* [in] */ LPVOID UserContext, + /* [out] */ HBLOB hErrorBlob); + + HRESULT ( STDMETHODCALLTYPE *Disconnect )( + IStats * This); + + HRESULT ( STDMETHODCALLTYPE *QueryStatus )( + IStats * This, + /* [out] */ NETWORKSTATUS *pNetworkStatus); + + HRESULT ( STDMETHODCALLTYPE *Configure )( + IStats * This, + /* [in] */ HBLOB hConfigurationBlob, + /* [out] */ HBLOB hErrorBlob); + + HRESULT ( STDMETHODCALLTYPE *Start )( + IStats * This); + + HRESULT ( STDMETHODCALLTYPE *Pause )( + IStats * This); + + HRESULT ( STDMETHODCALLTYPE *Resume )( + IStats * This); + + HRESULT ( STDMETHODCALLTYPE *Stop )( + IStats * This); + + HRESULT ( STDMETHODCALLTYPE *GetControlState )( + IStats * This, + /* [out] */ BOOL *IsRunnning, + /* [out] */ BOOL *IsPaused); + + HRESULT ( STDMETHODCALLTYPE *GetTotalStatistics )( + IStats * This, + /* [out] */ LPSTATISTICS lpStats, + /* [in] */ BOOL fClearAfterReading); + + HRESULT ( STDMETHODCALLTYPE *GetConversationStatistics )( + IStats * This, + /* [out] */ DWORD *nSessions, + /* [size_is][out] */ LPSESSIONSTATS lpSessionStats, + /* [out] */ DWORD *nStations, + /* [size_is][out] */ LPSTATIONSTATS lpStationStats, + /* [in] */ BOOL fClearAfterReading); + + HRESULT ( STDMETHODCALLTYPE *InsertSpecialFrame )( + IStats * This, + /* [in] */ DWORD FrameType, + /* [in] */ DWORD Flags, + /* [in] */ BYTE *pUserData, + /* [in] */ DWORD UserDataLength); + + HRESULT ( STDMETHODCALLTYPE *QueryStations )( + IStats * This, + /* [out][in] */ QUERYTABLE *lpQueryTable); + + END_INTERFACE + } IStatsVtbl; + + interface IStats + { + CONST_VTBL struct IStatsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IStats_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IStats_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IStats_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IStats_Connect(This,hInputBlob,StatusCallbackProc,UserContext,hErrorBlob) \ + ( (This)->lpVtbl -> Connect(This,hInputBlob,StatusCallbackProc,UserContext,hErrorBlob) ) + +#define IStats_Disconnect(This) \ + ( (This)->lpVtbl -> Disconnect(This) ) + +#define IStats_QueryStatus(This,pNetworkStatus) \ + ( (This)->lpVtbl -> QueryStatus(This,pNetworkStatus) ) + +#define IStats_Configure(This,hConfigurationBlob,hErrorBlob) \ + ( (This)->lpVtbl -> Configure(This,hConfigurationBlob,hErrorBlob) ) + +#define IStats_Start(This) \ + ( (This)->lpVtbl -> Start(This) ) + +#define IStats_Pause(This) \ + ( (This)->lpVtbl -> Pause(This) ) + +#define IStats_Resume(This) \ + ( (This)->lpVtbl -> Resume(This) ) + +#define IStats_Stop(This) \ + ( (This)->lpVtbl -> Stop(This) ) + +#define IStats_GetControlState(This,IsRunnning,IsPaused) \ + ( (This)->lpVtbl -> GetControlState(This,IsRunnning,IsPaused) ) + +#define IStats_GetTotalStatistics(This,lpStats,fClearAfterReading) \ + ( (This)->lpVtbl -> GetTotalStatistics(This,lpStats,fClearAfterReading) ) + +#define IStats_GetConversationStatistics(This,nSessions,lpSessionStats,nStations,lpStationStats,fClearAfterReading) \ + ( (This)->lpVtbl -> GetConversationStatistics(This,nSessions,lpSessionStats,nStations,lpStationStats,fClearAfterReading) ) + +#define IStats_InsertSpecialFrame(This,FrameType,Flags,pUserData,UserDataLength) \ + ( (This)->lpVtbl -> InsertSpecialFrame(This,FrameType,Flags,pUserData,UserDataLength) ) + +#define IStats_QueryStations(This,lpQueryTable) \ + ( (This)->lpVtbl -> QueryStations(This,lpQueryTable) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IStats_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_netmon_0000_0003 */ +/* [local] */ + +#pragma warning(default:4200) + +#pragma pack() + + +extern RPC_IF_HANDLE __MIDL_itf_netmon_0000_0003_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_netmon_0000_0003_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + + diff --git a/h323parser/perattacher.cpp b/h323parser/perattacher.cpp index be575a5..8f3428b 100644 --- a/h323parser/perattacher.cpp +++ b/h323parser/perattacher.cpp @@ -10,6 +10,9 @@ * any later version. * * $Log: perattacher.cpp,v $ + * Revision 1.4 2011/09/06 13:47:11 arunasr + * Genesys fixes, includes contributions from Rodrigo Coimbra + * * Revision 1.3 2005/12/02 03:40:19 mangelo * *** empty log message *** * @@ -171,6 +174,11 @@ bool PERAttacher::do_visit(ASN1::GeneralizedTime& value) return do_visit(static_cast(value)); } +bool PERAttacher::do_visit(ASN1::UTCTime& value) +{ + return do_visit(static_cast(value)); +} + bool PERAttacher::do_visit(ASN1::CHOICE& value) { const char* savedPosition = decoder.getPosition(); @@ -344,4 +352,4 @@ ASN1::Visitor::VISIT_SEQ_RESULT PERAttacher::visitKnownExtension(ASN1::SEQUENCE& bool PERAttacher::visitUnknownExtensions(ASN1::SEQUENCE& value) { return decoder.visitUnknownExtensions(value); -} \ No newline at end of file +} diff --git a/h323parser/perattacher.h b/h323parser/perattacher.h index 662ed7d..ecd8538 100644 --- a/h323parser/perattacher.h +++ b/h323parser/perattacher.h @@ -10,6 +10,9 @@ * any later version. * * $Log: perattacher.h,v $ + * Revision 1.3 2011/09/06 13:47:11 arunasr + * Genesys fixes, includes contributions from Rodrigo Coimbra + * * Revision 1.2 2005/12/02 03:40:19 mangelo * *** empty log message *** * @@ -53,6 +56,7 @@ class PERAttacher : public ASN1::Visitor bool do_visit(ASN1::AbstractString& value); bool do_visit(ASN1::BMPString& value); bool do_visit(ASN1::GeneralizedTime& value); + bool do_visit(ASN1::UTCTime& value); bool do_visit(ASN1::CHOICE& value); bool do_visit(ASN1::SEQUENCE_OF_Base& value); bool do_visit(ASN1::OpenData& value); diff --git a/iiiasn1-x32-vs120.sln b/iiiasn1-x32-vs120.sln new file mode 100644 index 0000000..0981003 --- /dev/null +++ b/iiiasn1-x32-vs120.sln @@ -0,0 +1,63 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Express 2013 for Windows Desktop +VisualStudioVersion = 12.0.30723.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ASN1rts", "asn1\ASN1rts-x32-vs120.vcxproj", "{CC4DCE75-9957-4642-A86B-EA14DBCEBF54}" + ProjectSection(ProjectDependencies) = postProject + {FA18351A-6E6C-4033-AEB5-FDC8E5BC4B20} = {FA18351A-6E6C-4033-AEB5-FDC8E5BC4B20} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ASN1test", "asn1\testsuite\ASN1test-x32-vs120.vcxproj", "{F012966D-7796-4562-8587-6ADF79466B8F}" + ProjectSection(ProjectDependencies) = postProject + {CC4DCE75-9957-4642-A86B-EA14DBCEBF54} = {CC4DCE75-9957-4642-A86B-EA14DBCEBF54} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "H323rts", "asnh323\asnh323-x32-vs120.vcxproj", "{4E4B52F7-9D54-4183-99A7-00212102BCBF}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "h323test", "asnh323\testsuite\h323test-x32-vs120.vcxproj", "{103FA5DD-4312-47E7-8B6A-5433EC4014D5}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ASN1cmp", "asnparser\ASN1cmp-x32-vs120.vcxproj", "{1EED4B13-2A75-4C49-A198-12F2A46F5944}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "H323Parser", "h323parser\H323Parser-x32-vs120.vcxproj", "{EF024D3D-64DA-4ED8-9C2B-CF9CE434D5C9}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "makedef", "makedef\makedef-x32-vs120.vcxproj", "{FA18351A-6E6C-4033-AEB5-FDC8E5BC4B20}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CC4DCE75-9957-4642-A86B-EA14DBCEBF54}.Debug|Win32.ActiveCfg = Debug|Win32 + {CC4DCE75-9957-4642-A86B-EA14DBCEBF54}.Debug|Win32.Build.0 = Debug|Win32 + {CC4DCE75-9957-4642-A86B-EA14DBCEBF54}.Release|Win32.ActiveCfg = Release|Win32 + {CC4DCE75-9957-4642-A86B-EA14DBCEBF54}.Release|Win32.Build.0 = Release|Win32 + {F012966D-7796-4562-8587-6ADF79466B8F}.Debug|Win32.ActiveCfg = Debug|Win32 + {F012966D-7796-4562-8587-6ADF79466B8F}.Debug|Win32.Build.0 = Debug|Win32 + {F012966D-7796-4562-8587-6ADF79466B8F}.Release|Win32.ActiveCfg = Release|Win32 + {F012966D-7796-4562-8587-6ADF79466B8F}.Release|Win32.Build.0 = Release|Win32 + {4E4B52F7-9D54-4183-99A7-00212102BCBF}.Debug|Win32.ActiveCfg = Debug|Win32 + {4E4B52F7-9D54-4183-99A7-00212102BCBF}.Debug|Win32.Build.0 = Debug|Win32 + {4E4B52F7-9D54-4183-99A7-00212102BCBF}.Release|Win32.ActiveCfg = Release|Win32 + {4E4B52F7-9D54-4183-99A7-00212102BCBF}.Release|Win32.Build.0 = Release|Win32 + {103FA5DD-4312-47E7-8B6A-5433EC4014D5}.Debug|Win32.ActiveCfg = Debug|Win32 + {103FA5DD-4312-47E7-8B6A-5433EC4014D5}.Debug|Win32.Build.0 = Debug|Win32 + {103FA5DD-4312-47E7-8B6A-5433EC4014D5}.Release|Win32.ActiveCfg = Release|Win32 + {103FA5DD-4312-47E7-8B6A-5433EC4014D5}.Release|Win32.Build.0 = Release|Win32 + {1EED4B13-2A75-4C49-A198-12F2A46F5944}.Debug|Win32.ActiveCfg = Debug|Win32 + {1EED4B13-2A75-4C49-A198-12F2A46F5944}.Debug|Win32.Build.0 = Debug|Win32 + {1EED4B13-2A75-4C49-A198-12F2A46F5944}.Release|Win32.ActiveCfg = Release|Win32 + {1EED4B13-2A75-4C49-A198-12F2A46F5944}.Release|Win32.Build.0 = Release|Win32 + {EF024D3D-64DA-4ED8-9C2B-CF9CE434D5C9}.Debug|Win32.ActiveCfg = Debug|Win32 + {EF024D3D-64DA-4ED8-9C2B-CF9CE434D5C9}.Debug|Win32.Build.0 = Debug|Win32 + {EF024D3D-64DA-4ED8-9C2B-CF9CE434D5C9}.Release|Win32.ActiveCfg = Release|Win32 + {EF024D3D-64DA-4ED8-9C2B-CF9CE434D5C9}.Release|Win32.Build.0 = Release|Win32 + {FA18351A-6E6C-4033-AEB5-FDC8E5BC4B20}.Debug|Win32.ActiveCfg = Debug|Win32 + {FA18351A-6E6C-4033-AEB5-FDC8E5BC4B20}.Debug|Win32.Build.0 = Debug|Win32 + {FA18351A-6E6C-4033-AEB5-FDC8E5BC4B20}.Release|Win32.ActiveCfg = Release|Win32 + {FA18351A-6E6C-4033-AEB5-FDC8E5BC4B20}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/iiiasn1.dsw b/iiiasn1.dsw index 8637a92..26a9a80 100644 --- a/iiiasn1.dsw +++ b/iiiasn1.dsw @@ -1,158 +1,158 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ASN1"=".\asn1\ASN1.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "ASNParser"=".\asnparser\asnparser.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "H323Parser"=".\h323parser\H323Parser.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ASN1 - End Project Dependency - Begin Project Dependency - Project_Dep_Name ASNParser - End Project Dependency -}}} - -############################################################################### - -Project: "asn1_dll"=".\asn1\asn1_dll.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ASN1 - End Project Dependency - Begin Project Dependency - Project_Dep_Name makedef - End Project Dependency -}}} - -############################################################################### - -Project: "asn1test"=".\asn1\testsuite\asn1test.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ASNParser - End Project Dependency - Begin Project Dependency - Project_Dep_Name asn1_dll - End Project Dependency -}}} - -############################################################################### - -Project: "asnh323"=".\asnh323\asnh323.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ASN1 - End Project Dependency - Begin Project Dependency - Project_Dep_Name ASNParser - End Project Dependency -}}} - -############################################################################### - -Project: "asnh323_dll"=".\asnh323\asnh323_dll.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name asnh323 - End Project Dependency - Begin Project Dependency - Project_Dep_Name makedef - End Project Dependency -}}} - -############################################################################### - -Project: "h323test"=".\ASNH323\TESTSUITE\h323test.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name asnh323_dll - End Project Dependency -}}} - -############################################################################### - -Project: "makedef"=".\makedef\makedef.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "ASN1"=".\asn1\ASN1.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "ASNParser"=".\asnparser\asnparser.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "H323Parser"=".\h323parser\H323Parser.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name ASN1 + End Project Dependency + Begin Project Dependency + Project_Dep_Name ASNParser + End Project Dependency +}}} + +############################################################################### + +Project: "asn1_dll"=".\asn1\asn1_dll.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name ASN1 + End Project Dependency + Begin Project Dependency + Project_Dep_Name makedef + End Project Dependency +}}} + +############################################################################### + +Project: "asn1test"=".\asn1\testsuite\asn1test.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name ASNParser + End Project Dependency + Begin Project Dependency + Project_Dep_Name asn1_dll + End Project Dependency +}}} + +############################################################################### + +Project: "asnh323"=".\asnh323\asnh323.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name ASN1 + End Project Dependency + Begin Project Dependency + Project_Dep_Name ASNParser + End Project Dependency +}}} + +############################################################################### + +Project: "asnh323_dll"=".\asnh323\asnh323_dll.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name asnh323 + End Project Dependency + Begin Project Dependency + Project_Dep_Name makedef + End Project Dependency +}}} + +############################################################################### + +Project: "h323test"=".\ASNH323\TESTSUITE\h323test.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name asnh323_dll + End Project Dependency +}}} + +############################################################################### + +Project: "makedef"=".\makedef\makedef.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/makedef/CVS/Entries b/makedef/CVS/Entries deleted file mode 100644 index 5d8a647..0000000 --- a/makedef/CVS/Entries +++ /dev/null @@ -1,4 +0,0 @@ -/makedef.cpp/1.2/Fri Dec 2 03:29:12 2005// -/makedef.dsp/1.2/Wed Aug 21 03:41:17 2002/-kb/ -/makedef.vcproj/1.2/Fri Dec 2 03:47:00 2005// -D diff --git a/makedef/CVS/Repository b/makedef/CVS/Repository deleted file mode 100644 index 6212a64..0000000 --- a/makedef/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -iiiasn1/makedef diff --git a/makedef/CVS/Root b/makedef/CVS/Root deleted file mode 100644 index 5edb607..0000000 --- a/makedef/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@iiiasn1.cvs.sourceforge.net:/cvsroot/iiiasn1 diff --git a/makedef/getopt.h b/makedef/getopt.h new file mode 100644 index 0000000..8a45c8b --- /dev/null +++ b/makedef/getopt.h @@ -0,0 +1,188 @@ + +/* getopt.h */ +/* Declarations for getopt. + Copyright (C) 1989-1994, 1996-1999, 2001 Free Software + Foundation, Inc. This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute + it and/or modify it under the terms of the GNU Lesser + General Public License as published by the Free Software + Foundation; either version 2.1 of the License, or + (at your option) any later version. + + The GNU C Library 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 Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General + Public License along with the GNU C Library; if not, write + to the Free Software Foundation, Inc., 59 Temple Place, + Suite 330, Boston, MA 02111-1307 USA. */ + + + + +#ifndef _GETOPT_H + +#ifndef __need_getopt +# define _GETOPT_H 1 +#endif + +/* If __GNU_LIBRARY__ is not already defined, either we are being used + standalone, or this is the first header included in the source file. + If we are being used with glibc, we need to include , but + that does not exist if we are standalone. So: if __GNU_LIBRARY__ is + not defined, include , which will pull in for us + if it's from glibc. (Why ctype.h? It's guaranteed to exist and it + doesn't flood the namespace with stuff the way some other headers do.) */ +#if !defined __GNU_LIBRARY__ +# include +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* For communication from `getopt' to the caller. + When `getopt' finds an option that takes an argument, + the argument value is returned here. + Also, when `ordering' is RETURN_IN_ORDER, + each non-option ARGV-element is returned here. */ + +extern char *optarg; + +/* Index in ARGV of the next element to be scanned. + This is used for communication to and from the caller + and for communication between successive calls to `getopt'. + + On entry to `getopt', zero means this is the first call; initialize. + + When `getopt' returns -1, this is the index of the first of the + non-option elements that the caller should itself scan. + + Otherwise, `optind' communicates from one call to the next + how much of ARGV has been scanned so far. */ + +extern int optind; + +/* Callers store zero here to inhibit the error message `getopt' prints + for unrecognized options. */ + +extern int opterr; + +/* Set to an option character which was unrecognized. */ + +extern int optopt; + +#ifndef __need_getopt +/* Describe the long-named options requested by the application. + The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector + of `struct option' terminated by an element containing a name which is + zero. + + The field `has_arg' is: + no_argument (or 0) if the option does not take an argument, + required_argument (or 1) if the option requires an argument, + optional_argument (or 2) if the option takes an optional argument. + + If the field `flag' is not NULL, it points to a variable that is set + to the value given in the field `val' when the option is found, but + left unchanged if the option is not found. + + To have a long-named option do something other than set an `int' to + a compiled-in constant, such as set a value from `optarg', set the + option's `flag' field to zero and its `val' field to a nonzero + value (the equivalent single-letter option character, if there is + one). For long options that have a zero `flag' field, `getopt' + returns the contents of the `val' field. */ + +struct option +{ +# if (defined __STDC__ && __STDC__) || defined __cplusplus + const char *name; +# else + char *name; +# endif + /* has_arg can't be an enum because some compilers complain about + type mismatches in all the code that assumes it is an int. */ + int has_arg; + int *flag; + int val; +}; + +/* Names for the values of the `has_arg' field of `struct option'. */ + +# define no_argument 0 +# define required_argument 1 +# define optional_argument 2 +#endif /* need getopt */ + + +/* Get definitions and prototypes for functions to process the + arguments in ARGV (ARGC of them, minus the program name) for + options given in OPTS. + + Return the option character from OPTS just read. Return -1 when + there are no more options. For unrecognized options, or options + missing arguments, `optopt' is set to the option letter, and '?' is + returned. + + The OPTS string is a list of characters which are recognized option + letters, optionally followed by colons, specifying that that letter + takes an argument, to be placed in `optarg'. + + If a letter in OPTS is followed by two colons, its argument is + optional. This behavior is specific to the GNU `getopt'. + + The argument `--' causes premature termination of argument + scanning, explicitly telling `getopt' that there are no more + options. + + If OPTS begins with `--', then non-option arguments are treated as + arguments to the option '\0'. This behavior is specific to the GNU + `getopt'. */ + +#if (defined __STDC__ && __STDC__) || defined __cplusplus +# ifdef __GNU_LIBRARY__ +/* Many other libraries have conflicting prototypes for getopt, with + differences in the consts, in stdlib.h. To avoid compilation + errors, only prototype getopt for the GNU C library. */ +extern int getopt (int ___argc, char *const *___argv, const char *__shortopts); +# else /* not __GNU_LIBRARY__ */ +extern int getopt (); +# endif /* __GNU_LIBRARY__ */ + +# ifndef __need_getopt +extern int getopt_long (int ___argc, char *const *___argv, + const char *__shortopts, + const struct option *__longopts, int *__longind); +extern int getopt_long_only (int ___argc, char *const *___argv, + const char *__shortopts, + const struct option *__longopts, int *__longind); + +/* Internal only. Users should not call this directly. */ +extern int _getopt_internal (int ___argc, char *const *___argv, + const char *__shortopts, + const struct option *__longopts, int *__longind, + int __long_only); +# endif +#else /* not __STDC__ */ +extern int getopt (); +# ifndef __need_getopt +extern int getopt_long (); +extern int getopt_long_only (); + +extern int _getopt_internal (); +# endif +#endif /* __STDC__ */ + +#ifdef __cplusplus +} +#endif + +/* Make sure we later can get all the definitions and declarations. */ +#undef __need_getopt + +#endif /* getopt.h */ diff --git a/makedef/makedef-x32-vs120.vcxproj b/makedef/makedef-x32-vs120.vcxproj new file mode 100644 index 0000000..8926b99 --- /dev/null +++ b/makedef/makedef-x32-vs120.vcxproj @@ -0,0 +1,112 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {FA18351A-6E6C-4033-AEB5-FDC8E5BC4B20} + Win32Proj + makedef + + + + Application + v120 + MultiByte + + + Application + v120 + MultiByte + + + + + + + + + + + + + + + <_ProjectFileVersion>11.0.50727.1 + + + Debug\ + Debug\ + true + .;$(IncludePath) + $(ProjectName)d + + + Release\ + Release\ + false + + + + Disabled + ../asnparser;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebug + + Level3 + EditAndContinue + + + ../lib/$(TargetFileName) + true + $(OutDir)$(TargetName).pdb + Console + MachineX86 + + + + + MaxSpeed + OnlyExplicitInline + true + ../asnparser;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + MultiThreaded + true + + Level3 + ProgramDatabase + + + ../Lib/makedef.exe + true + Console + true + true + MachineX86 + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/makedef/makedef-x32-vs120.vcxproj.filters b/makedef/makedef-x32-vs120.vcxproj.filters new file mode 100644 index 0000000..ffa6eff --- /dev/null +++ b/makedef/makedef-x32-vs120.vcxproj.filters @@ -0,0 +1,33 @@ + + + + + {738ff4b8-a17e-4575-9dc9-6accad150017} + cpp;c;cxx;def;odl;idl;hpj;bat;asm + + + {5896499f-c676-4c5b-aa6c-5768838dd875} + h;hpp;hxx;hm;inl;inc + + + {d581cf4b-87d2-46c5-bdee-1b6989e08d61} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe + + + + + Source Files + + + Source Files + + + + + + + + Header Files + + + \ No newline at end of file diff --git a/makedef/makedef.cpp b/makedef/makedef.cpp index 56d3f0e..ad643d1 100644 --- a/makedef/makedef.cpp +++ b/makedef/makedef.cpp @@ -1,4 +1,5 @@ -// makedef.cpp : Defines the entry point for the console application. +// makedef.cpp : +// Defines the entry point for the console application. // #if _MSC_VER <= 1200 @@ -7,7 +8,6 @@ #pragma warning(disable:4996) #endif - #include #include #include @@ -22,6 +22,11 @@ #include #include +extern "C" char* optarg; +extern "C" int optind; +extern "C" int opterr; +extern "C" char *nextchar_; +extern "C" int getopt(int argc_, char** argv_, const char* optstring_); @@ -89,7 +94,8 @@ int main(int argc, char* argv[]) while ((c=getopt(argc, argv, opt)) != -1) { switch (c) { case 'l': - libfilename = optarg; + libfilename = optarg; + break; case 'x': ignore_file.open(optarg); break; @@ -105,7 +111,7 @@ int main(int argc, char* argv[]) // Although it's OK to use pipe when the program is run under windows command prompt, // it causes some trouble when the program used in the Visual Studio custom build. For // some strange reason, VS will redirect the stdout of child process to the Output - // Window instead of using the pipe which has been assigned by the parent proces. + // Window instead of using the pipe which has been assigned by the parent process. // Therefore, I just use a temporary file instead of pipe. int fdStdOutPipe[2]; @@ -135,6 +141,8 @@ int main(int argc, char* argv[]) const char* outfile = out+5; + cout << "makedef -l " << libfilename << " " << outfile << endl; + if (_spawnvpe(_P_WAIT ,"dumpbin", arg, p) !=0) { cerr << "Error when executing \"dumpbin\"\n"; return 1; @@ -189,7 +197,8 @@ int main(int argc, char* argv[]) while (symfile) { char line[9192]; - symfile.getline(line, 9192); + memset(line, 0, sizeof(line)); + symfile.getline(line, sizeof(line)); char* namepos = strchr(line, '|'); if (namepos != NULL) { *namepos = '\0'; @@ -204,7 +213,14 @@ int main(int argc, char* argv[]) SymbolMap::iterator it = def_symbols.find(namepos); if (it != def_symbols.end()) it->second.in_lib = true; - else if (strncmp(namepos,"??_C@_", 6) != 0 && + else + if (strncmp(namepos, "_wmemcmp", 8) != 0 && + strncmp(namepos, "_wmemcpy", 8) != 0 && + strncmp(namepos, "_wmemmove", 9) != 0 && + strncmp(namepos, "_wmemset", 8) != 0 && + strncmp(namepos, "___@@_", 6) != 0 && + strncmp(namepos, "__CT??", 6) != 0 && + strncmp(namepos, "??_C@_", 6) != 0 && strncmp(namepos, "__real@", 7) != 0 && strncmp(namepos, "?__LINE__Var@", 13) !=0) { @@ -228,15 +244,18 @@ int main(int argc, char* argv[]) ofstream odeffile(argv[optind]); - if (!odeffile.is_open()) + if (!odeffile.is_open()) + { + cerr << "cannot open deffile\n"; + symfile.close(); // need to close otherwise temp file will not be removed + remove(outfile); return 1; + } char* enddeffile = strrchr(def_filename, '.'); *enddeffile = '\0'; odeffile << "LIBRARY " << def_filename << '\n' << "EXPORTS" << endl; - - copy(def_symbols.begin(), def_symbols.end(), ostream_iterator(odeffile)); @@ -250,6 +269,7 @@ int main(int argc, char* argv[]) output_symbol(odeffile, itr->first, i, itr->second); } + symfile.close(); // need to close otherwise temp file will not be removed remove(outfile); return 0; diff --git a/makedef/makedef.dsp b/makedef/makedef.dsp index ccdf943..a70e8f1 100644 --- a/makedef/makedef.dsp +++ b/makedef/makedef.dsp @@ -1,128 +1,128 @@ -# Microsoft Developer Studio Project File - Name="makedef" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=makedef - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "makedef.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "makedef.mak" CFG="makedef - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "makedef - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "makedef - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "makedef - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../asnparser" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x404 /d "NDEBUG" -# ADD RSC /l 0x404 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"../lib/makedef.exe" - -!ELSEIF "$(CFG)" == "makedef - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x404 /d "_DEBUG" -# ADD RSC /l 0x404 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /out:"../lib/makedef.exe" /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "makedef - Win32 Release" -# Name "makedef - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\asnparser\getopt.c - -!IF "$(CFG)" == "makedef - Win32 Release" - -!ELSEIF "$(CFG)" == "makedef - Win32 Debug" - -# ADD CPP /I "../asnparser" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\makedef.cpp - -!IF "$(CFG)" == "makedef - Win32 Release" - -!ELSEIF "$(CFG)" == "makedef - Win32 Debug" - -# ADD CPP /I "../asnparser" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\asnparser\unistd.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="makedef" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=makedef - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "makedef.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "makedef.mak" CFG="makedef - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "makedef - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "makedef - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "makedef - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "../asnparser" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0x404 /d "NDEBUG" +# ADD RSC /l 0x404 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"../lib/makedef.exe" + +!ELSEIF "$(CFG)" == "makedef - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0x404 /d "_DEBUG" +# ADD RSC /l 0x404 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /out:"../lib/makedef.exe" /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "makedef - Win32 Release" +# Name "makedef - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\asnparser\getopt.c + +!IF "$(CFG)" == "makedef - Win32 Release" + +!ELSEIF "$(CFG)" == "makedef - Win32 Debug" + +# ADD CPP /I "../asnparser" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\makedef.cpp + +!IF "$(CFG)" == "makedef - Win32 Release" + +!ELSEIF "$(CFG)" == "makedef - Win32 Debug" + +# ADD CPP /I "../asnparser" + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\asnparser\unistd.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/makedef/unistd.h b/makedef/unistd.h new file mode 100644 index 0000000..d8f5765 --- /dev/null +++ b/makedef/unistd.h @@ -0,0 +1,52 @@ +#ifndef _UNISTD_H +#define _UNISTD_H 1 + +/* This file intended to serve as a drop-in replacement for + * unistd.h on Windows + * Please add functionality as neeeded + */ + +#include +#include +/* #include /* getopt at: https://gist.github.com/ashelly/7776712 */ +#include /* for getpid() and the exec..() family */ +#include /* for _getcwd() and _chdir() */ + +#define srandom srand +#define random rand + +/* Values for the second argument to access. + These may be OR'd together. */ +#define R_OK 4 /* Test for read permission. */ +#define W_OK 2 /* Test for write permission. */ +//#define X_OK 1 /* execute permission - unsupported in windows*/ +#define F_OK 0 /* Test for existence. */ + +#define access _access +#define dup2 _dup2 +#define execve _execve +#define ftruncate _chsize +#define unlink _unlink +#define fileno _fileno +#define getcwd _getcwd +#define chdir _chdir +#define isatty _isatty +#define lseek _lseek +/* read, write, and close are NOT being #defined here, because while there are file handle specific versions for Windows, they probably don't work for sockets. You need to look at your app and consider whether to call e.g. closesocket(). */ + +#define ssize_t int + +#define STDIN_FILENO 0 +#define STDOUT_FILENO 1 +#define STDERR_FILENO 2 +/* should be in some equivalent to */ +typedef __int8 int8_t; +typedef __int16 int16_t; +typedef __int32 int32_t; +typedef __int64 int64_t; +typedef unsigned __int8 uint8_t; +typedef unsigned __int16 uint16_t; +typedef unsigned __int32 uint32_t; +typedef unsigned __int64 uint64_t; + +#endif /* unistd.h */ \ No newline at end of file