Ticket #13839: lrcalc-1.1.6beta2.2.diff

File lrcalc-1.1.6beta2.2.diff, 113.8 KB (added by jpflori, 9 years ago)

Spkg diff, for review only.

  • SPKG.txt

    diff -r a163aab4fe2e SPKG.txt
    a b  
    22
    33== Description ==
    44
    5 lrcalc 1.1.6 beta1: Littlewood-Richardson Calculator
     5lrcalc 1.1.6 beta2: Littlewood-Richardson Calculator
    66
    77http://math.rutgers.edu/~asbuch/lrcalc/
    88
     
    2525
    2626== Changelog ==
    2727
     28=== lrcalc-1.1.6beta2 (Jean-Pierre Flori, 13 December 2012)  ===
     29
     30 * Updated to lrcalc-1.1.6beta2: let lrcalc build a shared library on Cygwin.
     31
    2832=== lrcalc-1.1.6beta1 (Nicolas M. Thiéry, June 2012)  ===
    2933
    3034 * Updated to lrcalc-1.1.6beta1:
  • src/Makefile.am

    diff -r a163aab4fe2e src/Makefile.am
    a b  
    33
    44lib_LTLIBRARIES = liblrcalc.la
    55liblrcalc_la_SOURCES =
     6liblrcalc_la_LDFLAGS = $(LIBLRCALC_LDFLAGS)
    67liblrcalc_la_LIBADD = mathlib/libmath.la lrcoef/libsymfcn.la schubert/libschub.la
    78
    89lrcalcincludedir = $(includedir)/lrcalc
  • src/Makefile.in

    diff -r a163aab4fe2e src/Makefile.in
    a b  
    1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
     1# Makefile.in generated by automake 1.11.3 from Makefile.am.
    22# @configure_input@
    33
    44# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
    5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
    6 # Inc.
     5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
     6# Foundation, Inc.
    77# This Makefile.in is free software; the Free Software Foundation
    88# gives unlimited permission to copy and/or distribute it,
    99# with or without modifications, as long as this notice is preserved.
     
    3939DIST_COMMON = README $(am__configure_deps) $(lrcalcinclude_HEADERS) \
    4040        $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
    4141        $(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \
    42         ChangeLog INSTALL NEWS config.guess config.sub depcomp \
     42        ChangeLog INSTALL NEWS TODO config.guess config.sub depcomp \
    4343        install-sh ltmain.sh missing
    4444ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    4545am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
     
    7575am__base_list = \
    7676  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
    7777  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
     78am__uninstall_files_from_dir = { \
     79  test -z "$$files" \
     80    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
     81    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
     82         $(am__cd) "$$dir" && rm -f $$files; }; \
     83  }
    7884am__installdirs = "$(DESTDIR)$(libdir)" \
    7985        "$(DESTDIR)$(lrcalcincludedir)"
    8086LTLIBRARIES = $(lib_LTLIBRARIES)
     
    8288        schubert/libschub.la
    8389am_liblrcalc_la_OBJECTS =
    8490liblrcalc_la_OBJECTS = $(am_liblrcalc_la_OBJECTS)
     91liblrcalc_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
     92        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     93        $(liblrcalc_la_LDFLAGS) $(LDFLAGS) -o $@
    8594DEFAULT_INCLUDES = -I.@am__isrc@
    8695COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    8796        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     
    116125distdir = $(PACKAGE)-$(VERSION)
    117126top_distdir = $(distdir)
    118127am__remove_distdir = \
    119   { test ! -d "$(distdir)" \
    120     || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
    121          && rm -fr "$(distdir)"; }; }
     128  if test -d "$(distdir)"; then \
     129    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
     130      && rm -rf "$(distdir)" \
     131      || { sleep 5 && rm -rf "$(distdir)"; }; \
     132  else :; fi
    122133am__relativize = \
    123134  dir0=`pwd`; \
    124135  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
     
    147158DIST_ARCHIVES = $(distdir).tar.gz
    148159GZIP_ENV = --best
    149160distuninstallcheck_listfiles = find . -type f -print
     161am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
     162  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
    150163distcleancheck_listfiles = find . -type f -print
    151164ACLOCAL = @ACLOCAL@
    152165AMTAR = @AMTAR@
    153166AR = @AR@
     167AS = @AS@
    154168AUTOCONF = @AUTOCONF@
    155169AUTOHEADER = @AUTOHEADER@
    156170AUTOMAKE = @AUTOMAKE@
     
    184198INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    185199LD = @LD@
    186200LDFLAGS = @LDFLAGS@
     201LIBLRCALC_LDFLAGS = @LIBLRCALC_LDFLAGS@
    187202LIBOBJS = @LIBOBJS@
    188203LIBS = @LIBS@
    189204LIBTOOL = @LIBTOOL@
     
    271286SUBDIRS = mathlib lrcoef schubert
    272287lib_LTLIBRARIES = liblrcalc.la
    273288liblrcalc_la_SOURCES =
     289liblrcalc_la_LDFLAGS = $(LIBLRCALC_LDFLAGS)
    274290liblrcalc_la_LIBADD = mathlib/libmath.la lrcoef/libsymfcn.la schubert/libschub.la
    275291lrcalcincludedir = $(includedir)/lrcalc
    276292lrcalcinclude_HEADERS = mathlib/*.h lrcoef/*.h schubert/*.h
     
    279295        $(MAKE) $(AM_MAKEFLAGS) all-recursive
    280296
    281297.SUFFIXES:
    282 am--refresh:
     298am--refresh: Makefile
    283299        @:
    284300$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
    285301        @for dep in $?; do \
     
    315331$(am__aclocal_m4_deps):
    316332
    317333config.h: stamp-h1
    318         @if test ! -f $@; then \
    319           rm -f stamp-h1; \
    320           $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
    321         else :; fi
     334        @if test ! -f $@; then rm -f stamp-h1; else :; fi
     335        @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
    322336
    323337stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
    324338        @rm -f stamp-h1
     
    361375          echo "rm -f \"$${dir}/so_locations\""; \
    362376          rm -f "$${dir}/so_locations"; \
    363377        done
    364 liblrcalc.la: $(liblrcalc_la_OBJECTS) $(liblrcalc_la_DEPENDENCIES)
    365         $(LINK) -rpath $(libdir) $(liblrcalc_la_OBJECTS) $(liblrcalc_la_LIBADD) $(LIBS)
     378liblrcalc.la: $(liblrcalc_la_OBJECTS) $(liblrcalc_la_DEPENDENCIES) $(EXTRA_liblrcalc_la_DEPENDENCIES)
     379        $(liblrcalc_la_LINK) -rpath $(libdir) $(liblrcalc_la_OBJECTS) $(liblrcalc_la_LIBADD) $(LIBS)
    366380
    367381mostlyclean-compile:
    368382        -rm -f *.$(OBJEXT)
     
    395409        @$(NORMAL_UNINSTALL)
    396410        @list='$(lrcalcinclude_HEADERS)'; test -n "$(lrcalcincludedir)" || list=; \
    397411        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
    398         test -n "$$files" || exit 0; \
    399         echo " ( cd '$(DESTDIR)$(lrcalcincludedir)' && rm -f" $$files ")"; \
    400         cd "$(DESTDIR)$(lrcalcincludedir)" && rm -f $$files
     412        dir='$(DESTDIR)$(lrcalcincludedir)'; $(am__uninstall_files_from_dir)
    401413
    402414# This directory's subdirectories are mostly independent; you can cd
    403415# into them and run `make' without going through this Makefile.
     
    615627          fi; \
    616628          dashes=`echo "$$dashes" | sed s/./=/g`; \
    617629          if test "$$failed" -eq 0; then \
    618             echo "$$grn$$dashes"; \
     630            col="$$grn"; \
    619631          else \
    620             echo "$$red$$dashes"; \
     632            col="$$red"; \
    621633          fi; \
    622           echo "$$banner"; \
    623           test -z "$$skipped" || echo "$$skipped"; \
    624           test -z "$$report" || echo "$$report"; \
    625           echo "$$dashes$$std"; \
     634          echo "$${col}$$dashes$${std}"; \
     635          echo "$${col}$$banner$${std}"; \
     636          test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
     637          test -z "$$report" || echo "$${col}$$report$${std}"; \
     638          echo "$${col}$$dashes$${std}"; \
    626639          test "$$failed" -eq 0; \
    627640        else :; fi
    628641
     
    698711        $(am__remove_distdir)
    699712
    700713dist-bzip2: distdir
    701         tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
     714        tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
     715        $(am__remove_distdir)
     716
     717dist-lzip: distdir
     718        tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
    702719        $(am__remove_distdir)
    703720
    704721dist-lzma: distdir
     
    706723        $(am__remove_distdir)
    707724
    708725dist-xz: distdir
    709         tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
     726        tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
    710727        $(am__remove_distdir)
    711728
    712729dist-tarZ: distdir
     
    737754          bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
    738755        *.tar.lzma*) \
    739756          lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
     757        *.tar.lz*) \
     758          lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
    740759        *.tar.xz*) \
    741760          xz -dc $(distdir).tar.xz | $(am__untar) ;;\
    742761        *.tar.Z*) \
     
    756775          && am__cwd=`pwd` \
    757776          && $(am__cd) $(distdir)/_build \
    758777          && ../configure --srcdir=.. --prefix="$$dc_install_base" \
     778            $(AM_DISTCHECK_CONFIGURE_FLAGS) \
    759779            $(DISTCHECK_CONFIGURE_FLAGS) \
    760780          && $(MAKE) $(AM_MAKEFLAGS) \
    761781          && $(MAKE) $(AM_MAKEFLAGS) dvi \
     
    784804          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
    785805          sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
    786806distuninstallcheck:
    787         @$(am__cd) '$(distuninstallcheck_dir)' \
    788         && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
     807        @test -n '$(distuninstallcheck_dir)' || { \
     808          echo 'ERROR: trying to run $@ with an empty' \
     809               '$$(distuninstallcheck_dir)' >&2; \
     810          exit 1; \
     811        }; \
     812        $(am__cd) '$(distuninstallcheck_dir)' || { \
     813          echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
     814          exit 1; \
     815        }; \
     816        test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
    789817           || { echo "ERROR: files left after uninstall:" ; \
    790818                if test -n "$(DESTDIR)"; then \
    791819                  echo "  (check DESTDIR support)"; \
     
    820848
    821849installcheck: installcheck-recursive
    822850install-strip:
    823         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    824           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    825           `test -z '$(STRIP)' || \
    826             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     851        if test -z '$(STRIP)'; then \
     852          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     853            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     854              install; \
     855        else \
     856          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     857            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     858            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
     859        fi
    827860mostlyclean-generic:
    828861
    829862clean-generic:
     
    913946.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
    914947        all all-am am--refresh check check-TESTS check-am clean \
    915948        clean-generic clean-libLTLIBRARIES clean-libtool ctags \
    916         ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-lzma \
    917         dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
    918         distclean-compile distclean-generic distclean-hdr \
     949        ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-lzip \
     950        dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
     951        distclean distclean-compile distclean-generic distclean-hdr \
    919952        distclean-libtool distclean-tags distcleancheck distdir \
    920953        distuninstallcheck dvi dvi-am html html-am info info-am \
    921954        install install-am install-data install-data-am install-dvi \
  • src/NEWS

    diff -r a163aab4fe2e src/NEWS
    a b  
     11.1.6 beta2: Let lrcalc build a shared library on Cygwin
     2
    131.1.6 beta1:
    24
    35        Fixed segmentation fault on Open Solaris (name conflict with hash_insert)
  • src/aclocal.m4

    diff -r a163aab4fe2e src/aclocal.m4
    a b  
    1 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
     1# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
    22
    33# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
    4 # 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
     4# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
     5# Inc.
    56# This file is free software; the Free Software Foundation
    67# gives unlimited permission to copy and/or distribute it,
    78# with or without modifications, as long as this notice is preserved.
     
    1920If you have problems, you may need to regenerate the build system entirely.
    2021To do so, use the procedure documented by the package, typically `autoreconf'.])])
    2122
    22 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
     23# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
     24# Foundation, Inc.
    2325#
    2426# This file is free software; the Free Software Foundation
    2527# gives unlimited permission to copy and/or distribute it,
    2628# with or without modifications, as long as this notice is preserved.
    2729
     30# serial 1
     31
    2832# AM_AUTOMAKE_VERSION(VERSION)
    2933# ----------------------------
    3034# Automake X.Y traces this macro to ensure aclocal.m4 has been
     
    3438[am__api_version='1.11'
    3539dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
    3640dnl require some minimum version.  Point them to the right macro.
    37 m4_if([$1], [1.11.1], [],
     41m4_if([$1], [1.11.3], [],
    3842      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
    3943])
    4044
     
    5054# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
    5155# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
    5256AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
    53 [AM_AUTOMAKE_VERSION([1.11.1])dnl
     57[AM_AUTOMAKE_VERSION([1.11.3])dnl
    5458m4_ifndef([AC_AUTOCONF_VERSION],
    5559  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
    5660_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
    5761
    5862# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
    5963
    60 # Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
     64# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
    6165#
    6266# This file is free software; the Free Software Foundation
    6367# gives unlimited permission to copy and/or distribute it,
    6468# with or without modifications, as long as this notice is preserved.
    6569
     70# serial 1
     71
    6672# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
    6773# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
    6874# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
     
    144150Usually this means the macro was only invoked conditionally.]])
    145151fi])])
    146152
    147 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
    148 # Free Software Foundation, Inc.
     153# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
     154# 2010, 2011 Free Software Foundation, Inc.
    149155#
    150156# This file is free software; the Free Software Foundation
    151157# gives unlimited permission to copy and/or distribute it,
    152158# with or without modifications, as long as this notice is preserved.
    153159
    154 # serial 10
     160# serial 12
    155161
    156162# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
    157163# written in clear, in which case automake, when reading aclocal.m4,
     
    191197  # instance it was reported that on HP-UX the gcc test will end up
    192198  # making a dummy file named `D' -- because `-MD' means `put the output
    193199  # in D'.
     200  rm -rf conftest.dir
    194201  mkdir conftest.dir
    195202  # Copy depcomp to subdir because otherwise we won't find it if we're
    196203  # using a relative directory.
     
    255262        break
    256263      fi
    257264      ;;
    258     msvisualcpp | msvcmsys)
     265    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    259266      # This compiler won't grok `-c -o', but also, the minuso test has
    260267      # not run yet.  These depmodes are late enough in the game, and
    261268      # so weak that their functioning should not be impacted.
     
    320327if test "x$enable_dependency_tracking" != xno; then
    321328  am_depcomp="$ac_aux_dir/depcomp"
    322329  AMDEPBACKSLASH='\'
     330  am__nodep='_no'
    323331fi
    324332AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
    325333AC_SUBST([AMDEPBACKSLASH])dnl
    326334_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
     335AC_SUBST([am__nodep])dnl
     336_AM_SUBST_NOTMAKE([am__nodep])dnl
    327337])
    328338
    329339# Generate code to set up dependency tracking.              -*- Autoconf -*-
     
    545555done
    546556echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
    547557
    548 # Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
     558# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
     559# Inc.
    549560#
    550561# This file is free software; the Free Software Foundation
    551562# gives unlimited permission to copy and/or distribute it,
    552563# with or without modifications, as long as this notice is preserved.
    553564
     565# serial 1
     566
    554567# AM_PROG_INSTALL_SH
    555568# ------------------
    556569# Define $install_sh.
     
    590603# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
    591604# From Jim Meyering
    592605
    593 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
    594 # Free Software Foundation, Inc.
     606# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
     607# 2011 Free Software Foundation, Inc.
    595608#
    596609# This file is free software; the Free Software Foundation
    597610# gives unlimited permission to copy and/or distribute it,
     
    611624       [disable], [m4_define([am_maintainer_other], [enable])],
    612625       [m4_define([am_maintainer_other], [enable])
    613626        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
    614 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
     627AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
    615628  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
    616629  AC_ARG_ENABLE([maintainer-mode],
    617630[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
     
    722735fi
    723736])
    724737
    725 # Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
     738# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
     739# Inc.
    726740#
    727741# This file is free software; the Free Software Foundation
    728742# gives unlimited permission to copy and/or distribute it,
    729743# with or without modifications, as long as this notice is preserved.
    730744
     745# serial 1
     746
    731747# AM_PROG_MKDIR_P
    732748# ---------------
    733749# Check for `mkdir -p'.
     
    750766
    751767# Helper functions for option handling.                     -*- Autoconf -*-
    752768
    753 # Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
     769# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
     770# Foundation, Inc.
    754771#
    755772# This file is free software; the Free Software Foundation
    756773# gives unlimited permission to copy and/or distribute it,
    757774# with or without modifications, as long as this notice is preserved.
    758775
    759 # serial 4
     776# serial 5
    760777
    761778# _AM_MANGLE_OPTION(NAME)
    762779# -----------------------
     
    764781[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
    765782
    766783# _AM_SET_OPTION(NAME)
    767 # ------------------------------
     784# --------------------
    768785# Set option NAME.  Presently that only means defining a flag for this option.
    769786AC_DEFUN([_AM_SET_OPTION],
    770787[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
    771788
    772789# _AM_SET_OPTIONS(OPTIONS)
    773 # ----------------------------------
     790# ------------------------
    774791# OPTIONS is a space-separated list of Automake options.
    775792AC_DEFUN([_AM_SET_OPTIONS],
    776793[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
     
    846863fi
    847864AC_MSG_RESULT(yes)])
    848865
    849 # Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
     866# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
    850867#
    851868# This file is free software; the Free Software Foundation
    852869# gives unlimited permission to copy and/or distribute it,
    853870# with or without modifications, as long as this notice is preserved.
    854871
     872# serial 1
     873
    855874# AM_PROG_INSTALL_STRIP
    856875# ---------------------
    857876# One issue with vendor `install' (even GNU) is that you can't
     
    874893INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
    875894AC_SUBST([INSTALL_STRIP_PROGRAM])])
    876895
    877 # Copyright (C) 2006, 2008  Free Software Foundation, Inc.
     896# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
    878897#
    879898# This file is free software; the Free Software Foundation
    880899# gives unlimited permission to copy and/or distribute it,
    881900# with or without modifications, as long as this notice is preserved.
    882901
    883 # serial 2
     902# serial 3
    884903
    885904# _AM_SUBST_NOTMAKE(VARIABLE)
    886905# ---------------------------
     
    889908AC_DEFUN([_AM_SUBST_NOTMAKE])
    890909
    891910# AM_SUBST_NOTMAKE(VARIABLE)
    892 # ---------------------------
     911# --------------------------
    893912# Public sister of _AM_SUBST_NOTMAKE.
    894913AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
    895914
    896915# Check how to create a tarball.                            -*- Autoconf -*-
    897916
    898 # Copyright (C) 2004, 2005  Free Software Foundation, Inc.
     917# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
    899918#
    900919# This file is free software; the Free Software Foundation
    901920# gives unlimited permission to copy and/or distribute it,
     
    917936# a tarball read from stdin.
    918937#     $(am__untar) < result.tar
    919938AC_DEFUN([_AM_PROG_TAR],
    920 [# Always define AMTAR for backward compatibility.
    921 AM_MISSING_PROG([AMTAR], [tar])
     939[# Always define AMTAR for backward compatibility.  Yes, it's still used
     940# in the wild :-(  We should find a proper way to deprecate it ...
     941AC_SUBST([AMTAR], ['$${TAR-tar}'])
    922942m4_if([$1], [v7],
    923      [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
     943     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
    924944     [m4_case([$1], [ustar],, [pax],,
    925945              [m4_fatal([Unknown tar format])])
    926946AC_MSG_CHECKING([how to create a $1 tar archive])
  • src/config.guess

    diff -r a163aab4fe2e src/config.guess
    a b  
    11#! /bin/sh
    22# Attempt to guess a canonical system name.
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
    5 #   Free Software Foundation, Inc.
     4#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
     5#   2011, 2012 Free Software Foundation, Inc.
    66
    7 timestamp='2009-12-30'
     7timestamp='2012-02-10'
    88
    99# This file is free software; you can redistribute it and/or modify it
    1010# under the terms of the GNU General Public License as published by
     
    1717# General Public License for more details.
    1818#
    1919# You should have received a copy of the GNU General Public License
    20 # along with this program; if not, write to the Free Software
    21 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    22 # 02110-1301, USA.
     20# along with this program; if not, see <http://www.gnu.org/licenses/>.
    2321#
    2422# As a special exception to the GNU General Public License, if you
    2523# distribute this file as part of a program that contains a
     
    5755
    5856Originally written by Per Bothner.
    5957Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
    60 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
    61 Software Foundation, Inc.
     582001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
     59Free Software Foundation, Inc.
    6260
    6361This is free software; see the source for copying conditions.  There is NO
    6462warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
     
    145143case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
    146144    *:NetBSD:*:*)
    147145        # NetBSD (nbsd) targets should (where applicable) match one or
    148         # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
     146        # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
    149147        # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
    150148        # switched to ELF, *-*-netbsd* would select the old
    151149        # object file format.  This provides both forward
     
    181179                fi
    182180                ;;
    183181            *)
    184                 os=netbsd
     182                os=netbsd
    185183                ;;
    186184        esac
    187185        # The OS release
     
    224222                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
    225223                ;;
    226224        *5.*)
    227                 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
     225                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
    228226                ;;
    229227        esac
    230228        # According to Compaq, /usr/sbin/psrinfo has been available on
     
    270268        # A Xn.n version is an unreleased experimental baselevel.
    271269        # 1.2 uses "1.2" for uname -r.
    272270        echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
    273         exit ;;
     271        # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
     272        exitcode=$?
     273        trap '' 0
     274        exit $exitcode ;;
    274275    Alpha\ *:Windows_NT*:*)
    275276        # How do we know it's Interix rather than the generic POSIX subsystem?
    276277        # Should we change UNAME_MACHINE based on the output of uname instead
     
    296297        echo s390-ibm-zvmoe
    297298        exit ;;
    298299    *:OS400:*:*)
    299         echo powerpc-ibm-os400
     300        echo powerpc-ibm-os400
    300301        exit ;;
    301302    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
    302303        echo arm-acorn-riscix${UNAME_RELEASE}
     
    395396    # MiNT.  But MiNT is downward compatible to TOS, so this should
    396397    # be no problem.
    397398    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
    398         echo m68k-atari-mint${UNAME_RELEASE}
     399        echo m68k-atari-mint${UNAME_RELEASE}
    399400        exit ;;
    400401    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
    401402        echo m68k-atari-mint${UNAME_RELEASE}
    402         exit ;;
     403        exit ;;
    403404    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
    404         echo m68k-atari-mint${UNAME_RELEASE}
     405        echo m68k-atari-mint${UNAME_RELEASE}
    405406        exit ;;
    406407    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
    407         echo m68k-milan-mint${UNAME_RELEASE}
    408         exit ;;
     408        echo m68k-milan-mint${UNAME_RELEASE}
     409        exit ;;
    409410    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
    410         echo m68k-hades-mint${UNAME_RELEASE}
    411         exit ;;
     411        echo m68k-hades-mint${UNAME_RELEASE}
     412        exit ;;
    412413    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
    413         echo m68k-unknown-mint${UNAME_RELEASE}
    414         exit ;;
     414        echo m68k-unknown-mint${UNAME_RELEASE}
     415        exit ;;
    415416    m68k:machten:*:*)
    416417        echo m68k-apple-machten${UNAME_RELEASE}
    417418        exit ;;
     
    481482        echo m88k-motorola-sysv3
    482483        exit ;;
    483484    AViiON:dgux:*:*)
    484         # DG/UX returns AViiON for all architectures
    485         UNAME_PROCESSOR=`/usr/bin/uname -p`
     485        # DG/UX returns AViiON for all architectures
     486        UNAME_PROCESSOR=`/usr/bin/uname -p`
    486487        if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
    487488        then
    488489            if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
     
    495496        else
    496497            echo i586-dg-dgux${UNAME_RELEASE}
    497498        fi
    498         exit ;;
     499        exit ;;
    499500    M88*:DolphinOS:*:*) # DolphinOS (SVR3)
    500501        echo m88k-dolphin-sysv3
    501502        exit ;;
     
    552553                echo rs6000-ibm-aix3.2
    553554        fi
    554555        exit ;;
    555     *:AIX:*:[456])
     556    *:AIX:*:[4567])
    556557        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
    557558        if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
    558559                IBM_ARCH=rs6000
     
    595596            9000/[678][0-9][0-9])
    596597                if [ -x /usr/bin/getconf ]; then
    597598                    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
    598                     sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
    599                     case "${sc_cpu_version}" in
    600                       523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
    601                       528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
    602                       532)                      # CPU_PA_RISC2_0
    603                         case "${sc_kernel_bits}" in
    604                           32) HP_ARCH="hppa2.0n" ;;
    605                           64) HP_ARCH="hppa2.0w" ;;
     599                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
     600                    case "${sc_cpu_version}" in
     601                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
     602                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
     603                      532)                      # CPU_PA_RISC2_0
     604                        case "${sc_kernel_bits}" in
     605                          32) HP_ARCH="hppa2.0n" ;;
     606                          64) HP_ARCH="hppa2.0w" ;;
    606607                          '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
    607                         esac ;;
    608                     esac
     608                        esac ;;
     609                    esac
    609610                fi
    610611                if [ "${HP_ARCH}" = "" ]; then
    611612                    eval $set_cc_for_build
    612                     sed 's/^              //' << EOF >$dummy.c
     613                    sed 's/^            //' << EOF >$dummy.c
    613614
    614               #define _HPUX_SOURCE
    615               #include <stdlib.h>
    616               #include <unistd.h>
     615                #define _HPUX_SOURCE
     616                #include <stdlib.h>
     617                #include <unistd.h>
    617618
    618               int main ()
    619               {
    620               #if defined(_SC_KERNEL_BITS)
    621                   long bits = sysconf(_SC_KERNEL_BITS);
    622               #endif
    623                   long cpu  = sysconf (_SC_CPU_VERSION);
     619                int main ()
     620                {
     621                #if defined(_SC_KERNEL_BITS)
     622                    long bits = sysconf(_SC_KERNEL_BITS);
     623                #endif
     624                    long cpu  = sysconf (_SC_CPU_VERSION);
    624625
    625                   switch (cpu)
    626                 {
    627                 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
    628                 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
    629                 case CPU_PA_RISC2_0:
    630               #if defined(_SC_KERNEL_BITS)
    631                     switch (bits)
    632                         {
    633                         case 64: puts ("hppa2.0w"); break;
    634                         case 32: puts ("hppa2.0n"); break;
    635                         default: puts ("hppa2.0"); break;
    636                         } break;
    637               #else  /* !defined(_SC_KERNEL_BITS) */
    638                     puts ("hppa2.0"); break;
    639               #endif
    640                 default: puts ("hppa1.0"); break;
    641                 }
    642                   exit (0);
    643               }
     626                    switch (cpu)
     627                        {
     628                        case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
     629                        case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
     630                        case CPU_PA_RISC2_0:
     631                #if defined(_SC_KERNEL_BITS)
     632                            switch (bits)
     633                                {
     634                                case 64: puts ("hppa2.0w"); break;
     635                                case 32: puts ("hppa2.0n"); break;
     636                                default: puts ("hppa2.0"); break;
     637                                } break;
     638                #else  /* !defined(_SC_KERNEL_BITS) */
     639                            puts ("hppa2.0"); break;
     640                #endif
     641                        default: puts ("hppa1.0"); break;
     642                        }
     643                    exit (0);
     644                }
    644645EOF
    645646                    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
    646647                    test -z "$HP_ARCH" && HP_ARCH=hppa
     
    731732        exit ;;
    732733    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
    733734        echo c1-convex-bsd
    734         exit ;;
     735        exit ;;
    735736    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
    736737        if getsysinfo -f scalar_acc
    737738        then echo c32-convex-bsd
    738739        else echo c2-convex-bsd
    739740        fi
    740         exit ;;
     741        exit ;;
    741742    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
    742743        echo c34-convex-bsd
    743         exit ;;
     744        exit ;;
    744745    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
    745746        echo c38-convex-bsd
    746         exit ;;
     747        exit ;;
    747748    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
    748749        echo c4-convex-bsd
    749         exit ;;
     750        exit ;;
    750751    CRAY*Y-MP:*:*:*)
    751752        echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
    752753        exit ;;
     
    770771        exit ;;
    771772    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
    772773        FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
    773         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
    774         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
    775         echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
    776         exit ;;
     774        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
     775        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
     776        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
     777        exit ;;
    777778    5000:UNIX_System_V:4.*:*)
    778         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
    779         FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
    780         echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
     779        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
     780        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
     781        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
    781782        exit ;;
    782783    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
    783784        echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
     
    789790        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
    790791        exit ;;
    791792    *:FreeBSD:*:*)
    792         case ${UNAME_MACHINE} in
    793             pc98)
    794                 echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
     793        UNAME_PROCESSOR=`/usr/bin/uname -p`
     794        case ${UNAME_PROCESSOR} in
    795795            amd64)
    796796                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    797797            *)
    798                 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
     798                echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    799799        esac
    800800        exit ;;
    801801    i*:CYGWIN*:*)
     
    804804    *:MINGW*:*)
    805805        echo ${UNAME_MACHINE}-pc-mingw32
    806806        exit ;;
     807    i*:MSYS*:*)
     808        echo ${UNAME_MACHINE}-pc-msys
     809        exit ;;
    807810    i*:windows32*:*)
    808         # uname -m includes "-pc" on this system.
    809         echo ${UNAME_MACHINE}-mingw32
     811        # uname -m includes "-pc" on this system.
     812        echo ${UNAME_MACHINE}-mingw32
    810813        exit ;;
    811814    i*:PW*:*)
    812815        echo ${UNAME_MACHINE}-pc-pw32
    813816        exit ;;
    814817    *:Interix*:*)
    815         case ${UNAME_MACHINE} in
     818        case ${UNAME_MACHINE} in
    816819            x86)
    817820                echo i586-pc-interix${UNAME_RELEASE}
    818821                exit ;;
     
    858861    i*86:Minix:*:*)
    859862        echo ${UNAME_MACHINE}-pc-minix
    860863        exit ;;
     864    aarch64:Linux:*:*)
     865        echo ${UNAME_MACHINE}-unknown-linux-gnu
     866        exit ;;
     867    aarch64_be:Linux:*:*)
     868        UNAME_MACHINE=aarch64_be
     869        echo ${UNAME_MACHINE}-unknown-linux-gnu
     870        exit ;;
    861871    alpha:Linux:*:*)
    862872        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
    863873          EV5)   UNAME_MACHINE=alphaev5 ;;
     
    867877          EV6)   UNAME_MACHINE=alphaev6 ;;
    868878          EV67)  UNAME_MACHINE=alphaev67 ;;
    869879          EV68*) UNAME_MACHINE=alphaev68 ;;
    870         esac
     880        esac
    871881        objdump --private-headers /bin/sh | grep -q ld.so.1
    872882        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
    873883        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
     
    879889        then
    880890            echo ${UNAME_MACHINE}-unknown-linux-gnu
    881891        else
    882             echo ${UNAME_MACHINE}-unknown-linux-gnueabi
     892            if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
     893                | grep -q __ARM_PCS_VFP
     894            then
     895                echo ${UNAME_MACHINE}-unknown-linux-gnueabi
     896            else
     897                echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
     898            fi
    883899        fi
    884900        exit ;;
    885901    avr32*:Linux:*:*)
    886902        echo ${UNAME_MACHINE}-unknown-linux-gnu
    887903        exit ;;
    888904    cris:Linux:*:*)
    889         echo cris-axis-linux-gnu
     905        echo ${UNAME_MACHINE}-axis-linux-gnu
    890906        exit ;;
    891907    crisv32:Linux:*:*)
    892         echo crisv32-axis-linux-gnu
     908        echo ${UNAME_MACHINE}-axis-linux-gnu
    893909        exit ;;
    894910    frv:Linux:*:*)
    895         echo frv-unknown-linux-gnu
     911        echo ${UNAME_MACHINE}-unknown-linux-gnu
     912        exit ;;
     913    hexagon:Linux:*:*)
     914        echo ${UNAME_MACHINE}-unknown-linux-gnu
    896915        exit ;;
    897916    i*86:Linux:*:*)
    898917        LIBC=gnu
     
    934953        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
    935954        ;;
    936955    or32:Linux:*:*)
    937         echo or32-unknown-linux-gnu
     956        echo ${UNAME_MACHINE}-unknown-linux-gnu
    938957        exit ;;
    939958    padre:Linux:*:*)
    940959        echo sparc-unknown-linux-gnu
     
    960979        echo ${UNAME_MACHINE}-ibm-linux
    961980        exit ;;
    962981    sh64*:Linux:*:*)
    963         echo ${UNAME_MACHINE}-unknown-linux-gnu
     982        echo ${UNAME_MACHINE}-unknown-linux-gnu
    964983        exit ;;
    965984    sh*:Linux:*:*)
    966985        echo ${UNAME_MACHINE}-unknown-linux-gnu
     
    968987    sparc:Linux:*:* | sparc64:Linux:*:*)
    969988        echo ${UNAME_MACHINE}-unknown-linux-gnu
    970989        exit ;;
     990    tile*:Linux:*:*)
     991        echo ${UNAME_MACHINE}-unknown-linux-gnu
     992        exit ;;
    971993    vax:Linux:*:*)
    972994        echo ${UNAME_MACHINE}-dec-linux-gnu
    973995        exit ;;
    974996    x86_64:Linux:*:*)
    975         echo x86_64-unknown-linux-gnu
     997        echo ${UNAME_MACHINE}-unknown-linux-gnu
    976998        exit ;;
    977999    xtensa*:Linux:*:*)
    978         echo ${UNAME_MACHINE}-unknown-linux-gnu
     1000        echo ${UNAME_MACHINE}-unknown-linux-gnu
    9791001        exit ;;
    9801002    i*86:DYNIX/ptx:4*:*)
    9811003        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
     
    9841006        echo i386-sequent-sysv4
    9851007        exit ;;
    9861008    i*86:UNIX_SV:4.2MP:2.*)
    987         # Unixware is an offshoot of SVR4, but it has its own version
    988         # number series starting with 2...
    989         # I am not positive that other SVR4 systems won't match this,
     1009        # Unixware is an offshoot of SVR4, but it has its own version
     1010        # number series starting with 2...
     1011        # I am not positive that other SVR4 systems won't match this,
    9901012        # I just have to hope.  -- rms.
    991         # Use sysv4.2uw... so that sysv4* matches it.
     1013        # Use sysv4.2uw... so that sysv4* matches it.
    9921014        echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
    9931015        exit ;;
    9941016    i*86:OS/2:*:*)
     
    10201042        fi
    10211043        exit ;;
    10221044    i*86:*:5:[678]*)
    1023         # UnixWare 7.x, OpenUNIX and OpenServer 6.
     1045        # UnixWare 7.x, OpenUNIX and OpenServer 6.
    10241046        case `/bin/uname -X | grep "^Machine"` in
    10251047            *486*)           UNAME_MACHINE=i486 ;;
    10261048            *Pentium)        UNAME_MACHINE=i586 ;;
     
    10481070        exit ;;
    10491071    pc:*:*:*)
    10501072        # Left here for compatibility:
    1051         # uname -m prints for DJGPP always 'pc', but it prints nothing about
    1052         # the processor, so we play safe by assuming i586.
     1073        # uname -m prints for DJGPP always 'pc', but it prints nothing about
     1074        # the processor, so we play safe by assuming i586.
    10531075        # Note: whatever this is, it MUST be the same as what config.sub
    10541076        # prints for the "djgpp" host, or else GDB configury will decide that
    10551077        # this is a cross-build.
    10561078        echo i586-pc-msdosdjgpp
    1057         exit ;;
     1079        exit ;;
    10581080    Intel:Mach:3*:*)
    10591081        echo i386-pc-mach3
    10601082        exit ;;
     
    10891111        /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
    10901112          && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
    10911113    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
    1092         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
    1093           && { echo i486-ncr-sysv4; exit; } ;;
     1114        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
     1115          && { echo i486-ncr-sysv4; exit; } ;;
    10941116    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
    10951117        OS_REL='.3'
    10961118        test -r /etc/.relid \
     
    11331155                echo ns32k-sni-sysv
    11341156        fi
    11351157        exit ;;
    1136     PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
    1137                       # says <Richard.M.Bartel@ccMail.Census.GOV>
    1138         echo i586-unisys-sysv4
    1139         exit ;;
     1158    PENTIUM:*:4.0*:*)   # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
     1159                        # says <Richard.M.Bartel@ccMail.Census.GOV>
     1160        echo i586-unisys-sysv4
     1161        exit ;;
    11401162    *:UNIX_System_V:4*:FTX*)
    11411163        # From Gerald Hewes <hewes@openmarket.com>.
    11421164        # How about differentiating between stratus architectures? -djm
     
    11621184        exit ;;
    11631185    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
    11641186        if [ -d /usr/nec ]; then
    1165                 echo mips-nec-sysv${UNAME_RELEASE}
     1187                echo mips-nec-sysv${UNAME_RELEASE}
    11661188        else
    1167                 echo mips-unknown-sysv${UNAME_RELEASE}
     1189                echo mips-unknown-sysv${UNAME_RELEASE}
    11681190        fi
    1169         exit ;;
     1191        exit ;;
    11701192    BeBox:BeOS:*:*)     # BeOS running on hardware made by Be, PPC only.
    11711193        echo powerpc-be-beos
    11721194        exit ;;
     
    12311253    *:QNX:*:4*)
    12321254        echo i386-pc-qnx
    12331255        exit ;;
     1256    NEO-?:NONSTOP_KERNEL:*:*)
     1257        echo neo-tandem-nsk${UNAME_RELEASE}
     1258        exit ;;
    12341259    NSE-?:NONSTOP_KERNEL:*:*)
    12351260        echo nse-tandem-nsk${UNAME_RELEASE}
    12361261        exit ;;
     
    12761301        echo pdp10-unknown-its
    12771302        exit ;;
    12781303    SEI:*:*:SEIUX)
    1279         echo mips-sei-seiux${UNAME_RELEASE}
     1304        echo mips-sei-seiux${UNAME_RELEASE}
    12801305        exit ;;
    12811306    *:DragonFly:*:*)
    12821307        echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
    12831308        exit ;;
    12841309    *:*VMS:*:*)
    1285         UNAME_MACHINE=`(uname -p) 2>/dev/null`
     1310        UNAME_MACHINE=`(uname -p) 2>/dev/null`
    12861311        case "${UNAME_MACHINE}" in
    12871312            A*) echo alpha-dec-vms ; exit ;;
    12881313            I*) echo ia64-dec-vms ; exit ;;
     
    13001325    i*86:AROS:*:*)
    13011326        echo ${UNAME_MACHINE}-pc-aros
    13021327        exit ;;
     1328    x86_64:VMkernel:*:*)
     1329        echo ${UNAME_MACHINE}-unknown-esx
     1330        exit ;;
    13031331esac
    13041332
    13051333#echo '(No uname command or uname output not recognized.)' 1>&2
     
    13221350#include <sys/param.h>
    13231351  printf ("m68k-sony-newsos%s\n",
    13241352#ifdef NEWSOS4
    1325           "4"
     1353        "4"
    13261354#else
    1327           ""
     1355        ""
    13281356#endif
    1329          ); exit (0);
     1357        ); exit (0);
    13301358#endif
    13311359#endif
    13321360
  • src/config.sub

    diff -r a163aab4fe2e src/config.sub
    a b  
    11#! /bin/sh
    22# Configuration validation subroutine script.
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
    5 #   Free Software Foundation, Inc.
     4#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
     5#   2011, 2012 Free Software Foundation, Inc.
    66
    7 timestamp='2010-01-22'
     7timestamp='2012-02-10'
    88
    99# This file is (in principle) common to ALL GNU software.
    1010# The presence of a machine in this file suggests that SOME GNU software
     
    2121# GNU General Public License for more details.
    2222#
    2323# You should have received a copy of the GNU General Public License
    24 # along with this program; if not, write to the Free Software
    25 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    26 # 02110-1301, USA.
     24# along with this program; if not, see <http://www.gnu.org/licenses/>.
    2725#
    2826# As a special exception to the GNU General Public License, if you
    2927# distribute this file as part of a program that contains a
     
    7674GNU config.sub ($timestamp)
    7775
    7876Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
    79 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
    80 Software Foundation, Inc.
     772001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
     78Free Software Foundation, Inc.
    8179
    8280This is free software; see the source for copying conditions.  There is NO
    8381warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
     
    124122# Here we must recognize all the valid KERNEL-OS combinations.
    125123maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
    126124case $maybe_os in
    127   nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
    128   uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
     125  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
     126  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
     127  knetbsd*-gnu* | netbsd*-gnu* | \
    129128  kopensolaris*-gnu* | \
    130129  storm-chaos* | os2-emx* | rtmk-nova*)
    131130    os=-$maybe_os
    132131    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
    133132    ;;
     133  android-linux)
     134    os=-linux-android
     135    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
     136    ;;
    134137  *)
    135138    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
    136139    if [ $basic_machine != $1 ]
     
    157160                os=
    158161                basic_machine=$1
    159162                ;;
    160         -bluegene*)
    161                 os=-cnk
     163        -bluegene*)
     164                os=-cnk
    162165                ;;
    163166        -sim | -cisco | -oki | -wec | -winbond)
    164167                os=
     
    174177                os=-chorusos
    175178                basic_machine=$1
    176179                ;;
    177         -chorusrdb)
    178                 os=-chorusrdb
     180        -chorusrdb)
     181                os=-chorusrdb
    179182                basic_machine=$1
    180                 ;;
     183                ;;
    181184        -hiux*)
    182185                os=-hiuxwe2
    183186                ;;
     
    246249        # Some are omitted here because they have special meanings below.
    247250        1750a | 580 \
    248251        | a29k \
     252        | aarch64 | aarch64_be \
    249253        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
    250254        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
    251255        | am33_2.0 \
    252256        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
     257        | be32 | be64 \
    253258        | bfin \
    254259        | c4x | clipper \
    255260        | d10v | d30v | dlx | dsp16xx \
     261        | epiphany \
    256262        | fido | fr30 | frv \
    257263        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
     264        | hexagon \
    258265        | i370 | i860 | i960 | ia64 \
    259266        | ip2k | iq2000 \
     267        | le32 | le64 \
    260268        | lm32 \
    261269        | m32c | m32r | m32rle | m68000 | m68k | m88k \
    262270        | maxq | mb | microblaze | mcore | mep | metag \
     
    282290        | moxie \
    283291        | mt \
    284292        | msp430 \
     293        | nds32 | nds32le | nds32be \
    285294        | nios | nios2 \
    286295        | ns16k | ns32k \
     296        | open8 \
    287297        | or32 \
    288298        | pdp10 | pdp11 | pj | pjl \
    289         | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
     299        | powerpc | powerpc64 | powerpc64le | powerpcle \
    290300        | pyramid \
    291         | rx \
     301        | rl78 | rx \
    292302        | score \
    293303        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
    294304        | sh64 | sh64le \
    295305        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
    296306        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
    297         | spu | strongarm \
    298         | tahoe | thumb | tic4x | tic80 | tron \
     307        | spu \
     308        | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
    299309        | ubicom32 \
    300         | v850 | v850e \
     310        | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
    301311        | we32k \
    302         | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
     312        | x86 | xc16x | xstormy16 | xtensa \
    303313        | z8k | z80)
    304314                basic_machine=$basic_machine-unknown
    305315                ;;
    306         m6811 | m68hc11 | m6812 | m68hc12 | picochip)
    307                 # Motorola 68HC11/12.
     316        c54x)
     317                basic_machine=tic54x-unknown
     318                ;;
     319        c55x)
     320                basic_machine=tic55x-unknown
     321                ;;
     322        c6x)
     323                basic_machine=tic6x-unknown
     324                ;;
     325        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
    308326                basic_machine=$basic_machine-unknown
    309327                os=-none
    310328                ;;
     
    314332                basic_machine=mt-unknown
    315333                ;;
    316334
     335        strongarm | thumb | xscale)
     336                basic_machine=arm-unknown
     337                ;;
     338        xgate)
     339                basic_machine=$basic_machine-unknown
     340                os=-none
     341                ;;
     342        xscaleeb)
     343                basic_machine=armeb-unknown
     344                ;;
     345
     346        xscaleel)
     347                basic_machine=armel-unknown
     348                ;;
     349
    317350        # We use `pc' rather than `unknown'
    318351        # because (1) that's what they normally are, and
    319352        # (2) the word "unknown" tends to confuse beginning users.
     
    328361        # Recognize the basic CPU types with company name.
    329362        580-* \
    330363        | a29k-* \
     364        | aarch64-* | aarch64_be-* \
    331365        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
    332366        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
    333367        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
    334368        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
    335369        | avr-* | avr32-* \
     370        | be32-* | be64-* \
    336371        | bfin-* | bs2000-* \
    337         | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
     372        | c[123]* | c30-* | [cjt]90-* | c4x-* \
    338373        | clipper-* | craynv-* | cydra-* \
    339374        | d10v-* | d30v-* | dlx-* \
    340375        | elxsi-* \
    341376        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
    342377        | h8300-* | h8500-* \
    343378        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
     379        | hexagon-* \
    344380        | i*86-* | i860-* | i960-* | ia64-* \
    345381        | ip2k-* | iq2000-* \
     382        | le32-* | le64-* \
    346383        | lm32-* \
    347384        | m32c-* | m32r-* | m32rle-* \
    348385        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
     
    368405        | mmix-* \
    369406        | mt-* \
    370407        | msp430-* \
     408        | nds32-* | nds32le-* | nds32be-* \
    371409        | nios-* | nios2-* \
    372410        | none-* | np1-* | ns16k-* | ns32k-* \
     411        | open8-* \
    373412        | orion-* \
    374413        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
    375         | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
     414        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
    376415        | pyramid-* \
    377         | romp-* | rs6000-* | rx-* \
     416        | rl78-* | romp-* | rs6000-* | rx-* \
    378417        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
    379418        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
    380419        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
    381420        | sparclite-* \
    382         | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
    383         | tahoe-* | thumb-* \
     421        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
     422        | tahoe-* \
    384423        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
    385         | tile-* | tilegx-* \
     424        | tile*-* \
    386425        | tron-* \
    387426        | ubicom32-* \
    388         | v850-* | v850e-* | vax-* \
     427        | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
     428        | vax-* \
    389429        | we32k-* \
    390         | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
     430        | x86-* | x86_64-* | xc16x-* | xps100-* \
    391431        | xstormy16-* | xtensa*-* \
    392432        | ymp-* \
    393433        | z8k-* | z80-*)
     
    412452                basic_machine=a29k-amd
    413453                os=-udi
    414454                ;;
    415         abacus)
     455        abacus)
    416456                basic_machine=abacus-unknown
    417457                ;;
    418458        adobe68k)
     
    482522                basic_machine=powerpc-ibm
    483523                os=-cnk
    484524                ;;
     525        c54x-*)
     526                basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
     527                ;;
     528        c55x-*)
     529                basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
     530                ;;
     531        c6x-*)
     532                basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
     533                ;;
    485534        c90)
    486535                basic_machine=c90-cray
    487536                os=-unicos
    488537                ;;
    489         cegcc)
     538        cegcc)
    490539                basic_machine=arm-unknown
    491540                os=-cegcc
    492541                ;;
     
    518567                basic_machine=craynv-cray
    519568                os=-unicosmp
    520569                ;;
    521         cr16)
     570        cr16 | cr16-*)
    522571                basic_machine=cr16-unknown
    523572                os=-elf
    524573                ;;
     
    676725        i370-ibm* | ibm*)
    677726                basic_machine=i370-ibm
    678727                ;;
    679 # I'm not sure what "Sysv32" means.  Should this be sysv3.2?
    680728        i*86v32)
    681729                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
    682730                os=-sysv32
     
    734782                basic_machine=ns32k-utek
    735783                os=-sysv
    736784                ;;
    737         microblaze)
     785        microblaze)
    738786                basic_machine=microblaze-xilinx
    739787                ;;
    740788        mingw32)
     
    773821        ms1-*)
    774822                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
    775823                ;;
     824        msys)
     825                basic_machine=i386-pc
     826                os=-msys
     827                ;;
    776828        mvs)
    777829                basic_machine=i370-ibm
    778830                os=-mvs
    779831                ;;
     832        nacl)
     833                basic_machine=le32-unknown
     834                os=-nacl
     835                ;;
    780836        ncr3000)
    781837                basic_machine=i486-ncr
    782838                os=-sysv4
     
    841897        np1)
    842898                basic_machine=np1-gould
    843899                ;;
     900        neo-tandem)
     901                basic_machine=neo-tandem
     902                ;;
     903        nse-tandem)
     904                basic_machine=nse-tandem
     905                ;;
    844906        nsr-tandem)
    845907                basic_machine=nsr-tandem
    846908                ;;
     
    923985                ;;
    924986        power)  basic_machine=power-ibm
    925987                ;;
    926         ppc)    basic_machine=powerpc-unknown
     988        ppc | ppcbe)    basic_machine=powerpc-unknown
    927989                ;;
    928         ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
     990        ppc-* | ppcbe-*)
     991                basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
    929992                ;;
    930993        ppcle | powerpclittle | ppc-le | powerpc-little)
    931994                basic_machine=powerpcle-unknown
     
    10191082                basic_machine=i860-stratus
    10201083                os=-sysv4
    10211084                ;;
     1085        strongarm-* | thumb-*)
     1086                basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
     1087                ;;
    10221088        sun2)
    10231089                basic_machine=m68000-sun
    10241090                ;;
     
    10751141                basic_machine=t90-cray
    10761142                os=-unicos
    10771143                ;;
    1078         tic54x | c54x*)
    1079                 basic_machine=tic54x-unknown
    1080                 os=-coff
    1081                 ;;
    1082         tic55x | c55x*)
    1083                 basic_machine=tic55x-unknown
    1084                 os=-coff
    1085                 ;;
    1086         tic6x | c6x*)
    1087                 basic_machine=tic6x-unknown
    1088                 os=-coff
    1089                 ;;
    1090         # This must be matched before tile*.
    1091         tilegx*)
    1092                 basic_machine=tilegx-unknown
    1093                 os=-linux-gnu
    1094                 ;;
    10951144        tile*)
    1096                 basic_machine=tile-unknown
     1145                basic_machine=$basic_machine-unknown
    10971146                os=-linux-gnu
    10981147                ;;
    10991148        tx39)
     
    11631212        xps | xps100)
    11641213                basic_machine=xps100-honeywell
    11651214                ;;
     1215        xscale-* | xscalee[bl]-*)
     1216                basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
     1217                ;;
    11661218        ymp)
    11671219                basic_machine=ymp-cray
    11681220                os=-unicos
     
    12601312if [ x"$os" != x"" ]
    12611313then
    12621314case $os in
    1263         # First match some system type aliases
    1264         # that might get confused with valid system types.
     1315        # First match some system type aliases
     1316        # that might get confused with valid system types.
    12651317        # -solaris* is a basic system type, with this one exception.
    1266         -auroraux)
    1267                 os=-auroraux
     1318        -auroraux)
     1319                os=-auroraux
    12681320                ;;
    12691321        -solaris1 | -solaris1.*)
    12701322                os=`echo $os | sed -e 's|solaris1|sunos4|'`
     
    13001352              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
    13011353              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
    13021354              | -chorusos* | -chorusrdb* | -cegcc* \
    1303               | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
    1304               | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
     1355              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
     1356              | -mingw32* | -linux-gnu* | -linux-android* \
     1357              | -linux-newlib* | -linux-uclibc* \
    13051358              | -uxpv* | -beos* | -mpeix* | -udk* \
    13061359              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
    13071360              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
     
    13481401        -opened*)
    13491402                os=-openedition
    13501403                ;;
    1351         -os400*)
     1404        -os400*)
    13521405                os=-os400
    13531406                ;;
    13541407        -wince*)
     
    13971450        -sinix*)
    13981451                os=-sysv4
    13991452                ;;
    1400         -tpf*)
     1453        -tpf*)
    14011454                os=-tpf
    14021455                ;;
    14031456        -triton*)
     
    14421495        -dicos*)
    14431496                os=-dicos
    14441497                ;;
    1445         -nacl*)
    1446                 ;;
     1498        -nacl*)
     1499                ;;
    14471500        -none)
    14481501                ;;
    14491502        *)
     
    14661519# system, and we'll never get to this point.
    14671520
    14681521case $basic_machine in
    1469         score-*)
     1522        score-*)
    14701523                os=-elf
    14711524                ;;
    1472         spu-*)
     1525        spu-*)
    14731526                os=-elf
    14741527                ;;
    14751528        *-acorn)
     
    14811534        arm*-semi)
    14821535                os=-aout
    14831536                ;;
    1484         c4x-* | tic4x-*)
    1485                 os=-coff
     1537        c4x-* | tic4x-*)
     1538                os=-coff
     1539                ;;
     1540        tic54x-*)
     1541                os=-coff
     1542                ;;
     1543        tic55x-*)
     1544                os=-coff
     1545                ;;
     1546        tic6x-*)
     1547                os=-coff
    14861548                ;;
    14871549        # This must come before the *-dec entry.
    14881550        pdp10-*)
     
    15021564                ;;
    15031565        m68000-sun)
    15041566                os=-sunos3
    1505                 # This also exists in the configure program, but was not the
    1506                 # default.
    1507                 # os=-sunos4
    15081567                ;;
    15091568        m68*-cisco)
    15101569                os=-aout
    15111570                ;;
    1512         mep-*)
     1571        mep-*)
    15131572                os=-elf
    15141573                ;;
    15151574        mips*-cisco)
     
    15361595        *-ibm)
    15371596                os=-aix
    15381597                ;;
    1539         *-knuth)
     1598        *-knuth)
    15401599                os=-mmixware
    15411600                ;;
    15421601        *-wec)
  • src/configure

    diff -r a163aab4fe2e src/configure
    a b  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.68 for lrcalc 1.1.5b.
     3# Generated by GNU Autoconf 2.68 for lrcalc 1.1.6beta2.
    44#
    5 # Report bugs to <asbuch at math dot rutgers period edu >.
     5# Report bugs to <asbuch at math dot rutgers period edu>.
    66#
    77#
    88# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     
    570570# Identity of this package.
    571571PACKAGE_NAME='lrcalc'
    572572PACKAGE_TARNAME='lrcalc'
    573 PACKAGE_VERSION='1.1.5b'
    574 PACKAGE_STRING='lrcalc 1.1.5b'
    575 PACKAGE_BUGREPORT='asbuch at math dot rutgers period edu '
     573PACKAGE_VERSION='1.1.6beta2'
     574PACKAGE_STRING='lrcalc 1.1.6beta2'
     575PACKAGE_BUGREPORT='asbuch at math dot rutgers period edu'
    576576PACKAGE_URL=''
    577577
    578578ac_unique_file="lrcoef/symfcn.h"
     
    616616am__EXEEXT_TRUE
    617617LTLIBOBJS
    618618LIBOBJS
     619LIBLRCALC_LDFLAGS
    619620CXXCPP
    620621OTOOL64
    621622OTOOL
     
    626627RANLIB
    627628ac_ct_AR
    628629AR
    629 DLLTOOL
    630 OBJDUMP
    631630NM
    632631ac_ct_DUMPBIN
    633632DUMPBIN
     
    645644build_cpu
    646645build
    647646LIBTOOL
     647OBJDUMP
     648DLLTOOL
     649AS
    648650LN_S
    649651CPP
    650652am__fastdepCC_FALSE
     
    656658am__fastdepCXX_FALSE
    657659am__fastdepCXX_TRUE
    658660CXXDEPMODE
     661am__nodep
    659662AMDEPBACKSLASH
    660663AMDEP_FALSE
    661664AMDEP_TRUE
     
    13011304  # Omit some internal or obsolete options to make the list less imposing.
    13021305  # This message is too long to be a string in the A/UX 3.1 sh.
    13031306  cat <<_ACEOF
    1304 \`configure' configures lrcalc 1.1.5b to adapt to many kinds of systems.
     1307\`configure' configures lrcalc 1.1.6beta2 to adapt to many kinds of systems.
    13051308
    13061309Usage: $0 [OPTION]... [VAR=VALUE]...
    13071310
     
    13711374
    13721375if test -n "$ac_init_help"; then
    13731376  case $ac_init_help in
    1374      short | recursive ) echo "Configuration of lrcalc 1.1.5b:";;
     1377     short | recursive ) echo "Configuration of lrcalc 1.1.6beta2:";;
    13751378   esac
    13761379  cat <<\_ACEOF
    13771380
     
    13921395Optional Packages:
    13931396  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    13941397  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    1395   --with-pic              try to use only PIC/non-PIC objects [default=use
     1398  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
    13961399                          both]
    13971400  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    13981401  --with-sysroot=DIR Search for dependent libraries within DIR
     
    14141417Use these variables to override the choices made by `configure' or to help
    14151418it to find libraries and programs with nonstandard names/locations.
    14161419
    1417 Report bugs to <asbuch at math dot rutgers period edu >.
     1420Report bugs to <asbuch at math dot rutgers period edu>.
    14181421_ACEOF
    14191422ac_status=$?
    14201423fi
     
    14771480test -n "$ac_init_help" && exit $ac_status
    14781481if $ac_init_version; then
    14791482  cat <<\_ACEOF
    1480 lrcalc configure 1.1.5b
     1483lrcalc configure 1.1.6beta2
    14811484generated by GNU Autoconf 2.68
    14821485
    14831486Copyright (C) 2010 Free Software Foundation, Inc.
     
    19431946$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    19441947    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    19451948$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1946 ( $as_echo "## ----------------------------------------------------- ##
    1947 ## Report this to asbuch at math dot rutgers period edu  ##
    1948 ## ----------------------------------------------------- ##"
     1949( $as_echo "## ---------------------------------------------------- ##
     1950## Report this to asbuch at math dot rutgers period edu ##
     1951## ---------------------------------------------------- ##"
    19491952     ) | sed "s/^/$as_me: WARNING:     /" >&2
    19501953    ;;
    19511954esac
     
    20212024This file contains any messages produced by compilers while
    20222025running configure, to aid debugging if configure makes a mistake.
    20232026
    2024 It was created by lrcalc $as_me 1.1.5b, which was
     2027It was created by lrcalc $as_me 1.1.6beta2, which was
    20252028generated by GNU Autoconf 2.68.  Invocation command line was
    20262029
    20272030  $ $0 $@
     
    28412844
    28422845# Define the identity of the package.
    28432846 PACKAGE='lrcalc'
    2844  VERSION='1.1.5b'
     2847 VERSION='1.1.6beta2'
    28452848
    28462849
    28472850cat >>confdefs.h <<_ACEOF
     
    28712874
    28722875# We need awk for the "check" target.  The system "awk" is bad on
    28732876# some platforms.
    2874 # Always define AMTAR for backward compatibility.
    2875 
    2876 AMTAR=${AMTAR-"${am_missing_run}tar"}
    2877 
    2878 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
     2877# Always define AMTAR for backward compatibility.  Yes, it's still used
     2878# in the wild :-(  We should find a proper way to deprecate it ...
     2879AMTAR='$${TAR-tar}'
     2880
     2881am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
    28792882
    28802883
    28812884
     
    34643467if test "x$enable_dependency_tracking" != xno; then
    34653468  am_depcomp="$ac_aux_dir/depcomp"
    34663469  AMDEPBACKSLASH='\'
     3470  am__nodep='_no'
    34673471fi
    34683472 if test "x$enable_dependency_tracking" != xno; then
    34693473  AMDEP_TRUE=
     
    34883492  # instance it was reported that on HP-UX the gcc test will end up
    34893493  # making a dummy file named `D' -- because `-MD' means `put the output
    34903494  # in D'.
     3495  rm -rf conftest.dir
    34913496  mkdir conftest.dir
    34923497  # Copy depcomp to subdir because otherwise we won't find it if we're
    34933498  # using a relative directory.
     
    35473552        break
    35483553      fi
    35493554      ;;
    3550     msvisualcpp | msvcmsys)
     3555    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    35513556      # This compiler won't grok `-c -o', but also, the minuso test has
    35523557      # not run yet.  These depmodes are late enough in the game, and
    35533558      # so weak that their functioning should not be impacted.
     
    41974202  # instance it was reported that on HP-UX the gcc test will end up
    41984203  # making a dummy file named `D' -- because `-MD' means `put the output
    41994204  # in D'.
     4205  rm -rf conftest.dir
    42004206  mkdir conftest.dir
    42014207  # Copy depcomp to subdir because otherwise we won't find it if we're
    42024208  # using a relative directory.
     
    42564262        break
    42574263      fi
    42584264      ;;
    4259     msvisualcpp | msvcmsys)
     4265    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    42604266      # This compiler won't grok `-c -o', but also, the minuso test has
    42614267      # not run yet.  These depmodes are late enough in the game, and
    42624268      # so weak that their functioning should not be impacted.
     
    45004506
    45014507
    45024508
    4503 macro_version='2.4'
    4504 macro_revision='1.3293'
     4509macro_version='2.4.2'
     4510macro_revision='1.3337'
    45054511
    45064512
    45074513
     
    53355341    lt_cv_sys_max_cmd_len=196608
    53365342    ;;
    53375343
     5344  os2*)
     5345    # The test takes a long time on OS/2.
     5346    lt_cv_sys_max_cmd_len=8192
     5347    ;;
     5348
    53385349  osf*)
    53395350    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
    53405351    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
     
    53745385      # If test is not a shell built-in, we'll probably end up computing a
    53755386      # maximum length that is only half of the actual maximum length, but
    53765387      # we can't tell.
    5377       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
     5388      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
    53785389                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
    53795390              test $i != 17 # 1/2 MB should be enough
    53805391      do
     
    56785689
    56795690
    56805691
    5681 
    5682 
    5683 
    56845692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
    56855693$as_echo_n "checking how to recognize dependent libraries... " >&6; }
    56865694if ${lt_cv_deplibs_check_method+:} false; then :
     
    58035811  lt_cv_deplibs_check_method=pass_all
    58045812  ;;
    58055813
    5806 # This must be Linux ELF.
     5814# This must be glibc/ELF.
    58075815linux* | k*bsd*-gnu | kopensolaris*-gnu)
    58085816  lt_cv_deplibs_check_method=pass_all
    58095817  ;;
     
    60256033
    60266034
    60276035
    6028 
    6029 
    6030 
    60316036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
    60326037$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
    60336038if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
     
    64446449if test -n "$RANLIB"; then
    64456450  case $host_os in
    64466451  openbsd*)
    6447     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
     6452    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
    64486453    ;;
    64496454  *)
    6450     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
    6451     ;;
    6452   esac
    6453   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
     6455    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
     6456    ;;
     6457  esac
     6458  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
    64546459fi
    64556460
    64566461case $host_os in
     
    65976602    # which start with @ or ?.
    65986603    lt_cv_sys_global_symbol_pipe="$AWK '"\
    65996604"     {last_section=section; section=\$ 3};"\
     6605"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
    66006606"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
    66016607"     \$ 0!~/External *\|/{next};"\
    66026608"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
     
    69856991    CFLAGS="$SAVE_CFLAGS"
    69866992  fi
    69876993  ;;
    6988 sparc*-*solaris*)
     6994*-*solaris*)
    69896995  # Find out which ABI we are using.
    69906996  echo 'int i;' > conftest.$ac_ext
    69916997  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     
    69967002    case `/usr/bin/file conftest.o` in
    69977003    *64-bit*)
    69987004      case $lt_cv_prog_gnu_ld in
    6999       yes*) LD="${LD-ld} -m elf64_sparc" ;;
     7005      yes*)
     7006        case $host in
     7007        i?86-*-solaris*)
     7008          LD="${LD-ld} -m elf_x86_64"
     7009          ;;
     7010        sparc*-*-solaris*)
     7011          LD="${LD-ld} -m elf64_sparc"
     7012          ;;
     7013        esac
     7014        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
     7015        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
     7016          LD="${LD-ld}_sol2"
     7017        fi
     7018        ;;
    70007019      *)
    70017020        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
    70027021          LD="${LD-ld} -64"
     
    76367655        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
    76377656          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
    76387657        _lt_result=$?
    7639         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
     7658        # If there is a non-empty error log, and "single_module"
     7659        # appears in it, assume the flag caused a linker warning
     7660        if test -s conftest.err && $GREP single_module conftest.err; then
     7661          cat conftest.err >&5
     7662        # Otherwise, if the output was created with a 0 exit code from
     7663        # the compiler, it worked.
     7664        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
    76407665          lt_cv_apple_cc_single_mod=yes
    76417666        else
    76427667          cat conftest.err >&5
     
    76477672fi
    76487673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
    76497674$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
     7675
    76507676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
    76517677$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
    76527678if ${lt_cv_ld_exported_symbols_list+:} false; then :
     
    76797705fi
    76807706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
    76817707$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
     7708
    76827709    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
    76837710$as_echo_n "checking for -force_load linker flag... " >&6; }
    76847711if ${lt_cv_ld_force_load+:} false; then :
     
    77007727      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
    77017728      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
    77027729      _lt_result=$?
    7703       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
     7730      if test -s conftest.err && $GREP force_load conftest.err; then
     7731        cat conftest.err >&5
     7732      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
    77047733        lt_cv_ld_force_load=yes
    77057734      else
    77067735        cat conftest.err >&5
     
    79057934
    79067935
    79077936# Set options
     7937enable_win32_dll=yes
     7938
     7939case $host in
     7940*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
     7941  if test -n "$ac_tool_prefix"; then
     7942  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
     7943set dummy ${ac_tool_prefix}as; ac_word=$2
     7944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7945$as_echo_n "checking for $ac_word... " >&6; }
     7946if ${ac_cv_prog_AS+:} false; then :
     7947  $as_echo_n "(cached) " >&6
     7948else
     7949  if test -n "$AS"; then
     7950  ac_cv_prog_AS="$AS" # Let the user override the test.
     7951else
     7952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7953for as_dir in $PATH
     7954do
     7955  IFS=$as_save_IFS
     7956  test -z "$as_dir" && as_dir=.
     7957    for ac_exec_ext in '' $ac_executable_extensions; do
     7958  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7959    ac_cv_prog_AS="${ac_tool_prefix}as"
     7960    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7961    break 2
     7962  fi
     7963done
     7964  done
     7965IFS=$as_save_IFS
     7966
     7967fi
     7968fi
     7969AS=$ac_cv_prog_AS
     7970if test -n "$AS"; then
     7971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
     7972$as_echo "$AS" >&6; }
     7973else
     7974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7975$as_echo "no" >&6; }
     7976fi
     7977
     7978
     7979fi
     7980if test -z "$ac_cv_prog_AS"; then
     7981  ac_ct_AS=$AS
     7982  # Extract the first word of "as", so it can be a program name with args.
     7983set dummy as; ac_word=$2
     7984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7985$as_echo_n "checking for $ac_word... " >&6; }
     7986if ${ac_cv_prog_ac_ct_AS+:} false; then :
     7987  $as_echo_n "(cached) " >&6
     7988else
     7989  if test -n "$ac_ct_AS"; then
     7990  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
     7991else
     7992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7993for as_dir in $PATH
     7994do
     7995  IFS=$as_save_IFS
     7996  test -z "$as_dir" && as_dir=.
     7997    for ac_exec_ext in '' $ac_executable_extensions; do
     7998  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7999    ac_cv_prog_ac_ct_AS="as"
     8000    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8001    break 2
     8002  fi
     8003done
     8004  done
     8005IFS=$as_save_IFS
     8006
     8007fi
     8008fi
     8009ac_ct_AS=$ac_cv_prog_ac_ct_AS
     8010if test -n "$ac_ct_AS"; then
     8011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
     8012$as_echo "$ac_ct_AS" >&6; }
     8013else
     8014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8015$as_echo "no" >&6; }
     8016fi
     8017
     8018  if test "x$ac_ct_AS" = x; then
     8019    AS="false"
     8020  else
     8021    case $cross_compiling:$ac_tool_warned in
     8022yes:)
     8023{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8024$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8025ac_tool_warned=yes ;;
     8026esac
     8027    AS=$ac_ct_AS
     8028  fi
     8029else
     8030  AS="$ac_cv_prog_AS"
     8031fi
     8032
     8033  if test -n "$ac_tool_prefix"; then
     8034  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
     8035set dummy ${ac_tool_prefix}dlltool; ac_word=$2
     8036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8037$as_echo_n "checking for $ac_word... " >&6; }
     8038if ${ac_cv_prog_DLLTOOL+:} false; then :
     8039  $as_echo_n "(cached) " >&6
     8040else
     8041  if test -n "$DLLTOOL"; then
     8042  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
     8043else
     8044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8045for as_dir in $PATH
     8046do
     8047  IFS=$as_save_IFS
     8048  test -z "$as_dir" && as_dir=.
     8049    for ac_exec_ext in '' $ac_executable_extensions; do
     8050  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8051    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
     8052    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8053    break 2
     8054  fi
     8055done
     8056  done
     8057IFS=$as_save_IFS
     8058
     8059fi
     8060fi
     8061DLLTOOL=$ac_cv_prog_DLLTOOL
     8062if test -n "$DLLTOOL"; then
     8063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
     8064$as_echo "$DLLTOOL" >&6; }
     8065else
     8066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8067$as_echo "no" >&6; }
     8068fi
     8069
     8070
     8071fi
     8072if test -z "$ac_cv_prog_DLLTOOL"; then
     8073  ac_ct_DLLTOOL=$DLLTOOL
     8074  # Extract the first word of "dlltool", so it can be a program name with args.
     8075set dummy dlltool; ac_word=$2
     8076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8077$as_echo_n "checking for $ac_word... " >&6; }
     8078if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
     8079  $as_echo_n "(cached) " >&6
     8080else
     8081  if test -n "$ac_ct_DLLTOOL"; then
     8082  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
     8083else
     8084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8085for as_dir in $PATH
     8086do
     8087  IFS=$as_save_IFS
     8088  test -z "$as_dir" && as_dir=.
     8089    for ac_exec_ext in '' $ac_executable_extensions; do
     8090  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8091    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
     8092    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8093    break 2
     8094  fi
     8095done
     8096  done
     8097IFS=$as_save_IFS
     8098
     8099fi
     8100fi
     8101ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
     8102if test -n "$ac_ct_DLLTOOL"; then
     8103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
     8104$as_echo "$ac_ct_DLLTOOL" >&6; }
     8105else
     8106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8107$as_echo "no" >&6; }
     8108fi
     8109
     8110  if test "x$ac_ct_DLLTOOL" = x; then
     8111    DLLTOOL="false"
     8112  else
     8113    case $cross_compiling:$ac_tool_warned in
     8114yes:)
     8115{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8116$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8117ac_tool_warned=yes ;;
     8118esac
     8119    DLLTOOL=$ac_ct_DLLTOOL
     8120  fi
     8121else
     8122  DLLTOOL="$ac_cv_prog_DLLTOOL"
     8123fi
     8124
     8125  if test -n "$ac_tool_prefix"; then
     8126  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
     8127set dummy ${ac_tool_prefix}objdump; ac_word=$2
     8128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8129$as_echo_n "checking for $ac_word... " >&6; }
     8130if ${ac_cv_prog_OBJDUMP+:} false; then :
     8131  $as_echo_n "(cached) " >&6
     8132else
     8133  if test -n "$OBJDUMP"; then
     8134  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
     8135else
     8136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8137for as_dir in $PATH
     8138do
     8139  IFS=$as_save_IFS
     8140  test -z "$as_dir" && as_dir=.
     8141    for ac_exec_ext in '' $ac_executable_extensions; do
     8142  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8143    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
     8144    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8145    break 2
     8146  fi
     8147done
     8148  done
     8149IFS=$as_save_IFS
     8150
     8151fi
     8152fi
     8153OBJDUMP=$ac_cv_prog_OBJDUMP
     8154if test -n "$OBJDUMP"; then
     8155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
     8156$as_echo "$OBJDUMP" >&6; }
     8157else
     8158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8159$as_echo "no" >&6; }
     8160fi
     8161
     8162
     8163fi
     8164if test -z "$ac_cv_prog_OBJDUMP"; then
     8165  ac_ct_OBJDUMP=$OBJDUMP
     8166  # Extract the first word of "objdump", so it can be a program name with args.
     8167set dummy objdump; ac_word=$2
     8168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8169$as_echo_n "checking for $ac_word... " >&6; }
     8170if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
     8171  $as_echo_n "(cached) " >&6
     8172else
     8173  if test -n "$ac_ct_OBJDUMP"; then
     8174  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
     8175else
     8176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8177for as_dir in $PATH
     8178do
     8179  IFS=$as_save_IFS
     8180  test -z "$as_dir" && as_dir=.
     8181    for ac_exec_ext in '' $ac_executable_extensions; do
     8182  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8183    ac_cv_prog_ac_ct_OBJDUMP="objdump"
     8184    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8185    break 2
     8186  fi
     8187done
     8188  done
     8189IFS=$as_save_IFS
     8190
     8191fi
     8192fi
     8193ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
     8194if test -n "$ac_ct_OBJDUMP"; then
     8195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
     8196$as_echo "$ac_ct_OBJDUMP" >&6; }
     8197else
     8198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8199$as_echo "no" >&6; }
     8200fi
     8201
     8202  if test "x$ac_ct_OBJDUMP" = x; then
     8203    OBJDUMP="false"
     8204  else
     8205    case $cross_compiling:$ac_tool_warned in
     8206yes:)
     8207{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8208$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8209ac_tool_warned=yes ;;
     8210esac
     8211    OBJDUMP=$ac_ct_OBJDUMP
     8212  fi
     8213else
     8214  OBJDUMP="$ac_cv_prog_OBJDUMP"
     8215fi
     8216
     8217  ;;
     8218esac
     8219
     8220test -z "$AS" && AS=as
     8221
     8222
     8223
     8224
     8225
     8226test -z "$DLLTOOL" && DLLTOOL=dlltool
     8227
     8228
     8229
     8230
     8231
     8232test -z "$OBJDUMP" && OBJDUMP=objdump
     8233
     8234
     8235
     8236
    79088237
    79098238
    79108239
    79118240        enable_dlopen=no
    79128241
    79138242
    7914   enable_win32_dll=no
    7915 
    79168243
    79178244            # Check whether --enable-shared was given.
    79188245if test "${enable_shared+set}" = set; then :
     
    79798306
    79808307# Check whether --with-pic was given.
    79818308if test "${with_pic+set}" = set; then :
    7982   withval=$with_pic; pic_mode="$withval"
     8309  withval=$with_pic; lt_p=${PACKAGE-default}
     8310    case $withval in
     8311    yes|no) pic_mode=$withval ;;
     8312    *)
     8313      pic_mode=default
     8314      # Look at the argument we got.  We use all the common list separators.
     8315      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     8316      for lt_pkg in $withval; do
     8317        IFS="$lt_save_ifs"
     8318        if test "X$lt_pkg" = "X$lt_p"; then
     8319          pic_mode=yes
     8320        fi
     8321      done
     8322      IFS="$lt_save_ifs"
     8323      ;;
     8324    esac
    79838325else
    79848326  pic_mode=default
    79858327fi
     
    80578399
    80588400
    80598401
     8402
     8403
     8404
     8405
    80608406test -z "$LN_S" && LN_S="ln -s"
    80618407
    80628408
     
    85168862    case $cc_basename in
    85178863    nvcc*) # Cuda Compiler Driver 2.2
    85188864      lt_prog_compiler_wl='-Xlinker '
    8519       lt_prog_compiler_pic='-Xcompiler -fPIC'
     8865      if test -n "$lt_prog_compiler_pic"; then
     8866        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
     8867      fi
    85208868      ;;
    85218869    esac
    85228870  else
     
    86078955        ;;
    86088956      *)
    86098957        case `$CC -V 2>&1 | sed 5q` in
    8610         *Sun\ F* | *Sun*Fortran*)
     8958        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
    86118959          # Sun Fortran 8.3 passes all unrecognized flags to the linker
    86128960          lt_prog_compiler_pic='-KPIC'
    86138961          lt_prog_compiler_static='-Bstatic'
    86148962          lt_prog_compiler_wl=''
    86158963          ;;
     8964        *Sun\ F* | *Sun*Fortran*)
     8965          lt_prog_compiler_pic='-KPIC'
     8966          lt_prog_compiler_static='-Bstatic'
     8967          lt_prog_compiler_wl='-Qoption ld '
     8968          ;;
    86168969        *Sun\ C*)
    86178970          # Sun C 5.9
    86188971          lt_prog_compiler_pic='-KPIC'
    86198972          lt_prog_compiler_static='-Bstatic'
    86208973          lt_prog_compiler_wl='-Wl,'
    86218974          ;;
     8975        *Intel*\ [CF]*Compiler*)
     8976          lt_prog_compiler_wl='-Wl,'
     8977          lt_prog_compiler_pic='-fPIC'
     8978          lt_prog_compiler_static='-static'
     8979          ;;
     8980        *Portland\ Group*)
     8981          lt_prog_compiler_wl='-Wl,'
     8982          lt_prog_compiler_pic='-fpic'
     8983          lt_prog_compiler_static='-Bstatic'
     8984          ;;
    86228985        esac
    86238986        ;;
    86248987      esac
     
    89809343  hardcode_direct=no
    89819344  hardcode_direct_absolute=no
    89829345  hardcode_libdir_flag_spec=
    8983   hardcode_libdir_flag_spec_ld=
    89849346  hardcode_libdir_separator=
    89859347  hardcode_minus_L=no
    89869348  hardcode_shlibpath_var=unsupported
     
    92339595        xlf* | bgf* | bgxlf* | mpixlf*)
    92349596          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
    92359597          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
    9236           hardcode_libdir_flag_spec=
    9237           hardcode_libdir_flag_spec_ld='-rpath $libdir'
     9598          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    92389599          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
    92399600          if test "x$supports_anon_versioning" = xyes; then
    92409601            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
     
    96149975        # The linker will not automatically build a static lib if we build a DLL.
    96159976        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
    96169977        enable_shared_with_static_runtimes=yes
     9978        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
    96179979        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
    96189980        # Don't use ranlib
    96199981        old_postinstall_cmds='chmod 644 $oldlib'
     
    965910021  hardcode_shlibpath_var=unsupported
    966010022  if test "$lt_cv_ld_force_load" = "yes"; then
    966110023    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\"`'
     10024
    966210025  else
    966310026    whole_archive_flag_spec=''
    966410027  fi
     
    968710050      hardcode_shlibpath_var=no
    968810051      ;;
    968910052
    9690     freebsd1*)
    9691       ld_shlibs=no
    9692       ;;
    9693 
    969410053    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
    969510054    # support.  Future versions do this automatically, but an explicit c++rt0.o
    969610055    # does not break anything, and helps significantly (at the cost of a little
     
    970310062      ;;
    970410063
    970510064    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    9706     freebsd2*)
     10065    freebsd2.*)
    970710066      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    970810067      hardcode_direct=yes
    970910068      hardcode_minus_L=yes
     
    974210101      fi
    974310102      if test "$with_gnu_ld" = no; then
    974410103        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
    9745         hardcode_libdir_flag_spec_ld='+b $libdir'
    974610104        hardcode_libdir_separator=:
    974710105        hardcode_direct=yes
    974810106        hardcode_direct_absolute=yes
     
    1036610724
    1036710725
    1036810726
    10369 
    10370 
    10371 
    10372 
    10373 
    1037410727  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
    1037510728$as_echo_n "checking dynamic linker characteristics... " >&6; }
    1037610729
     
    1046010813
    1046110814case $host_os in
    1046210815aix3*)
    10463   version_type=linux
     10816  version_type=linux # correct to gnu/linux during the next big refactor
    1046410817  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
    1046510818  shlibpath_var=LIBPATH
    1046610819
     
    1046910822  ;;
    1047010823
    1047110824aix[4-9]*)
    10472   version_type=linux
     10825  version_type=linux # correct to gnu/linux during the next big refactor
    1047310826  need_lib_prefix=no
    1047410827  need_version=no
    1047510828  hardcode_into_libs=yes
     
    1053410887  ;;
    1053510888
    1053610889bsdi[45]*)
    10537   version_type=linux
     10890  version_type=linux # correct to gnu/linux during the next big refactor
    1053810891  need_version=no
    1053910892  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1054010893  soname_spec='${libname}${release}${shared_ext}$major'
     
    1067311026  ;;
    1067411027
    1067511028dgux*)
    10676   version_type=linux
     11029  version_type=linux # correct to gnu/linux during the next big refactor
    1067711030  need_lib_prefix=no
    1067811031  need_version=no
    1067911032  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
     
    1068111034  shlibpath_var=LD_LIBRARY_PATH
    1068211035  ;;
    1068311036
    10684 freebsd1*)
    10685   dynamic_linker=no
    10686   ;;
    10687 
    1068811037freebsd* | dragonfly*)
    1068911038  # DragonFly does not have aout.  When/if they implement a new
    1069011039  # versioning mechanism, adjust this.
     
    1069211041    objformat=`/usr/bin/objformat`
    1069311042  else
    1069411043    case $host_os in
    10695     freebsd[123]*) objformat=aout ;;
     11044    freebsd[23].*) objformat=aout ;;
    1069611045    *) objformat=elf ;;
    1069711046    esac
    1069811047  fi
     
    1071011059  esac
    1071111060  shlibpath_var=LD_LIBRARY_PATH
    1071211061  case $host_os in
    10713   freebsd2*)
     11062  freebsd2.*)
    1071411063    shlibpath_overrides_runpath=yes
    1071511064    ;;
    1071611065  freebsd3.[01]* | freebsdelf3.[01]*)
     
    1073011079  ;;
    1073111080
    1073211081gnu*)
    10733   version_type=linux
     11082  version_type=linux # correct to gnu/linux during the next big refactor
    1073411083  need_lib_prefix=no
    1073511084  need_version=no
    1073611085  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
     
    1074111090  ;;
    1074211091
    1074311092haiku*)
    10744   version_type=linux
     11093  version_type=linux # correct to gnu/linux during the next big refactor
    1074511094  need_lib_prefix=no
    1074611095  need_version=no
    1074711096  dynamic_linker="$host_os runtime_loader"
     
    1080211151  ;;
    1080311152
    1080411153interix[3-9]*)
    10805   version_type=linux
     11154  version_type=linux # correct to gnu/linux during the next big refactor
    1080611155  need_lib_prefix=no
    1080711156  need_version=no
    1080811157  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     
    1081811167    nonstopux*) version_type=nonstopux ;;
    1081911168    *)
    1082011169        if test "$lt_cv_prog_gnu_ld" = yes; then
    10821                 version_type=linux
     11170                version_type=linux # correct to gnu/linux during the next big refactor
    1082211171        else
    1082311172                version_type=irix
    1082411173        fi ;;
     
    1085511204  dynamic_linker=no
    1085611205  ;;
    1085711206
    10858 # This must be Linux ELF.
     11207# This must be glibc/ELF.
    1085911208linux* | k*bsd*-gnu | kopensolaris*-gnu)
    10860   version_type=linux
     11209  version_type=linux # correct to gnu/linux during the next big refactor
    1086111210  need_lib_prefix=no
    1086211211  need_version=no
    1086311212  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     
    1095111300  ;;
    1095211301
    1095311302newsos6)
    10954   version_type=linux
     11303  version_type=linux # correct to gnu/linux during the next big refactor
    1095511304  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1095611305  shlibpath_var=LD_LIBRARY_PATH
    1095711306  shlibpath_overrides_runpath=yes
     
    1102011369  ;;
    1102111370
    1102211371solaris*)
    11023   version_type=linux
     11372  version_type=linux # correct to gnu/linux during the next big refactor
    1102411373  need_lib_prefix=no
    1102511374  need_version=no
    1102611375  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     
    1104511394  ;;
    1104611395
    1104711396sysv4 | sysv4.3*)
    11048   version_type=linux
     11397  version_type=linux # correct to gnu/linux during the next big refactor
    1104911398  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1105011399  soname_spec='${libname}${release}${shared_ext}$major'
    1105111400  shlibpath_var=LD_LIBRARY_PATH
     
    1106911418
    1107011419sysv4*MP*)
    1107111420  if test -d /usr/nec ;then
    11072     version_type=linux
     11421    version_type=linux # correct to gnu/linux during the next big refactor
    1107311422    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    1107411423    soname_spec='$libname${shared_ext}.$major'
    1107511424    shlibpath_var=LD_LIBRARY_PATH
     
    1110011449
    1110111450tpf*)
    1110211451  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
    11103   version_type=linux
     11452  version_type=linux # correct to gnu/linux during the next big refactor
    1110411453  need_lib_prefix=no
    1110511454  need_version=no
    1110611455  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     
    1111011459  ;;
    1111111460
    1111211461uts4*)
    11113   version_type=linux
     11462  version_type=linux # correct to gnu/linux during the next big refactor
    1111411463  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1111511464  soname_spec='${libname}${release}${shared_ext}$major'
    1111611465  shlibpath_var=LD_LIBRARY_PATH
     
    1203512384hardcode_direct_CXX=no
    1203612385hardcode_direct_absolute_CXX=no
    1203712386hardcode_libdir_flag_spec_CXX=
    12038 hardcode_libdir_flag_spec_ld_CXX=
    1203912387hardcode_libdir_separator_CXX=
    1204012388hardcode_minus_L_CXX=no
    1204112389hardcode_shlibpath_var_CXX=unsupported
     
    1261912967  hardcode_shlibpath_var_CXX=unsupported
    1262012968  if test "$lt_cv_ld_force_load" = "yes"; then
    1262112969    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\"`'
     12970
    1262212971  else
    1262312972    whole_archive_flag_spec_CXX=''
    1262412973  fi
     
    1266313012        esac
    1266413013        ;;
    1266513014
    12666       freebsd[12]*)
     13015      freebsd2.*)
    1266713016        # C++ shared libraries reported to be fairly broken before
    1266813017        # switch to ELF
    1266913018        ld_shlibs_CXX=no
     
    1333913688case "$CC $CFLAGS " in #(
    1334013689*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
    1334113690*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
     13691*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
    1334213692esac
    1334313693
    1334413694if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     
    1412814478    ;;
    1412914479  cygwin* | mingw* | cegcc*)
    1413014480    case $cc_basename in
    14131     cl*) ;;
     14481    cl*)
     14482      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
     14483      ;;
    1413214484    *)
    1413314485      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
    1413414486      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
     
    1428414636
    1428514637
    1428614638
    14287 
    14288 
    1428914639    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
    1429014640$as_echo_n "checking dynamic linker characteristics... " >&6; }
    1429114641
     
    1431114661
    1431214662case $host_os in
    1431314663aix3*)
    14314   version_type=linux
     14664  version_type=linux # correct to gnu/linux during the next big refactor
    1431514665  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
    1431614666  shlibpath_var=LIBPATH
    1431714667
     
    1432014670  ;;
    1432114671
    1432214672aix[4-9]*)
    14323   version_type=linux
     14673  version_type=linux # correct to gnu/linux during the next big refactor
    1432414674  need_lib_prefix=no
    1432514675  need_version=no
    1432614676  hardcode_into_libs=yes
     
    1438514735  ;;
    1438614736
    1438714737bsdi[45]*)
    14388   version_type=linux
     14738  version_type=linux # correct to gnu/linux during the next big refactor
    1438914739  need_version=no
    1439014740  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1439114741  soname_spec='${libname}${release}${shared_ext}$major'
     
    1452214872  ;;
    1452314873
    1452414874dgux*)
    14525   version_type=linux
     14875  version_type=linux # correct to gnu/linux during the next big refactor
    1452614876  need_lib_prefix=no
    1452714877  need_version=no
    1452814878  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
     
    1453014880  shlibpath_var=LD_LIBRARY_PATH
    1453114881  ;;
    1453214882
    14533 freebsd1*)
    14534   dynamic_linker=no
    14535   ;;
    14536 
    1453714883freebsd* | dragonfly*)
    1453814884  # DragonFly does not have aout.  When/if they implement a new
    1453914885  # versioning mechanism, adjust this.
     
    1454114887    objformat=`/usr/bin/objformat`
    1454214888  else
    1454314889    case $host_os in
    14544     freebsd[123]*) objformat=aout ;;
     14890    freebsd[23].*) objformat=aout ;;
    1454514891    *) objformat=elf ;;
    1454614892    esac
    1454714893  fi
     
    1455914905  esac
    1456014906  shlibpath_var=LD_LIBRARY_PATH
    1456114907  case $host_os in
    14562   freebsd2*)
     14908  freebsd2.*)
    1456314909    shlibpath_overrides_runpath=yes
    1456414910    ;;
    1456514911  freebsd3.[01]* | freebsdelf3.[01]*)
     
    1457914925  ;;
    1458014926
    1458114927gnu*)
    14582   version_type=linux
     14928  version_type=linux # correct to gnu/linux during the next big refactor
    1458314929  need_lib_prefix=no
    1458414930  need_version=no
    1458514931  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
     
    1459014936  ;;
    1459114937
    1459214938haiku*)
    14593   version_type=linux
     14939  version_type=linux # correct to gnu/linux during the next big refactor
    1459414940  need_lib_prefix=no
    1459514941  need_version=no
    1459614942  dynamic_linker="$host_os runtime_loader"
     
    1465114997  ;;
    1465214998
    1465314999interix[3-9]*)
    14654   version_type=linux
     15000  version_type=linux # correct to gnu/linux during the next big refactor
    1465515001  need_lib_prefix=no
    1465615002  need_version=no
    1465715003  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     
    1466715013    nonstopux*) version_type=nonstopux ;;
    1466815014    *)
    1466915015        if test "$lt_cv_prog_gnu_ld" = yes; then
    14670                 version_type=linux
     15016                version_type=linux # correct to gnu/linux during the next big refactor
    1467115017        else
    1467215018                version_type=irix
    1467315019        fi ;;
     
    1470415050  dynamic_linker=no
    1470515051  ;;
    1470615052
    14707 # This must be Linux ELF.
     15053# This must be glibc/ELF.
    1470815054linux* | k*bsd*-gnu | kopensolaris*-gnu)
    14709   version_type=linux
     15055  version_type=linux # correct to gnu/linux during the next big refactor
    1471015056  need_lib_prefix=no
    1471115057  need_version=no
    1471215058  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     
    1480015146  ;;
    1480115147
    1480215148newsos6)
    14803   version_type=linux
     15149  version_type=linux # correct to gnu/linux during the next big refactor
    1480415150  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1480515151  shlibpath_var=LD_LIBRARY_PATH
    1480615152  shlibpath_overrides_runpath=yes
     
    1486915215  ;;
    1487015216
    1487115217solaris*)
    14872   version_type=linux
     15218  version_type=linux # correct to gnu/linux during the next big refactor
    1487315219  need_lib_prefix=no
    1487415220  need_version=no
    1487515221  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     
    1489415240  ;;
    1489515241
    1489615242sysv4 | sysv4.3*)
    14897   version_type=linux
     15243  version_type=linux # correct to gnu/linux during the next big refactor
    1489815244  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1489915245  soname_spec='${libname}${release}${shared_ext}$major'
    1490015246  shlibpath_var=LD_LIBRARY_PATH
     
    1491815264
    1491915265sysv4*MP*)
    1492015266  if test -d /usr/nec ;then
    14921     version_type=linux
     15267    version_type=linux # correct to gnu/linux during the next big refactor
    1492215268    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    1492315269    soname_spec='$libname${shared_ext}.$major'
    1492415270    shlibpath_var=LD_LIBRARY_PATH
     
    1494915295
    1495015296tpf*)
    1495115297  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
    14952   version_type=linux
     15298  version_type=linux # correct to gnu/linux during the next big refactor
    1495315299  need_lib_prefix=no
    1495415300  need_version=no
    1495515301  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     
    1495915305  ;;
    1496015306
    1496115307uts4*)
    14962   version_type=linux
     15308  version_type=linux # correct to gnu/linux during the next big refactor
    1496315309  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1496415310  soname_spec='${libname}${release}${shared_ext}$major'
    1496515311  shlibpath_var=LD_LIBRARY_PATH
     
    1509815444
    1509915445
    1510015446
     15447
     15448
    1510115449        ac_config_commands="$ac_config_commands libtool"
    1510215450
    1510315451
     
    1510715455
    1510815456
    1510915457
     15458
     15459case $host in
     15460  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
     15461    if test "$enable_shared" = yes; then
     15462      LIBLRCALC_LDFLAGS="$LIBLRCALC_LDFLAGS -no-undefined -Wl,--output-def,.libs/liblrcalc-0.def"
     15463    fi
     15464  ;;
     15465esac
     15466
    1511015467# Checks for libraries.
    1511115468
    1511215469# Checks for header files.
     
    1582916186# report actual input values of CONFIG_FILES etc. instead of their
    1583016187# values after options handling.
    1583116188ac_log="
    15832 This file was extended by lrcalc $as_me 1.1.5b, which was
     16189This file was extended by lrcalc $as_me 1.1.6beta2, which was
    1583316190generated by GNU Autoconf 2.68.  Invocation command line was
    1583416191
    1583516192  CONFIG_FILES    = $CONFIG_FILES
     
    1588916246Configuration commands:
    1589016247$config_commands
    1589116248
    15892 Report bugs to <asbuch at math dot rutgers period edu >."
     16249Report bugs to <asbuch at math dot rutgers period edu>."
    1589316250
    1589416251_ACEOF
    1589516252cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    1589616253ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    1589716254ac_cs_version="\\
    15898 lrcalc config.status 1.1.5b
     16255lrcalc config.status 1.1.6beta2
    1589916256configured by $0, generated by GNU Autoconf 2.68,
    1590016257  with options \\"\$ac_cs_config\\"
    1590116258
     
    1602616383delay_variable_subst='$delay_variable_subst'
    1602716384macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
    1602816385macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
     16386AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
     16387DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
     16388OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
    1602916389enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
    1603016390enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
    1603116391pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
    1603216392enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
    1603316393SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
    1603416394ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
     16395PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
    1603516396host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
    1603616397host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
    1603716398host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
     
    1605616417lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
    1605716418reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
    1605816419reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
    16059 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
    1606016420deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
    1606116421file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
    1606216422file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
    1606316423want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
    16064 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
    1606516424sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
    1606616425AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
    1606716426AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
     
    1611416473allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
    1611516474no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
    1611616475hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
    16117 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
    1611816476hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
    1611916477hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
    1612016478hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
     
    1618616544allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
    1618716545no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
    1618816546hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
    16189 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
    1619016547hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
    1619116548hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
    1619216549hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
     
    1622316580}
    1622416581
    1622516582# Quote evaled strings.
    16226 for var in SHELL \
     16583for var in AS \
     16584DLLTOOL \
     16585OBJDUMP \
     16586SHELL \
    1622716587ECHO \
     16588PATH_SEPARATOR \
    1622816589SED \
    1622916590GREP \
    1623016591EGREP \
     
    1623516596lt_SP2NL \
    1623616597lt_NL2SP \
    1623716598reload_flag \
    16238 OBJDUMP \
    1623916599deplibs_check_method \
    1624016600file_magic_cmd \
    1624116601file_magic_glob \
    1624216602want_nocaseglob \
    16243 DLLTOOL \
    1624416603sharedlib_from_linklib_cmd \
    1624516604AR \
    1624616605AR_FLAGS \
     
    1627516634allow_undefined_flag \
    1627616635no_undefined_flag \
    1627716636hardcode_libdir_flag_spec \
    16278 hardcode_libdir_flag_spec_ld \
    1627916637hardcode_libdir_separator \
    1628016638exclude_expsyms \
    1628116639include_expsyms \
     
    1630916667allow_undefined_flag_CXX \
    1631016668no_undefined_flag_CXX \
    1631116669hardcode_libdir_flag_spec_CXX \
    16312 hardcode_libdir_flag_spec_ld_CXX \
    1631316670hardcode_libdir_separator_CXX \
    1631416671exclude_expsyms_CXX \
    1631516672include_expsyms_CXX \
     
    1711917476# NOTE: Changes made to this file will be lost: look at ltmain.sh.
    1712017477#
    1712117478#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
    17122 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
    17123 #                 Inc.
     17479#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
     17480#                 Foundation, Inc.
    1712417481#   Written by Gordon Matzigkeit, 1996
    1712517482#
    1712617483#   This file is part of GNU Libtool.
     
    1715617513macro_version=$macro_version
    1715717514macro_revision=$macro_revision
    1715817515
     17516# Assembler program.
     17517AS=$lt_AS
     17518
     17519# DLL creation program.
     17520DLLTOOL=$lt_DLLTOOL
     17521
     17522# Object dumper program.
     17523OBJDUMP=$lt_OBJDUMP
     17524
    1715917525# Whether or not to build shared libraries.
    1716017526build_libtool_libs=$enable_shared
    1716117527
     
    1717417540# An echo program that protects backslashes.
    1717517541ECHO=$lt_ECHO
    1717617542
     17543# The PATH separator for the build system.
     17544PATH_SEPARATOR=$lt_PATH_SEPARATOR
     17545
    1717717546# The host system.
    1717817547host_alias=$host_alias
    1717917548host=$host
     
    1722917598# convert \$build files to toolchain format.
    1723017599to_tool_file_cmd=$lt_cv_to_tool_file_cmd
    1723117600
    17232 # An object symbol dumper.
    17233 OBJDUMP=$lt_OBJDUMP
    17234 
    1723517601# Method to check whether dependent libraries are shared objects.
    1723617602deplibs_check_method=$lt_deplibs_check_method
    1723717603
     
    1724417610# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
    1724517611want_nocaseglob=$lt_want_nocaseglob
    1724617612
    17247 # DLL creation program.
    17248 DLLTOOL=$lt_DLLTOOL
    17249 
    1725017613# Command to associate shared and link libraries.
    1725117614sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
    1725217615
     
    1747517838# This must work even if \$libdir does not exist
    1747617839hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
    1747717840
    17478 # If ld is used when linking, flag to hardcode \$libdir into a binary
    17479 # during linking.  This must work even if \$libdir does not exist.
    17480 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
    17481 
    1748217841# Whether we need a single "-rpath" flag with a separated argument.
    1748317842hardcode_libdir_separator=$lt_hardcode_libdir_separator
    1748417843
     
    1782118180# This must work even if \$libdir does not exist
    1782218181hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
    1782318182
    17824 # If ld is used when linking, flag to hardcode \$libdir into a binary
    17825 # during linking.  This must work even if \$libdir does not exist.
    17826 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
    17827 
    1782818183# Whether we need a single "-rpath" flag with a separated argument.
    1782918184hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
    1783018185
  • src/configure.ac

    diff -r a163aab4fe2e src/configure.ac
    a b  
    11# Process this file with autoconf to produce a configure script.
    22
    33AC_PREREQ([2.67])
    4 AC_INIT([lrcalc],[1.1.6beta1],[asbuch at math dot rutgers period edu])
     4AC_INIT([lrcalc],[1.1.6beta2],[asbuch at math dot rutgers period edu])
    55AC_CONFIG_SRCDIR(lrcoef/symfcn.h)
    66AC_CONFIG_HEADERS([config.h])
    77
     
    1818AC_PROG_LN_S
    1919AC_PROG_MAKE_SET
    2020
    21 LT_INIT
     21LT_INIT(win32-dll)
     22
     23dnl Copied from MPFR 3.1.1 and modified.
     24dnl Configs for Windows DLLs.
     25dnl libtool requires "-no-undefined" for win32 dll
     26dnl
     27dnl "-Wl,output-def" is used to get a .def file for use by MS lib to make
     28dnl a .lib import library, described in the manual.
     29AC_SUBST(LIBLRCALC_LDFLAGS)
     30case $host in
     31  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
     32    if test "$enable_shared" = yes; then
     33      LIBLRCALC_LDFLAGS="$LIBLRCALC_LDFLAGS -no-undefined -Wl,--output-def,.libs/liblrcalc-0.def"
     34    fi
     35  ;;
     36esac
    2237
    2338# Checks for libraries.
    2439
  • src/lrcoef/Makefile.in

    diff -r a163aab4fe2e src/lrcoef/Makefile.in
    a b  
    1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
     1# Makefile.in generated by automake 1.11.3 from Makefile.am.
    22# @configure_input@
    33
    44# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
    5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
    6 # Inc.
     5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
     6# Foundation, Inc.
    77# This Makefile.in is free software; the Free Software Foundation
    88# gives unlimited permission to copy and/or distribute it,
    99# with or without modifications, as long as this notice is preserved.
     
    9494ACLOCAL = @ACLOCAL@
    9595AMTAR = @AMTAR@
    9696AR = @AR@
     97AS = @AS@
    9798AUTOCONF = @AUTOCONF@
    9899AUTOHEADER = @AUTOHEADER@
    99100AUTOMAKE = @AUTOMAKE@
     
    127128INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    128129LD = @LD@
    129130LDFLAGS = @LDFLAGS@
     131LIBLRCALC_LDFLAGS = @LIBLRCALC_LDFLAGS@
    130132LIBOBJS = @LIBOBJS@
    131133LIBS = @LIBS@
    132134LIBTOOL = @LIBTOOL@
     
    261263          echo "rm -f \"$${dir}/so_locations\""; \
    262264          rm -f "$${dir}/so_locations"; \
    263265        done
    264 libsymfcn.la: $(libsymfcn_la_OBJECTS) $(libsymfcn_la_DEPENDENCIES)
     266libsymfcn.la: $(libsymfcn_la_OBJECTS) $(libsymfcn_la_DEPENDENCIES) $(EXTRA_libsymfcn_la_DEPENDENCIES)
    265267        $(LINK)  $(libsymfcn_la_OBJECTS) $(libsymfcn_la_LIBADD) $(LIBS)
    266268install-binPROGRAMS: $(bin_PROGRAMS)
    267269        @$(NORMAL_INSTALL)
     
    306308        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
    307309        echo " rm -f" $$list; \
    308310        rm -f $$list
    309 coprod$(EXEEXT): $(coprod_OBJECTS) $(coprod_DEPENDENCIES)
     311coprod$(EXEEXT): $(coprod_OBJECTS) $(coprod_DEPENDENCIES) $(EXTRA_coprod_DEPENDENCIES)
    310312        @rm -f coprod$(EXEEXT)
    311313        $(LINK) $(coprod_OBJECTS) $(coprod_LDADD) $(LIBS)
    312 lrcoef$(EXEEXT): $(lrcoef_OBJECTS) $(lrcoef_DEPENDENCIES)
     314lrcoef$(EXEEXT): $(lrcoef_OBJECTS) $(lrcoef_DEPENDENCIES) $(EXTRA_lrcoef_DEPENDENCIES)
    313315        @rm -f lrcoef$(EXEEXT)
    314316        $(LINK) $(lrcoef_OBJECTS) $(lrcoef_LDADD) $(LIBS)
    315 lrskew$(EXEEXT): $(lrskew_OBJECTS) $(lrskew_DEPENDENCIES)
     317lrskew$(EXEEXT): $(lrskew_OBJECTS) $(lrskew_DEPENDENCIES) $(EXTRA_lrskew_DEPENDENCIES)
    316318        @rm -f lrskew$(EXEEXT)
    317319        $(LINK) $(lrskew_OBJECTS) $(lrskew_LDADD) $(LIBS)
    318 mult$(EXEEXT): $(mult_OBJECTS) $(mult_DEPENDENCIES)
     320mult$(EXEEXT): $(mult_OBJECTS) $(mult_DEPENDENCIES) $(EXTRA_mult_DEPENDENCIES)
    319321        @rm -f mult$(EXEEXT)
    320322        $(LINK) $(mult_OBJECTS) $(mult_LDADD) $(LIBS)
    321 skew$(EXEEXT): $(skew_OBJECTS) $(skew_DEPENDENCIES)
     323skew$(EXEEXT): $(skew_OBJECTS) $(skew_DEPENDENCIES) $(EXTRA_skew_DEPENDENCIES)
    322324        @rm -f skew$(EXEEXT)
    323325        $(LINK) $(skew_OBJECTS) $(skew_LDADD) $(LIBS)
    324326
     
    462464
    463465installcheck: installcheck-am
    464466install-strip:
    465         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    466           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    467           `test -z '$(STRIP)' || \
    468             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     467        if test -z '$(STRIP)'; then \
     468          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     469            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     470              install; \
     471        else \
     472          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     473            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     474            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
     475        fi
    469476mostlyclean-generic:
    470477
    471478clean-generic:
  • src/ltmain.sh

    diff -r a163aab4fe2e src/ltmain.sh
    a b  
    11
    2 # libtool (GNU libtool) 2.4
     2# libtool (GNU libtool) 2.4.2
    33# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
    44
    55# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
    6 # 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
     6# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
    77# This is free software; see the source for copying conditions.  There is NO
    88# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    99
     
    4141#       --quiet, --silent    don't print informational messages
    4242#       --no-quiet, --no-silent
    4343#                            print informational messages (default)
     44#       --no-warn            don't display warning messages
    4445#       --tag=TAG            use configuration variables from tag TAG
    4546#   -v, --verbose            print more informational messages than default
    4647#       --no-verbose         don't print the extra informational messages
     
    6970#         compiler:             $LTCC
    7071#         compiler flags:               $LTCFLAGS
    7172#         linker:               $LD (gnu? $with_gnu_ld)
    72 #         $progname:    (GNU libtool) 2.4 Debian-2.4-2ubuntu1
     73#         $progname:    (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
    7374#         automake:     $automake_version
    7475#         autoconf:     $autoconf_version
    7576#
     
    7980
    8081PROGRAM=libtool
    8182PACKAGE=libtool
    82 VERSION="2.4 Debian-2.4-2ubuntu1"
     83VERSION="2.4.2 Debian-2.4.2-1ubuntu1"
    8384TIMESTAMP=""
    84 package_revision=1.3293
     85package_revision=1.3337
    8586
    8687# Be Bourne compatible
    8788if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     
    136137
    137138: ${CP="cp -f"}
    138139test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
    139 : ${EGREP="/bin/grep -E"}
    140 : ${FGREP="/bin/grep -F"}
    141 : ${GREP="/bin/grep"}
    142 : ${LN_S="ln -s"}
    143140: ${MAKE="make"}
    144141: ${MKDIR="mkdir"}
    145142: ${MV="mv -f"}
    146143: ${RM="rm -f"}
    147 : ${SED="/bin/sed"}
    148144: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
    149145: ${Xsed="$SED -e 1s/^X//"}
    150146
     
    387383     ;;
    388384  *)
    389385     save_IFS="$IFS"
    390      IFS=:
     386     IFS=${PATH_SEPARATOR-:}
    391387     for progdir in $PATH; do
    392388       IFS="$save_IFS"
    393389       test -x "$progdir/$progname" && break
     
    771767        s*\$LTCFLAGS*'"$LTCFLAGS"'*
    772768        s*\$LD*'"$LD"'*
    773769        s/\$with_gnu_ld/'"$with_gnu_ld"'/
    774         s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
    775         s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
     770        s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/
     771        s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/
    776772        p
    777773        d
    778774     }
     
    10521048opt_help=false
    10531049opt_help_all=false
    10541050opt_silent=:
     1051opt_warning=:
    10551052opt_verbose=:
    10561053opt_silent=false
    10571054opt_verbose=false
     
    11201117                        opt_silent=false
    11211118func_append preserve_args " $opt"
    11221119                        ;;
     1120      --no-warning|--no-warn)
     1121                        opt_warning=false
     1122func_append preserve_args " $opt"
     1123                        ;;
    11231124      --no-verbose)
    11241125                        opt_verbose=false
    11251126func_append preserve_args " $opt"
     
    20592060    *.[cCFSifmso] | \
    20602061    *.ada | *.adb | *.ads | *.asm | \
    20612062    *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
    2062     *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)
     2063    *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
    20632064      func_xform "$libobj"
    20642065      libobj=$func_xform_result
    20652066      ;;
     
    32013202
    32023203      # Set up the ranlib parameters.
    32033204      oldlib="$destdir/$name"
     3205      func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
     3206      tool_oldlib=$func_to_tool_file_result
    32043207
    32053208      func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
    32063209
    32073210      if test -n "$stripme" && test -n "$old_striplib"; then
    3208         func_show_eval "$old_striplib $oldlib" 'exit $?'
     3211        func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
    32093212      fi
    32103213
    32113214      # Do each command in the postinstall commands.
     
    34703473          # linked before any other PIC object.  But we must not use
    34713474          # pic_flag when linking with -static.  The problem exists in
    34723475          # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
    3473           *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
     3476          *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
    34743477            pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
    34753478          *-*-hpux*)
    34763479            pic_flag_for_symtable=" $pic_flag"  ;;
     
    39823985# launches target application with the remaining arguments.
    39833986func_exec_program ()
    39843987{
    3985   for lt_wr_arg
    3986   do
    3987     case \$lt_wr_arg in
    3988     --lt-*) ;;
    3989     *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
    3990     esac
    3991     shift
    3992   done
     3988  case \" \$* \" in
     3989  *\\ --lt-*)
     3990    for lt_wr_arg
     3991    do
     3992      case \$lt_wr_arg in
     3993      --lt-*) ;;
     3994      *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
     3995      esac
     3996      shift
     3997    done ;;
     3998  esac
    39933999  func_exec_program_core \${1+\"\$@\"}
    39944000}
    39954001
     
    50575063{
    50585064EOF
    50595065            func_emit_wrapper yes |
    5060               $SED -e 's/\([\\"]\)/\\\1/g' \
    5061                    -e 's/^/  fputs ("/' -e 's/$/\\n", f);/'
    5062 
     5066              $SED -n -e '
     5067s/^\(.\{79\}\)\(..*\)/\1\
     5068\2/
     5069h
     5070s/\([\\"]\)/\\\1/g
     5071s/$/\\n/
     5072s/\([^\n]*\).*/  fputs ("\1", f);/p
     5073g
     5074D'
    50635075            cat <<"EOF"
    50645076}
    50655077EOF
     
    56435655        continue
    56445656        ;;
    56455657
    5646       -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
     5658      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
     5659      |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
    56475660        func_append compiler_flags " $arg"
    56485661        func_append compile_command " $arg"
    56495662        func_append finalize_command " $arg"
     
    61506163        lib=
    61516164        found=no
    61526165        case $deplib in
    6153         -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
     6166        -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
     6167        |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
    61546168          if test "$linkmode,$pass" = "prog,link"; then
    61556169            compile_deplibs="$deplib $compile_deplibs"
    61566170            finalize_deplibs="$deplib $finalize_deplibs"
     
    68346848                 test "$hardcode_direct_absolute" = no; then
    68356849                add="$dir/$linklib"
    68366850              elif test "$hardcode_minus_L" = yes; then
    6837                 add_dir="-L$dir"
     6851                add_dir="-L$absdir"
    68386852                # Try looking first in the location we're being installed to.
    68396853                if test -n "$inst_prefix_dir"; then
    68406854                  case $libdir in
     
    73197333          # which has an extra 1 added just for fun
    73207334          #
    73217335          case $version_type in
     7336          # correct linux to gnu/linux during the next big refactor
    73227337          darwin|linux|osf|windows|none)
    73237338            func_arith $number_major + $number_minor
    73247339            current=$func_arith_result
     
    74387453          versuffix="$major.$revision"
    74397454          ;;
    74407455
    7441         linux)
     7456        linux) # correct to gnu/linux during the next big refactor
    74427457          func_arith $current - $age
    74437458          major=.$func_arith_result
    74447459          versuffix="$major.$age.$revision"
     
    80268041
    80278042      # Test again, we may have decided not to build it any more
    80288043      if test "$build_libtool_libs" = yes; then
     8044        # Remove ${wl} instances when linking with ld.
     8045        # FIXME: should test the right _cmds variable.
     8046        case $archive_cmds in
     8047          *\$LD\ *) wl= ;;
     8048        esac
    80298049        if test "$hardcode_into_libs" = yes; then
    80308050          # Hardcode the library paths
    80318051          hardcode_libdirs=
     
    80568076            elif test -n "$runpath_var"; then
    80578077              case "$perm_rpath " in
    80588078              *" $libdir "*) ;;
    8059               *) func_apped perm_rpath " $libdir" ;;
     8079              *) func_append perm_rpath " $libdir" ;;
    80608080              esac
    80618081            fi
    80628082          done
     
    80648084          if test -n "$hardcode_libdir_separator" &&
    80658085             test -n "$hardcode_libdirs"; then
    80668086            libdir="$hardcode_libdirs"
    8067             if test -n "$hardcode_libdir_flag_spec_ld"; then
    8068               eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
    8069             else
    8070               eval dep_rpath=\"$hardcode_libdir_flag_spec\"
    8071             fi
     8087            eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
    80728088          fi
    80738089          if test -n "$runpath_var" && test -n "$perm_rpath"; then
    80748090            # We should set the runpath_var.
     
    91589174            esac
    91599175          done
    91609176        fi
     9177        func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
     9178        tool_oldlib=$func_to_tool_file_result
    91619179        eval cmds=\"$old_archive_cmds\"
    91629180
    91639181        func_len " $cmds"
     
    92679285              *.la)
    92689286                func_basename "$deplib"
    92699287                name="$func_basename_result"
    9270                 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
     9288                func_resolve_sysroot "$deplib"
     9289                eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
    92719290                test -z "$libdir" && \
    92729291                  func_fatal_error "\`$deplib' is not a valid libtool archive"
    92739292                func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
  • src/mathlib/Makefile.in

    diff -r a163aab4fe2e src/mathlib/Makefile.in
    a b  
    1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
     1# Makefile.in generated by automake 1.11.3 from Makefile.am.
    22# @configure_input@
    33
    44# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
    5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
    6 # Inc.
     5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
     6# Foundation, Inc.
    77# This Makefile.in is free software; the Free Software Foundation
    88# gives unlimited permission to copy and/or distribute it,
    99# with or without modifications, as long as this notice is preserved.
     
    7373ACLOCAL = @ACLOCAL@
    7474AMTAR = @AMTAR@
    7575AR = @AR@
     76AS = @AS@
    7677AUTOCONF = @AUTOCONF@
    7778AUTOHEADER = @AUTOHEADER@
    7879AUTOMAKE = @AUTOMAKE@
     
    106107INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    107108LD = @LD@
    108109LDFLAGS = @LDFLAGS@
     110LIBLRCALC_LDFLAGS = @LIBLRCALC_LDFLAGS@
    109111LIBOBJS = @LIBOBJS@
    110112LIBS = @LIBS@
    111113LIBTOOL = @LIBTOOL@
     
    234236          echo "rm -f \"$${dir}/so_locations\""; \
    235237          rm -f "$${dir}/so_locations"; \
    236238        done
    237 libmath.la: $(libmath_la_OBJECTS) $(libmath_la_DEPENDENCIES)
     239libmath.la: $(libmath_la_OBJECTS) $(libmath_la_DEPENDENCIES) $(EXTRA_libmath_la_DEPENDENCIES)
    238240        $(LINK)  $(libmath_la_OBJECTS) $(libmath_la_LIBADD) $(LIBS)
    239241
    240242mostlyclean-compile:
     
    373375
    374376installcheck: installcheck-am
    375377install-strip:
    376         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    377           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    378           `test -z '$(STRIP)' || \
    379             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     378        if test -z '$(STRIP)'; then \
     379          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     380            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     381              install; \
     382        else \
     383          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     384            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     385            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
     386        fi
    380387mostlyclean-generic:
    381388
    382389clean-generic:
  • src/schubert/Makefile.in

    diff -r a163aab4fe2e src/schubert/Makefile.in
    a b  
    1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
     1# Makefile.in generated by automake 1.11.3 from Makefile.am.
    22# @configure_input@
    33
    44# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
    5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
    6 # Inc.
     5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
     6# Foundation, Inc.
    77# This Makefile.in is free software; the Free Software Foundation
    88# gives unlimited permission to copy and/or distribute it,
    99# with or without modifications, as long as this notice is preserved.
     
    8080ACLOCAL = @ACLOCAL@
    8181AMTAR = @AMTAR@
    8282AR = @AR@
     83AS = @AS@
    8384AUTOCONF = @AUTOCONF@
    8485AUTOHEADER = @AUTOHEADER@
    8586AUTOMAKE = @AUTOMAKE@
     
    113114INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    114115LD = @LD@
    115116LDFLAGS = @LDFLAGS@
     117LIBLRCALC_LDFLAGS = @LIBLRCALC_LDFLAGS@
    116118LIBOBJS = @LIBOBJS@
    117119LIBS = @LIBS@
    118120LIBTOOL = @LIBTOOL@
     
    243245          echo "rm -f \"$${dir}/so_locations\""; \
    244246          rm -f "$${dir}/so_locations"; \
    245247        done
    246 libschub.la: $(libschub_la_OBJECTS) $(libschub_la_DEPENDENCIES)
     248libschub.la: $(libschub_la_OBJECTS) $(libschub_la_DEPENDENCIES) $(EXTRA_libschub_la_DEPENDENCIES)
    247249        $(LINK)  $(libschub_la_OBJECTS) $(libschub_la_LIBADD) $(LIBS)
    248250install-binPROGRAMS: $(bin_PROGRAMS)
    249251        @$(NORMAL_INSTALL)
     
    288290        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
    289291        echo " rm -f" $$list; \
    290292        rm -f $$list
    291 schubmult$(EXEEXT): $(schubmult_OBJECTS) $(schubmult_DEPENDENCIES)
     293schubmult$(EXEEXT): $(schubmult_OBJECTS) $(schubmult_DEPENDENCIES) $(EXTRA_schubmult_DEPENDENCIES)
    292294        @rm -f schubmult$(EXEEXT)
    293295        $(LINK) $(schubmult_OBJECTS) $(schubmult_LDADD) $(LIBS)
    294296
     
    428430
    429431installcheck: installcheck-am
    430432install-strip:
    431         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    432           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    433           `test -z '$(STRIP)' || \
    434             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     433        if test -z '$(STRIP)'; then \
     434          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     435            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     436              install; \
     437        else \
     438          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     439            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     440            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
     441        fi
    435442mostlyclean-generic:
    436443
    437444clean-generic: