From d78526835e4cfcc4822156724edda8a3839327c2 Mon Sep 17 00:00:00 2001 From: "taku.ku@gmail.com" Date: Sun, 4 May 2014 02:04:14 +0000 Subject: [PATCH] --- Makefile | 128 ++--- Makefile.msvc | 2 +- common.h | 3 +- config.h | 2 +- config.log | 1362 +++++++++++++++++++++++++----------------------- config.status | 273 +++++----- configure | 259 ++++----- configure.in | 2 +- libtool | 163 +++--- swig/version.h | 2 +- tagger.cpp | 2 +- 11 files changed, 1129 insertions(+), 1069 deletions(-) diff --git a/Makefile b/Makefile index 64db57e..91b2948 100644 --- a/Makefile +++ b/Makefile @@ -34,8 +34,8 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -build_triplet = x86_64-unknown-linux-gnu -host_triplet = x86_64-unknown-linux-gnu +build_triplet = x86_64-apple-darwin13.1.0 +host_triplet = x86_64-apple-darwin13.1.0 bin_PROGRAMS = crf_learn$(EXEEXT) crf_test$(EXEEXT) subdir = . DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \ @@ -139,13 +139,13 @@ distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print -ACLOCAL = ${SHELL} /home/taku/proj/crfpp/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /Users/taku/proj/crfpp/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AR = ar -AUTOCONF = ${SHELL} /home/taku/proj/crfpp/missing --run autoconf -AUTOHEADER = ${SHELL} /home/taku/proj/crfpp/missing --run autoheader -AUTOMAKE = ${SHELL} /home/taku/proj/crfpp/missing --run automake-1.11 -AWK = gawk +AUTOCONF = ${SHELL} /Users/taku/proj/crfpp/missing --run autoconf +AUTOHEADER = ${SHELL} /Users/taku/proj/crfpp/missing --run autoheader +AUTOMAKE = ${SHELL} /Users/taku/proj/crfpp/missing --run automake-1.11 +AWK = awk CC = gcc CCDEPMODE = depmode=gcc3 CFLAGS = -O3 -Wall @@ -159,37 +159,37 @@ CYGPATH_W = echo DEFS = -DHAVE_CONFIG_H DEPDIR = .deps DLLTOOL = false -DSYMUTIL = +DSYMUTIL = dsymutil DUMPBIN = -ECHO_C = -ECHO_N = -n +ECHO_C = \c +ECHO_N = ECHO_T = -EGREP = /bin/grep -E +EGREP = /usr/bin/grep -E EXEEXT = -FGREP = /bin/grep -F -GREP = /bin/grep +FGREP = /usr/bin/grep -F +GREP = /usr/bin/grep INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -LD = /usr/bin/ld -m elf_x86_64 +LD = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld LDFLAGS = LIBOBJS = LIBS = -lpthread -lpthread -lm -lm -lm LIBTOOL = $(SHELL) $(top_builddir)/libtool -LIPO = +LIPO = lipo LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/taku/proj/crfpp/missing --run makeinfo +MAKEINFO = ${SHELL} /Users/taku/proj/crfpp/missing --run makeinfo MANIFEST_TOOL = : -MKDIR_P = /bin/mkdir -p -NM = /usr/bin/nm -B -NMEDIT = -OBJDUMP = objdump +MKDIR_P = /usr/local/bin/gmkdir -p +NM = /usr/bin/nm +NMEDIT = nmedit +OBJDUMP = false OBJEXT = o -OTOOL = -OTOOL64 = +OTOOL = otool +OTOOL64 = : PACKAGE = CRF++ PACKAGE_BUGREPORT = PACKAGE_NAME = @@ -199,15 +199,15 @@ PACKAGE_URL = PACKAGE_VERSION = PATH_SEPARATOR = : RANLIB = ranlib -SED = /bin/sed +SED = /usr/bin/sed SET_MAKE = SHELL = /bin/sh STRIP = strip -VERSION = 0.58 -abs_builddir = /home/taku/proj/crfpp -abs_srcdir = /home/taku/proj/crfpp -abs_top_builddir = /home/taku/proj/crfpp -abs_top_srcdir = /home/taku/proj/crfpp +VERSION = 0.59 +abs_builddir = /Users/taku/proj/crfpp +abs_srcdir = /Users/taku/proj/crfpp +abs_top_builddir = /Users/taku/proj/crfpp +abs_top_srcdir = /Users/taku/proj/crfpp ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -218,32 +218,32 @@ am__quote = am__tar = $${TAR-tar} chof - "$$tardir" am__untar = $${TAR-tar} xf - bindir = ${exec_prefix}/bin -build = x86_64-unknown-linux-gnu +build = x86_64-apple-darwin13.1.0 build_alias = build_cpu = x86_64 -build_os = linux-gnu -build_vendor = unknown +build_os = darwin13.1.0 +build_vendor = apple builddir = . datadir = ${datarootdir} datarootdir = ${prefix}/share docdir = ${datarootdir}/doc/${PACKAGE} dvidir = ${docdir} exec_prefix = ${prefix} -host = x86_64-unknown-linux-gnu +host = x86_64-apple-darwin13.1.0 host_alias = host_cpu = x86_64 -host_os = linux-gnu -host_vendor = unknown +host_os = darwin13.1.0 +host_vendor = apple htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/taku/proj/crfpp/install-sh +install_sh = ${SHELL} /Users/taku/proj/crfpp/install-sh libdir = ${exec_prefix}/lib libexecdir = ${exec_prefix}/libexec localedir = ${datarootdir}/locale localstatedir = ${prefix}/var mandir = ${datarootdir}/man -mkdir_p = /bin/mkdir -p +mkdir_p = /usr/local/bin/gmkdir -p oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local @@ -822,24 +822,24 @@ dist-hook: done win-dist: - rm -f CRF++-0.58.zip - mkdir -p CRF++-0.58/doc - mkdir -p CRF++-0.58/example - mkdir -p CRF++-0.58/sdk - cp -f crf_learn.exe CRF++-0.58 - cp -f crf_test.exe CRF++-0.58 - cp -f libcrfpp.dll CRF++-0.58 - cp -f libcrfpp.lib CRF++-0.58/sdk - cp -f crfpp.h CRF++-0.58/sdk -# cp -f sdk/model CRF++-0.58/sdk - cp -f sdk/example.cpp CRF++-0.58/sdk - cp -fr doc/*.html doc/*.css doc/doxygen CRF++-0.58/doc - cp -f README COPYING AUTHORS LGPL BSD CRF++-0.58 - cp -fr example/* CRF++-0.58/example - find CRF++-0.58 -name CVS | xargs rm -rf - find CRF++-0.58 -name .svn | xargs rm -rf - zip -r CRF++-0.58.zip CRF++-0.58 - rm -fr CRF++-0.58 + rm -f CRF++-0.59.zip + mkdir -p CRF++-0.59/doc + mkdir -p CRF++-0.59/example + mkdir -p CRF++-0.59/sdk + cp -f crf_learn.exe CRF++-0.59 + cp -f crf_test.exe CRF++-0.59 + cp -f libcrfpp.dll CRF++-0.59 + cp -f libcrfpp.lib CRF++-0.59/sdk + cp -f crfpp.h CRF++-0.59/sdk +# cp -f sdk/model CRF++-0.59/sdk + cp -f sdk/example.cpp CRF++-0.59/sdk + cp -fr doc/*.html doc/*.css doc/doxygen CRF++-0.59/doc + cp -f README COPYING AUTHORS LGPL BSD CRF++-0.59 + cp -fr example/* CRF++-0.59/example + find CRF++-0.59 -name CVS | xargs rm -rf + find CRF++-0.59 -name .svn | xargs rm -rf + zip -r CRF++-0.59.zip CRF++-0.59 + rm -fr CRF++-0.59 dist-all-package: (test -f Makefile) && $(MAKE) distclean @@ -852,14 +852,14 @@ dist-all-package: script-dist: for subdir in perl ruby python java; do \ - rm -fr CRF++-$${subdir}-0.58; \ - mkdir CRF++-$${subdir}-0.58; \ - cp -r $${subdir}/* CRF++-$${subdir}-0.58; \ - cp -r doc/bindings.html CRF++-$${subdir}-0.58; \ - find ./CRF++-$${subdir}-0.58 -type d -name CVS | xargs rm -fr; \ - rm -f CRF++-$${subdir}-0.58/*~; \ - tar zcfv CRF++-$${subdir}-0.58.tar.gz CRF++-$${subdir}-0.58; \ - rm -fr CRF++-$${subdir}-0.58; \ + rm -fr CRF++-$${subdir}-0.59; \ + mkdir CRF++-$${subdir}-0.59; \ + cp -r $${subdir}/* CRF++-$${subdir}-0.59; \ + cp -r doc/bindings.html CRF++-$${subdir}-0.59; \ + find ./CRF++-$${subdir}-0.59 -type d -name CVS | xargs rm -fr; \ + rm -f CRF++-$${subdir}-0.59/*~; \ + tar zcfv CRF++-$${subdir}-0.59.tar.gz CRF++-$${subdir}-0.59; \ + rm -fr CRF++-$${subdir}-0.59; \ done script-clean: @@ -869,8 +869,8 @@ script-clean: (cd java; $(MAKE) clean;) export-package: - python googlecode_upload.py -p crfpp -s crfpp -u taku@chasen.org -w `cat ~/.googlecode_upload_password` CRF++-0.58.tar.gz - python googlecode_upload.py -p crfpp -s crfpp-win -u taku@chasen.org -w `cat ~/.googlecode_upload_password` CRF++-0.58.zip + python googlecode_upload.py -p crfpp -s crfpp -u taku@chasen.org -w `cat ~/.googlecode_upload_password` CRF++-0.59.tar.gz + python googlecode_upload.py -p crfpp -s crfpp-win -u taku@chasen.org -w `cat ~/.googlecode_upload_password` CRF++-0.59.zip # 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. diff --git a/Makefile.msvc b/Makefile.msvc index fcdffe8..99d2630 100644 --- a/Makefile.msvc +++ b/Makefile.msvc @@ -5,7 +5,7 @@ CFLAGS = /O2 /GA /GL /Gy /Oi /Ob2 /nologo /W3 /EHsc /MT /wd4244 LDFLAGS = /link /OPT:REF /OPT:ICF /LTCG /NXCOMPAT /DYNAMICBASE ADVAPI32.LIB DEFS = -D_CRT_SECURE_NO_DEPRECATE -DDLL_EXPORT \ -DUNICODE -D_UNICODE \ - -DHAVE_WINDOWS_H -DVERSION="\"0.58\"" -DPACKAGE="\"CRF++\"" + -DHAVE_WINDOWS_H -DVERSION="\"0.59\"" -DPACKAGE="\"CRF++\"" INC = -I. -I.. DEL = del diff --git a/common.h b/common.h index 410c737..4269227 100644 --- a/common.h +++ b/common.h @@ -212,7 +212,8 @@ class string_buffer: public std::string { string_buffer& operator<<(long int _n) { _ITOA(_n); } string_buffer& operator<<(unsigned short int _n) { _UITOA(_n); } string_buffer& operator<<(unsigned int _n) { _UITOA(_n); } - string_buffer& operator<<(unsigned long int _n) { _UITOA(_n); } + // string_buffer& operator<<(unsigned long int _n) { _UITOA(_n); } + string_buffer& operator<<(size_t _n) { _UITOA(_n); } string_buffer& operator<<(char _n) { push_back(_n); return *this; diff --git a/config.h b/config.h index c53ad2a..ddb6701 100644 --- a/config.h +++ b/config.h @@ -99,7 +99,7 @@ /* #undef STDC_HEADERS */ /* Version number of package */ -#define VERSION "0.58" +#define VERSION "0.59" /* Define to `unsigned int' if does not define. */ /* #undef size_t */ diff --git a/config.log b/config.log index 40a79e6..9ae9ea4 100644 --- a/config.log +++ b/config.log @@ -2,171 +2,176 @@ 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.68. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was - $ ./configure + $ ./configure --enable-maintainer-mode --no-create --no-recursion ## --------- ## ## Platform. ## ## --------- ## -hostname = taku +hostname = woodstock uname -m = x86_64 -uname -r = 3.2.0-37-generic -uname -s = Linux -uname -v = #58-Ubuntu SMP Thu Jan 24 15:28:10 UTC 2013 +uname -r = 13.1.0 +uname -s = Darwin +uname -v = Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 -/usr/bin/uname -p = unknown +/usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown -/usr/bin/hostinfo = unknown +/usr/bin/hostinfo = Mach kernel version: + Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 +Kernel configured for up to 4 processors. +2 processors are physically available. +4 processors are logically available. +Processor type: i486 (Intel 80486) +Processors active: 0 1 2 3 +Primary memory available: 8.00 gigabytes +Default processor set: 210 tasks, 1031 threads, 4 processors +Load average: 3.62, Mach factor: 0.65 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown -PATH: /usr/lib/lightdm/lightdm -PATH: /usr/local/sbin -PATH: /usr/local/bin -PATH: /usr/sbin PATH: /usr/bin -PATH: /sbin PATH: /bin -PATH: /home/taku/.root/bin -PATH: /usr/bin/X11 -PATH: /home/taku/.root/bin/inno +PATH: /usr/sbin +PATH: /sbin +PATH: /usr/local/bin +PATH: /opt/X11/bin +PATH: /Users/taku/.root/bin +PATH: /usr/X11R6/bin ## ----------- ## ## Core tests. ## ## ----------- ## -configure:2549: checking for a BSD-compatible install -configure:2617: result: /usr/bin/install -c -configure:2628: checking whether build environment is sane -configure:2678: result: yes -configure:2819: checking for a thread-safe mkdir -p -configure:2858: result: /bin/mkdir -p -configure:2871: checking for gawk -configure:2887: found /usr/bin/gawk -configure:2898: result: gawk -configure:2909: checking whether make sets $(MAKE) -configure:2931: result: yes -configure:3060: checking for gcc -configure:3076: found /usr/bin/gcc -configure:3087: result: gcc -configure:3316: checking for C compiler version -configure:3325: gcc --version >&5 -gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 -Copyright (C) 2011 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. - -configure:3336: $? = 0 -configure:3325: gcc -v >&5 -Using built-in specs. -COLLECT_GCC=gcc -COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper -Target: x86_64-linux-gnu -Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu +configure:2567: checking for a BSD-compatible install +configure:2635: result: /usr/bin/install -c +configure:2646: checking whether build environment is sane +configure:2696: result: yes +configure:2837: checking for a thread-safe mkdir -p +configure:2876: result: /usr/local/bin/gmkdir -p +configure:2889: checking for gawk +configure:2919: result: no +configure:2889: checking for mawk +configure:2919: result: no +configure:2889: checking for nawk +configure:2919: result: no +configure:2889: checking for awk +configure:2905: found /usr/bin/awk +configure:2916: result: awk +configure:2927: checking whether make sets $(MAKE) +configure:2949: result: yes +configure:3078: checking for gcc +configure:3094: found /usr/bin/gcc +configure:3105: result: gcc +configure:3334: checking for C compiler version +configure:3343: gcc --version >&5 +Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn) +Target: x86_64-apple-darwin13.1.0 Thread model: posix -gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) -configure:3336: $? = 0 -configure:3325: gcc -V >&5 -gcc: error: unrecognized option '-V' -gcc: fatal error: no input files -compilation terminated. -configure:3336: $? = 4 -configure:3325: gcc -qversion >&5 -gcc: error: unrecognized option '-qversion' -gcc: fatal error: no input files -compilation terminated. -configure:3336: $? = 4 -configure:3356: checking whether the C compiler works -configure:3378: gcc conftest.c >&5 -configure:3382: $? = 0 -configure:3430: result: yes -configure:3433: checking for C compiler default output file name -configure:3435: result: a.out -configure:3441: checking for suffix of executables -configure:3448: gcc -o conftest conftest.c >&5 -configure:3452: $? = 0 -configure:3474: result: -configure:3496: checking whether we are cross compiling -configure:3504: gcc -o conftest conftest.c >&5 -configure:3508: $? = 0 -configure:3515: ./conftest -configure:3519: $? = 0 -configure:3534: result: no -configure:3539: checking for suffix of object files -configure:3561: gcc -c conftest.c >&5 -configure:3565: $? = 0 -configure:3586: result: o -configure:3590: checking whether we are using the GNU C compiler -configure:3609: gcc -c conftest.c >&5 -configure:3609: $? = 0 -configure:3618: result: yes -configure:3627: checking whether gcc accepts -g -configure:3647: gcc -c -g conftest.c >&5 -configure:3647: $? = 0 -configure:3688: result: yes -configure:3705: checking for gcc option to accept ISO C89 -configure:3769: gcc -c -g -O2 conftest.c >&5 -configure:3769: $? = 0 -configure:3782: result: none needed -configure:3813: checking for style of include used by make -configure:3841: result: GNU -configure:3867: checking dependency style of gcc -configure:3978: result: gcc3 -configure:4051: checking for g++ -configure:4067: found /usr/bin/g++ -configure:4078: result: g++ -configure:4105: checking for C++ compiler version -configure:4114: g++ --version >&5 -g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 -Copyright (C) 2011 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. - -configure:4125: $? = 0 -configure:4114: g++ -v >&5 -Using built-in specs. -COLLECT_GCC=g++ -COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper -Target: x86_64-linux-gnu -Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu +Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 +configure:3354: $? = 0 +configure:3343: gcc -v >&5 +Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 +Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn) +Target: x86_64-apple-darwin13.1.0 +Thread model: posix +configure:3354: $? = 0 +configure:3343: gcc -V >&5 +clang: error: argument to '-V' is missing (expected 1 value) +clang: error: no input files +configure:3354: $? = 1 +configure:3343: gcc -qversion >&5 +clang: error: unknown argument: '-qversion' [-Wunused-command-line-argument-hard-error-in-future] +clang: note: this will be a hard error (cannot be downgraded to a warning) in the future +clang: error: no input files +configure:3354: $? = 1 +configure:3374: checking whether the C compiler works +configure:3396: gcc conftest.c >&5 +configure:3400: $? = 0 +configure:3448: result: yes +configure:3451: checking for C compiler default output file name +configure:3453: result: a.out +configure:3459: checking for suffix of executables +configure:3466: gcc -o conftest conftest.c >&5 +configure:3470: $? = 0 +configure:3492: result: +configure:3514: checking whether we are cross compiling +configure:3522: gcc -o conftest conftest.c >&5 +configure:3526: $? = 0 +configure:3533: ./conftest +configure:3537: $? = 0 +configure:3552: result: no +configure:3557: checking for suffix of object files +configure:3579: gcc -c conftest.c >&5 +configure:3583: $? = 0 +configure:3604: result: o +configure:3608: checking whether we are using the GNU C compiler +configure:3627: gcc -c conftest.c >&5 +configure:3627: $? = 0 +configure:3636: result: yes +configure:3645: checking whether gcc accepts -g +configure:3665: gcc -c -g conftest.c >&5 +configure:3665: $? = 0 +configure:3706: result: yes +configure:3723: checking for gcc option to accept ISO C89 +configure:3786: gcc -c -g -O2 conftest.c >&5 +configure:3786: $? = 0 +configure:3799: result: none needed +configure:3830: checking for style of include used by make +configure:3858: result: GNU +configure:3884: checking dependency style of gcc +configure:3995: result: gcc3 +configure:4068: checking for g++ +configure:4084: found /usr/bin/g++ +configure:4095: result: g++ +configure:4122: checking for C++ compiler version +configure:4131: g++ --version >&5 +Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn) +Target: x86_64-apple-darwin13.1.0 Thread model: posix -gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) -configure:4125: $? = 0 -configure:4114: g++ -V >&5 -g++: error: unrecognized option '-V' -g++: fatal error: no input files -compilation terminated. -configure:4125: $? = 4 -configure:4114: g++ -qversion >&5 -g++: error: unrecognized option '-qversion' -g++: fatal error: no input files -compilation terminated. -configure:4125: $? = 4 -configure:4129: checking whether we are using the GNU C++ compiler -configure:4148: g++ -c conftest.cpp >&5 -configure:4148: $? = 0 -configure:4157: result: yes -configure:4166: checking whether g++ accepts -g -configure:4186: g++ -c -g conftest.cpp >&5 -configure:4186: $? = 0 -configure:4227: result: yes -configure:4252: checking dependency style of g++ -configure:4363: result: gcc3 -configure:4384: checking how to run the C preprocessor -configure:4415: gcc -E conftest.c -configure:4415: $? = 0 -configure:4429: gcc -E conftest.c -conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory -compilation terminated. -configure:4429: $? = 1 +Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 +configure:4142: $? = 0 +configure:4131: g++ -v >&5 +Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 +Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn) +Target: x86_64-apple-darwin13.1.0 +Thread model: posix +configure:4142: $? = 0 +configure:4131: g++ -V >&5 +clang: error: argument to '-V' is missing (expected 1 value) +clang: error: no input files +configure:4142: $? = 1 +configure:4131: g++ -qversion >&5 +clang: error: unknown argument: '-qversion' [-Wunused-command-line-argument-hard-error-in-future] +clang: note: this will be a hard error (cannot be downgraded to a warning) in the future +clang: error: no input files +configure:4142: $? = 1 +configure:4146: checking whether we are using the GNU C++ compiler +configure:4165: g++ -c conftest.cpp >&5 +configure:4165: $? = 0 +configure:4174: result: yes +configure:4183: checking whether g++ accepts -g +configure:4203: g++ -c -g conftest.cpp >&5 +configure:4203: $? = 0 +configure:4244: result: yes +configure:4269: checking dependency style of g++ +configure:4380: result: gcc3 +configure:4401: checking how to run the C preprocessor +configure:4432: gcc -E conftest.c +configure:4432: $? = 0 +configure:4446: gcc -E conftest.c +conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found +#include + ^ +1 error generated. +configure:4446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" @@ -176,16 +181,18 @@ configure: failed program was: | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "CRF++" -| #define VERSION "0.58" +| #define VERSION "0.59" | /* end confdefs.h. */ | #include -configure:4454: result: gcc -E -configure:4474: gcc -E conftest.c -configure:4474: $? = 0 -configure:4488: gcc -E conftest.c -conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory -compilation terminated. -configure:4488: $? = 1 +configure:4471: result: gcc -E +configure:4491: gcc -E conftest.c +configure:4491: $? = 0 +configure:4505: gcc -E conftest.c +conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found +#include + ^ +1 error generated. +configure:4505: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" @@ -195,197 +202,225 @@ configure: failed program was: | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "CRF++" -| #define VERSION "0.58" +| #define VERSION "0.59" | /* end confdefs.h. */ | #include -configure:4517: checking for grep that handles long lines and -e -configure:4575: result: /bin/grep -configure:4580: checking for egrep -configure:4642: result: /bin/grep -E -configure:4648: checking whether gcc needs -traditional -configure:4682: result: no -configure:4689: checking whether make sets $(MAKE) -configure:4711: result: yes -configure:4720: checking for library containing strerror -configure:4751: gcc -o conftest -g -O2 conftest.c >&5 -configure:4751: $? = 0 -configure:4768: result: none required -configure:4780: checking build system type -configure:4794: result: x86_64-unknown-linux-gnu -configure:4814: checking host system type -configure:4827: result: x86_64-unknown-linux-gnu -configure:4905: checking how to print strings -configure:4932: result: printf -configure:4953: checking for a sed that does not truncate output -configure:5017: result: /bin/sed -configure:5035: checking for fgrep -configure:5097: result: /bin/grep -F -configure:5132: checking for ld used by gcc -configure:5199: result: /usr/bin/ld -configure:5206: checking if the linker (/usr/bin/ld) is GNU ld -configure:5221: result: yes -configure:5233: checking for BSD- or MS-compatible name lister (nm) -configure:5282: result: /usr/bin/nm -B -configure:5412: checking the name lister (/usr/bin/nm -B) interface -configure:5419: g++ -c -g -O2 conftest.cpp >&5 -configure:5422: /usr/bin/nm -B "conftest.o" -configure:5425: output -0000000000000000 B some_variable -configure:5432: result: BSD nm -configure:5435: checking whether ln -s works -configure:5439: result: yes -configure:5447: checking the maximum length of command line arguments -configure:5577: result: 3458764513820540925 -configure:5594: checking whether the shell understands some XSI constructs -configure:5604: result: yes -configure:5608: checking whether the shell understands "+=" -configure:5614: result: yes -configure:5649: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format -configure:5689: result: func_convert_file_noop -configure:5696: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format -configure:5716: result: func_convert_file_noop -configure:5723: checking for /usr/bin/ld option to reload object files -configure:5730: result: -r -configure:5804: checking for objdump -configure:5820: found /usr/bin/objdump -configure:5831: result: objdump -configure:5863: checking how to recognize dependent libraries -configure:6065: result: pass_all -configure:6150: checking for dlltool -configure:6180: result: no -configure:6210: checking how to associate runtime and link libraries -configure:6237: result: printf %s\n -configure:6298: checking for ar -configure:6314: found /usr/bin/ar -configure:6325: result: ar -configure:6362: checking for archiver @FILE support -configure:6379: g++ -c -g -O2 conftest.cpp >&5 -configure:6379: $? = 0 -configure:6382: ar cru libconftest.a @conftest.lst >&5 -configure:6385: $? = 0 -configure:6390: ar cru libconftest.a @conftest.lst >&5 -ar: conftest.o: No such file or directory -configure:6393: $? = 1 -configure:6405: result: @ -configure:6463: checking for strip -configure:6479: found /usr/bin/strip -configure:6490: result: strip -configure:6562: checking for ranlib -configure:6578: found /usr/bin/ranlib -configure:6589: result: ranlib -configure:6691: checking command to parse /usr/bin/nm -B output from gcc object -configure:6811: g++ -c -g -O2 conftest.cpp >&5 -configure:6814: $? = 0 -configure:6818: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm -configure:6821: $? = 0 -configure:6887: g++ -o conftest -g -O2 conftest.cpp conftstm.o >&5 -configure:6890: $? = 0 -configure:6928: result: ok -configure:6965: checking for sysroot -configure:6995: result: no -configure:7072: g++ -c -g -O2 conftest.cpp >&5 -configure:7075: $? = 0 -configure:7251: checking for mt -configure:7267: found /bin/mt -configure:7278: result: mt -configure:7301: checking if mt is a manifest tool -configure:7307: mt '-?' -configure:7315: result: no -configure:7952: checking for ANSI C header files -configure:7972: g++ -c -g -O2 conftest.cpp >&5 -configure:7972: $? = 0 -./configure: line 7986: conftest.cpp: command not found -configure:8056: result: no -configure:8069: checking for sys/types.h -configure:8069: g++ -c -g -O2 conftest.cpp >&5 -configure:8069: $? = 0 -configure:8069: result: yes -configure:8069: checking for sys/stat.h -configure:8069: g++ -c -g -O2 conftest.cpp >&5 -configure:8069: $? = 0 -configure:8069: result: yes -configure:8069: checking for stdlib.h -configure:8069: g++ -c -g -O2 conftest.cpp >&5 -configure:8069: $? = 0 -configure:8069: result: yes -configure:8069: checking for string.h -configure:8069: g++ -c -g -O2 conftest.cpp >&5 -configure:8069: $? = 0 -configure:8069: result: yes -configure:8069: checking for memory.h -configure:8069: g++ -c -g -O2 conftest.cpp >&5 -configure:8069: $? = 0 -configure:8069: result: yes -configure:8069: checking for strings.h -configure:8069: g++ -c -g -O2 conftest.cpp >&5 -configure:8069: $? = 0 -configure:8069: result: yes -configure:8069: checking for inttypes.h -configure:8069: g++ -c -g -O2 conftest.cpp >&5 -configure:8069: $? = 0 -configure:8069: result: yes -configure:8069: checking for stdint.h -configure:8069: g++ -c -g -O2 conftest.cpp >&5 -configure:8069: $? = 0 -configure:8069: result: yes -configure:8069: checking for unistd.h -configure:8069: g++ -c -g -O2 conftest.cpp >&5 -configure:8069: $? = 0 -configure:8069: result: yes -configure:8083: checking for dlfcn.h -configure:8083: g++ -c -g -O2 conftest.cpp >&5 -configure:8083: $? = 0 -configure:8083: result: yes -configure:8299: checking for objdir -configure:8314: result: .libs -configure:8581: checking if gcc supports -fno-rtti -fno-exceptions -configure:8599: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 -cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default] -configure:8603: $? = 0 -configure:8616: result: no -configure:8943: checking for gcc option to produce PIC -configure:8950: result: -fPIC -DPIC -configure:8958: checking if gcc PIC flag -fPIC -DPIC works -configure:8976: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 -configure:8980: $? = 0 -configure:8993: result: yes -configure:9022: checking if gcc static flag -static works -configure:9050: result: yes -configure:9065: checking if gcc supports -c -o file.o -configure:9086: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 -configure:9090: $? = 0 -configure:9112: result: yes -configure:9120: checking if gcc supports -c -o file.o -configure:9167: result: yes -configure:9200: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries -configure:10357: result: yes -configure:10394: checking whether -lc should be explicitly linked in -configure:10402: gcc -c -g -O2 conftest.c >&5 -configure:10405: $? = 0 -configure:10420: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 -configure:10423: $? = 0 -configure:10437: result: no -configure:10597: checking dynamic linker characteristics -configure:11108: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 -configure:11108: $? = 0 -configure:11342: result: GNU/Linux ld.so -configure:11449: checking how to hardcode library paths into programs -configure:11474: result: immediate -configure:12014: checking whether stripping libraries is possible -configure:12019: result: yes -configure:12054: checking if libtool supports shared libraries -configure:12056: result: yes -configure:12059: checking whether to build shared libraries -configure:12080: result: yes -configure:12083: checking whether to build static libraries -configure:12087: result: yes -configure:12110: checking how to run the C++ preprocessor -configure:12137: g++ -E conftest.cpp -configure:12137: $? = 0 -configure:12151: g++ -E conftest.cpp -conftest.cpp:22:28: fatal error: ac_nonexistent.h: No such file or directory -compilation terminated. -configure:12151: $? = 1 +configure:4534: checking for grep that handles long lines and -e +configure:4592: result: /usr/bin/grep +configure:4597: checking for egrep +configure:4659: result: /usr/bin/grep -E +configure:4665: checking whether gcc needs -traditional +conftest.c:11:10: fatal error: 'termio.h' file not found +#include + ^ +1 error generated. +configure:4699: result: no +configure:4706: checking whether make sets $(MAKE) +configure:4728: result: yes +configure:4737: checking for library containing strerror +configure:4768: gcc -o conftest -g -O2 conftest.c >&5 +conftest.c:18:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration] +char strerror (); + ^ +conftest.c:18:6: note: 'strerror' is a builtin with type 'char *(int)' +1 warning generated. +configure:4768: $? = 0 +configure:4785: result: none required +configure:4797: checking build system type +configure:4811: result: x86_64-apple-darwin13.1.0 +configure:4831: checking host system type +configure:4844: result: x86_64-apple-darwin13.1.0 +configure:4922: checking how to print strings +configure:4949: result: printf +configure:4970: checking for a sed that does not truncate output +configure:5034: result: /usr/bin/sed +configure:5052: checking for fgrep +configure:5114: result: /usr/bin/grep -F +configure:5149: checking for ld used by gcc +configure:5216: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld +configure:5223: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld +configure:5238: result: no +configure:5250: checking for BSD- or MS-compatible name lister (nm) +configure:5299: result: /usr/bin/nm +configure:5429: checking the name lister (/usr/bin/nm) interface +configure:5436: g++ -c -g -O2 conftest.cpp >&5 +configure:5439: /usr/bin/nm "conftest.o" +configure:5442: output +0000000000000218 S _some_variable +configure:5449: result: BSD nm +configure:5452: checking whether ln -s works +configure:5456: result: yes +configure:5464: checking the maximum length of command line arguments +configure:5594: result: 196608 +configure:5611: checking whether the shell understands some XSI constructs +configure:5621: result: yes +configure:5625: checking whether the shell understands "+=" +configure:5631: result: yes +configure:5666: checking how to convert x86_64-apple-darwin13.1.0 file names to x86_64-apple-darwin13.1.0 format +configure:5706: result: func_convert_file_noop +configure:5713: checking how to convert x86_64-apple-darwin13.1.0 file names to toolchain format +configure:5733: result: func_convert_file_noop +configure:5740: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files +configure:5747: result: -r +configure:5821: checking for objdump +configure:5851: result: no +configure:5880: checking how to recognize dependent libraries +configure:6082: result: pass_all +configure:6167: checking for dlltool +configure:6197: result: no +configure:6227: checking how to associate runtime and link libraries +configure:6254: result: printf %s\n +configure:6315: checking for ar +configure:6331: found /usr/bin/ar +configure:6342: result: ar +configure:6379: checking for archiver @FILE support +configure:6396: g++ -c -g -O2 conftest.cpp >&5 +configure:6396: $? = 0 +configure:6399: ar cru libconftest.a @conftest.lst >&5 +ar: @conftest.lst: No such file or directory +configure:6402: $? = 1 +configure:6422: result: no +configure:6480: checking for strip +configure:6496: found /usr/bin/strip +configure:6507: result: strip +configure:6579: checking for ranlib +configure:6595: found /usr/bin/ranlib +configure:6606: result: ranlib +configure:6708: checking command to parse /usr/bin/nm output from gcc object +configure:6828: g++ -c -g -O2 conftest.cpp >&5 +configure:6831: $? = 0 +configure:6835: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm +configure:6838: $? = 0 +cannot find nm_test_var in conftest.nm +configure:6828: g++ -c -g -O2 conftest.cpp >&5 +configure:6831: $? = 0 +configure:6835: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm +configure:6838: $? = 0 +configure:6904: g++ -o conftest -g -O2 conftest.cpp conftstm.o >&5 +configure:6907: $? = 0 +configure:6945: result: ok +configure:6982: checking for sysroot +configure:7012: result: no +configure:7268: checking for mt +configure:7298: result: no +configure:7318: checking if : is a manifest tool +configure:7324: : '-?' +configure:7332: result: no +configure:7388: checking for dsymutil +configure:7404: found /usr/bin/dsymutil +configure:7415: result: dsymutil +configure:7480: checking for nmedit +configure:7496: found /usr/bin/nmedit +configure:7507: result: nmedit +configure:7572: checking for lipo +configure:7588: found /usr/bin/lipo +configure:7599: result: lipo +configure:7664: checking for otool +configure:7680: found /usr/bin/otool +configure:7691: result: otool +configure:7756: checking for otool64 +configure:7786: result: no +configure:7831: checking for -single_module linker flag +gcc -g -O2 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c +configure:7864: result: yes +configure:7867: checking for -exported_symbols_list linker flag +configure:7887: g++ -o conftest -g -O2 -Wl,-exported_symbols_list,conftest.sym conftest.cpp >&5 +configure:7887: $? = 0 +configure:7897: result: yes +configure:7900: checking for -force_load linker flag +gcc -g -O2 -c -o conftest.o conftest.c +ar cru libconftest.a conftest.o +ranlib libconftest.a +gcc -g -O2 -o conftest conftest.c -Wl,-force_load,./libconftest.a +configure:7932: result: yes +configure:7969: checking for ANSI C header files +configure:7989: g++ -c -g -O2 conftest.cpp >&5 +configure:7989: $? = 0 +./configure: line 8003: conftest.cpp: command not found +configure:8073: result: no +configure:8086: checking for sys/types.h +configure:8086: g++ -c -g -O2 conftest.cpp >&5 +configure:8086: $? = 0 +configure:8086: result: yes +configure:8086: checking for sys/stat.h +configure:8086: g++ -c -g -O2 conftest.cpp >&5 +configure:8086: $? = 0 +configure:8086: result: yes +configure:8086: checking for stdlib.h +configure:8086: g++ -c -g -O2 conftest.cpp >&5 +configure:8086: $? = 0 +configure:8086: result: yes +configure:8086: checking for string.h +configure:8086: g++ -c -g -O2 conftest.cpp >&5 +configure:8086: $? = 0 +configure:8086: result: yes +configure:8086: checking for memory.h +configure:8086: g++ -c -g -O2 conftest.cpp >&5 +configure:8086: $? = 0 +configure:8086: result: yes +configure:8086: checking for strings.h +configure:8086: g++ -c -g -O2 conftest.cpp >&5 +configure:8086: $? = 0 +configure:8086: result: yes +configure:8086: checking for inttypes.h +configure:8086: g++ -c -g -O2 conftest.cpp >&5 +configure:8086: $? = 0 +configure:8086: result: yes +configure:8086: checking for stdint.h +configure:8086: g++ -c -g -O2 conftest.cpp >&5 +configure:8086: $? = 0 +configure:8086: result: yes +configure:8086: checking for unistd.h +configure:8086: g++ -c -g -O2 conftest.cpp >&5 +configure:8086: $? = 0 +configure:8086: result: yes +configure:8100: checking for dlfcn.h +configure:8100: g++ -c -g -O2 conftest.cpp >&5 +configure:8100: $? = 0 +configure:8100: result: yes +configure:8316: checking for objdir +configure:8331: result: .libs +configure:8598: checking if gcc supports -fno-rtti -fno-exceptions +configure:8616: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 +configure:8620: $? = 0 +configure:8633: result: yes +configure:8960: checking for gcc option to produce PIC +configure:8967: result: -fno-common -DPIC +configure:8975: checking if gcc PIC flag -fno-common -DPIC works +configure:8993: gcc -c -g -O2 -fno-common -DPIC -DPIC conftest.c >&5 +configure:8997: $? = 0 +configure:9010: result: yes +configure:9039: checking if gcc static flag -static works +configure:9067: result: no +configure:9082: checking if gcc supports -c -o file.o +configure:9103: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 +configure:9107: $? = 0 +configure:9129: result: yes +configure:9137: checking if gcc supports -c -o file.o +configure:9184: result: yes +configure:9217: checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries +configure:10374: result: yes +configure:10614: checking dynamic linker characteristics +configure:11359: result: darwin13.1.0 dyld +configure:11466: checking how to hardcode library paths into programs +configure:11491: result: immediate +configure:12031: checking whether stripping libraries is possible +configure:12045: result: yes +configure:12071: checking if libtool supports shared libraries +configure:12073: result: yes +configure:12076: checking whether to build shared libraries +configure:12097: result: yes +configure:12100: checking whether to build static libraries +configure:12104: result: yes +configure:12127: checking how to run the C++ preprocessor +configure:12154: g++ -E conftest.cpp +configure:12154: $? = 0 +configure:12168: g++ -E conftest.cpp +conftest.cpp:22:10: fatal error: 'ac_nonexistent.h' file not found +#include + ^ +1 error generated. +configure:12168: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" @@ -395,7 +430,7 @@ configure: failed program was: | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "CRF++" -| #define VERSION "0.58" +| #define VERSION "0.59" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 @@ -409,13 +444,15 @@ configure: failed program was: | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include -configure:12176: result: g++ -E -configure:12196: g++ -E conftest.cpp -configure:12196: $? = 0 -configure:12210: g++ -E conftest.cpp -conftest.cpp:22:28: fatal error: ac_nonexistent.h: No such file or directory -compilation terminated. -configure:12210: $? = 1 +configure:12193: result: g++ -E +configure:12213: g++ -E conftest.cpp +configure:12213: $? = 0 +configure:12227: g++ -E conftest.cpp +conftest.cpp:22:10: fatal error: 'ac_nonexistent.h' file not found +#include + ^ +1 error generated. +configure:12227: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" @@ -425,7 +462,7 @@ configure: failed program was: | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "CRF++" -| #define VERSION "0.58" +| #define VERSION "0.59" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 @@ -439,113 +476,115 @@ configure: failed program was: | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include -configure:12379: checking for ld used by g++ -configure:12446: result: /usr/bin/ld -m elf_x86_64 -configure:12453: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld -configure:12468: result: yes -configure:12523: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries -configure:13528: result: yes -configure:13564: g++ -c -g -O2 conftest.cpp >&5 -configure:13567: $? = 0 -configure:14087: checking for g++ option to produce PIC -configure:14094: result: -fPIC -DPIC -configure:14102: checking if g++ PIC flag -fPIC -DPIC works -configure:14120: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5 -configure:14124: $? = 0 -configure:14137: result: yes -configure:14160: checking if g++ static flag -static works -configure:14188: result: yes -configure:14200: checking if g++ supports -c -o file.o -configure:14221: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 -configure:14225: $? = 0 -configure:14247: result: yes -configure:14252: checking if g++ supports -c -o file.o -configure:14299: result: yes -configure:14329: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries -configure:14368: result: yes -configure:14509: checking dynamic linker characteristics -configure:15188: result: GNU/Linux ld.so -configure:15241: checking how to hardcode library paths into programs -configure:15266: result: immediate -configure:15331: checking for ANSI C header files -configure:15435: result: no -configure:15448: checking for string.h -configure:15448: result: yes -configure:15448: checking for stdlib.h -configure:15448: result: yes -configure:15448: checking for unistd.h -configure:15448: result: yes -configure:15448: checking fcntl.h usability -configure:15448: g++ -c -g -O2 conftest.cpp >&5 -configure:15448: $? = 0 -configure:15448: result: yes -configure:15448: checking fcntl.h presence -configure:15448: g++ -E conftest.cpp -configure:15448: $? = 0 -configure:15448: result: yes -configure:15448: checking for fcntl.h -configure:15448: result: yes -configure:15448: checking for sys/stat.h -configure:15448: result: yes -configure:15448: checking sys/mman.h usability -configure:15448: g++ -c -g -O2 conftest.cpp >&5 -configure:15448: $? = 0 -configure:15448: result: yes -configure:15448: checking sys/mman.h presence -configure:15448: g++ -E conftest.cpp -configure:15448: $? = 0 -configure:15448: result: yes -configure:15448: checking for sys/mman.h -configure:15448: result: yes -configure:15448: checking sys/times.h usability -configure:15448: g++ -c -g -O2 conftest.cpp >&5 -configure:15448: $? = 0 -configure:15448: result: yes -configure:15448: checking sys/times.h presence -configure:15448: g++ -E conftest.cpp -configure:15448: $? = 0 -configure:15448: result: yes -configure:15448: checking for sys/times.h -configure:15448: result: yes -configure:15448: checking ctype.h usability -configure:15448: g++ -c -g -O2 conftest.cpp >&5 -configure:15448: $? = 0 -configure:15448: result: yes -configure:15448: checking ctype.h presence -configure:15448: g++ -E conftest.cpp -configure:15448: $? = 0 -configure:15448: result: yes -configure:15448: checking for ctype.h -configure:15448: result: yes -configure:15448: checking for sys/types.h -configure:15448: result: yes -configure:15448: checking math.h usability -configure:15448: g++ -c -g -O2 conftest.cpp >&5 -configure:15448: $? = 0 -configure:15448: result: yes -configure:15448: checking math.h presence -configure:15448: g++ -E conftest.cpp -configure:15448: $? = 0 -configure:15448: result: yes -configure:15448: checking for math.h -configure:15448: result: yes -configure:15448: checking pthread.h usability -configure:15448: g++ -c -g -O2 conftest.cpp >&5 -configure:15448: $? = 0 -configure:15448: result: yes -configure:15448: checking pthread.h presence -configure:15448: g++ -E conftest.cpp -configure:15448: $? = 0 -configure:15448: result: yes -configure:15448: checking for pthread.h -configure:15448: result: yes -configure:15459: checking for size_t -configure:15459: g++ -c -g -O2 conftest.cpp >&5 -configure:15459: $? = 0 -configure:15459: g++ -c -g -O2 conftest.cpp >&5 -conftest.cpp: In function 'int main()': -conftest.cpp:69:20: error: expected primary-expression before ')' token -configure:15459: $? = 1 +configure:12396: checking for ld used by g++ +configure:12463: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld +configure:12470: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld +configure:12485: result: no +configure:12540: checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries +configure:13545: result: yes +configure:13581: g++ -c -g -O2 conftest.cpp >&5 +configure:13584: $? = 0 +configure:14104: checking for g++ option to produce PIC +configure:14111: result: -fno-common -DPIC +configure:14119: checking if g++ PIC flag -fno-common -DPIC works +configure:14137: g++ -c -g -O2 -fno-common -DPIC -DPIC conftest.cpp >&5 +configure:14141: $? = 0 +configure:14154: result: yes +configure:14177: checking if g++ static flag -static works +configure:14205: result: no +configure:14217: checking if g++ supports -c -o file.o +configure:14238: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 +configure:14242: $? = 0 +configure:14264: result: yes +configure:14269: checking if g++ supports -c -o file.o +configure:14316: result: yes +configure:14346: checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries +configure:14385: result: yes +configure:14526: checking dynamic linker characteristics +configure:15205: result: darwin13.1.0 dyld +configure:15258: checking how to hardcode library paths into programs +configure:15283: result: immediate +configure:15348: checking for ANSI C header files +configure:15452: result: no +configure:15465: checking for string.h +configure:15465: result: yes +configure:15465: checking for stdlib.h +configure:15465: result: yes +configure:15465: checking for unistd.h +configure:15465: result: yes +configure:15465: checking fcntl.h usability +configure:15465: g++ -c -g -O2 conftest.cpp >&5 +configure:15465: $? = 0 +configure:15465: result: yes +configure:15465: checking fcntl.h presence +configure:15465: g++ -E conftest.cpp +configure:15465: $? = 0 +configure:15465: result: yes +configure:15465: checking for fcntl.h +configure:15465: result: yes +configure:15465: checking for sys/stat.h +configure:15465: result: yes +configure:15465: checking sys/mman.h usability +configure:15465: g++ -c -g -O2 conftest.cpp >&5 +configure:15465: $? = 0 +configure:15465: result: yes +configure:15465: checking sys/mman.h presence +configure:15465: g++ -E conftest.cpp +configure:15465: $? = 0 +configure:15465: result: yes +configure:15465: checking for sys/mman.h +configure:15465: result: yes +configure:15465: checking sys/times.h usability +configure:15465: g++ -c -g -O2 conftest.cpp >&5 +configure:15465: $? = 0 +configure:15465: result: yes +configure:15465: checking sys/times.h presence +configure:15465: g++ -E conftest.cpp +configure:15465: $? = 0 +configure:15465: result: yes +configure:15465: checking for sys/times.h +configure:15465: result: yes +configure:15465: checking ctype.h usability +configure:15465: g++ -c -g -O2 conftest.cpp >&5 +configure:15465: $? = 0 +configure:15465: result: yes +configure:15465: checking ctype.h presence +configure:15465: g++ -E conftest.cpp +configure:15465: $? = 0 +configure:15465: result: yes +configure:15465: checking for ctype.h +configure:15465: result: yes +configure:15465: checking for sys/types.h +configure:15465: result: yes +configure:15465: checking math.h usability +configure:15465: g++ -c -g -O2 conftest.cpp >&5 +configure:15465: $? = 0 +configure:15465: result: yes +configure:15465: checking math.h presence +configure:15465: g++ -E conftest.cpp +configure:15465: $? = 0 +configure:15465: result: yes +configure:15465: checking for math.h +configure:15465: result: yes +configure:15465: checking pthread.h usability +configure:15465: g++ -c -g -O2 conftest.cpp >&5 +configure:15465: $? = 0 +configure:15465: result: yes +configure:15465: checking pthread.h presence +configure:15465: g++ -E conftest.cpp +configure:15465: $? = 0 +configure:15465: result: yes +configure:15465: checking for pthread.h +configure:15465: result: yes +configure:15476: checking for size_t +configure:15476: g++ -c -g -O2 conftest.cpp >&5 +configure:15476: $? = 0 +configure:15476: g++ -c -g -O2 conftest.cpp >&5 +conftest.cpp:69:21: error: expected expression +if (sizeof ((size_t))) + ^ +1 error generated. +configure:15476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" @@ -555,7 +594,7 @@ configure: failed program was: | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "CRF++" -| #define VERSION "0.58" +| #define VERSION "0.59" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 @@ -620,152 +659,141 @@ configure: failed program was: | ; | return 0; | } -configure:15459: result: yes -configure:15471: checking for pow in -lm -configure:15496: g++ -o conftest -g -O2 conftest.cpp -lm >&5 -configure:15496: $? = 0 -configure:15505: result: yes -configure:15516: checking for exp in -lm -configure:15541: g++ -o conftest -g -O2 conftest.cpp -lm -lm >&5 -configure:15541: $? = 0 -configure:15550: result: yes -configure:15561: checking for log in -lm -configure:15586: g++ -o conftest -g -O2 conftest.cpp -lm -lm -lm >&5 -configure:15586: $? = 0 -configure:15595: result: yes -configure:15606: checking for pthread_create in -lpthread -configure:15631: g++ -o conftest -g -O2 conftest.cpp -lpthread -lm -lm -lm >&5 -configure:15631: $? = 0 -configure:15640: result: yes -configure:15651: checking for pthread_join in -lpthread -configure:15676: g++ -o conftest -g -O2 conftest.cpp -lpthread -lpthread -lm -lm -lm >&5 -configure:15676: $? = 0 -configure:15685: result: yes -configure:15702: checking for stdlib.h -configure:15702: result: yes -configure:15702: checking for unistd.h +configure:15476: result: yes +configure:15488: checking for pow in -lm +configure:15513: g++ -o conftest -g -O2 conftest.cpp -lm >&5 +configure:15513: $? = 0 +configure:15522: result: yes +configure:15533: checking for exp in -lm +configure:15558: g++ -o conftest -g -O2 conftest.cpp -lm -lm >&5 +configure:15558: $? = 0 +configure:15567: result: yes +configure:15578: checking for log in -lm +configure:15603: g++ -o conftest -g -O2 conftest.cpp -lm -lm -lm >&5 +configure:15603: $? = 0 +configure:15612: result: yes +configure:15623: checking for pthread_create in -lpthread +configure:15648: g++ -o conftest -g -O2 conftest.cpp -lpthread -lm -lm -lm >&5 +configure:15648: $? = 0 +configure:15657: result: yes +configure:15668: checking for pthread_join in -lpthread +configure:15693: g++ -o conftest -g -O2 conftest.cpp -lpthread -lpthread -lm -lm -lm >&5 +configure:15693: $? = 0 configure:15702: result: yes -configure:15702: checking for sys/param.h -configure:15702: g++ -c -g -O2 conftest.cpp >&5 -configure:15702: $? = 0 -configure:15702: result: yes -configure:15722: checking for getpagesize -configure:15722: g++ -o conftest -g -O2 conftest.cpp -lpthread -lpthread -lm -lm -lm >&5 -configure:15722: $? = 0 -configure:15722: result: yes -configure:15731: checking for working mmap -configure:15878: g++ -o conftest -g -O2 conftest.cpp -lpthread -lpthread -lm -lm -lm >&5 -configure:15878: $? = 0 -configure:15878: ./conftest -configure:15878: $? = 0 -configure:15888: result: yes -configure:15898: checking whether make is GNU Make -configure:15901: result: yes -configure:16167: checking if g++ supports stl (required) -configure:16184: g++ -c -O3 -Wall conftest.cpp >&5 -configure:16184: $? = 0 -configure:16196: result: yes -configure:16200: checking if g++ supports stl (required) -configure:16217: g++ -c -O3 -Wall conftest.cpp >&5 -configure:16217: $? = 0 -configure:16229: result: yes -configure:16233: checking if g++ supports stl (required) -configure:16250: g++ -c -O3 -Wall conftest.cpp >&5 -configure:16250: $? = 0 -configure:16262: result: yes -configure:16266: checking if g++ supports stl (required) -configure:16283: g++ -c -O3 -Wall conftest.cpp >&5 -configure:16283: $? = 0 -configure:16295: result: yes -configure:16299: checking if g++ supports stl (required) -configure:16316: g++ -c -O3 -Wall conftest.cpp >&5 -configure:16316: $? = 0 -configure:16328: result: yes -configure:16332: checking if g++ supports stl (required) -configure:16349: g++ -c -O3 -Wall conftest.cpp >&5 -configure:16349: $? = 0 -configure:16361: result: yes -configure:16365: checking if g++ supports stl (required) -configure:16382: g++ -c -O3 -Wall conftest.cpp >&5 -configure:16382: $? = 0 -configure:16394: result: yes -configure:16398: checking if g++ supports stl (required) -configure:16415: g++ -c -O3 -Wall conftest.cpp >&5 -configure:16415: $? = 0 -configure:16427: result: yes -configure:16432: checking if g++ supports template (required) -configure:16451: g++ -c -O3 -Wall conftest.cpp >&5 -configure:16451: $? = 0 -configure:16463: result: yes -configure:16467: checking if g++ supports const_cast<> (required) -configure:16485: g++ -c -O3 -Wall conftest.cpp >&5 -conftest.cpp: In function 'int main()': +configure:15719: checking for stdlib.h +configure:15719: result: yes +configure:15719: checking for unistd.h +configure:15719: result: yes +configure:15719: checking for sys/param.h +configure:15719: g++ -c -g -O2 conftest.cpp >&5 +configure:15719: $? = 0 +configure:15719: result: yes +configure:15739: checking for getpagesize +configure:15739: g++ -o conftest -g -O2 conftest.cpp -lpthread -lpthread -lm -lm -lm >&5 +configure:15739: $? = 0 +configure:15739: result: yes +configure:15748: checking for working mmap +configure:15895: g++ -o conftest -g -O2 conftest.cpp -lpthread -lpthread -lm -lm -lm >&5 +configure:15895: $? = 0 +configure:15895: ./conftest +configure:15895: $? = 0 +configure:15905: result: yes +configure:15915: checking whether make is GNU Make +configure:15918: result: yes +configure:16184: checking if g++ supports stl (required) +configure:16201: g++ -c -O3 -Wall conftest.cpp >&5 +configure:16201: $? = 0 +configure:16213: result: yes +configure:16217: checking if g++ supports stl (required) +configure:16234: g++ -c -O3 -Wall conftest.cpp >&5 +configure:16234: $? = 0 +configure:16246: result: yes +configure:16250: checking if g++ supports stl (required) +configure:16267: g++ -c -O3 -Wall conftest.cpp >&5 +configure:16267: $? = 0 +configure:16279: result: yes +configure:16283: checking if g++ supports stl (required) +configure:16300: g++ -c -O3 -Wall conftest.cpp >&5 +configure:16300: $? = 0 +configure:16312: result: yes +configure:16316: checking if g++ supports stl (required) +configure:16333: g++ -c -O3 -Wall conftest.cpp >&5 +configure:16333: $? = 0 +configure:16345: result: yes +configure:16349: checking if g++ supports stl (required) +configure:16366: g++ -c -O3 -Wall conftest.cpp >&5 +configure:16366: $? = 0 +configure:16378: result: yes +configure:16382: checking if g++ supports stl (required) +configure:16399: g++ -c -O3 -Wall conftest.cpp >&5 +configure:16399: $? = 0 +configure:16411: result: yes +configure:16415: checking if g++ supports stl (required) +configure:16432: g++ -c -O3 -Wall conftest.cpp >&5 +configure:16432: $? = 0 +configure:16444: result: yes +configure:16449: checking if g++ supports template (required) +configure:16468: g++ -c -O3 -Wall conftest.cpp >&5 +configure:16468: $? = 0 +configure:16480: result: yes +configure:16484: checking if g++ supports const_cast<> (required) +configure:16502: g++ -c -O3 -Wall conftest.cpp >&5 conftest.cpp:51:9: warning: unused variable 'c1' [-Wunused-variable] -configure:16485: $? = 0 -configure:16497: result: yes -configure:16501: checking if g++ supports static_cast<> (required) -configure:16519: g++ -c -O3 -Wall conftest.cpp >&5 -conftest.cpp: In function 'int main()': + foo *c1=const_cast(c); + ^ +1 warning generated. +configure:16502: $? = 0 +configure:16514: result: yes +configure:16518: checking if g++ supports static_cast<> (required) +configure:16536: g++ -c -O3 -Wall conftest.cpp >&5 conftest.cpp:51:10: warning: unused variable 'c1' [-Wunused-variable] -configure:16519: $? = 0 -configure:16531: result: yes -configure:16535: checking if g++ supports dynamic_cast<> (required) -configure:16554: g++ -c -O3 -Wall conftest.cpp >&5 -conftest.cpp: In function 'int main()': + void *c1 = static_cast(c); + ^ +1 warning generated. +configure:16536: $? = 0 +configure:16548: result: yes +configure:16552: checking if g++ supports dynamic_cast<> (required) +configure:16571: g++ -c -O3 -Wall conftest.cpp >&5 conftest.cpp:52:9: warning: unused variable 'c1' [-Wunused-variable] -configure:16554: $? = 0 -configure:16566: result: yes -configure:16570: checking if g++ supports exception handler (required) -configure:16593: g++ -c -O3 -Wall conftest.cpp >&5 -conftest.cpp: In function 'int main()': + foo *c1 = dynamic_cast(c); + ^ +1 warning generated. +configure:16571: $? = 0 +configure:16583: result: yes +configure:16587: checking if g++ supports exception handler (required) +configure:16610: g++ -c -O3 -Wall conftest.cpp >&5 conftest.cpp:51:11: warning: unused variable 'i' [-Wunused-variable] -configure:16593: $? = 0 -configure:16605: result: yes -configure:16609: checking if g++ supports namespaces (required) -configure:16627: g++ -c -O3 -Wall conftest.cpp >&5 -conftest.cpp: In function 'int main()': + int i = 0; + ^ +1 warning generated. +configure:16610: $? = 0 +configure:16622: result: yes +configure:16626: checking if g++ supports namespaces (required) +configure:16644: g++ -c -O3 -Wall conftest.cpp >&5 conftest.cpp:51:3: warning: unused variable 'a' [-Wunused-variable] -configure:16627: $? = 0 -configure:16638: result: yes -configure:16642: checking if g++ supports __thread (optional) -configure:16659: g++ -c -O3 -Wall conftest.cpp >&5 -configure:16659: $? = 0 -configure:16669: result: yes -configure:16682: checking if g++ supports _SC_NPROCESSORS_CONF (optional) -configure:16700: g++ -c -O3 -Wall conftest.cpp >&5 -configure:16700: $? = 0 -configure:16710: result: yes -configure:16721: checking if g++ environment provides all required features -configure:16729: result: yes -configure:16871: creating ./config.status - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by config.status, which was -generated by GNU Autoconf 2.68. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status - -on taku - -config.status:1175: creating Makefile -config.status:1175: creating Makefile.msvc -config.status:1175: creating swig/version.h -config.status:1175: creating config.h -config.status:1404: executing depfiles commands -config.status:1404: executing libtool commands +A a; + ^ +1 warning generated. +configure:16644: $? = 0 +configure:16655: result: yes +configure:16659: checking if g++ supports __thread (optional) +configure:16676: g++ -c -O3 -Wall conftest.cpp >&5 +configure:16676: $? = 0 +configure:16686: result: yes +configure:16699: checking if g++ supports _SC_NPROCESSORS_CONF (optional) +configure:16717: g++ -c -O3 -Wall conftest.cpp >&5 +configure:16717: $? = 0 +configure:16727: result: yes +configure:16738: checking if g++ environment provides all required features +configure:16746: result: yes +configure:16888: creating ./config.status +configure:19377: WARNING: unrecognized options: --enable-maintainer-mode ## ---------------- ## ## Cache variables. ## ## ---------------- ## -ac_cv_build=x86_64-unknown-linux-gnu +ac_cv_build=x86_64-apple-darwin13.1.0 ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= @@ -814,27 +842,29 @@ ac_cv_header_sys_stat_h=yes ac_cv_header_sys_times_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes -ac_cv_host=x86_64-unknown-linux-gnu +ac_cv_host=x86_64-apple-darwin13.1.0 ac_cv_lib_m_exp=yes ac_cv_lib_m_log=yes ac_cv_lib_m_pow=yes ac_cv_lib_pthread_pthread_create=yes ac_cv_lib_pthread_pthread_join=yes ac_cv_objext=o -ac_cv_path_EGREP='/bin/grep -E' -ac_cv_path_FGREP='/bin/grep -F' -ac_cv_path_GREP=/bin/grep -ac_cv_path_SED=/bin/sed +ac_cv_path_EGREP='/usr/bin/grep -E' +ac_cv_path_FGREP='/usr/bin/grep -F' +ac_cv_path_GREP=/usr/bin/grep +ac_cv_path_SED=/usr/bin/sed ac_cv_path_install='/usr/bin/install -c' -ac_cv_path_mkdir=/bin/mkdir -ac_cv_prog_AWK=gawk +ac_cv_path_mkdir=/usr/local/bin/gmkdir +ac_cv_prog_AWK=awk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ -ac_cv_prog_ac_ct_MANIFEST_TOOL=mt -ac_cv_prog_ac_ct_OBJDUMP=objdump +ac_cv_prog_ac_ct_DSYMUTIL=dsymutil +ac_cv_prog_ac_ct_LIPO=lipo +ac_cv_prog_ac_ct_NMEDIT=nmedit +ac_cv_prog_ac_ct_OTOOL=otool ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= @@ -846,36 +876,37 @@ ac_cv_search_strerror='none required' ac_cv_type_size_t=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 -lt_cv_ar_at_file=@ -lt_cv_archive_cmds_need_lc=no +lt_cv_apple_cc_single_mod=yes +lt_cv_ar_at_file=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= +lt_cv_ld_exported_symbols_list=yes +lt_cv_ld_force_load=yes lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs -lt_cv_path_LD=/usr/bin/ld -lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64' -lt_cv_path_NM='/usr/bin/nm -B' +lt_cv_path_LD=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld +lt_cv_path_LDCXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld +lt_cv_path_NM=/usr/bin/nm lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes -lt_cv_prog_compiler_pic='-fPIC -DPIC' -lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' +lt_cv_prog_compiler_pic='-fno-common -DPIC' +lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes -lt_cv_prog_compiler_rtti_exceptions=no -lt_cv_prog_compiler_static_works=yes -lt_cv_prog_compiler_static_works_CXX=yes -lt_cv_prog_gnu_ld=yes -lt_cv_prog_gnu_ldcxx=yes +lt_cv_prog_compiler_rtti_exceptions=yes +lt_cv_prog_compiler_static_works=no +lt_cv_prog_compiler_static_works_CXX=no +lt_cv_prog_gnu_ld=no +lt_cv_prog_gnu_ldcxx=no lt_cv_sharedlib_from_linklib_cmd='printf %s\n' -lt_cv_shlibpath_overrides_runpath=no -lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' -lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' -lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' -lt_cv_sys_max_cmd_len=3458764513820540925 +lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' +lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' +lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\''' +lt_cv_sys_max_cmd_len=196608 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop @@ -883,16 +914,16 @@ lt_cv_to_tool_file_cmd=func_convert_file_noop ## Output variables. ## ## ----------------- ## -ACLOCAL='${SHELL} /home/taku/proj/crfpp/missing --run aclocal-1.11' +ACLOCAL='${SHELL} /Users/taku/proj/crfpp/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AR='ar' -AUTOCONF='${SHELL} /home/taku/proj/crfpp/missing --run autoconf' -AUTOHEADER='${SHELL} /home/taku/proj/crfpp/missing --run autoheader' -AUTOMAKE='${SHELL} /home/taku/proj/crfpp/missing --run automake-1.11' -AWK='gawk' +AUTOCONF='${SHELL} /Users/taku/proj/crfpp/missing --run autoconf' +AUTOHEADER='${SHELL} /Users/taku/proj/crfpp/missing --run autoheader' +AUTOMAKE='${SHELL} /Users/taku/proj/crfpp/missing --run automake-1.11' +AWK='awk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-O3 -Wall' @@ -906,36 +937,36 @@ CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='false' -DSYMUTIL='' +DSYMUTIL='dsymutil' DUMPBIN='' -ECHO_C='' -ECHO_N='-n' +ECHO_C='\c' +ECHO_N='' ECHO_T='' -EGREP='/bin/grep -E' +EGREP='/usr/bin/grep -E' EXEEXT='' -FGREP='/bin/grep -F' -GREP='/bin/grep' +FGREP='/usr/bin/grep -F' +GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' -LD='/usr/bin/ld -m elf_x86_64' +LD='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld' LDFLAGS='' LIBOBJS='' LIBS='-lpthread -lpthread -lm -lm -lm ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' -LIPO='' +LIPO='lipo' LN_S='ln -s' LTLIBOBJS='' -MAKEINFO='${SHELL} /home/taku/proj/crfpp/missing --run makeinfo' +MAKEINFO='${SHELL} /Users/taku/proj/crfpp/missing --run makeinfo' MANIFEST_TOOL=':' -MKDIR_P='/bin/mkdir -p' -NM='/usr/bin/nm -B' -NMEDIT='' -OBJDUMP='objdump' +MKDIR_P='/usr/local/bin/gmkdir -p' +NM='/usr/bin/nm' +NMEDIT='nmedit' +OBJDUMP='false' OBJEXT='o' -OTOOL64='' -OTOOL='' +OTOOL64=':' +OTOOL='otool' PACKAGE='CRF++' PACKAGE_BUGREPORT='' PACKAGE_NAME='' @@ -945,11 +976,11 @@ PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='ranlib' -SED='/bin/sed' +SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' -VERSION='0.58' +VERSION='0.59' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_CXX='g++' @@ -968,31 +999,31 @@ am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' -build='x86_64-unknown-linux-gnu' +build='x86_64-apple-darwin13.1.0' build_alias='' build_cpu='x86_64' -build_os='linux-gnu' -build_vendor='unknown' +build_os='darwin13.1.0' +build_vendor='apple' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='${prefix}' -host='x86_64-unknown-linux-gnu' +host='x86_64-apple-darwin13.1.0' host_alias='' host_cpu='x86_64' -host_os='linux-gnu' -host_vendor='unknown' +host_os='darwin13.1.0' +host_vendor='apple' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' -install_sh='${SHELL} /home/taku/proj/crfpp/install-sh' +install_sh='${SHELL} /Users/taku/proj/crfpp/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' -mkdir_p='/bin/mkdir -p' +mkdir_p='/usr/local/bin/gmkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' @@ -1015,7 +1046,7 @@ target_alias='' #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "CRF++" -#define VERSION "0.58" +#define VERSION "0.59" #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 @@ -1052,3 +1083,44 @@ target_alias='' #define HAVE_SYS_CONF_SC_NPROCESSORS_CONF 1 configure: exit 0 + +## ---------------------- ## +## Running config.status. ## +## ---------------------- ## + +This file was extended by config.status, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = + CONFIG_HEADERS = + CONFIG_LINKS = + CONFIG_COMMANDS = + $ ./config.status + +on woodstock + +config.status:1160: creating Makefile +config.status:1160: creating Makefile.msvc +config.status:1160: creating swig/version.h +config.status:1160: creating config.h +config.status:1341: config.h is unchanged +config.status:1389: executing depfiles commands +config.status:1389: executing libtool commands + +## ---------------------- ## +## Running config.status. ## +## ---------------------- ## + +This file was extended by config.status, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = + CONFIG_HEADERS = + CONFIG_LINKS = + CONFIG_COMMANDS = + $ ./config.status config.h + +on woodstock + +config.status:1160: creating config.h +config.status:1341: config.h is unchanged diff --git a/config.status b/config.status index 51dff62..b2c9698 100755 --- a/config.status +++ b/config.status @@ -285,16 +285,16 @@ if (echo >conf$$.file) 2>/dev/null; then # ... 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'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -354,28 +354,16 @@ else 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 + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p # 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'" @@ -393,7 +381,7 @@ exec 6>&1 # values after options handling. ac_log=" This file was extended by $as_me, which was -generated by GNU Autoconf 2.68. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -439,21 +427,21 @@ $config_commands Report bugs to the package provider." -ac_cs_config="" +ac_cs_config="'--enable-maintainer-mode'" ac_cs_version="\ config.status -configured by ./configure, generated by GNU Autoconf 2.68, +configured by ./configure, generated by GNU Autoconf 2.69, with options \"$ac_cs_config\" -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 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='/home/taku/proj/crfpp' +ac_pwd='/Users/taku/proj/crfpp' srcdir='.' INSTALL='/usr/bin/install -c' -MKDIR_P='/bin/mkdir -p' -AWK='gawk' +MKDIR_P='/usr/local/bin/gmkdir -p' +AWK='awk' test -n "$AWK" || AWK=awk # The default lists apply if the user does not specify any file. ac_need_defaults=: @@ -531,7 +519,7 @@ if $ac_cs_silent; then fi if $ac_cs_recheck; then - set X '/bin/sh' './configure' $ac_configure_extra_args --no-create --no-recursion + set X /bin/sh './configure' '--enable-maintainer-mode' $ac_configure_extra_args --no-create --no-recursion shift $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 CONFIG_SHELL='/bin/sh' @@ -566,25 +554,25 @@ macro_revision='1.3337' enable_shared='yes' enable_static='yes' pic_mode='default' -enable_fast_install='yes' +enable_fast_install='needless' SHELL='/bin/sh' ECHO='printf %s\n' PATH_SEPARATOR=':' host_alias='' -host='x86_64-unknown-linux-gnu' -host_os='linux-gnu' +host='x86_64-apple-darwin13.1.0' +host_os='darwin13.1.0' build_alias='' -build='x86_64-unknown-linux-gnu' -build_os='linux-gnu' -SED='/bin/sed' -Xsed='/bin/sed -e 1s/^X//' -GREP='/bin/grep' -EGREP='/bin/grep -E' -FGREP='/bin/grep -F' -LD='/usr/bin/ld -m elf_x86_64' -NM='/usr/bin/nm -B' +build='x86_64-apple-darwin13.1.0' +build_os='darwin13.1.0' +SED='/usr/bin/sed' +Xsed='/usr/bin/sed -e 1s/^X//' +GREP='/usr/bin/grep' +EGREP='/usr/bin/grep -E' +FGREP='/usr/bin/grep -F' +LD='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld' +NM='/usr/bin/nm' LN_S='ln -s' -max_cmd_len='3458764513820540925' +max_cmd_len='196608' ac_objext='o' exeext='' lt_unset='unset' @@ -593,8 +581,8 @@ lt_NL2SP='tr \015\012 \040\040' lt_cv_to_host_file_cmd='func_convert_file_noop' lt_cv_to_tool_file_cmd='func_convert_file_noop' reload_flag=' -r' -reload_cmds='$LD$reload_flag -o $output$reload_objs' -OBJDUMP='objdump' +reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' +OBJDUMP='false' deplibs_check_method='pass_all' file_magic_cmd='$MAGIC_CMD' file_magic_glob='' @@ -603,66 +591,63 @@ DLLTOOL='false' sharedlib_from_linklib_cmd='printf %s\n' AR='ar' AR_FLAGS='cru' -archiver_list_spec='@' +archiver_list_spec='' STRIP='strip' RANLIB='ranlib' old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib' old_postuninstall_cmds='' old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib' -lock_old_archive_extraction='no' +lock_old_archive_extraction='yes' CC='gcc' CFLAGS='-O3 -Wall' compiler='g++' GCC='yes' -lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' -lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' -lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' -nm_file_list_spec='@' +lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' +lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\''' +lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' +nm_file_list_spec='' lt_sysroot='' objdir='.libs' MAGIC_CMD='file' -lt_prog_compiler_no_builtin_flag=' -fno-builtin' -lt_prog_compiler_pic=' -fPIC -DPIC' +lt_prog_compiler_no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' +lt_prog_compiler_pic=' -fno-common -DPIC' lt_prog_compiler_wl='-Wl,' -lt_prog_compiler_static='-static' +lt_prog_compiler_static='' lt_cv_prog_compiler_c_o='yes' need_locks='no' MANIFEST_TOOL=':' -DSYMUTIL='' -NMEDIT='' -LIPO='' -OTOOL='' -OTOOL64='' +DSYMUTIL='dsymutil' +NMEDIT='nmedit' +LIPO='lipo' +OTOOL='otool' +OTOOL64=':' libext='a' -shrext_cmds='.so' +shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' extract_expsyms_cmds='' archive_cmds_need_lc='no' enable_shared_with_static_runtimes='no' -export_dynamic_flag_spec='${wl}--export-dynamic' -whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' +export_dynamic_flag_spec='' +whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' compiler_needs_object='no' old_archive_from_new_cmds='' old_archive_from_expsyms_cmds='' -archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' -module_cmds='' -module_expsym_cmds='' -with_gnu_ld='yes' -allow_undefined_flag='' +archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module' +archive_expsym_cmds='sed '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' +module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags' +module_expsym_cmds='sed -e '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' +with_gnu_ld='no' +allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' no_undefined_flag='' -hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' +hardcode_libdir_flag_spec='' hardcode_libdir_separator='' hardcode_direct='no' hardcode_direct_absolute='no' hardcode_minus_L='no' hardcode_shlibpath_var='unsupported' -hardcode_automatic='no' +hardcode_automatic='yes' inherit_rpath='no' -link_all_deplibs='no' +link_all_deplibs='yes' always_export_symbols='no' export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' @@ -670,70 +655,70 @@ include_expsyms='' prelink_cmds='' postlink_cmds='' file_list_spec='' -variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH' +variables_saved_for_relink='PATH DYLD_LIBRARY_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH' need_lib_prefix='no' need_version='no' -version_type='linux' -runpath_var='LD_RUN_PATH' -shlibpath_var='LD_LIBRARY_PATH' -shlibpath_overrides_runpath='no' +version_type='darwin' +runpath_var='' +shlibpath_var='DYLD_LIBRARY_PATH' +shlibpath_overrides_runpath='yes' libname_spec='lib$name' -library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -soname_spec='${libname}${release}${shared_ext}$major' +library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' +soname_spec='${libname}${release}${major}$shared_ext' install_override_mode='' postinstall_cmds='' postuninstall_cmds='' -finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' +finish_cmds='' finish_eval='' -hardcode_into_libs='yes' -sys_lib_search_path_spec='/usr/lib/gcc/x86_64-linux-gnu/4.6 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib ' -sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib/i386-linux-gnu/mesa /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/mesa /lib32 /usr/lib32 ' +hardcode_into_libs='no' +sys_lib_search_path_spec='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1 /usr/local/lib' +sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' hardcode_action='immediate' enable_dlopen='unknown' enable_dlopen_self='unknown' enable_dlopen_self_static='unknown' -old_striplib='strip --strip-debug' -striplib='strip --strip-unneeded' +old_striplib='strip -S' +striplib='strip -x' compiler_lib_search_dirs='' predep_objects='' postdep_objects='' predeps='' postdeps='' compiler_lib_search_path='' -LD_CXX='/usr/bin/ld -m elf_x86_64' +LD_CXX='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld' reload_flag_CXX=' -r' -reload_cmds_CXX='$LD$reload_flag -o $output$reload_objs' +reload_cmds_CXX='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib' compiler_CXX='g++' GCC_CXX='yes' lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' -lt_prog_compiler_pic_CXX=' -fPIC -DPIC' +lt_prog_compiler_pic_CXX=' -fno-common -DPIC' lt_prog_compiler_wl_CXX='-Wl,' -lt_prog_compiler_static_CXX='-static' +lt_prog_compiler_static_CXX='' lt_cv_prog_compiler_c_o_CXX='yes' archive_cmds_need_lc_CXX='no' enable_shared_with_static_runtimes_CXX='no' -export_dynamic_flag_spec_CXX='${wl}--export-dynamic' -whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' +export_dynamic_flag_spec_CXX='' +whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' compiler_needs_object_CXX='no' old_archive_from_new_cmds_CXX='' old_archive_from_expsyms_cmds_CXX='' -archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' -archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -module_cmds_CXX='' -module_expsym_cmds_CXX='' -with_gnu_ld_CXX='yes' -allow_undefined_flag_CXX='' +archive_cmds_CXX='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module' +archive_expsym_cmds_CXX='sed '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' +module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags' +module_expsym_cmds_CXX='sed -e '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' +with_gnu_ld_CXX='no' +allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' no_undefined_flag_CXX='' -hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' +hardcode_libdir_flag_spec_CXX='' hardcode_libdir_separator_CXX='' hardcode_direct_CXX='no' hardcode_direct_absolute_CXX='no' hardcode_minus_L_CXX='no' hardcode_shlibpath_var_CXX='unsupported' -hardcode_automatic_CXX='no' +hardcode_automatic_CXX='yes' inherit_rpath_CXX='no' -link_all_deplibs_CXX='no' +link_all_deplibs_CXX='yes' always_export_symbols_CXX='no' export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' @@ -742,12 +727,12 @@ prelink_cmds_CXX='' postlink_cmds_CXX='' file_list_spec_CXX='' hardcode_action_CXX='immediate' -compiler_lib_search_dirs_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.6 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.6/../../..' -predep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o' -postdep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o' +compiler_lib_search_dirs_CXX='' +predep_objects_CXX='' +postdep_objects_CXX='' predeps_CXX='' -postdeps_CXX='-lstdc++ -lm -lgcc_s -lc -lgcc_s' -compiler_lib_search_path_CXX='-L/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../..' +postdeps_CXX='' +compiler_lib_search_path_CXX='' LTCC='gcc' LTCFLAGS='-g -O2' @@ -797,7 +782,7 @@ fi PACKAGE='CRF++' - VERSION='0.58' + VERSION='0.59' TIMESTAMP='' RM='rm -f' ofile='libtool' @@ -888,35 +873,35 @@ S["am__EXEEXT_TRUE"]="#" S["LTLIBOBJS"]="" S["LIBOBJS"]="" S["CXXCPP"]="g++ -E" -S["OTOOL64"]="" -S["OTOOL"]="" -S["LIPO"]="" -S["NMEDIT"]="" -S["DSYMUTIL"]="" +S["OTOOL64"]=":" +S["OTOOL"]="otool" +S["LIPO"]="lipo" +S["NMEDIT"]="nmedit" +S["DSYMUTIL"]="dsymutil" S["MANIFEST_TOOL"]=":" S["RANLIB"]="ranlib" S["ac_ct_AR"]="ar" S["AR"]="ar" S["DLLTOOL"]="false" -S["OBJDUMP"]="objdump" +S["OBJDUMP"]="false" S["LN_S"]="ln -s" -S["NM"]="/usr/bin/nm -B" +S["NM"]="/usr/bin/nm" S["ac_ct_DUMPBIN"]="" S["DUMPBIN"]="" -S["LD"]="/usr/bin/ld -m elf_x86_64" -S["FGREP"]="/bin/grep -F" -S["SED"]="/bin/sed" +S["LD"]="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" +S["FGREP"]="/usr/bin/grep -F" +S["SED"]="/usr/bin/sed" S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool" -S["host_os"]="linux-gnu" -S["host_vendor"]="unknown" +S["host_os"]="darwin13.1.0" +S["host_vendor"]="apple" S["host_cpu"]="x86_64" -S["host"]="x86_64-unknown-linux-gnu" -S["build_os"]="linux-gnu" -S["build_vendor"]="unknown" +S["host"]="x86_64-apple-darwin13.1.0" +S["build_os"]="darwin13.1.0" +S["build_vendor"]="apple" S["build_cpu"]="x86_64" -S["build"]="x86_64-unknown-linux-gnu" -S["EGREP"]="/bin/grep -E" -S["GREP"]="/bin/grep" +S["build"]="x86_64-apple-darwin13.1.0" +S["EGREP"]="/usr/bin/grep -E" +S["GREP"]="/usr/bin/grep" S["CPP"]="gcc -E" S["am__fastdepCXX_FALSE"]="#" S["am__fastdepCXX_TRUE"]="" @@ -946,18 +931,18 @@ S["am__tar"]="$${TAR-tar} chof - \"$$tardir\"" S["AMTAR"]="$${TAR-tar}" S["am__leading_dot"]="." S["SET_MAKE"]="" -S["AWK"]="gawk" -S["mkdir_p"]="/bin/mkdir -p" -S["MKDIR_P"]="/bin/mkdir -p" +S["AWK"]="awk" +S["mkdir_p"]="/usr/local/bin/gmkdir -p" +S["MKDIR_P"]="/usr/local/bin/gmkdir -p" S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" S["STRIP"]="strip" -S["install_sh"]="${SHELL} /home/taku/proj/crfpp/install-sh" -S["MAKEINFO"]="${SHELL} /home/taku/proj/crfpp/missing --run makeinfo" -S["AUTOHEADER"]="${SHELL} /home/taku/proj/crfpp/missing --run autoheader" -S["AUTOMAKE"]="${SHELL} /home/taku/proj/crfpp/missing --run automake-1.11" -S["AUTOCONF"]="${SHELL} /home/taku/proj/crfpp/missing --run autoconf" -S["ACLOCAL"]="${SHELL} /home/taku/proj/crfpp/missing --run aclocal-1.11" -S["VERSION"]="0.58" +S["install_sh"]="${SHELL} /Users/taku/proj/crfpp/install-sh" +S["MAKEINFO"]="${SHELL} /Users/taku/proj/crfpp/missing --run makeinfo" +S["AUTOHEADER"]="${SHELL} /Users/taku/proj/crfpp/missing --run autoheader" +S["AUTOMAKE"]="${SHELL} /Users/taku/proj/crfpp/missing --run automake-1.11" +S["AUTOCONF"]="${SHELL} /Users/taku/proj/crfpp/missing --run autoconf" +S["ACLOCAL"]="${SHELL} /Users/taku/proj/crfpp/missing --run aclocal-1.11" +S["VERSION"]="0.59" S["PACKAGE"]="CRF++" S["CYGPATH_W"]="echo" S["am__isrc"]="" @@ -969,8 +954,8 @@ S["host_alias"]="" S["build_alias"]="" S["LIBS"]="-lpthread -lpthread -lm -lm -lm " S["ECHO_T"]="" -S["ECHO_N"]="-n" -S["ECHO_C"]="" +S["ECHO_N"]="" +S["ECHO_C"]="\\c" S["DEFS"]="-DHAVE_CONFIG_H" S["mandir"]="${datarootdir}/man" S["localedir"]="${datarootdir}/locale" @@ -1050,7 +1035,7 @@ D["PACKAGE_STRING"]=" \"\"" D["PACKAGE_BUGREPORT"]=" \"\"" D["PACKAGE_URL"]=" \"\"" D["PACKAGE"]=" \"CRF++\"" -D["VERSION"]=" \"0.58\"" +D["VERSION"]=" \"0.59\"" D["HAVE_SYS_TYPES_H"]=" 1" D["HAVE_SYS_STAT_H"]=" 1" D["HAVE_STDLIB_H"]=" 1" diff --git a/configure b/configure index f02b2f1..6d544e9 100755 --- a/configure +++ b/configure @@ -1,11 +1,9 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68. +# Generated by GNU Autoconf 2.69. # # -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software -# Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation @@ -134,6 +132,31 @@ export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # 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. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh @@ -167,7 +190,8 @@ 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" +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && @@ -220,21 +244,25 @@ 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. - # Preserve -v and -x to the replacement shell. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; - esac - exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi if test x$as_have_required = xno; then : @@ -336,6 +364,14 @@ $as_echo X"$as_dir" | } # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take @@ -457,6 +493,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec # 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). @@ -491,16 +531,16 @@ if (echo >conf$$.file) 2>/dev/null; then # ... 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'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -512,28 +552,8 @@ else 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 +as_test_x='test -x' +as_executable_p=as_fn_executable_p # 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'" @@ -1209,8 +1229,6 @@ target=$target_alias 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 @@ -1469,9 +1487,9 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF configure -generated by GNU Autoconf 2.68 +generated by GNU Autoconf 2.69 -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1622,7 +1640,7 @@ $as_echo "$ac_try_echo"; } >&5 test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext + test -x conftest$ac_exeext }; then : ac_retval=0 else @@ -1845,7 +1863,7 @@ $as_echo "$ac_try_echo"; } >&5 test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext + test -x conftest$ac_exeext }; then : ac_retval=0 else @@ -2149,7 +2167,7 @@ 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.68. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2569,7 +2587,7 @@ case $as_dir/ in #(( # 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 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. @@ -2738,7 +2756,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2778,7 +2796,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2829,7 +2847,7 @@ do 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 + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ @@ -2882,7 +2900,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2968,7 +2986,7 @@ fi # Define the identity of the package. PACKAGE=CRF++ - VERSION=0.58 + VERSION=0.59 cat >>confdefs.h <<_ACEOF @@ -3031,7 +3049,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3071,7 +3089,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3124,7 +3142,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3165,7 +3183,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue @@ -3223,7 +3241,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3267,7 +3285,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3713,8 +3731,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include -#include -#include +struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); @@ -4018,7 +4035,7 @@ 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 as_fn_executable_p "$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 @@ -4062,7 +4079,7 @@ 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 as_fn_executable_p "$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 @@ -4530,7 +4547,7 @@ do for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue + as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in @@ -4596,7 +4613,7 @@ do for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue + as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in @@ -4972,7 +4989,7 @@ do for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue + as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in @@ -5051,7 +5068,7 @@ do for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue + as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in @@ -5307,7 +5324,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5351,7 +5368,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5775,7 +5792,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5815,7 +5832,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6121,7 +6138,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6161,7 +6178,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6265,7 +6282,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6309,7 +6326,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6434,7 +6451,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6474,7 +6491,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6533,7 +6550,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6573,7 +6590,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7222,7 +7239,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7262,7 +7279,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7342,7 +7359,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7382,7 +7399,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7434,7 +7451,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7474,7 +7491,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NMEDIT="nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7526,7 +7543,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7566,7 +7583,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LIPO="lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7618,7 +7635,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7658,7 +7675,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL="otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7710,7 +7727,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7750,7 +7767,7 @@ 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL64="otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -17161,16 +17178,16 @@ if (echo >conf$$.file) 2>/dev/null; then # ... 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'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -17230,28 +17247,16 @@ else 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 + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p # 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'" @@ -17273,7 +17278,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # values after options handling. ac_log=" This file was extended by $as_me, which was -generated by GNU Autoconf 2.68. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -17339,10 +17344,10 @@ 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.68, +configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -17433,7 +17438,7 @@ 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 + 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' diff --git a/configure.in b/configure.in index 793e0e4..e52f710 100644 --- a/configure.in +++ b/configure.in @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(crf_learn.cpp) AH_TEMPLATE([HAVE_TLS_KEYWORD], []) AH_TEMPLATE([HAVE_SYS_CONF_SC_NPROCESSORS_CONF], []) -AM_INIT_AUTOMAKE(CRF++, 0.58) +AM_INIT_AUTOMAKE(CRF++, 0.59) dnl Checks for programs. AC_PROG_CC diff --git a/libtool b/libtool index 563c30d..e6a2d0c 100755 --- a/libtool +++ b/libtool @@ -1,8 +1,8 @@ #! /bin/sh # libtool - Provide generalized library-building support services. -# Generated automatically by config.status (CRF++) 0.58 -# Libtool was configured on host taku: +# Generated automatically by config.status (CRF++) 0.59 +# Libtool was configured on host woodstock: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, @@ -53,7 +53,7 @@ build_old_libs=yes pic_mode=default # Whether or not to optimize for fast installation. -fast_install=yes +fast_install=needless # Shell to use when invoking shell scripts. SHELL="/bin/sh" @@ -66,37 +66,37 @@ PATH_SEPARATOR=":" # The host system. host_alias= -host=x86_64-unknown-linux-gnu -host_os=linux-gnu +host=x86_64-apple-darwin13.1.0 +host_os=darwin13.1.0 # The build system. build_alias= -build=x86_64-unknown-linux-gnu -build_os=linux-gnu +build=x86_64-apple-darwin13.1.0 +build_os=darwin13.1.0 # A sed program that does not truncate output. -SED="/bin/sed" +SED="/usr/bin/sed" # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e 1s/^X//" # A grep program that handles long lines. -GREP="/bin/grep" +GREP="/usr/bin/grep" # An ERE matcher. -EGREP="/bin/grep -E" +EGREP="/usr/bin/grep -E" # A literal string matcher. -FGREP="/bin/grep -F" +FGREP="/usr/bin/grep -F" # A BSD- or MS-compatible name lister. -NM="/usr/bin/nm -B" +NM="/usr/bin/nm" # Whether we need soft or hard links. LN_S="ln -s" # What is the maximum length of a command? -max_cmd_len=3458764513820540925 +max_cmd_len=196608 # Object file suffix (normally "o"). objext=o @@ -120,7 +120,7 @@ to_host_file_cmd=func_convert_file_noop to_tool_file_cmd=func_convert_file_noop # An object symbol dumper. -OBJDUMP="objdump" +OBJDUMP="false" # Method to check whether dependent libraries are shared objects. deplibs_check_method="pass_all" @@ -147,7 +147,7 @@ AR="ar" AR_FLAGS="cru" # How to feed a file listing to the archiver. -archiver_list_spec="@" +archiver_list_spec="" # A symbol stripping program. STRIP="strip" @@ -158,7 +158,7 @@ old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$tool_oldlib" old_postuninstall_cmds="" # Whether to use a lock for old archive extraction. -lock_old_archive_extraction=no +lock_old_archive_extraction=yes # A C compiler. LTCC="gcc" @@ -167,19 +167,19 @@ LTCC="gcc" LTCFLAGS="-O3 -Wall" # Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'" +global_symbol_pipe="sed -n -e 's/^.*[ ]\\([BCDEGRST][BCDEGRST]*\\)[ ][ ]*_\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 _\\2 \\2/p' | sed '/ __gnu_lto/d'" # Transform the output of nm in a proper C declaration. -global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[ABCDGIRSTW]* .* \\(.*\\)\$/extern char \\1;/p'" +global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[BCDEGRST]* .* \\(.*\\)\$/extern char \\1;/p'" # Transform the output of nm in a C name address pair. -global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p'" +global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p'" # Transform the output of nm in a C name address pair when lib prefix is needed. -global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"lib\\2\", (void *) \\&\\2},/p'" +global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\)[ ]*\$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p' -e 's/^[BCDEGRST]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"lib\\2\", (void *) \\&\\2},/p'" # Specify filename containing input files for $NM. -nm_file_list_spec="@" +nm_file_list_spec="" # The root where to search for dependent libraries,and in which our libraries should be installed. lt_sysroot= @@ -197,32 +197,32 @@ need_locks="no" MANIFEST_TOOL=":" # Tool to manipulate archived DWARF debug symbol files on Mac OS X. -DSYMUTIL="" +DSYMUTIL="dsymutil" # Tool to change global to local symbols on Mac OS X. -NMEDIT="" +NMEDIT="nmedit" # Tool to manipulate fat objects and archives on Mac OS X. -LIPO="" +LIPO="lipo" # ldd/readelf like tool for Mach-O binaries on Mac OS X. -OTOOL="" +OTOOL="otool" # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. -OTOOL64="" +OTOOL64=":" # Old archive suffix (normally "a"). libext=a # Shared library suffix (normally ".so"). -shrext_cmds=".so" +shrext_cmds="\`test .\$module = .yes && echo .so || echo .dylib\`" # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds="" # Variables whose values should be saved in libtool wrapper scripts and # restored at link time. -variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +variables_saved_for_relink="PATH DYLD_LIBRARY_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" # Do we need the "lib" prefix for modules? need_lib_prefix=no @@ -231,26 +231,26 @@ need_lib_prefix=no need_version=no # Library versioning type. -version_type=linux +version_type=darwin # Shared library runtime path variable. -runpath_var=LD_RUN_PATH +runpath_var= # Shared library path variable. -shlibpath_var=LD_LIBRARY_PATH +shlibpath_var=DYLD_LIBRARY_PATH # Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=no +shlibpath_overrides_runpath=yes # Format of library name prefix. libname_spec="lib\$name" # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME -library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}" +library_names_spec="\${libname}\${release}\${major}\$shared_ext \${libname}\$shared_ext" # The coded name of the library, if different from the real name. -soname_spec="\${libname}\${release}\${shared_ext}\$major" +soname_spec="\${libname}\${release}\${major}\$shared_ext" # Permission mode override for installation of shared libraries. install_override_mode="" @@ -262,20 +262,20 @@ postinstall_cmds="" postuninstall_cmds="" # Commands used to finish a libtool library installation in a directory. -finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir" +finish_cmds="" # As "finish_cmds", except a single script fragment to be evaled but # not shown. finish_eval="" # Whether we should hardcode library paths into libraries. -hardcode_into_libs=yes +hardcode_into_libs=no # Compile-time system search path for libraries. -sys_lib_search_path_spec="/usr/lib/gcc/x86_64-linux-gnu/4.6 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib " +sys_lib_search_path_spec="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1 /usr/local/lib" # Run-time system search path for libraries. -sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib/i386-linux-gnu/mesa /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/mesa /lib32 /usr/lib32 " +sys_lib_dlsearch_path_spec="/usr/local/lib /lib /usr/lib" # Whether dlopen is supported. dlopen_support=unknown @@ -287,16 +287,16 @@ dlopen_self=unknown dlopen_self_static=unknown # Commands to strip libraries. -old_striplib="strip --strip-debug" -striplib="strip --strip-unneeded" +old_striplib="strip -S" +striplib="strip -x" # The linker used to build libraries. -LD="/usr/bin/ld -m elf_x86_64" +LD="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" # How to create reloadable object files. reload_flag=" -r" -reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" +reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs" # Commands used to build an old-style archive. old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib" @@ -308,16 +308,16 @@ CC="gcc" with_gcc=yes # Compiler flag to turn off builtin functions. -no_builtin_flag=" -fno-builtin" +no_builtin_flag=" -fno-builtin -fno-rtti -fno-exceptions" # Additional compiler flags for building library objects. -pic_flag=" -fPIC -DPIC" +pic_flag=" -fno-common -DPIC" # How to pass a linker flag through the compiler. wl="-Wl," # Compiler flag to prevent dynamic linking. -link_static_flag="-static" +link_static_flag="" # Does compiler simultaneously support -c and -o options? compiler_c_o="yes" @@ -329,10 +329,10 @@ build_libtool_need_lc=no allow_libtool_libs_with_static_runtimes=no # Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec="\${wl}--export-dynamic" +export_dynamic_flag_spec="" # Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" +whole_archive_flag_spec="\`for conv in \$convenience\\\"\\\"; do test -n \\\"\$conv\\\" && new_convenience=\\\"\$new_convenience \${wl}-force_load,\$conv\\\"; done; func_echo_all \\\"\$new_convenience\\\"\`" # Whether the compiler copes with passing no objects directly. compiler_needs_object="no" @@ -344,29 +344,26 @@ old_archive_from_new_cmds="" old_archive_from_expsyms_cmds="" # Commands used to build a shared archive. -archive_cmds="\$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib" -archive_expsym_cmds="echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~ - cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$output_objdir/\$libname.ver~ - echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~ - \$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib" +archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module" +archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym" # Commands used to build a loadable module if different from building # a shared archive. -module_cmds="" -module_expsym_cmds="" +module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags" +module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym" # Whether we are building with GNU ld or not. -with_gnu_ld="yes" +with_gnu_ld="no" # Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag="" +allow_undefined_flag="\${wl}-undefined \${wl}dynamic_lookup" # Flag that enforces no undefined symbols. no_undefined_flag="" # Flag to hardcode $libdir into a binary during linking. # This must work even if $libdir does not exist -hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir" +hardcode_libdir_flag_spec="" # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator="" @@ -392,14 +389,14 @@ hardcode_shlibpath_var=unsupported # Set to "yes" if building a shared library automatically hardcodes DIR # into the library and all subsequent libraries and executables linked # against it. -hardcode_automatic=no +hardcode_automatic=yes # Set to yes if linker adds runtime paths of dependent libraries # to runtime path list. inherit_rpath=no # Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=no +link_all_deplibs=yes # Set to "yes" if exported symbols are required. always_export_symbols=no @@ -1277,7 +1274,7 @@ exec_cmd= # Append VALUE to the end of shell variable VAR. func_append () { - eval "${1}+=\${2}" +eval "${1}+=\${2}" } # Extended-shell func_append implementation # func_append_quoted var value @@ -1293,7 +1290,7 @@ func_append_quoted () # func_arith arithmetic-term... func_arith () { - func_arith_result=$(( $* )) +func_arith_result=$(( $* )) } # Extended-shell func_arith implementation @@ -1301,7 +1298,7 @@ func_arith () # STRING may not start with a hyphen. func_len () { - func_len_result=${#1} +func_len_result=${#1} } # Extended-shell func_len implementation @@ -1318,7 +1315,7 @@ func_lo2o () # func_xform libobj-or-source func_xform () { - func_xform_result=${1%.*}.lo +func_xform_result=${1%.*}.lo } # Extended-shell func_xform implementation @@ -10099,11 +10096,11 @@ build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` # ### BEGIN LIBTOOL TAG CONFIG: CXX # The linker used to build libraries. -LD="/usr/bin/ld -m elf_x86_64" +LD="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" # How to create reloadable object files. reload_flag=" -r" -reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" +reload_cmds="\$LTCC \$LTCFLAGS -nostdlib \${wl}-r -o \$output\$reload_objs" # Commands used to build an old-style archive. old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib" @@ -10118,13 +10115,13 @@ with_gcc=yes no_builtin_flag=" -fno-builtin" # Additional compiler flags for building library objects. -pic_flag=" -fPIC -DPIC" +pic_flag=" -fno-common -DPIC" # How to pass a linker flag through the compiler. wl="-Wl," # Compiler flag to prevent dynamic linking. -link_static_flag="-static" +link_static_flag="" # Does compiler simultaneously support -c and -o options? compiler_c_o="yes" @@ -10136,10 +10133,10 @@ build_libtool_need_lc=no allow_libtool_libs_with_static_runtimes=no # Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec="\${wl}--export-dynamic" +export_dynamic_flag_spec="" # Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" +whole_archive_flag_spec="\`for conv in \$convenience\\\"\\\"; do test -n \\\"\$conv\\\" && new_convenience=\\\"\$new_convenience \${wl}-force_load,\$conv\\\"; done; func_echo_all \\\"\$new_convenience\\\"\`" # Whether the compiler copes with passing no objects directly. compiler_needs_object="no" @@ -10151,26 +10148,26 @@ old_archive_from_new_cmds="" old_archive_from_expsyms_cmds="" # Commands used to build a shared archive. -archive_cmds="\$CC \$pic_flag -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib" -archive_expsym_cmds="\$CC \$pic_flag -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-retain-symbols-file \$wl\$export_symbols -o \$lib" +archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module" +archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym" # Commands used to build a loadable module if different from building # a shared archive. -module_cmds="" -module_expsym_cmds="" +module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags" +module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags \${wl}-exported_symbols_list,\$output_objdir/\${libname}-symbols.expsym" # Whether we are building with GNU ld or not. -with_gnu_ld="yes" +with_gnu_ld="no" # Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag="" +allow_undefined_flag="\${wl}-undefined \${wl}dynamic_lookup" # Flag that enforces no undefined symbols. no_undefined_flag="" # Flag to hardcode $libdir into a binary during linking. # This must work even if $libdir does not exist -hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir" +hardcode_libdir_flag_spec="" # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator="" @@ -10196,14 +10193,14 @@ hardcode_shlibpath_var=unsupported # Set to "yes" if building a shared library automatically hardcodes DIR # into the library and all subsequent libraries and executables linked # against it. -hardcode_automatic=no +hardcode_automatic=yes # Set to yes if linker adds runtime paths of dependent libraries # to runtime path list. inherit_rpath=no # Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=no +link_all_deplibs=yes # Set to "yes" if exported symbols are required. always_export_symbols=no @@ -10230,17 +10227,17 @@ file_list_spec="" hardcode_action=immediate # The directories searched by this compiler when creating a shared library. -compiler_lib_search_dirs="/usr/lib/gcc/x86_64-linux-gnu/4.6 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.6/../../.." +compiler_lib_search_dirs="" # Dependencies to place before and after the objects being linked to # create a shared library. -predep_objects="/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o" -postdep_objects="/usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o" +predep_objects="" +postdep_objects="" predeps="" -postdeps="-lstdc++ -lm -lgcc_s -lc -lgcc_s" +postdeps="" # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path="-L/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../.." +compiler_lib_search_path="" # ### END LIBTOOL TAG CONFIG: CXX diff --git a/swig/version.h b/swig/version.h index a7afd39..4962f4f 100644 --- a/swig/version.h +++ b/swig/version.h @@ -1,3 +1,3 @@ namespace CRFPP { -#define VERSION "0.58" +#define VERSION "0.59" } diff --git a/tagger.cpp b/tagger.cpp index 484d5c9..104cfce 100644 --- a/tagger.cpp +++ b/tagger.cpp @@ -755,7 +755,7 @@ const char* TaggerImpl::toString() { if (!next()) { break; } - os_ << "# " << n << " " << prob() << '\n'; + os_ << "# " << n << ' ' << prob() << '\n'; PRINT; } } else {