Changeset 4022


Ignore:
Timestamp:
Sep 20, 2019 9:33:59 AM (3 weeks ago)
Author:
stefan
Message:

merge branch autotools-update

  • new buildsystem based on new autotools setup
Location:
ThirdParty/ASL/trunk
Files:
3 deleted
14 edited
2 copied

Legend:

Unmodified
Added
Removed
  • ThirdParty/ASL/trunk

  • ThirdParty/ASL/trunk/INSTALL.ASL

    r45 r4022  
    1 Installation of the Ampl Solver Library (ASL) for COIN
     1Installation of the Ampl Solver Library (ASL) for COIN-OR
    22
    33**********************************************************************
  • ThirdParty/ASL/trunk/Makefile.am

    r3129 r4022  
    1 # Copyright (C) 2003, 2007 International Business Machines and others.
     1# Copyright (C) 2019 COIN-OR
    22# All Rights Reserved.
    33# This file is distributed under the Eclipse Public License.
    44
    5 ## $Id$
    6 
    7 # the idea is to use the ASL Makefiles to build a static $(AMPLSOLVER_A) library via the compile_*_ASL scripts
    8 # from this library, we create a libcoinasl.la libtool library
    9 # in a MS VC build, we assume static libraries are used, so we can use the usual libtool machinery via LIBADD
    10 # in a normal build, we build the libcoinasl.la library by extracting the $(AMPLSOLVER_A) library and relinking it via libtool
    11 #    in a shared library build, this should give a shared libcoinasl.so library
    12 #    further, configure should have taken care of adding -fPIC -DPIC to the CFLAGS when compiling the ASL sources
    13 #    to avoid a failure when building static libraries and a libtool warning, we additionally create .lo files for each object
    14 
    15 AUTOMAKE_OPTIONS = foreign
     5AUTOMAKE_OPTIONS = foreign subdir-objects
    166
    177EXTRA_DIST = get.ASL INSTALL.ASL
    188
    19 if COIN_CC_IS_CL
    209lib_LTLIBRARIES = libcoinasl.la
    2110
    22 libcoinasl_la_SOURCES =
    23 libcoinasl_la_LIBADD = $(AMPLSOLVER_A)
    24 libcoinasl_la_DEPENDENCIES = $(AMPLSOLVER_A)
     11libcoinasl_la_SOURCES = \
     12        solvers/asldate.c \
     13        solvers/atof.c \
     14        solvers/auxinfo.c \
     15        solvers/avltree.c \
     16        solvers/b_search.c \
     17        solvers/basename.c \
     18        solvers/bscanf.c \
     19        solvers/com2eval.c \
     20        solvers/comeval.c \
     21        solvers/con1ival.c \
     22        solvers/con2ival.c \
     23        solvers/con2val.c \
     24        solvers/conadj.c \
     25        solvers/conpval.c \
     26        solvers/conscale.c \
     27        solvers/conval.c \
     28        solvers/degree.c \
     29        solvers/derprop.c \
     30        solvers/duthes.c \
     31        solvers/dtoa1.c \
     32        solvers/dynlink.c \
     33        solvers/f_read.c \
     34        solvers/fg_read.c \
     35        solvers/fg_write.c \
     36        solvers/fgh_read.c \
     37        solvers/fpecatch.c \
     38        solvers/fullhes.c \
     39        solvers/func_add.c \
     40        solvers/funcadd1.c \
     41        solvers/g_fmt.c \
     42        solvers/genrowno.c \
     43        solvers/getenv.c \
     44        solvers/getstub.c \
     45        solvers/htcl.c \
     46        solvers/indic_cons.c \
     47        solvers/jac0dim.c \
     48        solvers/jac2dim.c \
     49        solvers/jacdim.c \
     50        solvers/jacinc.c \
     51        solvers/jacinc1.c \
     52        solvers/libnamsave.c \
     53        solvers/mach.c \
     54        solvers/mainexit.c \
     55        solvers/mip_pri.c \
     56        solvers/misc.c \
     57        solvers/mpec_adj.c \
     58        solvers/mqpcheckv.c \
     59        solvers/mypow.c \
     60        solvers/names.c \
     61        solvers/nl_obj.c \
     62        solvers/nqpcheck.c \
     63        solvers/nqpcheckZ.c \
     64        solvers/obj2val.c \
     65        solvers/obj_adj.c \
     66        solvers/obj_prec.c \
     67        solvers/objconst.c \
     68        solvers/objval.c \
     69        solvers/objval_.c \
     70        solvers/op_type.c \
     71        solvers/pfg_read.c \
     72        solvers/pfghread.c \
     73        solvers/printf.c \
     74        solvers/pshvprod.c \
     75        solvers/punknown.c \
     76        solvers/qp_read.c \
     77        solvers/qpcheck.c \
     78        solvers/qpcheckZ.c \
     79        solvers/qsortv.c \
     80        solvers/readsol.c \
     81        solvers/repwhere.c \
     82        solvers/rops.c \
     83        solvers/rops2.c \
     84        solvers/sigcatch.c \
     85        solvers/sos_add.c \
     86        solvers/sphes.c \
     87        solvers/sscanf.c \
     88        solvers/stderr.c \
     89        solvers/studchk0.c \
     90        solvers/suf_sos.c \
     91        solvers/value.c \
     92        solvers/writesol.c \
     93        solvers/wrtsol_.c \
     94        solvers/ws_desc.c \
     95        solvers/wsu_desc.c \
     96        solvers/x2check.c \
     97        solvers/xectim.c \
     98        solvers/xp1known.c \
     99        solvers/xp2known.c \
     100        details.c \
     101        arith.h
     102
     103if CC_IS_CL
     104  libcoinasl_la_SOURCES += solvers/fpinitmt.c
     105else
     106  libcoinasl_la_SOURCES += solvers/fpinit.c
     107endif
     108
     109libcoinasl_la_LIBADD = $(ASL_LFLAGS)
    25110
    26111# This is for libtool
    27112libcoinasl_la_LDFLAGS = $(LT_LDFLAGS)
    28113
     114# make sure that arith.h is build before any of the actual ASL sources
     115BUILT_SOURCES = arith.h
     116
     117# program that generates arith.h
     118# NOTE: current ASL provides an alternative that doesn't require
     119#  building and executing something first
     120noinst_PROGRAMS = arithchk
     121arithchk_SOURCES = solvers/arithchk.c
     122if CC_IS_CL
     123  arithchk_CPPFLAGS = -DNO_FPINIT
    29124else
    30 libcoinasl_la_LIBADD =
    31 libcoinasl_la_LDFLAGS =
     125  arithchk_CPPFLAGS = -DASL_NO_FPINITMT
     126  arithchk_SOURCES += fpinit.c
    32127endif
     128arithchk_LDADD = $(ASL_LFLAGS)
    33129
    34 if DEPENDENCY_LINKING
    35 libcoinasl_la_LIBADD += $(ASL_PCLIBS)
    36 if HOST_IS_CYGWIN
    37 libcoinasl_la_LDFLAGS += -Wl,--export-all-symbols
    38 endif
    39 endif
     130arith.h : arithchk$(EXEEXT)
     131        ./arithchk$(EXEEXT) > $@
     132
     133details.c :
     134        echo "char sysdetails_ASL[] = \"$(build)\";" > $@
     135
     136# Suppress default defines from autoheader
     137DEFS =
    40138
    41139########################################################################
     
    43141########################################################################
    44142
    45 compdir = compdir
    46 
    47 alltargets = stdio1.h arith.h funcadd0.$(OBJEXT)
    48 
    49 if COIN_CC_IS_CL
    50 $(AMPLSOLVER_A):
    51         ./compile_MS_ASL
    52 else
    53 $(AMPLSOLVER_A):
    54         ./compile_Unix_ASL
    55 
    56 libcoinasl.la : $(AMPLSOLVER_A)
    57         $(mkdir_p) linkdir ; cd linkdir ; \
    58         $(AR) x ../$(AMPLSOLVER_A) ; \
    59         for i in *.o ; do \
    60           lofile=`echo $$i | sed -e 's/.o$$/.lo/'`; \
    61           echo "# fake line" > $$lofile ; \
    62           echo "# Generated by fake libtool" >> $$lofile ; \
    63           echo "pic_object='$$i'" >> $$lofile ; \
    64           echo "non_pic_object='$$i'" >> $$lofile ; \
    65         done ; cd ..
    66         $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -rpath $(libdir) $(LT_LDFLAGS) linkdir/*.lo $(libcoinasl_la_LIBADD) $(libcoinasl_la_LDFLAGS)
    67         rm -rf linkdir
    68 
    69 install-exec-local: libcoinasl.la
    70         test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
    71         if test -f libcoinasl.la; then \
    72           $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) libcoinasl.la "$(DESTDIR)$(libdir)/libcoinasl.la"; \
    73         fi
    74 
    75 uninstall-local:
    76         $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/libcoinasl.la"
    77 
    78 alltargets += libcoinasl.la
    79 
    80 endif
    81 
    82 stdio1.h arith.h funcadd0.$(OBJEXT): $(AMPLSOLVER_A)
    83 
    84 all-local: $(alltargets)
    85 
    86143test:
    87144        @echo "No test available for ASL."
    88145
    89 thirdpartyincludedir = $(includedir)/coin/ThirdParty
     146thirdpartyincludedir = $(includedir)/coin-or/asl
    90147thirdpartyinclude_HEADERS = \
    91148  solvers/asl.h solvers/asl_pfg.h solvers/asl_pfgh.h solvers/psinfo.h solvers/funcadd.h \
     
    96153pkgconfiglib_DATA = coinasl.pc
    97154
    98 CLEANFILES = $(AMPLSOLVER_A) $(alltargets)
     155CLEANFILES = arith.h details.c
    99156
    100157########################################################################
     
    104161# Files that are generated and should be cleaned with make distclean
    105162DISTCLEANFILES =
    106 
    107 include BuildTools/Makemain.inc
  • ThirdParty/ASL/trunk/Makefile.in

    r3820 r4022  
    1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
     1# Makefile.in generated by automake 1.16.1 from Makefile.am.
    22# @configure_input@
    33
    4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
    5 # 2003, 2004, 2005  Free Software Foundation, Inc.
     4# Copyright (C) 1994-2018 Free Software Foundation, Inc.
     5
    66# This Makefile.in is free software; the Free Software Foundation
    77# gives unlimited permission to copy and/or distribute it,
     
    1515@SET_MAKE@
    1616
    17 # Copyright (C) 2003, 2007 International Business Machines and others.
     17# Copyright (C) 2019 COIN-OR
    1818# All Rights Reserved.
    1919# This file is distributed under the Eclipse Public License.
    2020
    21 # the idea is to use the ASL Makefiles to build a static $(AMPLSOLVER_A) library via the compile_*_ASL scripts
    22 # from this library, we create a libcoinasl.la libtool library
    23 # in a MS VC build, we assume static libraries are used, so we can use the usual libtool machinery via LIBADD
    24 # in a normal build, we build the libcoinasl.la library by extracting the $(AMPLSOLVER_A) library and relinking it via libtool
    25 #    in a shared library build, this should give a shared libcoinasl.so library
    26 #    further, configure should have taken care of adding -fPIC -DPIC to the CFLAGS when compiling the ASL sources
    27 #    to avoid a failure when building static libraries and a libtool warning, we additionally create .lo files for each object
    28 
    29 # Copyright (C) 2006, 2007 International Business Machines and others.
    30 # All Rights Reserved.
    31 # This file is distributed under the Eclipse Public License.
    32 
    33 # Author:  Andreas Waechter           IBM    2006-04-13
    34 
    35 ########################################################################
    36 #                    Documentation installation                        #
    37 ########################################################################
    38 
    39 
    40 
    41 srcdir = @srcdir@
    42 top_srcdir = @top_srcdir@
     21
     22
     23
    4324VPATH = @srcdir@
     25am__is_gnu_make = { \
     26  if test -z '$(MAKELEVEL)'; then \
     27    false; \
     28  elif test -n '$(MAKE_HOST)'; then \
     29    true; \
     30  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
     31    true; \
     32  else \
     33    false; \
     34  fi; \
     35}
     36am__make_running_with_option = \
     37  case $${target_option-} in \
     38      ?) ;; \
     39      *) echo "am__make_running_with_option: internal error: invalid" \
     40              "target option '$${target_option-}' specified" >&2; \
     41         exit 1;; \
     42  esac; \
     43  has_opt=no; \
     44  sane_makeflags=$$MAKEFLAGS; \
     45  if $(am__is_gnu_make); then \
     46    sane_makeflags=$$MFLAGS; \
     47  else \
     48    case $$MAKEFLAGS in \
     49      *\\[\ \   ]*) \
     50        bs=\\; \
     51        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
     52          | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
     53    esac; \
     54  fi; \
     55  skip_next=no; \
     56  strip_trailopt () \
     57  { \
     58    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
     59  }; \
     60  for flg in $$sane_makeflags; do \
     61    test $$skip_next = yes && { skip_next=no; continue; }; \
     62    case $$flg in \
     63      *=*|--*) continue;; \
     64        -*I) strip_trailopt 'I'; skip_next=yes;; \
     65      -*I?*) strip_trailopt 'I';; \
     66        -*O) strip_trailopt 'O'; skip_next=yes;; \
     67      -*O?*) strip_trailopt 'O';; \
     68        -*l) strip_trailopt 'l'; skip_next=yes;; \
     69      -*l?*) strip_trailopt 'l';; \
     70      -[dEDm]) skip_next=yes;; \
     71      -[JT]) skip_next=yes;; \
     72    esac; \
     73    case $$flg in \
     74      *$$target_option*) has_opt=yes; break;; \
     75    esac; \
     76  done; \
     77  test $$has_opt = yes
     78am__make_dryrun = (target_option=n; $(am__make_running_with_option))
     79am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
    4480pkgdatadir = $(datadir)/@PACKAGE@
     81pkgincludedir = $(includedir)/@PACKAGE@
    4582pkglibdir = $(libdir)/@PACKAGE@
    46 pkgincludedir = $(includedir)/@PACKAGE@
    47 top_builddir = .
     83pkglibexecdir = $(libexecdir)/@PACKAGE@
    4884am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    49 INSTALL = @INSTALL@
    5085install_sh_DATA = $(install_sh) -c -m 644
    5186install_sh_PROGRAM = $(install_sh) -c
     
    6196build_triplet = @build@
    6297host_triplet = @host@
    63 @COIN_CC_IS_CL_FALSE@libcoinasl_la_DEPENDENCIES =  \
    64 @COIN_CC_IS_CL_FALSE@   $(am__DEPENDENCIES_2)
    65 @DEPENDENCY_LINKING_TRUE@am__append_1 = $(ASL_PCLIBS)
    66 @DEPENDENCY_LINKING_TRUE@@HOST_IS_CYGWIN_TRUE@am__append_2 = -Wl,--export-all-symbols
    67 @COIN_CC_IS_CL_FALSE@am__append_3 = libcoinasl.la
    68 DIST_COMMON = $(am__configure_deps) $(srcdir)/BuildTools/Makemain.inc \
    69         $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
    70         $(srcdir)/coinasl-uninstalled.pc.in $(srcdir)/coinasl.pc.in \
    71         $(srcdir)/compile_MS_ASL.in $(srcdir)/compile_Unix_ASL.in \
    72         $(thirdpartyinclude_HEADERS) $(top_srcdir)/configure \
    73         config.guess config.sub depcomp install-sh ltmain.sh missing
    74 @HAVE_EXTERNALS_TRUE@am__append_4 = Dependencies
    75 @HAVE_EXTERNALS_TRUE@am__append_5 = .Dependencies-stamp
     98@CC_IS_CL_TRUE@am__append_1 = solvers/fpinitmt.c
     99@CC_IS_CL_FALSE@am__append_2 = solvers/fpinit.c
     100noinst_PROGRAMS = arithchk$(EXEEXT)
     101@CC_IS_CL_FALSE@am__append_3 = fpinit.c
    76102subdir = .
    77103ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    78 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
    79         $(top_srcdir)/configure.ac
     104am__aclocal_m4_deps = $(top_srcdir)/configure.ac
    80105am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    81106        $(ACLOCAL_M4)
     107DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
     108        $(am__configure_deps) $(thirdpartyinclude_HEADERS)
    82109am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
    83  configure.lineno configure.status.lineno
     110 configure.lineno config.status.lineno
    84111mkinstalldirs = $(install_sh) -d
    85 CONFIG_CLEAN_FILES = compile_MS_ASL compile_Unix_ASL coinasl.pc \
    86         coinasl-uninstalled.pc
     112CONFIG_CLEAN_FILES = coinasl.pc stdio1.h fpinit.c
     113CONFIG_CLEAN_VPATH_FILES =
     114PROGRAMS = $(noinst_PROGRAMS)
    87115am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
    88116am__vpath_adj = case $$p in \
     
    90118    *) f=$$p;; \
    91119  esac;
    92 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     120am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
     121am__install_max = 40
     122am__nobase_strip_setup = \
     123  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
     124am__nobase_strip = \
     125  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
     126am__nobase_list = $(am__nobase_strip_setup); \
     127  for p in $$list; do echo "$$p $$p"; done | \
     128  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
     129  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
     130    if (++n[$$2] == $(am__install_max)) \
     131      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
     132    END { for (dir in files) print dir, files[dir] }'
     133am__base_list = \
     134  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
     135  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
     136am__uninstall_files_from_dir = { \
     137  test -z "$$files" \
     138    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
     139    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
     140         $(am__cd) "$$dir" && rm -f $$files; }; \
     141  }
    93142am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfiglibdir)" \
    94143        "$(DESTDIR)$(thirdpartyincludedir)"
    95 libLTLIBRARIES_INSTALL = $(INSTALL)
    96144LTLIBRARIES = $(lib_LTLIBRARIES)
    97145am__DEPENDENCIES_1 =
    98 @DEPENDENCY_LINKING_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)
    99 am_libcoinasl_la_OBJECTS =
     146libcoinasl_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
     147am__dirstamp = $(am__leading_dot)dirstamp
     148@CC_IS_CL_TRUE@am__objects_1 = solvers/fpinitmt.lo
     149@CC_IS_CL_FALSE@am__objects_2 = solvers/fpinit.lo
     150am_libcoinasl_la_OBJECTS = solvers/asldate.lo solvers/atof.lo \
     151        solvers/auxinfo.lo solvers/avltree.lo solvers/b_search.lo \
     152        solvers/basename.lo solvers/bscanf.lo solvers/com2eval.lo \
     153        solvers/comeval.lo solvers/con1ival.lo solvers/con2ival.lo \
     154        solvers/con2val.lo solvers/conadj.lo solvers/conpval.lo \
     155        solvers/conscale.lo solvers/conval.lo solvers/degree.lo \
     156        solvers/derprop.lo solvers/duthes.lo solvers/dtoa1.lo \
     157        solvers/dynlink.lo solvers/f_read.lo solvers/fg_read.lo \
     158        solvers/fg_write.lo solvers/fgh_read.lo solvers/fpecatch.lo \
     159        solvers/fullhes.lo solvers/func_add.lo solvers/funcadd1.lo \
     160        solvers/g_fmt.lo solvers/genrowno.lo solvers/getenv.lo \
     161        solvers/getstub.lo solvers/htcl.lo solvers/indic_cons.lo \
     162        solvers/jac0dim.lo solvers/jac2dim.lo solvers/jacdim.lo \
     163        solvers/jacinc.lo solvers/jacinc1.lo solvers/libnamsave.lo \
     164        solvers/mach.lo solvers/mainexit.lo solvers/mip_pri.lo \
     165        solvers/misc.lo solvers/mpec_adj.lo solvers/mqpcheckv.lo \
     166        solvers/mypow.lo solvers/names.lo solvers/nl_obj.lo \
     167        solvers/nqpcheck.lo solvers/nqpcheckZ.lo solvers/obj2val.lo \
     168        solvers/obj_adj.lo solvers/obj_prec.lo solvers/objconst.lo \
     169        solvers/objval.lo solvers/objval_.lo solvers/op_type.lo \
     170        solvers/pfg_read.lo solvers/pfghread.lo solvers/printf.lo \
     171        solvers/pshvprod.lo solvers/punknown.lo solvers/qp_read.lo \
     172        solvers/qpcheck.lo solvers/qpcheckZ.lo solvers/qsortv.lo \
     173        solvers/readsol.lo solvers/repwhere.lo solvers/rops.lo \
     174        solvers/rops2.lo solvers/sigcatch.lo solvers/sos_add.lo \
     175        solvers/sphes.lo solvers/sscanf.lo solvers/stderr.lo \
     176        solvers/studchk0.lo solvers/suf_sos.lo solvers/value.lo \
     177        solvers/writesol.lo solvers/wrtsol_.lo solvers/ws_desc.lo \
     178        solvers/wsu_desc.lo solvers/x2check.lo solvers/xectim.lo \
     179        solvers/xp1known.lo solvers/xp2known.lo details.lo \
     180        $(am__objects_1) $(am__objects_2)
    100181libcoinasl_la_OBJECTS = $(am_libcoinasl_la_OBJECTS)
    101 @COIN_CC_IS_CL_TRUE@am_libcoinasl_la_rpath = -rpath $(libdir)
    102 DEFAULT_INCLUDES = -I. -I$(srcdir)
     182AM_V_lt = $(am__v_lt_@AM_V@)
     183am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
     184am__v_lt_0 = --silent
     185am__v_lt_1 =
     186libcoinasl_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
     187        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     188        $(libcoinasl_la_LDFLAGS) $(LDFLAGS) -o $@
     189@CC_IS_CL_FALSE@am__objects_3 = arithchk-fpinit.$(OBJEXT)
     190am_arithchk_OBJECTS = solvers/arithchk-arithchk.$(OBJEXT) \
     191        $(am__objects_3)
     192arithchk_OBJECTS = $(am_arithchk_OBJECTS)
     193arithchk_DEPENDENCIES = $(am__DEPENDENCIES_1)
     194AM_V_P = $(am__v_P_@AM_V@)
     195am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
     196am__v_P_0 = false
     197am__v_P_1 = :
     198AM_V_GEN = $(am__v_GEN_@AM_V@)
     199am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
     200am__v_GEN_0 = @echo "  GEN     " $@;
     201am__v_GEN_1 =
     202AM_V_at = $(am__v_at_@AM_V@)
     203am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
     204am__v_at_0 = @
     205am__v_at_1 =
     206DEFAULT_INCLUDES = -I.@am__isrc@
     207depcomp = $(SHELL) $(top_srcdir)/depcomp
     208am__maybe_remake_depfiles = depfiles
     209am__depfiles_remade = ./$(DEPDIR)/arithchk-fpinit.Po \
     210        ./$(DEPDIR)/details.Plo solvers/$(DEPDIR)/arithchk-arithchk.Po \
     211        solvers/$(DEPDIR)/asldate.Plo solvers/$(DEPDIR)/atof.Plo \
     212        solvers/$(DEPDIR)/auxinfo.Plo solvers/$(DEPDIR)/avltree.Plo \
     213        solvers/$(DEPDIR)/b_search.Plo solvers/$(DEPDIR)/basename.Plo \
     214        solvers/$(DEPDIR)/bscanf.Plo solvers/$(DEPDIR)/com2eval.Plo \
     215        solvers/$(DEPDIR)/comeval.Plo solvers/$(DEPDIR)/con1ival.Plo \
     216        solvers/$(DEPDIR)/con2ival.Plo solvers/$(DEPDIR)/con2val.Plo \
     217        solvers/$(DEPDIR)/conadj.Plo solvers/$(DEPDIR)/conpval.Plo \
     218        solvers/$(DEPDIR)/conscale.Plo solvers/$(DEPDIR)/conval.Plo \
     219        solvers/$(DEPDIR)/degree.Plo solvers/$(DEPDIR)/derprop.Plo \
     220        solvers/$(DEPDIR)/dtoa1.Plo solvers/$(DEPDIR)/duthes.Plo \
     221        solvers/$(DEPDIR)/dynlink.Plo solvers/$(DEPDIR)/f_read.Plo \
     222        solvers/$(DEPDIR)/fg_read.Plo solvers/$(DEPDIR)/fg_write.Plo \
     223        solvers/$(DEPDIR)/fgh_read.Plo solvers/$(DEPDIR)/fpecatch.Plo \
     224        solvers/$(DEPDIR)/fpinit.Plo solvers/$(DEPDIR)/fpinitmt.Plo \
     225        solvers/$(DEPDIR)/fullhes.Plo solvers/$(DEPDIR)/func_add.Plo \
     226        solvers/$(DEPDIR)/funcadd1.Plo solvers/$(DEPDIR)/g_fmt.Plo \
     227        solvers/$(DEPDIR)/genrowno.Plo solvers/$(DEPDIR)/getenv.Plo \
     228        solvers/$(DEPDIR)/getstub.Plo solvers/$(DEPDIR)/htcl.Plo \
     229        solvers/$(DEPDIR)/indic_cons.Plo solvers/$(DEPDIR)/jac0dim.Plo \
     230        solvers/$(DEPDIR)/jac2dim.Plo solvers/$(DEPDIR)/jacdim.Plo \
     231        solvers/$(DEPDIR)/jacinc.Plo solvers/$(DEPDIR)/jacinc1.Plo \
     232        solvers/$(DEPDIR)/libnamsave.Plo solvers/$(DEPDIR)/mach.Plo \
     233        solvers/$(DEPDIR)/mainexit.Plo solvers/$(DEPDIR)/mip_pri.Plo \
     234        solvers/$(DEPDIR)/misc.Plo solvers/$(DEPDIR)/mpec_adj.Plo \
     235        solvers/$(DEPDIR)/mqpcheckv.Plo solvers/$(DEPDIR)/mypow.Plo \
     236        solvers/$(DEPDIR)/names.Plo solvers/$(DEPDIR)/nl_obj.Plo \
     237        solvers/$(DEPDIR)/nqpcheck.Plo solvers/$(DEPDIR)/nqpcheckZ.Plo \
     238        solvers/$(DEPDIR)/obj2val.Plo solvers/$(DEPDIR)/obj_adj.Plo \
     239        solvers/$(DEPDIR)/obj_prec.Plo solvers/$(DEPDIR)/objconst.Plo \
     240        solvers/$(DEPDIR)/objval.Plo solvers/$(DEPDIR)/objval_.Plo \
     241        solvers/$(DEPDIR)/op_type.Plo solvers/$(DEPDIR)/pfg_read.Plo \
     242        solvers/$(DEPDIR)/pfghread.Plo solvers/$(DEPDIR)/printf.Plo \
     243        solvers/$(DEPDIR)/pshvprod.Plo solvers/$(DEPDIR)/punknown.Plo \
     244        solvers/$(DEPDIR)/qp_read.Plo solvers/$(DEPDIR)/qpcheck.Plo \
     245        solvers/$(DEPDIR)/qpcheckZ.Plo solvers/$(DEPDIR)/qsortv.Plo \
     246        solvers/$(DEPDIR)/readsol.Plo solvers/$(DEPDIR)/repwhere.Plo \
     247        solvers/$(DEPDIR)/rops.Plo solvers/$(DEPDIR)/rops2.Plo \
     248        solvers/$(DEPDIR)/sigcatch.Plo solvers/$(DEPDIR)/sos_add.Plo \
     249        solvers/$(DEPDIR)/sphes.Plo solvers/$(DEPDIR)/sscanf.Plo \
     250        solvers/$(DEPDIR)/stderr.Plo solvers/$(DEPDIR)/studchk0.Plo \
     251        solvers/$(DEPDIR)/suf_sos.Plo solvers/$(DEPDIR)/value.Plo \
     252        solvers/$(DEPDIR)/writesol.Plo solvers/$(DEPDIR)/wrtsol_.Plo \
     253        solvers/$(DEPDIR)/ws_desc.Plo solvers/$(DEPDIR)/wsu_desc.Plo \
     254        solvers/$(DEPDIR)/x2check.Plo solvers/$(DEPDIR)/xectim.Plo \
     255        solvers/$(DEPDIR)/xp1known.Plo solvers/$(DEPDIR)/xp2known.Plo
     256am__mv = mv -f
    103257COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    104258        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
    105 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
     259LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
     260        $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
    106261        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
    107262        $(AM_CFLAGS) $(CFLAGS)
     263AM_V_CC = $(am__v_CC_@AM_V@)
     264am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
     265am__v_CC_0 = @echo "  CC      " $@;
     266am__v_CC_1 =
    108267CCLD = $(CC)
    109 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     268LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
     269        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
    110270        $(AM_LDFLAGS) $(LDFLAGS) -o $@
    111 SOURCES = $(libcoinasl_la_SOURCES)
    112 DIST_SOURCES = $(libcoinasl_la_SOURCES)
    113 pkgconfiglibDATA_INSTALL = $(INSTALL_DATA)
     271AM_V_CCLD = $(am__v_CCLD_@AM_V@)
     272am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
     273am__v_CCLD_0 = @echo "  CCLD    " $@;
     274am__v_CCLD_1 =
     275SOURCES = $(libcoinasl_la_SOURCES) $(arithchk_SOURCES)
     276am__can_run_installinfo = \
     277  case $$AM_UPDATE_INFO_DIR in \
     278    n|no|NO) false;; \
     279    *) (install-info --version) >/dev/null 2>&1;; \
     280  esac
    114281DATA = $(pkgconfiglib_DATA)
    115 thirdpartyincludeHEADERS_INSTALL = $(INSTALL_HEADER)
    116282HEADERS = $(thirdpartyinclude_HEADERS)
     283am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
     284# Read a list of newline-separated strings from the standard input,
     285# and print each of them once, without duplicates.  Input order is
     286# *not* preserved.
     287am__uniquify_input = $(AWK) '\
     288  BEGIN { nonempty = 0; } \
     289  { items[$$0] = 1; nonempty = 1; } \
     290  END { if (nonempty) { for (i in items) print i; }; } \
     291'
     292# Make sure the list of sources is unique.  This is necessary because,
     293# e.g., the same source file might be shared among _SOURCES variables
     294# for different programs/libraries.
     295am__define_uniq_tagged_files = \
     296  list='$(am__tagged_files)'; \
     297  unique=`for i in $$list; do \
     298    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     299  done | $(am__uniquify_input)`
    117300ETAGS = etags
    118301CTAGS = ctags
    119 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    120 distdir = $(PACKAGE)-$(VERSION)
    121 top_distdir = $(distdir)
    122 am__remove_distdir = \
    123   { test ! -d $(distdir) \
    124     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
    125          && rm -fr $(distdir); }; }
    126 DIST_ARCHIVES = $(distdir).tar.gz
    127 GZIP_ENV = --best
    128 distuninstallcheck_listfiles = find . -type f -print
    129 distcleancheck_listfiles = find . -type f -print
    130 ABSBUILDDIR = @ABSBUILDDIR@
     302CSCOPE = cscope
     303AM_RECURSIVE_TARGETS = cscope
    131304ACLOCAL = @ACLOCAL@
    132 ADD_CFLAGS = @ADD_CFLAGS@
    133 ALWAYS_FALSE_FALSE = @ALWAYS_FALSE_FALSE@
    134 ALWAYS_FALSE_TRUE = @ALWAYS_FALSE_TRUE@
    135 AMDEP_FALSE = @AMDEP_FALSE@
    136 AMDEP_TRUE = @AMDEP_TRUE@
    137 AMPLSOLVER_A = @AMPLSOLVER_A@
    138305AMTAR = @AMTAR@
     306AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
    139307AR = @AR@
    140 ASLMAKEFLAGS = @ASLMAKEFLAGS@
    141 ASL_PCLIBS = @ASL_PCLIBS@
    142 ASL_SVN_REV = @ASL_SVN_REV@
     308ASL_CFLAGS_NOPC = @ASL_CFLAGS_NOPC@
     309ASL_LFLAGS = @ASL_LFLAGS@
     310ASL_LFLAGS_NOPC = @ASL_LFLAGS_NOPC@
    143311AUTOCONF = @AUTOCONF@
    144312AUTOHEADER = @AUTOHEADER@
    145313AUTOMAKE = @AUTOMAKE@
    146 AUX_DIR = @AUX_DIR@
    147314AWK = @AWK@
    148 BUILDTOOLSDIR = @BUILDTOOLSDIR@
    149315CC = @CC@
    150316CCDEPMODE = @CCDEPMODE@
    151 CDEFS = @CDEFS@
    152317CFLAGS = @CFLAGS@
    153 COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@
    154 COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@
    155 COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@
    156 COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@
    157 COIN_PKG_CONFIG_PATH = @COIN_PKG_CONFIG_PATH@
    158 COIN_PKG_CONFIG_PATH_UNINSTALLED = @COIN_PKG_CONFIG_PATH_UNINSTALLED@
    159318CPP = @CPP@
    160319CPPFLAGS = @CPPFLAGS@
    161 CXX = @CXX@
    162 CXXCPP = @CXXCPP@
    163 CXXDEPMODE = @CXXDEPMODE@
    164 CXXFLAGS = @CXXFLAGS@
    165320CYGPATH_W = @CYGPATH_W@
    166 DBG_CFLAGS = @DBG_CFLAGS@
    167 DEFS = @DEFS@
     321
     322# Suppress default defines from autoheader
     323DEFS =
    168324DEPDIR = @DEPDIR@
    169 DEPENDENCY_LINKING_FALSE = @DEPENDENCY_LINKING_FALSE@
    170 DEPENDENCY_LINKING_TRUE = @DEPENDENCY_LINKING_TRUE@
    171 ECHO = @ECHO@
     325DLLTOOL = @DLLTOOL@
     326DSYMUTIL = @DSYMUTIL@
     327DUMPBIN = @DUMPBIN@
    172328ECHO_C = @ECHO_C@
    173329ECHO_N = @ECHO_N@
     
    175331EGREP = @EGREP@
    176332EXEEXT = @EXEEXT@
    177 F77 = @F77@
    178 FFLAGS = @FFLAGS@
    179 HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
    180 HAVE_EXTERNALS_TRUE = @HAVE_EXTERNALS_TRUE@
    181 HOST_IS_CYGWIN_FALSE = @HOST_IS_CYGWIN_FALSE@
    182 HOST_IS_CYGWIN_TRUE = @HOST_IS_CYGWIN_TRUE@
    183 HOST_TYPE = @HOST_TYPE@
     333FGREP = @FGREP@
     334GREP = @GREP@
     335INSTALL = @INSTALL@
    184336INSTALL_DATA = @INSTALL_DATA@
    185337INSTALL_PROGRAM = @INSTALL_PROGRAM@
    186338INSTALL_SCRIPT = @INSTALL_SCRIPT@
    187339INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
     340LD = @LD@
    188341LDFLAGS = @LDFLAGS@
    189 LIBEXT = @LIBEXT@
    190342LIBOBJS = @LIBOBJS@
    191343LIBS = @LIBS@
    192344LIBTOOL = @LIBTOOL@
    193 LIBTOOLM4 = @LIBTOOLM4@
     345LIPO = @LIPO@
    194346LN_S = @LN_S@
    195347LTLIBOBJS = @LTLIBOBJS@
    196348LT_LDFLAGS = @LT_LDFLAGS@
     349LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    197350MAINT = @MAINT@
    198 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
    199 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
    200351MAKEINFO = @MAKEINFO@
    201 MPICC = @MPICC@
     352MANIFEST_TOOL = @MANIFEST_TOOL@
     353MKDIR_P = @MKDIR_P@
     354NM = @NM@
     355NMEDIT = @NMEDIT@
     356OBJDUMP = @OBJDUMP@
    202357OBJEXT = @OBJEXT@
    203 OPT_CFLAGS = @OPT_CFLAGS@
     358OTOOL = @OTOOL@
     359OTOOL64 = @OTOOL64@
    204360PACKAGE = @PACKAGE@
    205361PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     
    207363PACKAGE_STRING = @PACKAGE_STRING@
    208364PACKAGE_TARNAME = @PACKAGE_TARNAME@
     365PACKAGE_URL = @PACKAGE_URL@
    209366PACKAGE_VERSION = @PACKAGE_VERSION@
    210367PATH_SEPARATOR = @PATH_SEPARATOR@
    211 PKG_CONFIG = @PKG_CONFIG@
    212368RANLIB = @RANLIB@
    213 RPATH_FLAGS = @RPATH_FLAGS@
     369SED = @SED@
    214370SET_MAKE = @SET_MAKE@
    215371SHELL = @SHELL@
    216372STRIP = @STRIP@
    217373VERSION = @VERSION@
    218 VPATH_DISTCLEANFILES = @VPATH_DISTCLEANFILES@
    219 abs_bin_dir = @abs_bin_dir@
    220 abs_include_dir = @abs_include_dir@
    221 abs_lib_dir = @abs_lib_dir@
    222 abs_source_dir = @abs_source_dir@
    223 ac_c_preproc_warn_flag = @ac_c_preproc_warn_flag@
     374abs_builddir = @abs_builddir@
     375abs_srcdir = @abs_srcdir@
     376abs_top_builddir = @abs_top_builddir@
     377abs_top_srcdir = @abs_top_srcdir@
    224378ac_ct_AR = @ac_ct_AR@
    225379ac_ct_CC = @ac_ct_CC@
    226 ac_ct_CXX = @ac_ct_CXX@
    227 ac_ct_F77 = @ac_ct_F77@
    228 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    229 ac_ct_RANLIB = @ac_ct_RANLIB@
    230 ac_ct_STRIP = @ac_ct_STRIP@
    231 ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
    232 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    233 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
    234 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
    235 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
     380ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
    236381am__include = @am__include@
    237382am__leading_dot = @am__leading_dot@
     
    245390build_os = @build_os@
    246391build_vendor = @build_vendor@
     392builddir = @builddir@
    247393datadir = @datadir@
     394datarootdir = @datarootdir@
     395docdir = @docdir@
     396dvidir = @dvidir@
    248397exec_prefix = @exec_prefix@
    249 have_autoconf = @have_autoconf@
    250 have_automake = @have_automake@
    251 have_svn = @have_svn@
    252 have_svnversion = @have_svnversion@
    253398host = @host@
    254399host_alias = @host_alias@
     
    256401host_os = @host_os@
    257402host_vendor = @host_vendor@
     403htmldir = @htmldir@
    258404includedir = @includedir@
    259405infodir = @infodir@
     
    261407libdir = @libdir@
    262408libexecdir = @libexecdir@
     409localedir = @localedir@
    263410localstatedir = @localstatedir@
    264411mandir = @mandir@
    265412mkdir_p = @mkdir_p@
    266413oldincludedir = @oldincludedir@
     414pdfdir = @pdfdir@
    267415prefix = @prefix@
    268416program_transform_name = @program_transform_name@
     417psdir = @psdir@
    269418sbindir = @sbindir@
    270419sharedstatedir = @sharedstatedir@
    271 sol_cc_compiler = @sol_cc_compiler@
     420srcdir = @srcdir@
    272421sysconfdir = @sysconfdir@
    273422target_alias = @target_alias@
    274 AUTOMAKE_OPTIONS = foreign
    275 EXTRA_DIST = get.ASL INSTALL.ASL $(am__append_4)
    276 @COIN_CC_IS_CL_TRUE@lib_LTLIBRARIES = libcoinasl.la
    277 @COIN_CC_IS_CL_TRUE@libcoinasl_la_SOURCES =
    278 @COIN_CC_IS_CL_FALSE@libcoinasl_la_LIBADD = $(am__append_1)
    279 @COIN_CC_IS_CL_TRUE@libcoinasl_la_LIBADD = $(AMPLSOLVER_A) \
    280 @COIN_CC_IS_CL_TRUE@    $(am__append_1)
    281 @COIN_CC_IS_CL_TRUE@libcoinasl_la_DEPENDENCIES = $(AMPLSOLVER_A)
    282 @COIN_CC_IS_CL_FALSE@libcoinasl_la_LDFLAGS = $(am__append_2)
     423top_build_prefix = @top_build_prefix@
     424top_builddir = @top_builddir@
     425top_srcdir = @top_srcdir@
     426AUTOMAKE_OPTIONS = foreign subdir-objects
     427EXTRA_DIST = get.ASL INSTALL.ASL
     428lib_LTLIBRARIES = libcoinasl.la
     429libcoinasl_la_SOURCES = solvers/asldate.c solvers/atof.c \
     430        solvers/auxinfo.c solvers/avltree.c solvers/b_search.c \
     431        solvers/basename.c solvers/bscanf.c solvers/com2eval.c \
     432        solvers/comeval.c solvers/con1ival.c solvers/con2ival.c \
     433        solvers/con2val.c solvers/conadj.c solvers/conpval.c \
     434        solvers/conscale.c solvers/conval.c solvers/degree.c \
     435        solvers/derprop.c solvers/duthes.c solvers/dtoa1.c \
     436        solvers/dynlink.c solvers/f_read.c solvers/fg_read.c \
     437        solvers/fg_write.c solvers/fgh_read.c solvers/fpecatch.c \
     438        solvers/fullhes.c solvers/func_add.c solvers/funcadd1.c \
     439        solvers/g_fmt.c solvers/genrowno.c solvers/getenv.c \
     440        solvers/getstub.c solvers/htcl.c solvers/indic_cons.c \
     441        solvers/jac0dim.c solvers/jac2dim.c solvers/jacdim.c \
     442        solvers/jacinc.c solvers/jacinc1.c solvers/libnamsave.c \
     443        solvers/mach.c solvers/mainexit.c solvers/mip_pri.c \
     444        solvers/misc.c solvers/mpec_adj.c solvers/mqpcheckv.c \
     445        solvers/mypow.c solvers/names.c solvers/nl_obj.c \
     446        solvers/nqpcheck.c solvers/nqpcheckZ.c solvers/obj2val.c \
     447        solvers/obj_adj.c solvers/obj_prec.c solvers/objconst.c \
     448        solvers/objval.c solvers/objval_.c solvers/op_type.c \
     449        solvers/pfg_read.c solvers/pfghread.c solvers/printf.c \
     450        solvers/pshvprod.c solvers/punknown.c solvers/qp_read.c \
     451        solvers/qpcheck.c solvers/qpcheckZ.c solvers/qsortv.c \
     452        solvers/readsol.c solvers/repwhere.c solvers/rops.c \
     453        solvers/rops2.c solvers/sigcatch.c solvers/sos_add.c \
     454        solvers/sphes.c solvers/sscanf.c solvers/stderr.c \
     455        solvers/studchk0.c solvers/suf_sos.c solvers/value.c \
     456        solvers/writesol.c solvers/wrtsol_.c solvers/ws_desc.c \
     457        solvers/wsu_desc.c solvers/x2check.c solvers/xectim.c \
     458        solvers/xp1known.c solvers/xp2known.c details.c arith.h \
     459        $(am__append_1) $(am__append_2)
     460libcoinasl_la_LIBADD = $(ASL_LFLAGS)
    283461
    284462# This is for libtool
    285 @COIN_CC_IS_CL_TRUE@libcoinasl_la_LDFLAGS = $(LT_LDFLAGS) \
    286 @COIN_CC_IS_CL_TRUE@    $(am__append_2)
    287 
    288 ########################################################################
    289 #                           Extra Targets                              #
    290 ########################################################################
    291 compdir = compdir
    292 alltargets = stdio1.h arith.h funcadd0.$(OBJEXT) $(am__append_3)
    293 thirdpartyincludedir = $(includedir)/coin/ThirdParty
     463libcoinasl_la_LDFLAGS = $(LT_LDFLAGS)
     464
     465# make sure that arith.h is build before any of the actual ASL sources
     466BUILT_SOURCES = arith.h
     467arithchk_SOURCES = solvers/arithchk.c $(am__append_3)
     468@CC_IS_CL_FALSE@arithchk_CPPFLAGS = -DASL_NO_FPINITMT
     469@CC_IS_CL_TRUE@arithchk_CPPFLAGS = -DNO_FPINIT
     470arithchk_LDADD = $(ASL_LFLAGS)
     471thirdpartyincludedir = $(includedir)/coin-or/asl
    294472thirdpartyinclude_HEADERS = \
    295473  solvers/asl.h solvers/asl_pfg.h solvers/asl_pfgh.h solvers/psinfo.h solvers/funcadd.h \
     
    299477pkgconfiglibdir = $(libdir)/pkgconfig
    300478pkgconfiglib_DATA = coinasl.pc
    301 CLEANFILES = $(AMPLSOLVER_A) $(alltargets)
     479CLEANFILES = arith.h details.c
    302480
    303481########################################################################
     
    306484
    307485# Files that are generated and should be cleaned with make distclean
    308 DISTCLEANFILES = $(am__append_5) $(VPATH_DISTCLEANFILES)
    309 DocFiles = README AUTHORS LICENSE
    310 DocInstallDir = $(datadir)/coin/doc/$(PACKAGE_NAME)
    311 COIN_HAS_DOXYGEN = @COIN_HAS_DOXYGEN_TRUE@TRUE
    312 COIN_HAS_LATEX = @COIN_HAS_LATEX_TRUE@TRUE
    313 all: all-am
     486DISTCLEANFILES =
     487all: $(BUILT_SOURCES)
     488        $(MAKE) $(AM_MAKEFLAGS) all-am
    314489
    315490.SUFFIXES:
    316 am--refresh:
     491.SUFFIXES: .c .lo .o .obj
     492am--refresh: Makefile
    317493        @:
    318 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/BuildTools/Makemain.inc $(am__configure_deps)
     494$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
    319495        @for dep in $?; do \
    320496          case '$(am__configure_deps)' in \
    321497            *$$dep*) \
    322               echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
    323               cd $(srcdir) && $(AUTOMAKE) --foreign \
     498              echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
     499              $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
    324500                && exit 0; \
    325501              exit 1;; \
    326502          esac; \
    327503        done; \
    328         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  Makefile'; \
    329         cd $(top_srcdir) && \
    330           $(AUTOMAKE) --foreign  Makefile
    331 .PRECIOUS: Makefile
     504        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
     505        $(am__cd) $(top_srcdir) && \
     506          $(AUTOMAKE) --foreign Makefile
    332507Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    333508        @case '$?' in \
     
    336511            $(SHELL) ./config.status;; \
    337512          *) \
    338             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
    339             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
     513            echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
     514            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
    340515        esac;
    341516
     
    344519
    345520$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
    346         cd $(srcdir) && $(AUTOCONF)
     521        $(am__cd) $(srcdir) && $(AUTOCONF)
    347522$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    348         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    349 compile_MS_ASL: $(top_builddir)/config.status $(srcdir)/compile_MS_ASL.in
    350         cd $(top_builddir) && $(SHELL) ./config.status $@
    351 compile_Unix_ASL: $(top_builddir)/config.status $(srcdir)/compile_Unix_ASL.in
    352         cd $(top_builddir) && $(SHELL) ./config.status $@
     523        $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
     524$(am__aclocal_m4_deps):
    353525coinasl.pc: $(top_builddir)/config.status $(srcdir)/coinasl.pc.in
    354526        cd $(top_builddir) && $(SHELL) ./config.status $@
    355 coinasl-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/coinasl-uninstalled.pc.in
    356         cd $(top_builddir) && $(SHELL) ./config.status $@
     527
     528clean-noinstPROGRAMS:
     529        @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
     530        echo " rm -f" $$list; \
     531        rm -f $$list || exit $$?; \
     532        test -n "$(EXEEXT)" || exit 0; \
     533        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
     534        echo " rm -f" $$list; \
     535        rm -f $$list
     536
    357537install-libLTLIBRARIES: $(lib_LTLIBRARIES)
    358538        @$(NORMAL_INSTALL)
    359         test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
    360         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
     539        @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
     540        list2=; for p in $$list; do \
    361541          if test -f $$p; then \
    362             f=$(am__strip_dir) \
    363             echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
    364             $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
     542            list2="$$list2 $$p"; \
    365543          else :; fi; \
    366         done
     544        done; \
     545        test -z "$$list2" || { \
     546          echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
     547          $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
     548          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
     549          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
     550        }
    367551
    368552uninstall-libLTLIBRARIES:
    369553        @$(NORMAL_UNINSTALL)
    370         @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
    371           p=$(am__strip_dir) \
    372           echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
    373           $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
     554        @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
     555        for p in $$list; do \
     556          $(am__strip_dir) \
     557          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
     558          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
    374559        done
    375560
    376561clean-libLTLIBRARIES:
    377562        -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
    378         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
    379           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    380           test "$$dir" != "$$p" || dir=.; \
    381           echo "rm -f \"$${dir}/so_locations\""; \
    382           rm -f "$${dir}/so_locations"; \
    383         done
    384 @COIN_CC_IS_CL_TRUE@libcoinasl.la: $(libcoinasl_la_OBJECTS) $(libcoinasl_la_DEPENDENCIES)
    385 @COIN_CC_IS_CL_TRUE@    $(LINK) $(am_libcoinasl_la_rpath) $(libcoinasl_la_LDFLAGS) $(libcoinasl_la_OBJECTS) $(libcoinasl_la_LIBADD) $(LIBS)
     563        @list='$(lib_LTLIBRARIES)'; \
     564        locs=`for p in $$list; do echo $$p; done | \
     565              sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
     566              sort -u`; \
     567        test -z "$$locs" || { \
     568          echo rm -f $${locs}; \
     569          rm -f $${locs}; \
     570        }
     571solvers/$(am__dirstamp):
     572        @$(MKDIR_P) solvers
     573        @: > solvers/$(am__dirstamp)
     574solvers/$(DEPDIR)/$(am__dirstamp):
     575        @$(MKDIR_P) solvers/$(DEPDIR)
     576        @: > solvers/$(DEPDIR)/$(am__dirstamp)
     577solvers/asldate.lo: solvers/$(am__dirstamp) \
     578        solvers/$(DEPDIR)/$(am__dirstamp)
     579solvers/atof.lo: solvers/$(am__dirstamp) \
     580        solvers/$(DEPDIR)/$(am__dirstamp)
     581solvers/auxinfo.lo: solvers/$(am__dirstamp) \
     582        solvers/$(DEPDIR)/$(am__dirstamp)
     583solvers/avltree.lo: solvers/$(am__dirstamp) \
     584        solvers/$(DEPDIR)/$(am__dirstamp)
     585solvers/b_search.lo: solvers/$(am__dirstamp) \
     586        solvers/$(DEPDIR)/$(am__dirstamp)
     587solvers/basename.lo: solvers/$(am__dirstamp) \
     588        solvers/$(DEPDIR)/$(am__dirstamp)
     589solvers/bscanf.lo: solvers/$(am__dirstamp) \
     590        solvers/$(DEPDIR)/$(am__dirstamp)
     591solvers/com2eval.lo: solvers/$(am__dirstamp) \
     592        solvers/$(DEPDIR)/$(am__dirstamp)
     593solvers/comeval.lo: solvers/$(am__dirstamp) \
     594        solvers/$(DEPDIR)/$(am__dirstamp)
     595solvers/con1ival.lo: solvers/$(am__dirstamp) \
     596        solvers/$(DEPDIR)/$(am__dirstamp)
     597solvers/con2ival.lo: solvers/$(am__dirstamp) \
     598        solvers/$(DEPDIR)/$(am__dirstamp)
     599solvers/con2val.lo: solvers/$(am__dirstamp) \
     600        solvers/$(DEPDIR)/$(am__dirstamp)
     601solvers/conadj.lo: solvers/$(am__dirstamp) \
     602        solvers/$(DEPDIR)/$(am__dirstamp)
     603solvers/conpval.lo: solvers/$(am__dirstamp) \
     604        solvers/$(DEPDIR)/$(am__dirstamp)
     605solvers/conscale.lo: solvers/$(am__dirstamp) \
     606        solvers/$(DEPDIR)/$(am__dirstamp)
     607solvers/conval.lo: solvers/$(am__dirstamp) \
     608        solvers/$(DEPDIR)/$(am__dirstamp)
     609solvers/degree.lo: solvers/$(am__dirstamp) \
     610        solvers/$(DEPDIR)/$(am__dirstamp)
     611solvers/derprop.lo: solvers/$(am__dirstamp) \
     612        solvers/$(DEPDIR)/$(am__dirstamp)
     613solvers/duthes.lo: solvers/$(am__dirstamp) \
     614        solvers/$(DEPDIR)/$(am__dirstamp)
     615solvers/dtoa1.lo: solvers/$(am__dirstamp) \
     616        solvers/$(DEPDIR)/$(am__dirstamp)
     617solvers/dynlink.lo: solvers/$(am__dirstamp) \
     618        solvers/$(DEPDIR)/$(am__dirstamp)
     619solvers/f_read.lo: solvers/$(am__dirstamp) \
     620        solvers/$(DEPDIR)/$(am__dirstamp)
     621solvers/fg_read.lo: solvers/$(am__dirstamp) \
     622        solvers/$(DEPDIR)/$(am__dirstamp)
     623solvers/fg_write.lo: solvers/$(am__dirstamp) \
     624        solvers/$(DEPDIR)/$(am__dirstamp)
     625solvers/fgh_read.lo: solvers/$(am__dirstamp) \
     626        solvers/$(DEPDIR)/$(am__dirstamp)
     627solvers/fpecatch.lo: solvers/$(am__dirstamp) \
     628        solvers/$(DEPDIR)/$(am__dirstamp)
     629solvers/fullhes.lo: solvers/$(am__dirstamp) \
     630        solvers/$(DEPDIR)/$(am__dirstamp)
     631solvers/func_add.lo: solvers/$(am__dirstamp) \
     632        solvers/$(DEPDIR)/$(am__dirstamp)
     633solvers/funcadd1.lo: solvers/$(am__dirstamp) \
     634        solvers/$(DEPDIR)/$(am__dirstamp)
     635solvers/g_fmt.lo: solvers/$(am__dirstamp) \
     636        solvers/$(DEPDIR)/$(am__dirstamp)
     637solvers/genrowno.lo: solvers/$(am__dirstamp) \
     638        solvers/$(DEPDIR)/$(am__dirstamp)
     639solvers/getenv.lo: solvers/$(am__dirstamp) \
     640        solvers/$(DEPDIR)/$(am__dirstamp)
     641solvers/getstub.lo: solvers/$(am__dirstamp) \
     642        solvers/$(DEPDIR)/$(am__dirstamp)
     643solvers/htcl.lo: solvers/$(am__dirstamp) \
     644        solvers/$(DEPDIR)/$(am__dirstamp)
     645solvers/indic_cons.lo: solvers/$(am__dirstamp) \
     646        solvers/$(DEPDIR)/$(am__dirstamp)
     647solvers/jac0dim.lo: solvers/$(am__dirstamp) \
     648        solvers/$(DEPDIR)/$(am__dirstamp)
     649solvers/jac2dim.lo: solvers/$(am__dirstamp) \
     650        solvers/$(DEPDIR)/$(am__dirstamp)
     651solvers/jacdim.lo: solvers/$(am__dirstamp) \
     652        solvers/$(DEPDIR)/$(am__dirstamp)
     653solvers/jacinc.lo: solvers/$(am__dirstamp) \
     654        solvers/$(DEPDIR)/$(am__dirstamp)
     655solvers/jacinc1.lo: solvers/$(am__dirstamp) \
     656        solvers/$(DEPDIR)/$(am__dirstamp)
     657solvers/libnamsave.lo: solvers/$(am__dirstamp) \
     658        solvers/$(DEPDIR)/$(am__dirstamp)
     659solvers/mach.lo: solvers/$(am__dirstamp) \
     660        solvers/$(DEPDIR)/$(am__dirstamp)
     661solvers/mainexit.lo: solvers/$(am__dirstamp) \
     662        solvers/$(DEPDIR)/$(am__dirstamp)
     663solvers/mip_pri.lo: solvers/$(am__dirstamp) \
     664        solvers/$(DEPDIR)/$(am__dirstamp)
     665solvers/misc.lo: solvers/$(am__dirstamp) \
     666        solvers/$(DEPDIR)/$(am__dirstamp)
     667solvers/mpec_adj.lo: solvers/$(am__dirstamp) \
     668        solvers/$(DEPDIR)/$(am__dirstamp)
     669solvers/mqpcheckv.lo: solvers/$(am__dirstamp) \
     670        solvers/$(DEPDIR)/$(am__dirstamp)
     671solvers/mypow.lo: solvers/$(am__dirstamp) \
     672        solvers/$(DEPDIR)/$(am__dirstamp)
     673solvers/names.lo: solvers/$(am__dirstamp) \
     674        solvers/$(DEPDIR)/$(am__dirstamp)
     675solvers/nl_obj.lo: solvers/$(am__dirstamp) \
     676        solvers/$(DEPDIR)/$(am__dirstamp)
     677solvers/nqpcheck.lo: solvers/$(am__dirstamp) \
     678        solvers/$(DEPDIR)/$(am__dirstamp)
     679solvers/nqpcheckZ.lo: solvers/$(am__dirstamp) \
     680        solvers/$(DEPDIR)/$(am__dirstamp)
     681solvers/obj2val.lo: solvers/$(am__dirstamp) \
     682        solvers/$(DEPDIR)/$(am__dirstamp)
     683solvers/obj_adj.lo: solvers/$(am__dirstamp) \
     684        solvers/$(DEPDIR)/$(am__dirstamp)
     685solvers/obj_prec.lo: solvers/$(am__dirstamp) \
     686        solvers/$(DEPDIR)/$(am__dirstamp)
     687solvers/objconst.lo: solvers/$(am__dirstamp) \
     688        solvers/$(DEPDIR)/$(am__dirstamp)
     689solvers/objval.lo: solvers/$(am__dirstamp) \
     690        solvers/$(DEPDIR)/$(am__dirstamp)
     691solvers/objval_.lo: solvers/$(am__dirstamp) \
     692        solvers/$(DEPDIR)/$(am__dirstamp)
     693solvers/op_type.lo: solvers/$(am__dirstamp) \
     694        solvers/$(DEPDIR)/$(am__dirstamp)
     695solvers/pfg_read.lo: solvers/$(am__dirstamp) \
     696        solvers/$(DEPDIR)/$(am__dirstamp)
     697solvers/pfghread.lo: solvers/$(am__dirstamp) \
     698        solvers/$(DEPDIR)/$(am__dirstamp)
     699solvers/printf.lo: solvers/$(am__dirstamp) \
     700        solvers/$(DEPDIR)/$(am__dirstamp)
     701solvers/pshvprod.lo: solvers/$(am__dirstamp) \
     702        solvers/$(DEPDIR)/$(am__dirstamp)
     703solvers/punknown.lo: solvers/$(am__dirstamp) \
     704        solvers/$(DEPDIR)/$(am__dirstamp)
     705solvers/qp_read.lo: solvers/$(am__dirstamp) \
     706        solvers/$(DEPDIR)/$(am__dirstamp)
     707solvers/qpcheck.lo: solvers/$(am__dirstamp) \
     708        solvers/$(DEPDIR)/$(am__dirstamp)
     709solvers/qpcheckZ.lo: solvers/$(am__dirstamp) \
     710        solvers/$(DEPDIR)/$(am__dirstamp)
     711solvers/qsortv.lo: solvers/$(am__dirstamp) \
     712        solvers/$(DEPDIR)/$(am__dirstamp)
     713solvers/readsol.lo: solvers/$(am__dirstamp) \
     714        solvers/$(DEPDIR)/$(am__dirstamp)
     715solvers/repwhere.lo: solvers/$(am__dirstamp) \
     716        solvers/$(DEPDIR)/$(am__dirstamp)
     717solvers/rops.lo: solvers/$(am__dirstamp) \
     718        solvers/$(DEPDIR)/$(am__dirstamp)
     719solvers/rops2.lo: solvers/$(am__dirstamp) \
     720        solvers/$(DEPDIR)/$(am__dirstamp)
     721solvers/sigcatch.lo: solvers/$(am__dirstamp) \
     722        solvers/$(DEPDIR)/$(am__dirstamp)
     723solvers/sos_add.lo: solvers/$(am__dirstamp) \
     724        solvers/$(DEPDIR)/$(am__dirstamp)
     725solvers/sphes.lo: solvers/$(am__dirstamp) \
     726        solvers/$(DEPDIR)/$(am__dirstamp)
     727solvers/sscanf.lo: solvers/$(am__dirstamp) \
     728        solvers/$(DEPDIR)/$(am__dirstamp)
     729solvers/stderr.lo: solvers/$(am__dirstamp) \
     730        solvers/$(DEPDIR)/$(am__dirstamp)
     731solvers/studchk0.lo: solvers/$(am__dirstamp) \
     732        solvers/$(DEPDIR)/$(am__dirstamp)
     733solvers/suf_sos.lo: solvers/$(am__dirstamp) \
     734        solvers/$(DEPDIR)/$(am__dirstamp)
     735solvers/value.lo: solvers/$(am__dirstamp) \
     736        solvers/$(DEPDIR)/$(am__dirstamp)
     737solvers/writesol.lo: solvers/$(am__dirstamp) \
     738        solvers/$(DEPDIR)/$(am__dirstamp)
     739solvers/wrtsol_.lo: solvers/$(am__dirstamp) \
     740        solvers/$(DEPDIR)/$(am__dirstamp)
     741solvers/ws_desc.lo: solvers/$(am__dirstamp) \
     742        solvers/$(DEPDIR)/$(am__dirstamp)
     743solvers/wsu_desc.lo: solvers/$(am__dirstamp) \
     744        solvers/$(DEPDIR)/$(am__dirstamp)
     745solvers/x2check.lo: solvers/$(am__dirstamp) \
     746        solvers/$(DEPDIR)/$(am__dirstamp)
     747solvers/xectim.lo: solvers/$(am__dirstamp) \
     748        solvers/$(DEPDIR)/$(am__dirstamp)
     749solvers/xp1known.lo: solvers/$(am__dirstamp) \
     750        solvers/$(DEPDIR)/$(am__dirstamp)
     751solvers/xp2known.lo: solvers/$(am__dirstamp) \
     752        solvers/$(DEPDIR)/$(am__dirstamp)
     753solvers/fpinitmt.lo: solvers/$(am__dirstamp) \
     754        solvers/$(DEPDIR)/$(am__dirstamp)
     755solvers/fpinit.lo: solvers/$(am__dirstamp) \
     756        solvers/$(DEPDIR)/$(am__dirstamp)
     757
     758libcoinasl.la: $(libcoinasl_la_OBJECTS) $(libcoinasl_la_DEPENDENCIES) $(EXTRA_libcoinasl_la_DEPENDENCIES)
     759        $(AM_V_CCLD)$(libcoinasl_la_LINK) -rpath $(libdir) $(libcoinasl_la_OBJECTS) $(libcoinasl_la_LIBADD) $(LIBS)
     760solvers/arithchk-arithchk.$(OBJEXT): solvers/$(am__dirstamp) \
     761        solvers/$(DEPDIR)/$(am__dirstamp)
     762
     763arithchk$(EXEEXT): $(arithchk_OBJECTS) $(arithchk_DEPENDENCIES) $(EXTRA_arithchk_DEPENDENCIES)
     764        @rm -f arithchk$(EXEEXT)
     765        $(AM_V_CCLD)$(LINK) $(arithchk_OBJECTS) $(arithchk_LDADD) $(LIBS)
    386766
    387767mostlyclean-compile:
    388768        -rm -f *.$(OBJEXT)
     769        -rm -f solvers/*.$(OBJEXT)
     770        -rm -f solvers/*.lo
    389771
    390772distclean-compile:
    391773        -rm -f *.tab.c
    392774
     775@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arithchk-fpinit.Po@am__quote@ # am--include-marker
     776@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/details.Plo@am__quote@ # am--include-marker
     777@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/arithchk-arithchk.Po@am__quote@ # am--include-marker
     778@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/asldate.Plo@am__quote@ # am--include-marker
     779@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/atof.Plo@am__quote@ # am--include-marker
     780@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/auxinfo.Plo@am__quote@ # am--include-marker
     781@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/avltree.Plo@am__quote@ # am--include-marker
     782@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/b_search.Plo@am__quote@ # am--include-marker
     783@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/basename.Plo@am__quote@ # am--include-marker
     784@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/bscanf.Plo@am__quote@ # am--include-marker
     785@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/com2eval.Plo@am__quote@ # am--include-marker
     786@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/comeval.Plo@am__quote@ # am--include-marker
     787@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/con1ival.Plo@am__quote@ # am--include-marker
     788@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/con2ival.Plo@am__quote@ # am--include-marker
     789@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/con2val.Plo@am__quote@ # am--include-marker
     790@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/conadj.Plo@am__quote@ # am--include-marker
     791@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/conpval.Plo@am__quote@ # am--include-marker
     792@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/conscale.Plo@am__quote@ # am--include-marker
     793@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/conval.Plo@am__quote@ # am--include-marker
     794@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/degree.Plo@am__quote@ # am--include-marker
     795@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/derprop.Plo@am__quote@ # am--include-marker
     796@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/dtoa1.Plo@am__quote@ # am--include-marker
     797@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/duthes.Plo@am__quote@ # am--include-marker
     798@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/dynlink.Plo@am__quote@ # am--include-marker
     799@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/f_read.Plo@am__quote@ # am--include-marker
     800@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/fg_read.Plo@am__quote@ # am--include-marker
     801@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/fg_write.Plo@am__quote@ # am--include-marker
     802@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/fgh_read.Plo@am__quote@ # am--include-marker
     803@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/fpecatch.Plo@am__quote@ # am--include-marker
     804@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/fpinit.Plo@am__quote@ # am--include-marker
     805@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/fpinitmt.Plo@am__quote@ # am--include-marker
     806@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/fullhes.Plo@am__quote@ # am--include-marker
     807@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/func_add.Plo@am__quote@ # am--include-marker
     808@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/funcadd1.Plo@am__quote@ # am--include-marker
     809@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/g_fmt.Plo@am__quote@ # am--include-marker
     810@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/genrowno.Plo@am__quote@ # am--include-marker
     811@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/getenv.Plo@am__quote@ # am--include-marker
     812@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/getstub.Plo@am__quote@ # am--include-marker
     813@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/htcl.Plo@am__quote@ # am--include-marker
     814@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/indic_cons.Plo@am__quote@ # am--include-marker
     815@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/jac0dim.Plo@am__quote@ # am--include-marker
     816@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/jac2dim.Plo@am__quote@ # am--include-marker
     817@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/jacdim.Plo@am__quote@ # am--include-marker
     818@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/jacinc.Plo@am__quote@ # am--include-marker
     819@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/jacinc1.Plo@am__quote@ # am--include-marker
     820@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/libnamsave.Plo@am__quote@ # am--include-marker
     821@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/mach.Plo@am__quote@ # am--include-marker
     822@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/mainexit.Plo@am__quote@ # am--include-marker
     823@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/mip_pri.Plo@am__quote@ # am--include-marker
     824@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/misc.Plo@am__quote@ # am--include-marker
     825@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/mpec_adj.Plo@am__quote@ # am--include-marker
     826@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/mqpcheckv.Plo@am__quote@ # am--include-marker
     827@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/mypow.Plo@am__quote@ # am--include-marker
     828@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/names.Plo@am__quote@ # am--include-marker
     829@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/nl_obj.Plo@am__quote@ # am--include-marker
     830@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/nqpcheck.Plo@am__quote@ # am--include-marker
     831@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/nqpcheckZ.Plo@am__quote@ # am--include-marker
     832@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/obj2val.Plo@am__quote@ # am--include-marker
     833@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/obj_adj.Plo@am__quote@ # am--include-marker
     834@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/obj_prec.Plo@am__quote@ # am--include-marker
     835@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/objconst.Plo@am__quote@ # am--include-marker
     836@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/objval.Plo@am__quote@ # am--include-marker
     837@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/objval_.Plo@am__quote@ # am--include-marker
     838@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/op_type.Plo@am__quote@ # am--include-marker
     839@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/pfg_read.Plo@am__quote@ # am--include-marker
     840@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/pfghread.Plo@am__quote@ # am--include-marker
     841@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/printf.Plo@am__quote@ # am--include-marker
     842@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/pshvprod.Plo@am__quote@ # am--include-marker
     843@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/punknown.Plo@am__quote@ # am--include-marker
     844@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/qp_read.Plo@am__quote@ # am--include-marker
     845@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/qpcheck.Plo@am__quote@ # am--include-marker
     846@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/qpcheckZ.Plo@am__quote@ # am--include-marker
     847@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/qsortv.Plo@am__quote@ # am--include-marker
     848@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/readsol.Plo@am__quote@ # am--include-marker
     849@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/repwhere.Plo@am__quote@ # am--include-marker
     850@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/rops.Plo@am__quote@ # am--include-marker
     851@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/rops2.Plo@am__quote@ # am--include-marker
     852@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/sigcatch.Plo@am__quote@ # am--include-marker
     853@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/sos_add.Plo@am__quote@ # am--include-marker
     854@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/sphes.Plo@am__quote@ # am--include-marker
     855@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/sscanf.Plo@am__quote@ # am--include-marker
     856@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/stderr.Plo@am__quote@ # am--include-marker
     857@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/studchk0.Plo@am__quote@ # am--include-marker
     858@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/suf_sos.Plo@am__quote@ # am--include-marker
     859@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/value.Plo@am__quote@ # am--include-marker
     860@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/writesol.Plo@am__quote@ # am--include-marker
     861@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/wrtsol_.Plo@am__quote@ # am--include-marker
     862@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/ws_desc.Plo@am__quote@ # am--include-marker
     863@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/wsu_desc.Plo@am__quote@ # am--include-marker
     864@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/x2check.Plo@am__quote@ # am--include-marker
     865@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/xectim.Plo@am__quote@ # am--include-marker
     866@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/xp1known.Plo@am__quote@ # am--include-marker
     867@AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/xp2known.Plo@am__quote@ # am--include-marker
     868
     869$(am__depfiles_remade):
     870        @$(MKDIR_P) $(@D)
     871        @echo '# dummy' >$@-t && $(am__mv) $@-t $@
     872
     873am--depfiles: $(am__depfiles_remade)
     874
     875.c.o:
     876@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
     877@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
     878@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
     879@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
     880@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     881@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
     882
     883.c.obj:
     884@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
     885@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
     886@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
     887@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
     888@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     889@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
     890
     891.c.lo:
     892@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
     893@am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
     894@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Plo
     895@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
     896@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     897@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
     898
     899solvers/arithchk-arithchk.o: solvers/arithchk.c
     900@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(arithchk_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT solvers/arithchk-arithchk.o -MD -MP -MF solvers/$(DEPDIR)/arithchk-arithchk.Tpo -c -o solvers/arithchk-arithchk.o `test -f 'solvers/arithchk.c' || echo '$(srcdir)/'`solvers/arithchk.c
     901@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) solvers/$(DEPDIR)/arithchk-arithchk.Tpo solvers/$(DEPDIR)/arithchk-arithchk.Po
     902@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='solvers/arithchk.c' object='solvers/arithchk-arithchk.o' libtool=no @AMDEPBACKSLASH@
     903@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     904@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(arithchk_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o solvers/arithchk-arithchk.o `test -f 'solvers/arithchk.c' || echo '$(srcdir)/'`solvers/arithchk.c
     905
     906solvers/arithchk-arithchk.obj: solvers/arithchk.c
     907@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(arithchk_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT solvers/arithchk-arithchk.obj -MD -MP -MF solvers/$(DEPDIR)/arithchk-arithchk.Tpo -c -o solvers/arithchk-arithchk.obj `if test -f 'solvers/arithchk.c'; then $(CYGPATH_W) 'solvers/arithchk.c'; else $(CYGPATH_W) '$(srcdir)/solvers/arithchk.c'; fi`
     908@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) solvers/$(DEPDIR)/arithchk-arithchk.Tpo solvers/$(DEPDIR)/arithchk-arithchk.Po
     909@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='solvers/arithchk.c' object='solvers/arithchk-arithchk.obj' libtool=no @AMDEPBACKSLASH@
     910@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     911@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(arithchk_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o solvers/arithchk-arithchk.obj `if test -f 'solvers/arithchk.c'; then $(CYGPATH_W) 'solvers/arithchk.c'; else $(CYGPATH_W) '$(srcdir)/solvers/arithchk.c'; fi`
     912
     913arithchk-fpinit.o: fpinit.c
     914@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(arithchk_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT arithchk-fpinit.o -MD -MP -MF $(DEPDIR)/arithchk-fpinit.Tpo -c -o arithchk-fpinit.o `test -f 'fpinit.c' || echo '$(srcdir)/'`fpinit.c
     915@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/arithchk-fpinit.Tpo $(DEPDIR)/arithchk-fpinit.Po
     916@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='fpinit.c' object='arithchk-fpinit.o' libtool=no @AMDEPBACKSLASH@
     917@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     918@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(arithchk_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o arithchk-fpinit.o `test -f 'fpinit.c' || echo '$(srcdir)/'`fpinit.c
     919
     920arithchk-fpinit.obj: fpinit.c
     921@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(arithchk_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT arithchk-fpinit.obj -MD -MP -MF $(DEPDIR)/arithchk-fpinit.Tpo -c -o arithchk-fpinit.obj `if test -f 'fpinit.c'; then $(CYGPATH_W) 'fpinit.c'; else $(CYGPATH_W) '$(srcdir)/fpinit.c'; fi`
     922@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/arithchk-fpinit.Tpo $(DEPDIR)/arithchk-fpinit.Po
     923@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='fpinit.c' object='arithchk-fpinit.obj' libtool=no @AMDEPBACKSLASH@
     924@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     925@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(arithchk_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o arithchk-fpinit.obj `if test -f 'fpinit.c'; then $(CYGPATH_W) 'fpinit.c'; else $(CYGPATH_W) '$(srcdir)/fpinit.c'; fi`
     926
    393927mostlyclean-libtool:
    394928        -rm -f *.lo
     
    396930clean-libtool:
    397931        -rm -rf .libs _libs
     932        -rm -rf solvers/.libs solvers/_libs
    398933
    399934distclean-libtool:
    400         -rm -f libtool
    401 uninstall-info-am:
     935        -rm -f libtool config.lt
    402936install-pkgconfiglibDATA: $(pkgconfiglib_DATA)
    403937        @$(NORMAL_INSTALL)
    404         test -z "$(pkgconfiglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfiglibdir)"
    405         @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
     938        @list='$(pkgconfiglib_DATA)'; test -n "$(pkgconfiglibdir)" || list=; \
     939        if test -n "$$list"; then \
     940          echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfiglibdir)'"; \
     941          $(MKDIR_P) "$(DESTDIR)$(pkgconfiglibdir)" || exit 1; \
     942        fi; \
     943        for p in $$list; do \
    406944          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
    407           f=$(am__strip_dir) \
    408           echo " $(pkgconfiglibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
    409           $(pkgconfiglibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
     945          echo "$$d$$p"; \
     946        done | $(am__base_list) | \
     947        while read files; do \
     948          echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfiglibdir)'"; \
     949          $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfiglibdir)" || exit $$?; \
    410950        done
    411951
    412952uninstall-pkgconfiglibDATA:
    413953        @$(NORMAL_UNINSTALL)
    414         @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
    415           f=$(am__strip_dir) \
    416           echo " rm -f '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
    417           rm -f "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
    418         done
     954        @list='$(pkgconfiglib_DATA)'; test -n "$(pkgconfiglibdir)" || list=; \
     955        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
     956        dir='$(DESTDIR)$(pkgconfiglibdir)'; $(am__uninstall_files_from_dir)
    419957install-thirdpartyincludeHEADERS: $(thirdpartyinclude_HEADERS)
    420958        @$(NORMAL_INSTALL)
    421         test -z "$(thirdpartyincludedir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartyincludedir)"
    422         @list='$(thirdpartyinclude_HEADERS)'; for p in $$list; do \
     959        @list='$(thirdpartyinclude_HEADERS)'; test -n "$(thirdpartyincludedir)" || list=; \
     960        if test -n "$$list"; then \
     961          echo " $(MKDIR_P) '$(DESTDIR)$(thirdpartyincludedir)'"; \
     962          $(MKDIR_P) "$(DESTDIR)$(thirdpartyincludedir)" || exit 1; \
     963        fi; \
     964        for p in $$list; do \
    423965          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
    424           f=$(am__strip_dir) \
    425           echo " $(thirdpartyincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(thirdpartyincludedir)/$$f'"; \
    426           $(thirdpartyincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(thirdpartyincludedir)/$$f"; \
     966          echo "$$d$$p"; \
     967        done | $(am__base_list) | \
     968        while read files; do \
     969          echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(thirdpartyincludedir)'"; \
     970          $(INSTALL_HEADER) $$files "$(DESTDIR)$(thirdpartyincludedir)" || exit $$?; \
    427971        done
    428972
    429973uninstall-thirdpartyincludeHEADERS:
    430974        @$(NORMAL_UNINSTALL)
    431         @list='$(thirdpartyinclude_HEADERS)'; for p in $$list; do \
    432           f=$(am__strip_dir) \
    433           echo " rm -f '$(DESTDIR)$(thirdpartyincludedir)/$$f'"; \
    434           rm -f "$(DESTDIR)$(thirdpartyincludedir)/$$f"; \
    435         done
    436 
    437 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    438         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
    439         unique=`for i in $$list; do \
    440             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    441           done | \
    442           $(AWK) '    { files[$$0] = 1; } \
    443                END { for (i in files) print i; }'`; \
    444         mkid -fID $$unique
    445 tags: TAGS
    446 
    447 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    448                 $(TAGS_FILES) $(LISP)
    449         tags=; \
     975        @list='$(thirdpartyinclude_HEADERS)'; test -n "$(thirdpartyincludedir)" || list=; \
     976        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
     977        dir='$(DESTDIR)$(thirdpartyincludedir)'; $(am__uninstall_files_from_dir)
     978
     979ID: $(am__tagged_files)
     980        $(am__define_uniq_tagged_files); mkid -fID $$unique
     981tags: tags-am
     982TAGS: tags
     983
     984tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
     985        set x; \
    450986        here=`pwd`; \
    451         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    452         unique=`for i in $$list; do \
    453             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    454           done | \
    455           $(AWK) '    { files[$$0] = 1; } \
    456                END { for (i in files) print i; }'`; \
    457         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     987        $(am__define_uniq_tagged_files); \
     988        shift; \
     989        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
    458990          test -n "$$unique" || unique=$$empty_fix; \
    459           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    460             $$tags $$unique; \
     991          if test $$# -gt 0; then \
     992            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     993              "$$@" $$unique; \
     994          else \
     995            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     996              $$unique; \
     997          fi; \
    461998        fi
    462 ctags: CTAGS
    463 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    464                 $(TAGS_FILES) $(LISP)
    465         tags=; \
    466         here=`pwd`; \
    467         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    468         unique=`for i in $$list; do \
    469             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    470           done | \
    471           $(AWK) '    { files[$$0] = 1; } \
    472                END { for (i in files) print i; }'`; \
    473         test -z "$(CTAGS_ARGS)$$tags$$unique" \
     999ctags: ctags-am
     1000
     1001CTAGS: ctags
     1002ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
     1003        $(am__define_uniq_tagged_files); \
     1004        test -z "$(CTAGS_ARGS)$$unique" \
    4741005          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
    475              $$tags $$unique
     1006             $$unique
    4761007
    4771008GTAGS:
    4781009        here=`$(am__cd) $(top_builddir) && pwd` \
    479           && cd $(top_srcdir) \
    480           && gtags -i $(GTAGS_ARGS) $$here
     1010          && $(am__cd) $(top_srcdir) \
     1011          && gtags -i $(GTAGS_ARGS) "$$here"
     1012cscope: cscope.files
     1013        test ! -s cscope.files \
     1014          || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
     1015clean-cscope:
     1016        -rm -f cscope.files
     1017cscope.files: clean-cscope cscopelist
     1018cscopelist: cscopelist-am
     1019
     1020cscopelist-am: $(am__tagged_files)
     1021        list='$(am__tagged_files)'; \
     1022        case "$(srcdir)" in \
     1023          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
     1024          *) sdir=$(subdir)/$(srcdir) ;; \
     1025        esac; \
     1026        for i in $$list; do \
     1027          if test -f "$$i"; then \
     1028            echo "$(subdir)/$$i"; \
     1029          else \
     1030            echo "$$sdir/$$i"; \
     1031          fi; \
     1032        done >> $(top_builddir)/cscope.files
    4811033
    4821034distclean-tags:
    4831035        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    484 
    485 distdir: $(DISTFILES)
    486         $(am__remove_distdir)
    487         mkdir $(distdir)
    488         $(mkdir_p) $(distdir)/. $(distdir)/BuildTools $(distdir)/solvers
    489         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    490         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
    491         list='$(DISTFILES)'; for file in $$list; do \
    492           case $$file in \
    493             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
    494             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
    495           esac; \
    496           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
    497           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
    498           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    499             dir="/$$dir"; \
    500             $(mkdir_p) "$(distdir)$$dir"; \
    501           else \
    502             dir=''; \
    503           fi; \
    504           if test -d $$d/$$file; then \
    505             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
    506               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
    507             fi; \
    508             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
    509           else \
    510             test -f $(distdir)/$$file \
    511             || cp -p $$d/$$file $(distdir)/$$file \
    512             || exit 1; \
    513           fi; \
    514         done
    515         -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
    516           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
    517           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
    518           ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
    519         || chmod -R a+r $(distdir)
    520 dist-gzip: distdir
    521         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
    522         $(am__remove_distdir)
    523 
    524 dist-bzip2: distdir
    525         tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
    526         $(am__remove_distdir)
    527 
    528 dist-tarZ: distdir
    529         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
    530         $(am__remove_distdir)
    531 
    532 dist-shar: distdir
    533         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
    534         $(am__remove_distdir)
    535 
    536 dist-zip: distdir
    537         -rm -f $(distdir).zip
    538         zip -rq $(distdir).zip $(distdir)
    539         $(am__remove_distdir)
    540 
    541 dist dist-all: distdir
    542         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
    543         $(am__remove_distdir)
    544 
    545 # This target untars the dist file and tries a VPATH configuration.  Then
    546 # it guarantees that the distribution is self-contained by making another
    547 # tarfile.
    548 distcheck: dist
    549         case '$(DIST_ARCHIVES)' in \
    550         *.tar.gz*) \
    551           GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
    552         *.tar.bz2*) \
    553           bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
    554         *.tar.Z*) \
    555           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
    556         *.shar.gz*) \
    557           GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
    558         *.zip*) \
    559           unzip $(distdir).zip ;;\
    560         esac
    561         chmod -R a-w $(distdir); chmod a+w $(distdir)
    562         mkdir $(distdir)/_build
    563         mkdir $(distdir)/_inst
    564         chmod a-w $(distdir)
    565         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
    566           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
    567           && cd $(distdir)/_build \
    568           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
    569             $(DISTCHECK_CONFIGURE_FLAGS) \
    570           && $(MAKE) $(AM_MAKEFLAGS) \
    571           && $(MAKE) $(AM_MAKEFLAGS) dvi \
    572           && $(MAKE) $(AM_MAKEFLAGS) check \
    573           && $(MAKE) $(AM_MAKEFLAGS) install \
    574           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
    575           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
    576           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
    577                 distuninstallcheck \
    578           && chmod -R a-w "$$dc_install_base" \
    579           && ({ \
    580                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
    581                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
    582                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
    583                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
    584                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
    585               } || { rm -rf "$$dc_destdir"; exit 1; }) \
    586           && rm -rf "$$dc_destdir" \
    587           && $(MAKE) $(AM_MAKEFLAGS) dist \
    588           && rm -rf $(DIST_ARCHIVES) \
    589           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
    590         $(am__remove_distdir)
    591         @(echo "$(distdir) archives ready for distribution: "; \
    592           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
    593           sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
    594 distuninstallcheck:
    595         @cd $(distuninstallcheck_dir) \
    596         && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
    597            || { echo "ERROR: files left after uninstall:" ; \
    598                 if test -n "$(DESTDIR)"; then \
    599                   echo "  (check DESTDIR support)"; \
    600                 fi ; \
    601                 $(distuninstallcheck_listfiles) ; \
    602                 exit 1; } >&2
    603 distcleancheck: distclean
    604         @if test '$(srcdir)' = . ; then \
    605           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
    606           exit 1 ; \
    607         fi
    608         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
    609           || { echo "ERROR: files left in build directory after distclean:" ; \
    610                $(distcleancheck_listfiles) ; \
    611                exit 1; } >&2
     1036        -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
    6121037check-am: all-am
    613 check: check-am
    614 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) all-local
     1038check: $(BUILT_SOURCES)
     1039        $(MAKE) $(AM_MAKEFLAGS) check-am
     1040all-am: Makefile $(PROGRAMS) $(LTLIBRARIES) $(DATA) $(HEADERS)
    6151041installdirs:
    6161042        for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfiglibdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \
    617           test -z "$$dir" || $(mkdir_p) "$$dir"; \
     1043          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
    6181044        done
    619 install: install-am
     1045install: $(BUILT_SOURCES)
     1046        $(MAKE) $(AM_MAKEFLAGS) install-am
    6201047install-exec: install-exec-am
    6211048install-data: install-data-am
     
    6271054installcheck: installcheck-am
    6281055install-strip:
    629         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    630           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    631           `test -z '$(STRIP)' || \
    632             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     1056        if test -z '$(STRIP)'; then \
     1057          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     1058            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     1059              install; \
     1060        else \
     1061          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     1062            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     1063            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
     1064        fi
    6331065mostlyclean-generic:
    6341066
     
    6381070distclean-generic:
    6391071        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     1072        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
     1073        -rm -f solvers/$(DEPDIR)/$(am__dirstamp)
     1074        -rm -f solvers/$(am__dirstamp)
    6401075        -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
    6411076
     
    6431078        @echo "This command is intended for maintainers to use"
    6441079        @echo "it deletes files that may require special tools to rebuild."
    645 @COIN_CC_IS_CL_TRUE@install-exec-local:
    646 @COIN_CC_IS_CL_TRUE@uninstall-local:
     1080        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
    6471081clean: clean-am
    6481082
    6491083clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
    650         mostlyclean-am
     1084        clean-noinstPROGRAMS mostlyclean-am
    6511085
    6521086distclean: distclean-am
    6531087        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
     1088                -rm -f ./$(DEPDIR)/arithchk-fpinit.Po
     1089        -rm -f ./$(DEPDIR)/details.Plo
     1090        -rm -f solvers/$(DEPDIR)/arithchk-arithchk.Po
     1091        -rm -f solvers/$(DEPDIR)/asldate.Plo
     1092        -rm -f solvers/$(DEPDIR)/atof.Plo
     1093        -rm -f solvers/$(DEPDIR)/auxinfo.Plo
     1094        -rm -f solvers/$(DEPDIR)/avltree.Plo
     1095        -rm -f solvers/$(DEPDIR)/b_search.Plo
     1096        -rm -f solvers/$(DEPDIR)/basename.Plo
     1097        -rm -f solvers/$(DEPDIR)/bscanf.Plo
     1098        -rm -f solvers/$(DEPDIR)/com2eval.Plo
     1099        -rm -f solvers/$(DEPDIR)/comeval.Plo
     1100        -rm -f solvers/$(DEPDIR)/con1ival.Plo
     1101        -rm -f solvers/$(DEPDIR)/con2ival.Plo
     1102        -rm -f solvers/$(DEPDIR)/con2val.Plo
     1103        -rm -f solvers/$(DEPDIR)/conadj.Plo
     1104        -rm -f solvers/$(DEPDIR)/conpval.Plo
     1105        -rm -f solvers/$(DEPDIR)/conscale.Plo
     1106        -rm -f solvers/$(DEPDIR)/conval.Plo
     1107        -rm -f solvers/$(DEPDIR)/degree.Plo
     1108        -rm -f solvers/$(DEPDIR)/derprop.Plo
     1109        -rm -f solvers/$(DEPDIR)/dtoa1.Plo
     1110        -rm -f solvers/$(DEPDIR)/duthes.Plo
     1111        -rm -f solvers/$(DEPDIR)/dynlink.Plo
     1112        -rm -f solvers/$(DEPDIR)/f_read.Plo
     1113        -rm -f solvers/$(DEPDIR)/fg_read.Plo
     1114        -rm -f solvers/$(DEPDIR)/fg_write.Plo
     1115        -rm -f solvers/$(DEPDIR)/fgh_read.Plo
     1116        -rm -f solvers/$(DEPDIR)/fpecatch.Plo
     1117        -rm -f solvers/$(DEPDIR)/fpinit.Plo
     1118        -rm -f solvers/$(DEPDIR)/fpinitmt.Plo
     1119        -rm -f solvers/$(DEPDIR)/fullhes.Plo
     1120        -rm -f solvers/$(DEPDIR)/func_add.Plo
     1121        -rm -f solvers/$(DEPDIR)/funcadd1.Plo
     1122        -rm -f solvers/$(DEPDIR)/g_fmt.Plo
     1123        -rm -f solvers/$(DEPDIR)/genrowno.Plo
     1124        -rm -f solvers/$(DEPDIR)/getenv.Plo
     1125        -rm -f solvers/$(DEPDIR)/getstub.Plo
     1126        -rm -f solvers/$(DEPDIR)/htcl.Plo
     1127        -rm -f solvers/$(DEPDIR)/indic_cons.Plo
     1128        -rm -f solvers/$(DEPDIR)/jac0dim.Plo
     1129        -rm -f solvers/$(DEPDIR)/jac2dim.Plo
     1130        -rm -f solvers/$(DEPDIR)/jacdim.Plo
     1131        -rm -f solvers/$(DEPDIR)/jacinc.Plo
     1132        -rm -f solvers/$(DEPDIR)/jacinc1.Plo
     1133        -rm -f solvers/$(DEPDIR)/libnamsave.Plo
     1134        -rm -f solvers/$(DEPDIR)/mach.Plo
     1135        -rm -f solvers/$(DEPDIR)/mainexit.Plo
     1136        -rm -f solvers/$(DEPDIR)/mip_pri.Plo
     1137        -rm -f solvers/$(DEPDIR)/misc.Plo
     1138        -rm -f solvers/$(DEPDIR)/mpec_adj.Plo
     1139        -rm -f solvers/$(DEPDIR)/mqpcheckv.Plo
     1140        -rm -f solvers/$(DEPDIR)/mypow.Plo
     1141        -rm -f solvers/$(DEPDIR)/names.Plo
     1142        -rm -f solvers/$(DEPDIR)/nl_obj.Plo
     1143        -rm -f solvers/$(DEPDIR)/nqpcheck.Plo
     1144        -rm -f solvers/$(DEPDIR)/nqpcheckZ.Plo
     1145        -rm -f solvers/$(DEPDIR)/obj2val.Plo
     1146        -rm -f solvers/$(DEPDIR)/obj_adj.Plo
     1147        -rm -f solvers/$(DEPDIR)/obj_prec.Plo
     1148        -rm -f solvers/$(DEPDIR)/objconst.Plo
     1149        -rm -f solvers/$(DEPDIR)/objval.Plo
     1150        -rm -f solvers/$(DEPDIR)/objval_.Plo
     1151        -rm -f solvers/$(DEPDIR)/op_type.Plo
     1152        -rm -f solvers/$(DEPDIR)/pfg_read.Plo
     1153        -rm -f solvers/$(DEPDIR)/pfghread.Plo
     1154        -rm -f solvers/$(DEPDIR)/printf.Plo
     1155        -rm -f solvers/$(DEPDIR)/pshvprod.Plo
     1156        -rm -f solvers/$(DEPDIR)/punknown.Plo
     1157        -rm -f solvers/$(DEPDIR)/qp_read.Plo
     1158        -rm -f solvers/$(DEPDIR)/qpcheck.Plo
     1159        -rm -f solvers/$(DEPDIR)/qpcheckZ.Plo
     1160        -rm -f solvers/$(DEPDIR)/qsortv.Plo
     1161        -rm -f solvers/$(DEPDIR)/readsol.Plo
     1162        -rm -f solvers/$(DEPDIR)/repwhere.Plo
     1163        -rm -f solvers/$(DEPDIR)/rops.Plo
     1164        -rm -f solvers/$(DEPDIR)/rops2.Plo
     1165        -rm -f solvers/$(DEPDIR)/sigcatch.Plo
     1166        -rm -f solvers/$(DEPDIR)/sos_add.Plo
     1167        -rm -f solvers/$(DEPDIR)/sphes.Plo
     1168        -rm -f solvers/$(DEPDIR)/sscanf.Plo
     1169        -rm -f solvers/$(DEPDIR)/stderr.Plo
     1170        -rm -f solvers/$(DEPDIR)/studchk0.Plo
     1171        -rm -f solvers/$(DEPDIR)/suf_sos.Plo
     1172        -rm -f solvers/$(DEPDIR)/value.Plo
     1173        -rm -f solvers/$(DEPDIR)/writesol.Plo
     1174        -rm -f solvers/$(DEPDIR)/wrtsol_.Plo
     1175        -rm -f solvers/$(DEPDIR)/ws_desc.Plo
     1176        -rm -f solvers/$(DEPDIR)/wsu_desc.Plo
     1177        -rm -f solvers/$(DEPDIR)/x2check.Plo
     1178        -rm -f solvers/$(DEPDIR)/xectim.Plo
     1179        -rm -f solvers/$(DEPDIR)/xp1known.Plo
     1180        -rm -f solvers/$(DEPDIR)/xp2known.Plo
    6541181        -rm -f Makefile
    6551182distclean-am: clean-am distclean-compile distclean-generic \
     
    6621189html: html-am
    6631190
     1191html-am:
     1192
    6641193info: info-am
    6651194
     
    6691198        install-thirdpartyincludeHEADERS
    6701199
    671 install-exec-am: install-exec-local install-libLTLIBRARIES
     1200install-dvi: install-dvi-am
     1201
     1202install-dvi-am:
     1203
     1204install-exec-am: install-libLTLIBRARIES
     1205
     1206install-html: install-html-am
     1207
     1208install-html-am:
    6721209
    6731210install-info: install-info-am
    6741211
     1212install-info-am:
     1213
    6751214install-man:
     1215
     1216install-pdf: install-pdf-am
     1217
     1218install-pdf-am:
     1219
     1220install-ps: install-ps-am
     1221
     1222install-ps-am:
    6761223
    6771224installcheck-am:
     
    6801227        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
    6811228        -rm -rf $(top_srcdir)/autom4te.cache
     1229                -rm -f ./$(DEPDIR)/arithchk-fpinit.Po
     1230        -rm -f ./$(DEPDIR)/details.Plo
     1231        -rm -f solvers/$(DEPDIR)/arithchk-arithchk.Po
     1232        -rm -f solvers/$(DEPDIR)/asldate.Plo
     1233        -rm -f solvers/$(DEPDIR)/atof.Plo
     1234        -rm -f solvers/$(DEPDIR)/auxinfo.Plo
     1235        -rm -f solvers/$(DEPDIR)/avltree.Plo
     1236        -rm -f solvers/$(DEPDIR)/b_search.Plo
     1237        -rm -f solvers/$(DEPDIR)/basename.Plo
     1238        -rm -f solvers/$(DEPDIR)/bscanf.Plo
     1239        -rm -f solvers/$(DEPDIR)/com2eval.Plo
     1240        -rm -f solvers/$(DEPDIR)/comeval.Plo
     1241        -rm -f solvers/$(DEPDIR)/con1ival.Plo
     1242        -rm -f solvers/$(DEPDIR)/con2ival.Plo
     1243        -rm -f solvers/$(DEPDIR)/con2val.Plo
     1244        -rm -f solvers/$(DEPDIR)/conadj.Plo
     1245        -rm -f solvers/$(DEPDIR)/conpval.Plo
     1246        -rm -f solvers/$(DEPDIR)/conscale.Plo
     1247        -rm -f solvers/$(DEPDIR)/conval.Plo
     1248        -rm -f solvers/$(DEPDIR)/degree.Plo
     1249        -rm -f solvers/$(DEPDIR)/derprop.Plo
     1250        -rm -f solvers/$(DEPDIR)/dtoa1.Plo
     1251        -rm -f solvers/$(DEPDIR)/duthes.Plo
     1252        -rm -f solvers/$(DEPDIR)/dynlink.Plo
     1253        -rm -f solvers/$(DEPDIR)/f_read.Plo
     1254        -rm -f solvers/$(DEPDIR)/fg_read.Plo
     1255        -rm -f solvers/$(DEPDIR)/fg_write.Plo
     1256        -rm -f solvers/$(DEPDIR)/fgh_read.Plo
     1257        -rm -f solvers/$(DEPDIR)/fpecatch.Plo
     1258        -rm -f solvers/$(DEPDIR)/fpinit.Plo
     1259        -rm -f solvers/$(DEPDIR)/fpinitmt.Plo
     1260        -rm -f solvers/$(DEPDIR)/fullhes.Plo
     1261        -rm -f solvers/$(DEPDIR)/func_add.Plo
     1262        -rm -f solvers/$(DEPDIR)/funcadd1.Plo
     1263        -rm -f solvers/$(DEPDIR)/g_fmt.Plo
     1264        -rm -f solvers/$(DEPDIR)/genrowno.Plo
     1265        -rm -f solvers/$(DEPDIR)/getenv.Plo
     1266        -rm -f solvers/$(DEPDIR)/getstub.Plo
     1267        -rm -f solvers/$(DEPDIR)/htcl.Plo
     1268        -rm -f solvers/$(DEPDIR)/indic_cons.Plo
     1269        -rm -f solvers/$(DEPDIR)/jac0dim.Plo
     1270        -rm -f solvers/$(DEPDIR)/jac2dim.Plo
     1271        -rm -f solvers/$(DEPDIR)/jacdim.Plo
     1272        -rm -f solvers/$(DEPDIR)/jacinc.Plo
     1273        -rm -f solvers/$(DEPDIR)/jacinc1.Plo
     1274        -rm -f solvers/$(DEPDIR)/libnamsave.Plo
     1275        -rm -f solvers/$(DEPDIR)/mach.Plo
     1276        -rm -f solvers/$(DEPDIR)/mainexit.Plo
     1277        -rm -f solvers/$(DEPDIR)/mip_pri.Plo
     1278        -rm -f solvers/$(DEPDIR)/misc.Plo
     1279        -rm -f solvers/$(DEPDIR)/mpec_adj.Plo
     1280        -rm -f solvers/$(DEPDIR)/mqpcheckv.Plo
     1281        -rm -f solvers/$(DEPDIR)/mypow.Plo
     1282        -rm -f solvers/$(DEPDIR)/names.Plo
     1283        -rm -f solvers/$(DEPDIR)/nl_obj.Plo
     1284        -rm -f solvers/$(DEPDIR)/nqpcheck.Plo
     1285        -rm -f solvers/$(DEPDIR)/nqpcheckZ.Plo
     1286        -rm -f solvers/$(DEPDIR)/obj2val.Plo
     1287        -rm -f solvers/$(DEPDIR)/obj_adj.Plo
     1288        -rm -f solvers/$(DEPDIR)/obj_prec.Plo
     1289        -rm -f solvers/$(DEPDIR)/objconst.Plo
     1290        -rm -f solvers/$(DEPDIR)/objval.Plo
     1291        -rm -f solvers/$(DEPDIR)/objval_.Plo
     1292        -rm -f solvers/$(DEPDIR)/op_type.Plo
     1293        -rm -f solvers/$(DEPDIR)/pfg_read.Plo
     1294        -rm -f solvers/$(DEPDIR)/pfghread.Plo
     1295        -rm -f solvers/$(DEPDIR)/printf.Plo
     1296        -rm -f solvers/$(DEPDIR)/pshvprod.Plo
     1297        -rm -f solvers/$(DEPDIR)/punknown.Plo
     1298        -rm -f solvers/$(DEPDIR)/qp_read.Plo
     1299        -rm -f solvers/$(DEPDIR)/qpcheck.Plo
     1300        -rm -f solvers/$(DEPDIR)/qpcheckZ.Plo
     1301        -rm -f solvers/$(DEPDIR)/qsortv.Plo
     1302        -rm -f solvers/$(DEPDIR)/readsol.Plo
     1303        -rm -f solvers/$(DEPDIR)/repwhere.Plo
     1304        -rm -f solvers/$(DEPDIR)/rops.Plo
     1305        -rm -f solvers/$(DEPDIR)/rops2.Plo
     1306        -rm -f solvers/$(DEPDIR)/sigcatch.Plo
     1307        -rm -f solvers/$(DEPDIR)/sos_add.Plo
     1308        -rm -f solvers/$(DEPDIR)/sphes.Plo
     1309        -rm -f solvers/$(DEPDIR)/sscanf.Plo
     1310        -rm -f solvers/$(DEPDIR)/stderr.Plo
     1311        -rm -f solvers/$(DEPDIR)/studchk0.Plo
     1312        -rm -f solvers/$(DEPDIR)/suf_sos.Plo
     1313        -rm -f solvers/$(DEPDIR)/value.Plo
     1314        -rm -f solvers/$(DEPDIR)/writesol.Plo
     1315        -rm -f solvers/$(DEPDIR)/wrtsol_.Plo
     1316        -rm -f solvers/$(DEPDIR)/ws_desc.Plo
     1317        -rm -f solvers/$(DEPDIR)/wsu_desc.Plo
     1318        -rm -f solvers/$(DEPDIR)/x2check.Plo
     1319        -rm -f solvers/$(DEPDIR)/xectim.Plo
     1320        -rm -f solvers/$(DEPDIR)/xp1known.Plo
     1321        -rm -f solvers/$(DEPDIR)/xp2known.Plo
    6821322        -rm -f Makefile
    6831323maintainer-clean-am: distclean-am maintainer-clean-generic
     
    6961336ps-am:
    6971337
    698 uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
    699         uninstall-local uninstall-pkgconfiglibDATA \
     1338uninstall-am: uninstall-libLTLIBRARIES uninstall-pkgconfiglibDATA \
    7001339        uninstall-thirdpartyincludeHEADERS
    7011340
    702 .PHONY: CTAGS GTAGS all all-am all-local am--refresh check check-am \
    703         clean clean-generic clean-libLTLIBRARIES clean-libtool ctags \
    704         dist dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ \
    705         dist-zip distcheck distclean distclean-compile \
    706         distclean-generic distclean-libtool distclean-tags \
    707         distcleancheck distdir distuninstallcheck dvi dvi-am html \
    708         html-am info info-am install install-am install-data \
    709         install-data-am install-exec install-exec-am \
    710         install-exec-local install-info install-info-am \
    711         install-libLTLIBRARIES install-man install-pkgconfiglibDATA \
     1341.MAKE: all check install install-am install-strip
     1342
     1343.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles am--refresh check \
     1344        check-am clean clean-cscope clean-generic clean-libLTLIBRARIES \
     1345        clean-libtool clean-noinstPROGRAMS cscope cscopelist-am ctags \
     1346        ctags-am distclean distclean-compile distclean-generic \
     1347        distclean-libtool distclean-tags dvi dvi-am html html-am info \
     1348        info-am install install-am install-data install-data-am \
     1349        install-dvi install-dvi-am install-exec install-exec-am \
     1350        install-html install-html-am install-info install-info-am \
     1351        install-libLTLIBRARIES install-man install-pdf install-pdf-am \
     1352        install-pkgconfiglibDATA install-ps install-ps-am \
    7121353        install-strip install-thirdpartyincludeHEADERS installcheck \
    7131354        installcheck-am installdirs maintainer-clean \
    7141355        maintainer-clean-generic mostlyclean mostlyclean-compile \
    7151356        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
    716         tags uninstall uninstall-am uninstall-info-am \
    717         uninstall-libLTLIBRARIES uninstall-local \
     1357        tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES \
    7181358        uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS
    7191359
    720 
    721 @COIN_CC_IS_CL_TRUE@$(AMPLSOLVER_A):
    722 @COIN_CC_IS_CL_TRUE@    ./compile_MS_ASL
    723 @COIN_CC_IS_CL_FALSE@$(AMPLSOLVER_A):
    724 @COIN_CC_IS_CL_FALSE@   ./compile_Unix_ASL
    725 
    726 @COIN_CC_IS_CL_FALSE@libcoinasl.la : $(AMPLSOLVER_A)
    727 @COIN_CC_IS_CL_FALSE@   $(mkdir_p) linkdir ; cd linkdir ; \
    728 @COIN_CC_IS_CL_FALSE@   $(AR) x ../$(AMPLSOLVER_A) ; \
    729 @COIN_CC_IS_CL_FALSE@   for i in *.o ; do \
    730 @COIN_CC_IS_CL_FALSE@     lofile=`echo $$i | sed -e 's/.o$$/.lo/'`; \
    731 @COIN_CC_IS_CL_FALSE@     echo "# fake line" > $$lofile ; \
    732 @COIN_CC_IS_CL_FALSE@     echo "# Generated by fake libtool" >> $$lofile ; \
    733 @COIN_CC_IS_CL_FALSE@     echo "pic_object='$$i'" >> $$lofile ; \
    734 @COIN_CC_IS_CL_FALSE@     echo "non_pic_object='$$i'" >> $$lofile ; \
    735 @COIN_CC_IS_CL_FALSE@   done ; cd ..
    736 @COIN_CC_IS_CL_FALSE@   $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -rpath $(libdir) $(LT_LDFLAGS) linkdir/*.lo $(libcoinasl_la_LIBADD) $(libcoinasl_la_LDFLAGS)
    737 @COIN_CC_IS_CL_FALSE@   rm -rf linkdir
    738 
    739 @COIN_CC_IS_CL_FALSE@install-exec-local: libcoinasl.la
    740 @COIN_CC_IS_CL_FALSE@   test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
    741 @COIN_CC_IS_CL_FALSE@   if test -f libcoinasl.la; then \
    742 @COIN_CC_IS_CL_FALSE@          $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) libcoinasl.la "$(DESTDIR)$(libdir)/libcoinasl.la"; \
    743 @COIN_CC_IS_CL_FALSE@   fi
    744 
    745 @COIN_CC_IS_CL_FALSE@uninstall-local:
    746 @COIN_CC_IS_CL_FALSE@   $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/libcoinasl.la"
    747 
    748 stdio1.h arith.h funcadd0.$(OBJEXT): $(AMPLSOLVER_A)
    749 
    750 all-local: $(alltargets)
     1360.PRECIOUS: Makefile
     1361
     1362
     1363arith.h : arithchk$(EXEEXT)
     1364        ./arithchk$(EXEEXT) > $@
     1365
     1366details.c :
     1367        echo "char sysdetails_ASL[] = \"$(build)\";" > $@
     1368
     1369########################################################################
     1370#                           Extra Targets                              #
     1371########################################################################
    7511372
    7521373test:
    7531374        @echo "No test available for ASL."
    7541375
    755 doxygen-docs:
    756         if test "$(COIN_HAS_DOXYGEN)" = TRUE; then \
    757           if test -d "doxydoc/"; then \
    758             doxygen doxydoc/doxygen.conf;\
    759           fi;\
    760         fi
    761 
    762 pdf-doxygen-docs: doxygen-docs
    763         if test "$(COIN_HAS_DOXYGEN)" = TRUE; then \
    764           if test -d "doxydoc/latex"; then \
    765             if test "$(COIN_HAS_LATEX)" = TRUE; then \
    766               cd doxydoc/latex;\
    767               $(MAKE) pdf;\
    768               cd -;\
    769             fi;\
    770           fi;\
    771         fi
    772 
    773 clean-doxygen-docs:
    774         if test -d "doxydoc/"; then \
    775           cd doxydoc ;\
    776           rm -rf html latex *.log *.tag;\
    777         fi
    778 
    779 install-doxygen-docs: doxygen-docs
    780         if test "$(COIN_HAS_DOXYGEN)" = TRUE; then \
    781           if test -d "doxydoc/"; then \
    782             test -d "$(DESTDIR)$(DocInstallDir)/doxydoc" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)/doxydoc"; \
    783             $(INSTALL_DATA) @coin_doxy_tagname@ "$(DESTDIR)$(DocInstallDir)/@coin_doxy_tagname@";\
    784             if test -f "doxydoc/latex/refman.pdf"; then \
    785               $(INSTALL_DATA) doxydoc/latex/refman.pdf "$(DESTDIR)$(DocInstallDir)";\
    786             fi;\
    787             if test -d "doxydoc/html"; then \
    788               test -d "$(DESTDIR)$(DocInstallDir)/doxydoc/search/" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)/doxydoc/search/"; \
    789               $(INSTALL_DATA) doxydoc/html/*.* "$(DESTDIR)$(DocInstallDir)/doxydoc";\
    790               $(INSTALL_DATA) doxydoc/html/search/*.* "$(DESTDIR)$(DocInstallDir)/doxydoc/search";\
    791             fi;\
    792           fi;\
    793         fi
    794 
    795 uninstall-doxygen-docs:
    796         if test -d "$(DESTDIR)$(DocInstallDir)/doxydoc/"; then \
    797           rm -rf "$(DESTDIR)$(DocInstallDir)/doxydoc/"; \
    798         fi
    799         if test -f "$(DESTDIR)$(DocInstallDir)/refman.pdf"; then \
    800           rm -f "$(DESTDIR)$(DocInstallDir)/refman.pdf"; \
    801         fi
    802 
    803 all-doxygen-docs:
    804         for dir in $(subdirs) ; do \
    805           do_project=true;\
    806           for proj in $(COIN_SKIP_DOXYGEN); do\
    807             if test $$dir = $$proj; then\
    808               do_project=false;\
    809             fi;\
    810           done;\
    811           if test -r $$dir/doxydoc & $$do_project = true; then \
    812             (cd $$dir ; $(MAKE) doxygen-docs) \
    813           fi ; \
    814         done ;
    815 
    816 clean-all-doxygen-docs:
    817         for dir in $(subdirs) ; do \
    818           if test -r $$dir/doxydoc ; then \
    819             (cd $$dir ; $(MAKE) clean-doxygen-docs) \
    820           fi ; \
    821         done ;
    822 
    823 install-all-doxygen-docs: all-doxygen-docs
    824         for dir in $(subdirs) ; do \
    825           do_project=true;\
    826           for proj in $(COIN_SKIP_DOXYGEN); do\
    827             if test $$dir = $$proj; then\
    828               do_project=false;\
    829             fi;\
    830           done;\
    831           if test -r $$dir/doxydoc & $$do_project = true; then \
    832             (cd $$dir ; $(MAKE) install-doxygen-docs) \
    833           fi ; \
    834         done ;
    835 
    836 uninstall-all-doxygen-docs:
    837         for dir in $(subdirs) ; do \
    838           if test -r $$dir/doxydoc ; then \
    839             (cd $$dir ; $(MAKE) uninstall-doxygen-docs) \
    840           fi ; \
    841         done ;
    842 
    843 install-doc: $(DocFiles)
    844         test -z "$(DocInstallDir)" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)"
    845         for file in $(DocFiles); do \
    846           if test -f "$$file"; then dir=; else dir="$(srcdir)/"; fi; \
    847           if test -f "$$dir$$file"; then $(INSTALL_DATA) "$$dir$$file" "$(DESTDIR)$(DocInstallDir)/$$file"; fi; \
    848         done
    849 
    850 uninstall-doc:
    851         for file in $(DocFiles); do \
    852           rm -f "$(DESTDIR)$(DocInstallDir)/$$file"; \
    853         done
    854 
    855 ########################################################################
    856 #                         Maintainer Stuff                             #
    857 ########################################################################
    858 
    859 # Make sure acinclude is using most recent coin.m4
    860 @MAINTAINER_MODE_TRUE@$(srcdir)/acinclude.m4: $(BUILDTOOLSDIR)/coin.m4
    861 @MAINTAINER_MODE_TRUE@  cat $(LIBTOOLM4) $< > $@
    862 
    863 # Make sure the autotools scripts are up to date
    864 @MAINTAINER_MODE_TRUE@$(AUX_DIR)/install-sh: $(BUILDTOOLSDIR)/install-sh
    865 @MAINTAINER_MODE_TRUE@  cp $< $@
    866 
    867 @MAINTAINER_MODE_TRUE@$(AUX_DIR)/missing: $(BUILDTOOLSDIR)/missing
    868 @MAINTAINER_MODE_TRUE@  cp $< $@
    869 
    870 @MAINTAINER_MODE_TRUE@$(AUX_DIR)/config.guess: $(BUILDTOOLSDIR)/config.guess
    871 @MAINTAINER_MODE_TRUE@  cp $< $@
    872 
    873 @MAINTAINER_MODE_TRUE@$(AUX_DIR)/config.sub: $(BUILDTOOLSDIR)/config.sub
    874 @MAINTAINER_MODE_TRUE@  cp $< $@
    875 
    876 @MAINTAINER_MODE_TRUE@$(AUX_DIR)/depcomp: $(BUILDTOOLSDIR)/depcomp
    877 @MAINTAINER_MODE_TRUE@  cp $< $@
    878 
    879 @MAINTAINER_MODE_TRUE@$(AUX_DIR)/ltmain.sh: $(BUILDTOOLSDIR)/ltmain.sh
    880 @MAINTAINER_MODE_TRUE@  cp $< $@
    881 
    882 # Take care of updating externals (if Dependencies file exists)
    883 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@$(top_builddir)/Makefile: .Dependencies-stamp
    884 
    885 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@.Dependencies-stamp: $(srcdir)/Dependencies
    886 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     cd $(srcdir); BuildTools/set_externals Dependencies
    887 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     touch .Dependencies-stamp
    888 
    889 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@update-externals: .Dependencies-stamp
    890 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     cd $(srcdir); svn update
    891 
    892 .PHONY: install-doc uninstall-doc update-externals
    8931376# Tell versions [3.59,3.63) of GNU make to not export all variables.
    8941377# Otherwise a system limit (for SysV at least) may be exceeded.
  • ThirdParty/ASL/trunk/coinasl.pc.in

    r2141 r4022  
    22exec_prefix=@exec_prefix@
    33libdir=@libdir@
    4 includedir=@includedir@/coin/ThirdParty
     4includedir=@includedir@/coin-or/asl
    55
    66Name: ASL
    77Description: AMPL Solver Library
    8 URL: https://projects.coin-or.org/BuildTools
     8URL: https://github.com/coin-or-tools/ThirdParty-ASL
    99Version: @PACKAGE_VERSION@
    10 Libs: -L${libdir} -lcoinasl @ASL_PCLIBS@
     10Libs: -L${libdir} -lcoinasl
     11Libs.private: @ASL_LFLAGS_NOPC@
    1112Cflags: -I${includedir}
  • ThirdParty/ASL/trunk/config.guess

    r1565 r4022  
    11#! /bin/sh
    22# Attempt to guess a canonical system name.
    3 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
    5 #   Inc.
    6 
    7 timestamp='2007-05-17'
     3#   Copyright 1992-2018 Free Software Foundation, Inc.
     4
     5timestamp='2018-03-08'
    86
    97# This file is free software; you can redistribute it and/or modify it
    108# under the terms of the GNU General Public License as published by
    11 # the Free Software Foundation; either version 2 of the License, or
     9# the Free Software Foundation; either version 3 of the License, or
    1210# (at your option) any later version.
    1311#
     
    1816#
    1917# 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.
     18# along with this program; if not, see <https://www.gnu.org/licenses/>.
    2319#
    2420# As a special exception to the GNU General Public License, if you
    2521# distribute this file as part of a program that contains a
    2622# configuration script generated by Autoconf, you may include it under
    27 # the same distribution terms that you use for the rest of that program.
    28 
    29 
    30 # Originally written by Per Bothner <per@bothner.com>.
    31 # Please send patches to <config-patches@gnu.org>.  Submit a context
    32 # diff and a properly formatted ChangeLog entry.
     23# the same distribution terms that you use for the rest of that
     24# program.  This Exception is an additional permission under section 7
     25# of the GNU General Public License, version 3 ("GPLv3").
    3326#
    34 # This script attempts to guess a canonical system name similar to
    35 # config.sub.  If it succeeds, it prints the system name on stdout, and
    36 # exits with 0.  Otherwise, it exits with 1.
     27# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
    3728#
    38 # The plan is that this can be called by configure scripts if you
    39 # don't specify an explicit build system type.
     29# You can get the latest version of this script from:
     30# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
     31#
     32# Please send patches to <config-patches@gnu.org>.
     33
    4034
    4135me=`echo "$0" | sed -e 's,.*/,,'`
     
    4640Output the configuration name of the system \`$me' is run on.
    4741
    48 Operation modes:
     42Options:
    4943  -h, --help         print this help, then exit
    5044  -t, --time-stamp   print date of last modification, then exit
     
    5751
    5852Originally written by Per Bothner.
    59 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    60 Free Software Foundation, Inc.
     53Copyright 1992-2018 Free Software Foundation, Inc.
    6154
    6255This is free software; see the source for copying conditions.  There is NO
     
    115108tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
    116109case $CC_FOR_BUILD,$HOST_CC,$CC in
    117  ,,)    echo "int x;" > $dummy.c ;
     110 ,,)    echo "int x;" > "$dummy.c" ;
    118111        for c in cc gcc c89 c99 ; do
    119           if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
     112          if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
    120113             CC_FOR_BUILD="$c"; break ;
    121114          fi ;
     
    140133UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
    141134
     135case "$UNAME_SYSTEM" in
     136Linux|GNU|GNU/*)
     137        # If the system lacks a compiler, then just pick glibc.
     138        # We could probably try harder.
     139        LIBC=gnu
     140
     141        eval "$set_cc_for_build"
     142        cat <<-EOF > "$dummy.c"
     143        #include <features.h>
     144        #if defined(__UCLIBC__)
     145        LIBC=uclibc
     146        #elif defined(__dietlibc__)
     147        LIBC=dietlibc
     148        #else
     149        LIBC=gnu
     150        #endif
     151        EOF
     152        eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`"
     153
     154        # If ldd exists, use it to detect musl libc.
     155        if command -v ldd >/dev/null && \
     156                ldd --version 2>&1 | grep -q ^musl
     157        then
     158            LIBC=musl
     159        fi
     160        ;;
     161esac
     162
    142163# Note: order is significant - the case branches are not exclusive.
    143164
    144 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     165case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
    145166    *:NetBSD:*:*)
    146167        # NetBSD (nbsd) targets should (where applicable) match one or
    147         # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
     168        # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
    148169        # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
    149170        # switched to ELF, *-*-netbsd* would select the old
     
    155176        # portion of the name.  We always set it to "unknown".
    156177        sysctl="sysctl -n hw.machine_arch"
    157         UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
    158             /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
    159         case "${UNAME_MACHINE_ARCH}" in
     178        UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
     179            "/sbin/$sysctl" 2>/dev/null || \
     180            "/usr/sbin/$sysctl" 2>/dev/null || \
     181            echo unknown)`
     182        case "$UNAME_MACHINE_ARCH" in
    160183            armeb) machine=armeb-unknown ;;
    161184            arm*) machine=arm-unknown ;;
     
    163186            sh3eb) machine=sh-unknown ;;
    164187            sh5el) machine=sh5le-unknown ;;
    165             *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
     188            earmv*)
     189                arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
     190                endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
     191                machine="${arch}${endian}"-unknown
     192                ;;
     193            *) machine="$UNAME_MACHINE_ARCH"-unknown ;;
    166194        esac
    167195        # The Operating System including object format, if it has switched
    168         # to ELF recently, or will in the future.
    169         case "${UNAME_MACHINE_ARCH}" in
     196        # to ELF recently (or will in the future) and ABI.
     197        case "$UNAME_MACHINE_ARCH" in
     198            earm*)
     199                os=netbsdelf
     200                ;;
    170201            arm*|i386|m68k|ns32k|sh3*|sparc|vax)
    171                 eval $set_cc_for_build
     202                eval "$set_cc_for_build"
    172203                if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
    173                         | grep __ELF__ >/dev/null
     204                        | grep -q __ELF__
    174205                then
    175206                    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
     
    181212                ;;
    182213            *)
    183                 os=netbsd
     214                os=netbsd
     215                ;;
     216        esac
     217        # Determine ABI tags.
     218        case "$UNAME_MACHINE_ARCH" in
     219            earm*)
     220                expr='s/^earmv[0-9]/-eabi/;s/eb$//'
     221                abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
    184222                ;;
    185223        esac
     
    189227        # kernel version information, so it can be replaced with a
    190228        # suitable tag, in the style of linux-gnu.
    191         case "${UNAME_VERSION}" in
     229        case "$UNAME_VERSION" in
    192230            Debian*)
    193231                release='-gnu'
    194232                ;;
    195233            *)
    196                 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
     234                release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
    197235                ;;
    198236        esac
     
    200238        # contains redundant information, the shorter form:
    201239        # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
    202         echo "${machine}-${os}${release}"
     240        echo "$machine-${os}${release}${abi}"
     241        exit ;;
     242    *:Bitrig:*:*)
     243        UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
     244        echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE"
    203245        exit ;;
    204246    *:OpenBSD:*:*)
    205247        UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
    206         echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
     248        echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE"
     249        exit ;;
     250    *:LibertyBSD:*:*)
     251        UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
     252        echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE"
     253        exit ;;
     254    *:MidnightBSD:*:*)
     255        echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE"
    207256        exit ;;
    208257    *:ekkoBSD:*:*)
    209         echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
     258        echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE"
    210259        exit ;;
    211260    *:SolidBSD:*:*)
    212         echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
     261        echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE"
    213262        exit ;;
    214263    macppc:MirBSD:*:*)
    215         echo powerpc-unknown-mirbsd${UNAME_RELEASE}
     264        echo powerpc-unknown-mirbsd"$UNAME_RELEASE"
    216265        exit ;;
    217266    *:MirBSD:*:*)
    218         echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
    219         exit ;;
     267        echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE"
     268        exit ;;
     269    *:Sortix:*:*)
     270        echo "$UNAME_MACHINE"-unknown-sortix
     271        exit ;;
     272    *:Redox:*:*)
     273        echo "$UNAME_MACHINE"-unknown-redox
     274        exit ;;
     275    mips:OSF1:*.*)
     276        echo mips-dec-osf1
     277        exit ;;
    220278    alpha:OSF1:*:*)
    221279        case $UNAME_RELEASE in
     
    224282                ;;
    225283        *5.*)
    226                 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
     284                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
    227285                ;;
    228286        esac
     
    234292        case "$ALPHA_CPU_TYPE" in
    235293            "EV4 (21064)")
    236                 UNAME_MACHINE="alpha" ;;
     294                UNAME_MACHINE=alpha ;;
    237295            "EV4.5 (21064)")
    238                 UNAME_MACHINE="alpha" ;;
     296                UNAME_MACHINE=alpha ;;
    239297            "LCA4 (21066/21068)")
    240                 UNAME_MACHINE="alpha" ;;
     298                UNAME_MACHINE=alpha ;;
    241299            "EV5 (21164)")
    242                 UNAME_MACHINE="alphaev5" ;;
     300                UNAME_MACHINE=alphaev5 ;;
    243301            "EV5.6 (21164A)")
    244                 UNAME_MACHINE="alphaev56" ;;
     302                UNAME_MACHINE=alphaev56 ;;
    245303            "EV5.6 (21164PC)")
    246                 UNAME_MACHINE="alphapca56" ;;
     304                UNAME_MACHINE=alphapca56 ;;
    247305            "EV5.7 (21164PC)")
    248                 UNAME_MACHINE="alphapca57" ;;
     306                UNAME_MACHINE=alphapca57 ;;
    249307            "EV6 (21264)")
    250                 UNAME_MACHINE="alphaev6" ;;
     308                UNAME_MACHINE=alphaev6 ;;
    251309            "EV6.7 (21264A)")
    252                 UNAME_MACHINE="alphaev67" ;;
     310                UNAME_MACHINE=alphaev67 ;;
    253311            "EV6.8CB (21264C)")
    254                 UNAME_MACHINE="alphaev68" ;;
     312                UNAME_MACHINE=alphaev68 ;;
    255313            "EV6.8AL (21264B)")
    256                 UNAME_MACHINE="alphaev68" ;;
     314                UNAME_MACHINE=alphaev68 ;;
    257315            "EV6.8CX (21264D)")
    258                 UNAME_MACHINE="alphaev68" ;;
     316                UNAME_MACHINE=alphaev68 ;;
    259317            "EV6.9A (21264/EV69A)")
    260                 UNAME_MACHINE="alphaev69" ;;
     318                UNAME_MACHINE=alphaev69 ;;
    261319            "EV7 (21364)")
    262                 UNAME_MACHINE="alphaev7" ;;
     320                UNAME_MACHINE=alphaev7 ;;
    263321            "EV7.9 (21364A)")
    264                 UNAME_MACHINE="alphaev79" ;;
     322                UNAME_MACHINE=alphaev79 ;;
    265323        esac
    266324        # A Pn.n version is a patched version.
     
    269327        # A Xn.n version is an unreleased experimental baselevel.
    270328        # 1.2 uses "1.2" for uname -r.
    271         echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
    272         exit ;;
    273     Alpha\ *:Windows_NT*:*)
    274         # How do we know it's Interix rather than the generic POSIX subsystem?
    275         # Should we change UNAME_MACHINE based on the output of uname instead
    276         # of the specific Alpha model?
    277         echo alpha-pc-interix
    278         exit ;;
    279     21064:Windows_NT:50:3)
    280         echo alpha-dec-winnt3.5
    281         exit ;;
     329        echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`"
     330        # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
     331        exitcode=$?
     332        trap '' 0
     333        exit $exitcode ;;
    282334    Amiga*:UNIX_System_V:4.0:*)
    283335        echo m68k-unknown-sysv4
    284336        exit ;;
    285337    *:[Aa]miga[Oo][Ss]:*:*)
    286         echo ${UNAME_MACHINE}-unknown-amigaos
     338        echo "$UNAME_MACHINE"-unknown-amigaos
    287339        exit ;;
    288340    *:[Mm]orph[Oo][Ss]:*:*)
    289         echo ${UNAME_MACHINE}-unknown-morphos
     341        echo "$UNAME_MACHINE"-unknown-morphos
    290342        exit ;;
    291343    *:OS/390:*:*)
     
    296348        exit ;;
    297349    *:OS400:*:*)
    298         echo powerpc-ibm-os400
     350        echo powerpc-ibm-os400
    299351        exit ;;
    300352    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
    301         echo arm-acorn-riscix${UNAME_RELEASE}
    302         exit ;;
    303     arm:riscos:*:*|arm:RISCOS:*:*)
     353        echo arm-acorn-riscix"$UNAME_RELEASE"
     354        exit ;;
     355    arm*:riscos:*:*|arm*:RISCOS:*:*)
    304356        echo arm-unknown-riscos
    305357        exit ;;
     
    325377            sparc) echo sparc-icl-nx7; exit ;;
    326378        esac ;;
     379    s390x:SunOS:*:*)
     380        echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
     381        exit ;;
    327382    sun4H:SunOS:5.*:*)
    328         echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
     383        echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
    329384        exit ;;
    330385    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
    331         echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    332         exit ;;
    333     i86pc:SunOS:5.*:* | ix86xen:SunOS:5.*:*)
    334         echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
     386        echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
     387        exit ;;
     388    i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
     389        echo i386-pc-auroraux"$UNAME_RELEASE"
     390        exit ;;
     391    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
     392        eval "$set_cc_for_build"
     393        SUN_ARCH=i386
     394        # If there is a compiler, see if it is configured for 64-bit objects.
     395        # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
     396        # This test works for both compilers.
     397        if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
     398            if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
     399                (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
     400                grep IS_64BIT_ARCH >/dev/null
     401            then
     402                SUN_ARCH=x86_64
     403            fi
     404        fi
     405        echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
    335406        exit ;;
    336407    sun4*:SunOS:6*:*)
     
    338409        # SunOS6.  Hard to guess exactly what SunOS6 will be like, but
    339410        # it's likely to be more like Solaris than SunOS4.
    340         echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
     411        echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
    341412        exit ;;
    342413    sun4*:SunOS:*:*)
     
    347418        esac
    348419        # Japanese Language versions have a version number like `4.1.3-JL'.
    349         echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
     420        echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`"
    350421        exit ;;
    351422    sun3*:SunOS:*:*)
    352         echo m68k-sun-sunos${UNAME_RELEASE}
     423        echo m68k-sun-sunos"$UNAME_RELEASE"
    353424        exit ;;
    354425    sun*:*:4.2BSD:*)
    355426        UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
    356         test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
     427        test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
    357428        case "`/bin/arch`" in
    358429            sun3)
    359                 echo m68k-sun-sunos${UNAME_RELEASE}
     430                echo m68k-sun-sunos"$UNAME_RELEASE"
    360431                ;;
    361432            sun4)
    362                 echo sparc-sun-sunos${UNAME_RELEASE}
     433                echo sparc-sun-sunos"$UNAME_RELEASE"
    363434                ;;
    364435        esac
    365436        exit ;;
    366437    aushp:SunOS:*:*)
    367         echo sparc-auspex-sunos${UNAME_RELEASE}
     438        echo sparc-auspex-sunos"$UNAME_RELEASE"
    368439        exit ;;
    369440    # The situation for MiNT is a little confusing.  The machine name
     
    376447    # be no problem.
    377448    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
    378         echo m68k-atari-mint${UNAME_RELEASE}
     449        echo m68k-atari-mint"$UNAME_RELEASE"
    379450        exit ;;
    380451    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
    381         echo m68k-atari-mint${UNAME_RELEASE}
    382         exit ;;
     452        echo m68k-atari-mint"$UNAME_RELEASE"
     453        exit ;;
    383454    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
    384         echo m68k-atari-mint${UNAME_RELEASE}
     455        echo m68k-atari-mint"$UNAME_RELEASE"
    385456        exit ;;
    386457    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
    387         echo m68k-milan-mint${UNAME_RELEASE}
    388         exit ;;
     458        echo m68k-milan-mint"$UNAME_RELEASE"
     459        exit ;;
    389460    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
    390         echo m68k-hades-mint${UNAME_RELEASE}
    391         exit ;;
     461        echo m68k-hades-mint"$UNAME_RELEASE"
     462        exit ;;
    392463    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
    393         echo m68k-unknown-mint${UNAME_RELEASE}
    394         exit ;;
     464        echo m68k-unknown-mint"$UNAME_RELEASE"
     465        exit ;;
    395466    m68k:machten:*:*)
    396         echo m68k-apple-machten${UNAME_RELEASE}
     467        echo m68k-apple-machten"$UNAME_RELEASE"
    397468        exit ;;
    398469    powerpc:machten:*:*)
    399         echo powerpc-apple-machten${UNAME_RELEASE}
     470        echo powerpc-apple-machten"$UNAME_RELEASE"
    400471        exit ;;
    401472    RISC*:Mach:*:*)
     
    403474        exit ;;
    404475    RISC*:ULTRIX:*:*)
    405         echo mips-dec-ultrix${UNAME_RELEASE}
     476        echo mips-dec-ultrix"$UNAME_RELEASE"
    406477        exit ;;
    407478    VAX*:ULTRIX*:*:*)
    408         echo vax-dec-ultrix${UNAME_RELEASE}
     479        echo vax-dec-ultrix"$UNAME_RELEASE"
    409480        exit ;;
    410481    2020:CLIX:*:* | 2430:CLIX:*:*)
    411         echo clipper-intergraph-clix${UNAME_RELEASE}
     482        echo clipper-intergraph-clix"$UNAME_RELEASE"
    412483        exit ;;
    413484    mips:*:*:UMIPS | mips:*:*:RISCos)
    414         eval $set_cc_for_build
    415         sed 's/^        //' << EOF >$dummy.c
     485        eval "$set_cc_for_build"
     486        sed 's/^        //' << EOF > "$dummy.c"
    416487#ifdef __cplusplus
    417488#include <stdio.h>  /* for printf() prototype */
     
    422493        #if defined (host_mips) && defined (MIPSEB)
    423494        #if defined (SYSTYPE_SYSV)
    424           printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
     495          printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
    425496        #endif
    426497        #if defined (SYSTYPE_SVR4)
    427           printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
     498          printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
    428499        #endif
    429500        #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
    430           printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
     501          printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
    431502        #endif
    432503        #endif
     
    434505        }
    435506EOF
    436         $CC_FOR_BUILD -o $dummy $dummy.c &&
    437           dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
    438           SYSTEM_NAME=`$dummy $dummyarg` &&
     507        $CC_FOR_BUILD -o "$dummy" "$dummy.c" &&
     508          dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
     509          SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
    439510            { echo "$SYSTEM_NAME"; exit; }
    440         echo mips-mips-riscos${UNAME_RELEASE}
     511        echo mips-mips-riscos"$UNAME_RELEASE"
    441512        exit ;;
    442513    Motorola:PowerMAX_OS:*:*)
     
    462533        exit ;;
    463534    AViiON:dgux:*:*)
    464         # DG/UX returns AViiON for all architectures
    465         UNAME_PROCESSOR=`/usr/bin/uname -p`
    466         if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
     535        # DG/UX returns AViiON for all architectures
     536        UNAME_PROCESSOR=`/usr/bin/uname -p`
     537        if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ]
    467538        then
    468             if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
    469                [ ${TARGET_BINARY_INTERFACE}x = x ]
     539            if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \
     540               [ "$TARGET_BINARY_INTERFACE"x = x ]
    470541            then
    471                 echo m88k-dg-dgux${UNAME_RELEASE}
     542                echo m88k-dg-dgux"$UNAME_RELEASE"
    472543            else
    473                 echo m88k-dg-dguxbcs${UNAME_RELEASE}
     544                echo m88k-dg-dguxbcs"$UNAME_RELEASE"
    474545            fi
    475546        else
    476             echo i586-dg-dgux${UNAME_RELEASE}
    477         fi
    478         exit ;;
     547            echo i586-dg-dgux"$UNAME_RELEASE"
     548        fi
     549        exit ;;
    479550    M88*:DolphinOS:*:*) # DolphinOS (SVR3)
    480551        echo m88k-dolphin-sysv3
     
    491562        exit ;;
    492563    *:IRIX*:*:*)
    493         echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
     564        echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`"
    494565        exit ;;
    495566    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
     
    503574                IBM_REV=`/usr/bin/oslevel`
    504575        else
    505                 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
    506         fi
    507         echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
     576                IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
     577        fi
     578        echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV"
    508579        exit ;;
    509580    *:AIX:2:3)
    510581        if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
    511                 eval $set_cc_for_build
    512                 sed 's/^                //' << EOF >$dummy.c
     582                eval "$set_cc_for_build"
     583                sed 's/^                //' << EOF > "$dummy.c"
    513584                #include <sys/systemcfg.h>
    514585
     
    521592                        }
    522593EOF
    523                 if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
     594                if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
    524595                then
    525596                        echo "$SYSTEM_NAME"
     
    533604        fi
    534605        exit ;;
    535     *:AIX:*:[45])
     606    *:AIX:*:[4567])
    536607        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
    537         if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
     608        if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
    538609                IBM_ARCH=rs6000
    539610        else
    540611                IBM_ARCH=powerpc
    541612        fi
    542         if [ -x /usr/bin/oslevel ] ; then
    543                 IBM_REV=`/usr/bin/oslevel`
     613        if [ -x /usr/bin/lslpp ] ; then
     614                IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
     615                           awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
    544616        else
    545                 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
    546         fi
    547         echo ${IBM_ARCH}-ibm-aix${IBM_REV}
     617                IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
     618        fi
     619        echo "$IBM_ARCH"-ibm-aix"$IBM_REV"
    548620        exit ;;
    549621    *:AIX:*:*)
    550622        echo rs6000-ibm-aix
    551623        exit ;;
    552     ibmrt:4.4BSD:*|romp-ibm:BSD:*)
     624    ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
    553625        echo romp-ibm-bsd4.4
    554626        exit ;;
    555627    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
    556         echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
     628        echo romp-ibm-bsd"$UNAME_RELEASE"   # 4.3 with uname added to
    557629        exit ;;                             # report: romp-ibm BSD 4.3
    558630    *:BOSX:*:*)
     
    569641        exit ;;
    570642    9000/[34678]??:HP-UX:*:*)
    571         HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
    572         case "${UNAME_MACHINE}" in
    573             9000/31? )            HP_ARCH=m68000 ;;
    574             9000/[34]?? )         HP_ARCH=m68k ;;
     643        HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
     644        case "$UNAME_MACHINE" in
     645            9000/31?)            HP_ARCH=m68000 ;;
     646            9000/[34]??)         HP_ARCH=m68k ;;
    575647            9000/[678][0-9][0-9])
    576648                if [ -x /usr/bin/getconf ]; then
    577649                    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
    578                     sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
    579                     case "${sc_cpu_version}" in
    580                       523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
    581                       528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
    582                       532)                      # CPU_PA_RISC2_0
    583                         case "${sc_kernel_bits}" in
    584                           32) HP_ARCH="hppa2.0n" ;;
    585                           64) HP_ARCH="hppa2.0w" ;;
    586                           '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
    587                         esac ;;
    588                     esac
     650                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
     651                    case "$sc_cpu_version" in
     652                      523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
     653                      528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
     654                      532)                      # CPU_PA_RISC2_0
     655                        case "$sc_kernel_bits" in
     656                          32) HP_ARCH=hppa2.0n ;;
     657                          64) HP_ARCH=hppa2.0w ;;
     658                          '') HP_ARCH=hppa2.0 ;;   # HP-UX 10.20
     659                        esac ;;
     660                    esac
    589661                fi
    590                 if [ "${HP_ARCH}" = "" ]; then
    591                     eval $set_cc_for_build
    592                     sed 's/^              //' << EOF >$dummy.c
    593 
    594               #define _HPUX_SOURCE
    595               #include <stdlib.h>
    596               #include <unistd.h>
    597 
    598               int main ()
    599               {
    600               #if defined(_SC_KERNEL_BITS)
    601                   long bits = sysconf(_SC_KERNEL_BITS);
    602               #endif
    603                   long cpu  = sysconf (_SC_CPU_VERSION);
    604 
    605                   switch (cpu)
    606                 {
    607                 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
    608                 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
    609                 case CPU_PA_RISC2_0:
    610               #if defined(_SC_KERNEL_BITS)
    611                     switch (bits)
    612                         {
    613                         case 64: puts ("hppa2.0w"); break;
    614                         case 32: puts ("hppa2.0n"); break;
    615                         default: puts ("hppa2.0"); break;
    616                         } break;
    617               #else  /* !defined(_SC_KERNEL_BITS) */
    618                     puts ("hppa2.0"); break;
    619               #endif
    620                 default: puts ("hppa1.0"); break;
    621                 }
    622                   exit (0);
    623               }
     662                if [ "$HP_ARCH" = "" ]; then
     663                    eval "$set_cc_for_build"
     664                    sed 's/^            //' << EOF > "$dummy.c"
     665
     666                #define _HPUX_SOURCE
     667                #include <stdlib.h>
     668                #include <unistd.h>
     669
     670                int main ()
     671                {
     672                #if defined(_SC_KERNEL_BITS)
     673                    long bits = sysconf(_SC_KERNEL_BITS);
     674                #endif
     675                    long cpu  = sysconf (_SC_CPU_VERSION);
     676
     677                    switch (cpu)
     678                        {
     679                        case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
     680                        case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
     681                        case CPU_PA_RISC2_0:
     682                #if defined(_SC_KERNEL_BITS)
     683                            switch (bits)
     684                                {
     685                                case 64: puts ("hppa2.0w"); break;
     686                                case 32: puts ("hppa2.0n"); break;
     687                                default: puts ("hppa2.0"); break;
     688                                } break;
     689                #else  /* !defined(_SC_KERNEL_BITS) */
     690                            puts ("hppa2.0"); break;
     691                #endif
     692                        default: puts ("hppa1.0"); break;
     693                        }
     694                    exit (0);
     695                }
    624696EOF
    625                     (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
     697                    (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"`
    626698                    test -z "$HP_ARCH" && HP_ARCH=hppa
    627699                fi ;;
    628700        esac
    629         if [ ${HP_ARCH} = "hppa2.0w" ]
     701        if [ "$HP_ARCH" = hppa2.0w ]
    630702        then
    631             eval $set_cc_for_build
     703            eval "$set_cc_for_build"
    632704
    633705            # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
     
    640712            # => hppa64-hp-hpux11.23
    641713
    642             if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
    643                 grep __LP64__ >/dev/null
     714            if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
     715                grep -q __LP64__
    644716            then
    645                 HP_ARCH="hppa2.0w"
     717                HP_ARCH=hppa2.0w
    646718            else
    647                 HP_ARCH="hppa64"
     719                HP_ARCH=hppa64
    648720            fi
    649721        fi
    650         echo ${HP_ARCH}-hp-hpux${HPUX_REV}
     722        echo "$HP_ARCH"-hp-hpux"$HPUX_REV"
    651723        exit ;;
    652724    ia64:HP-UX:*:*)
    653         HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
    654         echo ia64-hp-hpux${HPUX_REV}
     725        HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
     726        echo ia64-hp-hpux"$HPUX_REV"
    655727        exit ;;
    656728    3050*:HI-UX:*:*)
    657         eval $set_cc_for_build
    658         sed 's/^        //' << EOF >$dummy.c
     729        eval "$set_cc_for_build"
     730        sed 's/^        //' << EOF > "$dummy.c"
    659731        #include <unistd.h>
    660732        int
     
    681753        }
    682754EOF
    683         $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
     755        $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
    684756                { echo "$SYSTEM_NAME"; exit; }
    685757        echo unknown-hitachi-hiuxwe2
    686758        exit ;;
    687     9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
     759    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
    688760        echo hppa1.1-hp-bsd
    689761        exit ;;
     
    694766        echo hppa1.0-hp-mpeix
    695767        exit ;;
    696     hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
     768    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
    697769        echo hppa1.1-hp-osf
    698770        exit ;;
     
    702774    i*86:OSF1:*:*)
    703775        if [ -x /usr/sbin/sysversion ] ; then
    704             echo ${UNAME_MACHINE}-unknown-osf1mk
     776            echo "$UNAME_MACHINE"-unknown-osf1mk
    705777        else
    706             echo ${UNAME_MACHINE}-unknown-osf1
     778            echo "$UNAME_MACHINE"-unknown-osf1
    707779        fi
    708780        exit ;;
     
    712784    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
    713785        echo c1-convex-bsd
    714         exit ;;
     786        exit ;;
    715787    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
    716788        if getsysinfo -f scalar_acc
     
    718790        else echo c2-convex-bsd
    719791        fi
    720         exit ;;
     792        exit ;;
    721793    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
    722794        echo c34-convex-bsd
    723         exit ;;
     795        exit ;;
    724796    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
    725797        echo c38-convex-bsd
    726         exit ;;
     798        exit ;;
    727799    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
    728800        echo c4-convex-bsd
    729         exit ;;
     801        exit ;;
    730802    CRAY*Y-MP:*:*:*)
    731         echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
     803        echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
    732804        exit ;;
    733805    CRAY*[A-Z]90:*:*:*)
    734         echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
     806        echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
    735807        | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
    736808              -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
     
    738810        exit ;;
    739811    CRAY*TS:*:*:*)
    740         echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
     812        echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
    741813        exit ;;
    742814    CRAY*T3E:*:*:*)
    743         echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
     815        echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
    744816        exit ;;
    745817    CRAY*SV1:*:*:*)
    746         echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
     818        echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
    747819        exit ;;
    748820    *:UNICOS/mp:*:*)
    749         echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
     821        echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
    750822        exit ;;
    751823    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
    752         FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
    753         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
    754         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
    755         echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
    756         exit ;;
     824        FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
     825        FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
     826        FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
     827        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
     828        exit ;;
    757829    5000:UNIX_System_V:4.*:*)
    758         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
    759         FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
    760         echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
     830        FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
     831        FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
     832        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
    761833        exit ;;
    762834    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
    763         echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
     835        echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE"
    764836        exit ;;
    765837    sparc*:BSD/OS:*:*)
    766         echo sparc-unknown-bsdi${UNAME_RELEASE}
     838        echo sparc-unknown-bsdi"$UNAME_RELEASE"
    767839        exit ;;
    768840    *:BSD/OS:*:*)
    769         echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
     841        echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
    770842        exit ;;
    771843    *:FreeBSD:*:*)
    772         case ${UNAME_MACHINE} in
    773             pc98)
    774                 echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
     844        UNAME_PROCESSOR=`/usr/bin/uname -p`
     845        case "$UNAME_PROCESSOR" in
    775846            amd64)
    776                 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    777             *)
    778                 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
     847                UNAME_PROCESSOR=x86_64 ;;
     848            i386)
     849                UNAME_PROCESSOR=i586 ;;
    779850        esac
     851        echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
    780852        exit ;;
    781853    i*:CYGWIN*:*)
    782         echo ${UNAME_MACHINE}-pc-cygwin
     854        echo "$UNAME_MACHINE"-pc-cygwin
     855        exit ;;
     856    *:MINGW64*:*)
     857        echo "$UNAME_MACHINE"-pc-mingw64
    783858        exit ;;
    784859    *:MINGW*:*)
    785         echo ${UNAME_MACHINE}-pc-mingw32
    786         exit ;;
    787     i*:windows32*:*)
    788         # uname -m includes "-pc" on this system.
    789         echo ${UNAME_MACHINE}-mingw32
     860        echo "$UNAME_MACHINE"-pc-mingw32
     861        exit ;;
     862    *:MSYS*:*)
     863        echo "$UNAME_MACHINE"-pc-msys
    790864        exit ;;
    791865    i*:PW*:*)
    792         echo ${UNAME_MACHINE}-pc-pw32
    793         exit ;;
    794     *:Interix*:[3456]*)
    795         case ${UNAME_MACHINE} in
    796             x86) 
    797                 echo i586-pc-interix${UNAME_RELEASE}
     866        echo "$UNAME_MACHINE"-pc-pw32
     867        exit ;;
     868    *:Interix*:*)
     869        case "$UNAME_MACHINE" in
     870            x86)
     871                echo i586-pc-interix"$UNAME_RELEASE"
    798872                exit ;;
    799             EM64T | authenticamd)
    800                 echo x86_64-unknown-interix${UNAME_RELEASE}
     873            authenticamd | genuineintel | EM64T)
     874                echo x86_64-unknown-interix"$UNAME_RELEASE"
     875                exit ;;
     876            IA64)
     877                echo ia64-unknown-interix"$UNAME_RELEASE"
    801878                exit ;;
    802879        esac ;;
    803     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
    804         echo i${UNAME_MACHINE}-pc-mks
    805         exit ;;
    806     i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
    807         # How do we know it's Interix rather than the generic POSIX subsystem?
    808         # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
    809         # UNAME_MACHINE based on the output of uname instead of i386?
    810         echo i586-pc-interix
    811         exit ;;
    812880    i*:UWIN*:*)
    813         echo ${UNAME_MACHINE}-pc-uwin
     881        echo "$UNAME_MACHINE"-pc-uwin
    814882        exit ;;
    815883    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
    816884        echo x86_64-unknown-cygwin
    817885        exit ;;
    818     p*:CYGWIN*:*)
    819         echo powerpcle-unknown-cygwin
    820         exit ;;
    821886    prep*:SunOS:5.*:*)
    822         echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
     887        echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
    823888        exit ;;
    824889    *:GNU:*:*)
    825890        # the GNU system
    826         echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
     891        echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`"
    827892        exit ;;
    828893    *:GNU/*:*:*)
    829894        # other systems with GNU libc and userland
    830         echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
     895        echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
    831896        exit ;;
    832897    i*86:Minix:*:*)
    833         echo ${UNAME_MACHINE}-pc-minix
    834         exit ;;
    835     arm*:Linux:*:*)
    836         echo ${UNAME_MACHINE}-unknown-linux-gnu
    837         exit ;;
    838     avr32*:Linux:*:*)
    839         echo ${UNAME_MACHINE}-unknown-linux-gnu
    840         exit ;;
    841     cris:Linux:*:*)
    842         echo cris-axis-linux-gnu
    843         exit ;;
    844     crisv32:Linux:*:*)
    845         echo crisv32-axis-linux-gnu
    846         exit ;;
    847     frv:Linux:*:*)
    848         echo frv-unknown-linux-gnu
    849         exit ;;
    850     ia64:Linux:*:*)
    851         echo ${UNAME_MACHINE}-unknown-linux-gnu
    852         exit ;;
    853     m32r*:Linux:*:*)
    854         echo ${UNAME_MACHINE}-unknown-linux-gnu
    855         exit ;;
    856     m68*:Linux:*:*)
    857         echo ${UNAME_MACHINE}-unknown-linux-gnu
    858         exit ;;
    859     mips:Linux:*:*)
    860         eval $set_cc_for_build
    861         sed 's/^        //' << EOF >$dummy.c
    862         #undef CPU
    863         #undef mips
    864         #undef mipsel
    865         #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
    866         CPU=mipsel
    867         #else
    868         #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
    869         CPU=mips
    870         #else
    871         CPU=
    872         #endif
    873         #endif
    874 EOF
    875         eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
    876             /^CPU/{
    877                 s: ::g
    878                 p
    879             }'`"
    880         test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
    881         ;;
    882     mips64:Linux:*:*)
    883         eval $set_cc_for_build
    884         sed 's/^        //' << EOF >$dummy.c
    885         #undef CPU
    886         #undef mips64
    887         #undef mips64el
    888         #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
    889         CPU=mips64el
    890         #else
    891         #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
    892         CPU=mips64
    893         #else
    894         CPU=
    895         #endif
    896         #endif
    897 EOF
    898         eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
    899             /^CPU/{
    900                 s: ::g
    901                 p
    902             }'`"
    903         test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
    904         ;;
    905     or32:Linux:*:*)
    906         echo or32-unknown-linux-gnu
    907         exit ;;
    908     ppc:Linux:*:*)
    909         echo powerpc-unknown-linux-gnu
    910         exit ;;
    911     ppc64:Linux:*:*)
    912         echo powerpc64-unknown-linux-gnu
     898        echo "$UNAME_MACHINE"-pc-minix
     899        exit ;;
     900    aarch64:Linux:*:*)
     901        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     902        exit ;;
     903    aarch64_be:Linux:*:*)
     904        UNAME_MACHINE=aarch64_be
     905        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    913906        exit ;;
    914907    alpha:Linux:*:*)
     
    921914          EV67)  UNAME_MACHINE=alphaev67 ;;
    922915          EV68*) UNAME_MACHINE=alphaev68 ;;
    923         esac
    924         objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
    925         if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
    926         echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
     916        esac
     917        objdump --private-headers /bin/sh | grep -q ld.so.1
     918        if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
     919        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     920        exit ;;
     921    arc:Linux:*:* | arceb:Linux:*:*)
     922        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     923        exit ;;
     924    arm*:Linux:*:*)
     925        eval "$set_cc_for_build"
     926        if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
     927            | grep -q __ARM_EABI__
     928        then
     929            echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     930        else
     931            if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
     932                | grep -q __ARM_PCS_VFP
     933            then
     934                echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi
     935            else
     936                echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf
     937            fi
     938        fi
     939        exit ;;
     940    avr32*:Linux:*:*)
     941        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     942        exit ;;
     943    cris:Linux:*:*)
     944        echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
     945        exit ;;
     946    crisv32:Linux:*:*)
     947        echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
     948        exit ;;
     949    e2k:Linux:*:*)
     950        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     951        exit ;;
     952    frv:Linux:*:*)
     953        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     954        exit ;;
     955    hexagon:Linux:*:*)
     956        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     957        exit ;;
     958    i*86:Linux:*:*)
     959        echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
     960        exit ;;
     961    ia64:Linux:*:*)
     962        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     963        exit ;;
     964    k1om:Linux:*:*)
     965        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     966        exit ;;
     967    m32r*:Linux:*:*)
     968        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     969        exit ;;
     970    m68*:Linux:*:*)
     971        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     972        exit ;;
     973    mips:Linux:*:* | mips64:Linux:*:*)
     974        eval "$set_cc_for_build"
     975        sed 's/^        //' << EOF > "$dummy.c"
     976        #undef CPU
     977        #undef ${UNAME_MACHINE}
     978        #undef ${UNAME_MACHINE}el
     979        #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
     980        CPU=${UNAME_MACHINE}el
     981        #else
     982        #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
     983        CPU=${UNAME_MACHINE}
     984        #else
     985        CPU=
     986        #endif
     987        #endif
     988EOF
     989        eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`"
     990        test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; }
     991        ;;
     992    mips64el:Linux:*:*)
     993        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     994        exit ;;
     995    openrisc*:Linux:*:*)
     996        echo or1k-unknown-linux-"$LIBC"
     997        exit ;;
     998    or32:Linux:*:* | or1k*:Linux:*:*)
     999        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     1000        exit ;;
     1001    padre:Linux:*:*)
     1002        echo sparc-unknown-linux-"$LIBC"
     1003        exit ;;
     1004    parisc64:Linux:*:* | hppa64:Linux:*:*)
     1005        echo hppa64-unknown-linux-"$LIBC"
    9271006        exit ;;
    9281007    parisc:Linux:*:* | hppa:Linux:*:*)
    9291008        # Look for CPU level
    9301009        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
    931           PA7*) echo hppa1.1-unknown-linux-gnu ;;
    932           PA8*) echo hppa2.0-unknown-linux-gnu ;;
    933           *)    echo hppa-unknown-linux-gnu ;;
     1010          PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;;
     1011          PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;;
     1012          *)    echo hppa-unknown-linux-"$LIBC" ;;
    9341013        esac
    9351014        exit ;;
    936     parisc64:Linux:*:* | hppa64:Linux:*:*)
    937         echo hppa64-unknown-linux-gnu
     1015    ppc64:Linux:*:*)
     1016        echo powerpc64-unknown-linux-"$LIBC"
     1017        exit ;;
     1018    ppc:Linux:*:*)
     1019        echo powerpc-unknown-linux-"$LIBC"
     1020        exit ;;
     1021    ppc64le:Linux:*:*)
     1022        echo powerpc64le-unknown-linux-"$LIBC"
     1023        exit ;;
     1024    ppcle:Linux:*:*)
     1025        echo powerpcle-unknown-linux-"$LIBC"
     1026        exit ;;
     1027    riscv32:Linux:*:* | riscv64:Linux:*:*)
     1028        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    9381029        exit ;;
    9391030    s390:Linux:*:* | s390x:Linux:*:*)
    940         echo ${UNAME_MACHINE}-ibm-linux
     1031        echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
    9411032        exit ;;
    9421033    sh64*:Linux:*:*)
    943         echo ${UNAME_MACHINE}-unknown-linux-gnu
     1034        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    9441035        exit ;;
    9451036    sh*:Linux:*:*)
    946         echo ${UNAME_MACHINE}-unknown-linux-gnu
     1037        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    9471038        exit ;;
    9481039    sparc:Linux:*:* | sparc64:Linux:*:*)
    949         echo ${UNAME_MACHINE}-unknown-linux-gnu
     1040        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     1041        exit ;;
     1042    tile*:Linux:*:*)
     1043        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    9501044        exit ;;
    9511045    vax:Linux:*:*)
    952         echo ${UNAME_MACHINE}-dec-linux-gnu
     1046        echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
    9531047        exit ;;
    9541048    x86_64:Linux:*:*)
    955         echo x86_64-unknown-linux-gnu
    956         exit ;;
    957     xtensa:Linux:*:*)
    958         echo xtensa-unknown-linux-gnu
    959         exit ;;
    960     i*86:Linux:*:*)
    961         # The BFD linker knows what the default object file format is, so
    962         # first see if it will tell us. cd to the root directory to prevent
    963         # problems with other programs or directories called `ld' in the path.
    964         # Set LC_ALL=C to ensure ld outputs messages in English.
    965         ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
    966                          | sed -ne '/supported targets:/!d
    967                                     s/[         ][      ]*/ /g
    968                                     s/.*supported targets: *//
    969                                     s/ .*//
    970                                     p'`
    971         case "$ld_supported_targets" in
    972           elf32-i386)
    973                 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
    974                 ;;
    975           a.out-i386-linux)
    976                 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
    977                 exit ;;
    978           coff-i386)
    979                 echo "${UNAME_MACHINE}-pc-linux-gnucoff"
    980                 exit ;;
    981           "")
    982                 # Either a pre-BFD a.out linker (linux-gnuoldld) or
    983                 # one that does not give us useful --help.
    984                 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
    985                 exit ;;
    986         esac
    987         # Determine whether the default compiler is a.out or elf
    988         eval $set_cc_for_build
    989         sed 's/^        //' << EOF >$dummy.c
    990         #include <features.h>
    991         #ifdef __ELF__
    992         # ifdef __GLIBC__
    993         #  if __GLIBC__ >= 2
    994         LIBC=gnu
    995         #  else
    996         LIBC=gnulibc1
    997         #  endif
    998         # else
    999         LIBC=gnulibc1
    1000         # endif
    1001         #else
    1002         #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
    1003         LIBC=gnu
    1004         #else
    1005         LIBC=gnuaout
    1006         #endif
    1007         #endif
    1008         #ifdef __dietlibc__
    1009         LIBC=dietlibc
    1010         #endif
    1011 EOF
    1012         eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
    1013             /^LIBC/{
    1014                 s: ::g
    1015                 p
    1016             }'`"
    1017         test x"${LIBC}" != x && {
    1018                 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
    1019                 exit
    1020         }
    1021         test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
    1022         ;;
     1049        echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
     1050        exit ;;
     1051    xtensa*:Linux:*:*)
     1052        echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
     1053        exit ;;
    10231054    i*86:DYNIX/ptx:4*:*)
    10241055        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
     
    10281059        exit ;;
    10291060    i*86:UNIX_SV:4.2MP:2.*)
    1030         # Unixware is an offshoot of SVR4, but it has its own version
    1031         # number series starting with 2...
    1032         # I am not positive that other SVR4 systems won't match this,
     1061        # Unixware is an offshoot of SVR4, but it has its own version
     1062        # number series starting with 2...
     1063        # I am not positive that other SVR4 systems won't match this,
    10331064        # I just have to hope.  -- rms.
    1034         # Use sysv4.2uw... so that sysv4* matches it.
    1035         echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
     1065        # Use sysv4.2uw... so that sysv4* matches it.
     1066        echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION"
    10361067        exit ;;
    10371068    i*86:OS/2:*:*)
    10381069        # If we were able to find `uname', then EMX Unix compatibility
    10391070        # is probably installed.
    1040         echo ${UNAME_MACHINE}-pc-os2-emx
     1071        echo "$UNAME_MACHINE"-pc-os2-emx
    10411072        exit ;;
    10421073    i*86:XTS-300:*:STOP)
    1043         echo ${UNAME_MACHINE}-unknown-stop
     1074        echo "$UNAME_MACHINE"-unknown-stop
    10441075        exit ;;
    10451076    i*86:atheos:*:*)
    1046         echo ${UNAME_MACHINE}-unknown-atheos
     1077        echo "$UNAME_MACHINE"-unknown-atheos
    10471078        exit ;;
    10481079    i*86:syllable:*:*)
    1049         echo ${UNAME_MACHINE}-pc-syllable
    1050         exit ;;
    1051     i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
    1052         echo i386-unknown-lynxos${UNAME_RELEASE}
     1080        echo "$UNAME_MACHINE"-pc-syllable
     1081        exit ;;
     1082    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
     1083        echo i386-unknown-lynxos"$UNAME_RELEASE"
    10531084        exit ;;
    10541085    i*86:*DOS:*:*)
    1055         echo ${UNAME_MACHINE}-pc-msdosdjgpp
    1056         exit ;;
    1057     i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
    1058         UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
     1086        echo "$UNAME_MACHINE"-pc-msdosdjgpp
     1087        exit ;;
     1088    i*86:*:4.*:*)
     1089        UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
    10591090        if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
    1060                 echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
     1091                echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL"
    10611092        else
    1062                 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
     1093                echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL"
    10631094        fi
    10641095        exit ;;
    10651096    i*86:*:5:[678]*)
    1066         # UnixWare 7.x, OpenUNIX and OpenServer 6.
     1097        # UnixWare 7.x, OpenUNIX and OpenServer 6.
    10671098        case `/bin/uname -X | grep "^Machine"` in
    10681099            *486*)           UNAME_MACHINE=i486 ;;
     
    10701101            *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
    10711102        esac
    1072         echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
     1103        echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}"
    10731104        exit ;;
    10741105    i*86:*:3.2:*)
    10751106        if test -f /usr/options/cb.name; then
    10761107                UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
    1077                 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
     1108                echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL"
    10781109        elif /bin/uname -X 2>/dev/null >/dev/null ; then
    10791110                UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
     
    10851116                (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
    10861117                        && UNAME_MACHINE=i686
    1087                 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
     1118                echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL"
    10881119        else
    1089                 echo ${UNAME_MACHINE}-pc-sysv32
     1120                echo "$UNAME_MACHINE"-pc-sysv32
    10901121        fi
    10911122        exit ;;
    10921123    pc:*:*:*)
    10931124        # Left here for compatibility:
    1094         # uname -m prints for DJGPP always 'pc', but it prints nothing about
    1095         # the processor, so we play safe by assuming i386.
    1096         echo i386-pc-msdosdjgpp
    1097         exit ;;
     1125        # uname -m prints for DJGPP always 'pc', but it prints nothing about
     1126        # the processor, so we play safe by assuming i586.
     1127        # Note: whatever this is, it MUST be the same as what config.sub
     1128        # prints for the "djgpp" host, or else GDB configure will decide that
     1129        # this is a cross-build.
     1130        echo i586-pc-msdosdjgpp
     1131        exit ;;
    10981132    Intel:Mach:3*:*)
    10991133        echo i386-pc-mach3
     
    11041138    i860:*:4.*:*) # i860-SVR4
    11051139        if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
    1106           echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
     1140          echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4
    11071141        else # Add other i860-SVR4 vendors below as they are discovered.
    1108           echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
     1142          echo i860-unknown-sysv"$UNAME_RELEASE"  # Unknown i860-SVR4
    11091143        fi
    11101144        exit ;;
     
    11261160        && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
    11271161        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
    1128           && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
     1162          && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
    11291163        /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
    1130           && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
     1164          && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
    11311165    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
    1132         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
    1133           && { echo i486-ncr-sysv4; exit; } ;;
     1166        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
     1167          && { echo i486-ncr-sysv4; exit; } ;;
     1168    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
     1169        OS_REL='.3'
     1170        test -r /etc/.relid \
     1171            && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
     1172        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
     1173            && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
     1174        /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
     1175            && { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
     1176        /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
     1177            && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
    11341178    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
    1135         echo m68k-unknown-lynxos${UNAME_RELEASE}
     1179        echo m68k-unknown-lynxos"$UNAME_RELEASE"
    11361180        exit ;;
    11371181    mc68030:UNIX_System_V:4.*:*)
     
    11391183        exit ;;
    11401184    TSUNAMI:LynxOS:2.*:*)
    1141         echo sparc-unknown-lynxos${UNAME_RELEASE}
     1185        echo sparc-unknown-lynxos"$UNAME_RELEASE"
    11421186        exit ;;
    11431187    rs6000:LynxOS:2.*:*)
    1144         echo rs6000-unknown-lynxos${UNAME_RELEASE}
    1145         exit ;;
    1146     PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
    1147         echo powerpc-unknown-lynxos${UNAME_RELEASE}
     1188        echo rs6000-unknown-lynxos"$UNAME_RELEASE"
     1189        exit ;;
     1190    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
     1191        echo powerpc-unknown-lynxos"$UNAME_RELEASE"
    11481192        exit ;;
    11491193    SM[BE]S:UNIX_SV:*:*)
    1150         echo mips-dde-sysv${UNAME_RELEASE}
     1194        echo mips-dde-sysv"$UNAME_RELEASE"
    11511195        exit ;;
    11521196    RM*:ReliantUNIX-*:*:*)
     
    11591203        if uname -p 2>/dev/null >/dev/null ; then
    11601204                UNAME_MACHINE=`(uname -p) 2>/dev/null`
    1161                 echo ${UNAME_MACHINE}-sni-sysv4
     1205                echo "$UNAME_MACHINE"-sni-sysv4
    11621206        else
    11631207                echo ns32k-sni-sysv
    11641208        fi
    11651209        exit ;;
    1166     PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
    1167                       # says <Richard.M.Bartel@ccMail.Census.GOV>
    1168         echo i586-unisys-sysv4
    1169         exit ;;
     1210    PENTIUM:*:4.0*:*)   # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
     1211                        # says <Richard.M.Bartel@ccMail.Census.GOV>
     1212        echo i586-unisys-sysv4
     1213        exit ;;
    11701214    *:UNIX_System_V:4*:FTX*)
    11711215        # From Gerald Hewes <hewes@openmarket.com>.
     
    11791223    i*86:VOS:*:*)
    11801224        # From Paul.Green@stratus.com.
    1181         echo ${UNAME_MACHINE}-stratus-vos
     1225        echo "$UNAME_MACHINE"-stratus-vos
    11821226        exit ;;
    11831227    *:VOS:*:*)
     
    11861230        exit ;;
    11871231    mc68*:A/UX:*:*)
    1188         echo m68k-apple-aux${UNAME_RELEASE}
     1232        echo m68k-apple-aux"$UNAME_RELEASE"
    11891233        exit ;;
    11901234    news*:NEWS-OS:6*:*)
     
    11931237    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
    11941238        if [ -d /usr/nec ]; then
    1195                 echo mips-nec-sysv${UNAME_RELEASE}
     1239                echo mips-nec-sysv"$UNAME_RELEASE"
    11961240        else
    1197                 echo mips-unknown-sysv${UNAME_RELEASE}
    1198         fi
    1199         exit ;;
     1241                echo mips-unknown-sysv"$UNAME_RELEASE"
     1242        fi
     1243        exit ;;
    12001244    BeBox:BeOS:*:*)     # BeOS running on hardware made by Be, PPC only.
    12011245        echo powerpc-be-beos
     
    12071251        echo i586-pc-beos
    12081252        exit ;;
     1253    BePC:Haiku:*:*)     # Haiku running on Intel PC compatible.
     1254        echo i586-pc-haiku
     1255        exit ;;
     1256    x86_64:Haiku:*:*)
     1257        echo x86_64-unknown-haiku
     1258        exit ;;
    12091259    SX-4:SUPER-UX:*:*)
    1210         echo sx4-nec-superux${UNAME_RELEASE}
     1260        echo sx4-nec-superux"$UNAME_RELEASE"
    12111261        exit ;;
    12121262    SX-5:SUPER-UX:*:*)
    1213         echo sx5-nec-superux${UNAME_RELEASE}
     1263        echo sx5-nec-superux"$UNAME_RELEASE"
    12141264        exit ;;
    12151265    SX-6:SUPER-UX:*:*)
    1216         echo sx6-nec-superux${UNAME_RELEASE}
     1266        echo sx6-nec-superux"$UNAME_RELEASE"
    12171267        exit ;;
    12181268    SX-7:SUPER-UX:*:*)
    1219         echo sx7-nec-superux${UNAME_RELEASE}
     1269        echo sx7-nec-superux"$UNAME_RELEASE"
    12201270        exit ;;
    12211271    SX-8:SUPER-UX:*:*)
    1222         echo sx8-nec-superux${UNAME_RELEASE}
     1272        echo sx8-nec-superux"$UNAME_RELEASE"
    12231273        exit ;;
    12241274    SX-8R:SUPER-UX:*:*)
    1225         echo sx8r-nec-superux${UNAME_RELEASE}
     1275        echo sx8r-nec-superux"$UNAME_RELEASE"
     1276        exit ;;
     1277    SX-ACE:SUPER-UX:*:*)
     1278        echo sxace-nec-superux"$UNAME_RELEASE"
    12261279        exit ;;
    12271280    Power*:Rhapsody:*:*)
    1228         echo powerpc-apple-rhapsody${UNAME_RELEASE}
     1281        echo powerpc-apple-rhapsody"$UNAME_RELEASE"
    12291282        exit ;;
    12301283    *:Rhapsody:*:*)
    1231         echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
     1284        echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
    12321285        exit ;;
    12331286    *:Darwin:*:*)
    12341287        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
    1235         case $UNAME_PROCESSOR in
    1236             unknown) UNAME_PROCESSOR=powerpc ;;
    1237         esac
    1238         echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
     1288        eval "$set_cc_for_build"
     1289        if test "$UNAME_PROCESSOR" = unknown ; then
     1290            UNAME_PROCESSOR=powerpc
     1291        fi
     1292        if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then
     1293            if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
     1294                if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
     1295                       (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
     1296                       grep IS_64BIT_ARCH >/dev/null
     1297                then
     1298                    case $UNAME_PROCESSOR in
     1299                        i386) UNAME_PROCESSOR=x86_64 ;;
     1300                        powerpc) UNAME_PROCESSOR=powerpc64 ;;
     1301                    esac
     1302                fi
     1303                # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
     1304                if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
     1305                       (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
     1306                       grep IS_PPC >/dev/null
     1307                then
     1308                    UNAME_PROCESSOR=powerpc
     1309                fi
     1310            fi
     1311        elif test "$UNAME_PROCESSOR" = i386 ; then
     1312            # Avoid executing cc on OS X 10.9, as it ships with a stub
     1313            # that puts up a graphical alert prompting to install
     1314            # developer tools.  Any system running Mac OS X 10.7 or
     1315            # later (Darwin 11 and later) is required to have a 64-bit
     1316            # processor. This is not true of the ARM version of Darwin
     1317            # that Apple uses in portable devices.
     1318            UNAME_PROCESSOR=x86_64
     1319        fi
     1320        echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
    12391321        exit ;;
    12401322    *:procnto*:*:* | *:QNX:[0123456789]*:*)
    12411323        UNAME_PROCESSOR=`uname -p`
    1242         if test "$UNAME_PROCESSOR" = "x86"; then
     1324        if test "$UNAME_PROCESSOR" = x86; then
    12431325                UNAME_PROCESSOR=i386
    12441326                UNAME_MACHINE=pc
    12451327        fi
    1246         echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
     1328        echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE"
    12471329        exit ;;
    12481330    *:QNX:*:4*)
    12491331        echo i386-pc-qnx
    12501332        exit ;;
    1251     NSE-?:NONSTOP_KERNEL:*:*)
    1252         echo nse-tandem-nsk${UNAME_RELEASE}
    1253         exit ;;
    1254     NSR-?:NONSTOP_KERNEL:*:*)
    1255         echo nsr-tandem-nsk${UNAME_RELEASE}
     1333    NEO-*:NONSTOP_KERNEL:*:*)
     1334        echo neo-tandem-nsk"$UNAME_RELEASE"
     1335        exit ;;
     1336    NSE-*:NONSTOP_KERNEL:*:*)
     1337        echo nse-tandem-nsk"$UNAME_RELEASE"
     1338        exit ;;
     1339    NSR-*:NONSTOP_KERNEL:*:*)
     1340        echo nsr-tandem-nsk"$UNAME_RELEASE"
     1341        exit ;;
     1342    NSV-*:NONSTOP_KERNEL:*:*)
     1343        echo nsv-tandem-nsk"$UNAME_RELEASE"
     1344        exit ;;
     1345    NSX-*:NONSTOP_KERNEL:*:*)
     1346        echo nsx-tandem-nsk"$UNAME_RELEASE"
    12561347        exit ;;
    12571348    *:NonStop-UX:*:*)
     
    12621353        exit ;;
    12631354    DS/*:UNIX_System_V:*:*)
    1264         echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
     1355        echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE"
    12651356        exit ;;
    12661357    *:Plan9:*:*)
     
    12681359        # is converted to i386 for consistency with other x86
    12691360        # operating systems.
    1270         if test "$cputype" = "386"; then
     1361        if test "$cputype" = 386; then
    12711362            UNAME_MACHINE=i386
    12721363        else
    12731364            UNAME_MACHINE="$cputype"
    12741365        fi
    1275         echo ${UNAME_MACHINE}-unknown-plan9
     1366        echo "$UNAME_MACHINE"-unknown-plan9
    12761367        exit ;;
    12771368    *:TOPS-10:*:*)
     
    12941385        exit ;;
    12951386    SEI:*:*:SEIUX)
    1296         echo mips-sei-seiux${UNAME_RELEASE}
     1387        echo mips-sei-seiux"$UNAME_RELEASE"
    12971388        exit ;;
    12981389    *:DragonFly:*:*)
    1299         echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
     1390        echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
    13001391        exit ;;
    13011392    *:*VMS:*:*)
    1302         UNAME_MACHINE=`(uname -p) 2>/dev/null`
    1303         case "${UNAME_MACHINE}" in
     1393        UNAME_MACHINE=`(uname -p) 2>/dev/null`
     1394        case "$UNAME_MACHINE" in
    13041395            A*) echo alpha-dec-vms ; exit ;;
    13051396            I*) echo ia64-dec-vms ; exit ;;
     
    13101401        exit ;;
    13111402    i*86:skyos:*:*)
    1312         echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
     1403        echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`"
    13131404        exit ;;
    13141405    i*86:rdos:*:*)
    1315         echo ${UNAME_MACHINE}-pc-rdos
     1406        echo "$UNAME_MACHINE"-pc-rdos
     1407        exit ;;
     1408    i*86:AROS:*:*)
     1409        echo "$UNAME_MACHINE"-pc-aros
     1410        exit ;;
     1411    x86_64:VMkernel:*:*)
     1412        echo "$UNAME_MACHINE"-unknown-esx
     1413        exit ;;
     1414    amd64:Isilon\ OneFS:*:*)
     1415        echo x86_64-unknown-onefs
    13161416        exit ;;
    13171417esac
    13181418
    1319 #echo '(No uname command or uname output not recognized.)' 1>&2
    1320 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
    1321 
    1322 eval $set_cc_for_build
    1323 cat >$dummy.c <<EOF
    1324 #ifdef _SEQUENT_
    1325 # include <sys/types.h>
    1326 # include <sys/utsname.h>
    1327 #endif
    1328 main ()
    1329 {
    1330 #if defined (sony)
    1331 #if defined (MIPSEB)
    1332   /* BFD wants "bsd" instead of "newsos".  Perhaps BFD should be changed,
    1333      I don't know....  */
    1334   printf ("mips-sony-bsd\n"); exit (0);
    1335 #else
    1336 #include <sys/param.h>
    1337   printf ("m68k-sony-newsos%s\n",
    1338 #ifdef NEWSOS4
    1339           "4"
    1340 #else
    1341           ""
    1342 #endif
    1343          ); exit (0);
    1344 #endif
    1345 #endif
    1346 
    1347 #if defined (__arm) && defined (__acorn) && defined (__unix)
    1348   printf ("arm-acorn-riscix\n"); exit (0);
    1349 #endif
    1350 
    1351 #if defined (hp300) && !defined (hpux)
    1352   printf ("m68k-hp-bsd\n"); exit (0);
    1353 #endif
    1354 
    1355 #if defined (NeXT)
    1356 #if !defined (__ARCHITECTURE__)
    1357 #define __ARCHITECTURE__ "m68k"
    1358 #endif
    1359   int version;
    1360   version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
    1361   if (version < 4)
    1362     printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
    1363   else
    1364     printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
    1365   exit (0);
    1366 #endif
    1367 
    1368 #if defined (MULTIMAX) || defined (n16)
    1369 #if defined (UMAXV)
    1370   printf ("ns32k-encore-sysv\n"); exit (0);
    1371 #else
    1372 #if defined (CMU)
    1373   printf ("ns32k-encore-mach\n"); exit (0);
    1374 #else
    1375   printf ("ns32k-encore-bsd\n"); exit (0);
    1376 #endif
    1377 #endif
    1378 #endif
    1379 
    1380 #if defined (__386BSD__)
    1381   printf ("i386-pc-bsd\n"); exit (0);
    1382 #endif
    1383 
    1384 #if defined (sequent)
    1385 #if defined (i386)
    1386   printf ("i386-sequent-dynix\n"); exit (0);
    1387 #endif
    1388 #if defined (ns32000)
    1389   printf ("ns32k-sequent-dynix\n"); exit (0);
    1390 #endif
    1391 #endif
    1392 
    1393 #if defined (_SEQUENT_)
    1394     struct utsname un;
    1395 
    1396     uname(&un);
    1397 
    1398     if (strncmp(un.version, "V2", 2) == 0) {
    1399         printf ("i386-sequent-ptx2\n"); exit (0);
    1400     }
    1401     if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
    1402         printf ("i386-sequent-ptx1\n"); exit (0);
    1403     }
    1404     printf ("i386-sequent-ptx\n"); exit (0);
    1405 
    1406 #endif
    1407 
    1408 #if defined (vax)
    1409 # if !defined (ultrix)
    1410 #  include <sys/param.h>
    1411 #  if defined (BSD)
    1412 #   if BSD == 43
    1413       printf ("vax-dec-bsd4.3\n"); exit (0);
    1414 #   else
    1415 #    if BSD == 199006
    1416       printf ("vax-dec-bsd4.3reno\n"); exit (0);
    1417 #    else
    1418       printf ("vax-dec-bsd\n"); exit (0);
    1419 #    endif
    1420 #   endif
    1421 #  else
    1422     printf ("vax-dec-bsd\n"); exit (0);
    1423 #  endif
    1424 # else
    1425     printf ("vax-dec-ultrix\n"); exit (0);
    1426 # endif
    1427 #endif
    1428 
    1429 #if defined (alliant) && defined (i860)
    1430   printf ("i860-alliant-bsd\n"); exit (0);
    1431 #endif
    1432 
    1433   exit (1);
    1434 }
     1419echo "$0: unable to guess system type" >&2
     1420
     1421case "$UNAME_MACHINE:$UNAME_SYSTEM" in
     1422    mips:Linux | mips64:Linux)
     1423        # If we got here on MIPS GNU/Linux, output extra information.
     1424        cat >&2 <<EOF
     1425
     1426NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize
     1427the system type. Please install a C compiler and try again.
    14351428EOF
    1436 
    1437 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
    1438         { echo "$SYSTEM_NAME"; exit; }
    1439 
    1440 # Apollos put the system type in the environment.
    1441 
    1442 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
    1443 
    1444 # Convex versions that predate uname can use getsysinfo(1)
    1445 
    1446 if [ -x /usr/convex/getsysinfo ]
    1447 then
    1448     case `getsysinfo -f cpu_type` in
    1449     c1*)
    1450         echo c1-convex-bsd
    1451         exit ;;
    1452     c2*)
    1453         if getsysinfo -f scalar_acc
    1454         then echo c32-convex-bsd
    1455         else echo c2-convex-bsd
    1456         fi
    1457         exit ;;
    1458     c34*)
    1459         echo c34-convex-bsd
    1460         exit ;;
    1461     c38*)
    1462         echo c38-convex-bsd
    1463         exit ;;
    1464     c4*)
    1465         echo c4-convex-bsd
    1466         exit ;;
    1467     esac
    1468 fi
     1429        ;;
     1430esac
    14691431
    14701432cat >&2 <<EOF
    1471 $0: unable to guess system type
    1472 
    1473 This script, last modified $timestamp, has failed to recognize
    1474 the operating system you are using. It is advised that you
    1475 download the most up to date version of the config scripts from
    1476 
    1477   http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
     1433
     1434This script (version $timestamp), has failed to recognize the
     1435operating system you are using. If your script is old, overwrite *all*
     1436copies of config.guess and config.sub with the latest versions from:
     1437
     1438  https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
    14781439and
    1479   http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
    1480 
    1481 If the version you run ($0) is already up to date, please
    1482 send the following data and any information you think might be
    1483 pertinent to <config-patches@gnu.org> in order to provide the needed
    1484 information to handle your system.
     1440  https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
     1441
     1442If $0 has already been updated, send the following data and any
     1443information you think might be pertinent to config-patches@gnu.org to
     1444provide the necessary information to handle your system.
    14851445
    14861446config.guess timestamp = $timestamp
     
    15011461/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
    15021462
    1503 UNAME_MACHINE = ${UNAME_MACHINE}
    1504 UNAME_RELEASE = ${UNAME_RELEASE}
    1505 UNAME_SYSTEM  = ${UNAME_SYSTEM}
    1506 UNAME_VERSION = ${UNAME_VERSION}
     1463UNAME_MACHINE = "$UNAME_MACHINE"
     1464UNAME_RELEASE = "$UNAME_RELEASE"
     1465UNAME_SYSTEM  = "$UNAME_SYSTEM"
     1466UNAME_VERSION = "$UNAME_VERSION"
    15071467EOF
    15081468
     
    15101470
    15111471# Local variables:
    1512 # eval: (add-hook 'write-file-hooks 'time-stamp)
     1472# eval: (add-hook 'before-save-hook 'time-stamp)
    15131473# time-stamp-start: "timestamp='"
    15141474# time-stamp-format: "%:y-%02m-%02d"
  • ThirdParty/ASL/trunk/config.sub

    r1565 r4022  
    11#! /bin/sh
    22# Configuration validation subroutine script.
    3 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
    5 #   Inc.
    6 
    7 timestamp='2007-04-29'
    8 
    9 # This file is (in principle) common to ALL GNU software.
    10 # The presence of a machine in this file suggests that SOME GNU software
    11 # can handle that machine.  It does not imply ALL GNU software can.
    12 #
    13 # This file is free software; you can redistribute it and/or modify
    14 # it under the terms of the GNU General Public License as published by
    15 # the Free Software Foundation; either version 2 of the License, or
     3#   Copyright 1992-2018 Free Software Foundation, Inc.
     4
     5timestamp='2018-03-08'
     6
     7# This file is free software; you can redistribute it and/or modify it
     8# under the terms of the GNU General Public License as published by
     9# the Free Software Foundation; either version 3 of the License, or
    1610# (at your option) any later version.
    1711#
    18 # This program is distributed in the hope that it will be useful,
    19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    21 # GNU General Public License for more details.
     12# This program is distributed in the hope that it will be useful, but
     13# WITHOUT ANY WARRANTY; without even the implied warranty of
     14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15# General Public License for more details.
    2216#
    2317# 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.
     18# along with this program; if not, see <https://www.gnu.org/licenses/>.
    2719#
    2820# As a special exception to the GNU General Public License, if you
    2921# distribute this file as part of a program that contains a
    3022# configuration script generated by Autoconf, you may include it under
    31 # the same distribution terms that you use for the rest of that program.
    32 
    33 
    34 # Please send patches to <config-patches@gnu.org>.  Submit a context
    35 # diff and a properly formatted ChangeLog entry.
     23# the same distribution terms that you use for the rest of that
     24# program.  This Exception is an additional permission under section 7
     25# of the GNU General Public License, version 3 ("GPLv3").
     26
     27
     28# Please send patches to <config-patches@gnu.org>.
    3629#
    3730# Configuration subroutine to validate and canonicalize a configuration type.
     
    3932# If it is invalid, we print an error message on stderr and exit with code 1.
    4033# Otherwise, we print the canonical config type on stdout and succeed.
     34
     35# You can get the latest version of this script from:
     36# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
    4137
    4238# This file is supposed to be the same for all GNU packages
     
    5854
    5955usage="\
    60 Usage: $0 [OPTION] CPU-MFR-OPSYS
    61        $0 [OPTION] ALIAS
     56Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
    6257
    6358Canonicalize a configuration name.
    6459
    65 Operation modes:
     60Options:
    6661  -h, --help         print this help, then exit
    6762  -t, --time-stamp   print date of last modification, then exit
     
    7368GNU config.sub ($timestamp)
    7469
    75 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    76 Free Software Foundation, Inc.
     70Copyright 1992-2018 Free Software Foundation, Inc.
    7771
    7872This is free software; see the source for copying conditions.  There is NO
     
    10195    *local*)
    10296       # First pass through any local machine types.
    103        echo $1
     97       echo "$1"
    10498       exit ;;
    10599
     
    119113# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
    120114# Here we must recognize all the valid KERNEL-OS combinations.
    121 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
     115maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
    122116case $maybe_os in
    123   nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
    124   uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
     117  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
     118  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
     119  knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
     120  kopensolaris*-gnu* | cloudabi*-eabi* | \
    125121  storm-chaos* | os2-emx* | rtmk-nova*)
    126122    os=-$maybe_os
    127     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     123    basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     124    ;;
     125  android-linux)
     126    os=-linux-android
     127    basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
    128128    ;;
    129129  *)
    130     basic_machine=`echo $1 | sed 's/-[^-]*$//'`
    131     if [ $basic_machine != $1 ]
    132     then os=`echo $1 | sed 's/.*-/-/'`
     130    basic_machine=`echo "$1" | sed 's/-[^-]*$//'`
     131    if [ "$basic_machine" != "$1" ]
     132    then os=`echo "$1" | sed 's/.*-/-/'`
    133133    else os=; fi
    134134    ;;
     
    149149        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
    150150        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
    151         -apple | -axis | -knuth | -cray)
     151        -apple | -axis | -knuth | -cray | -microblaze*)
    152152                os=
    153153                basic_machine=$1
     154                ;;
     155        -bluegene*)
     156                os=-cnk
    154157                ;;
    155158        -sim | -cisco | -oki | -wec | -winbond)
     
    167170                basic_machine=$1
    168171                ;;
    169         -chorusrdb)
    170                 os=-chorusrdb
     172        -chorusrdb)
     173                os=-chorusrdb
    171174                basic_machine=$1
    172                 ;;
     175                ;;
    173176        -hiux*)
    174177                os=-hiuxwe2
     
    176179        -sco6)
    177180                os=-sco5v6
    178                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     181                basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
    179182                ;;
    180183        -sco5)
    181184                os=-sco3.2v5
    182                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     185                basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
    183186                ;;
    184187        -sco4)
    185188                os=-sco3.2v4
    186                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     189                basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
    187190                ;;
    188191        -sco3.2.[4-9]*)
    189192                os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
    190                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     193                basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
    191194                ;;
    192195        -sco3.2v[4-9]*)
    193196                # Don't forget version if it is 3.2v4 or newer.
    194                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     197                basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
    195198                ;;
    196199        -sco5v6*)
    197200                # Don't forget version if it is 3.2v4 or newer.
    198                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     201                basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
    199202                ;;
    200203        -sco*)
    201204                os=-sco3.2v2
    202                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     205                basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
    203206                ;;
    204207        -udk*)
    205                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     208                basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
    206209                ;;
    207210        -isc)
    208211                os=-isc2.2
    209                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     212                basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
    210213                ;;
    211214        -clix*)
     
    213216                ;;
    214217        -isc*)
    215                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     218                basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
     219                ;;
     220        -lynx*178)
     221                os=-lynxos178
     222                ;;
     223        -lynx*5)
     224                os=-lynxos5
    216225                ;;
    217226        -lynx*)
     
    219228                ;;
    220229        -ptx*)
    221                 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
    222                 ;;
    223         -windowsnt*)
    224                 os=`echo $os | sed -e 's/windowsnt/winnt/'`
     230                basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'`
    225231                ;;
    226232        -psos*)
     
    239245        1750a | 580 \
    240246        | a29k \
     247        | aarch64 | aarch64_be \
    241248        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
    242249        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
    243250        | am33_2.0 \
    244         | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
     251        | arc | arceb \
     252        | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
     253        | avr | avr32 \
     254        | ba \
     255        | be32 | be64 \
    245256        | bfin \
    246         | c4x | clipper \
     257        | c4x | c8051 | clipper \
    247258        | d10v | d30v | dlx | dsp16xx \
    248         | fido | fr30 | frv \
     259        | e2k | epiphany \
     260        | fido | fr30 | frv | ft32 \
    249261        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
    250         | i370 | i860 | i960 | ia64 \
     262        | hexagon \
     263        | i370 | i860 | i960 | ia16 | ia64 \
    251264        | ip2k | iq2000 \
     265        | k1om \
     266        | le32 | le64 \
     267        | lm32 \
    252268        | m32c | m32r | m32rle | m68000 | m68k | m88k \
    253         | maxq | mb | microblaze | mcore | mep \
     269        | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
    254270        | mips | mipsbe | mipseb | mipsel | mipsle \
    255271        | mips16 \
    256272        | mips64 | mips64el \
     273        | mips64octeon | mips64octeonel \
     274        | mips64orion | mips64orionel \
     275        | mips64r5900 | mips64r5900el \
    257276        | mips64vr | mips64vrel \
    258         | mips64orion | mips64orionel \
    259277        | mips64vr4100 | mips64vr4100el \
    260278        | mips64vr4300 | mips64vr4300el \
     
    263281        | mipsisa32 | mipsisa32el \
    264282        | mipsisa32r2 | mipsisa32r2el \
     283        | mipsisa32r6 | mipsisa32r6el \
    265284        | mipsisa64 | mipsisa64el \
    266285        | mipsisa64r2 | mipsisa64r2el \
     286        | mipsisa64r6 | mipsisa64r6el \
    267287        | mipsisa64sb1 | mipsisa64sb1el \
    268288        | mipsisa64sr71k | mipsisa64sr71kel \
     289        | mipsr5900 | mipsr5900el \
    269290        | mipstx39 | mipstx39el \
    270291        | mn10200 | mn10300 \
     292        | moxie \
    271293        | mt \
    272294        | msp430 \
    273         | nios | nios2 \
     295        | nds32 | nds32le | nds32be \
     296        | nios | nios2 | nios2eb | nios2el \
    274297        | ns16k | ns32k \
    275         | or32 \
    276         | pdp10 | pdp11 | pj | pjl \
    277         | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
     298        | open8 | or1k | or1knd | or32 \
     299        | pdp10 | pj | pjl \
     300        | powerpc | powerpc64 | powerpc64le | powerpcle \
     301        | pru \
    278302        | pyramid \
     303        | riscv32 | riscv64 \
     304        | rl78 | rx \
    279305        | score \
    280         | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
     306        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
    281307        | sh64 | sh64le \
    282308        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
    283309        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
    284         | spu | strongarm \
    285         | tahoe | thumb | tic4x | tic80 | tron \
    286         | v850 | v850e \
    287         | we32k \
    288         | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
    289         | z8k)
     310        | spu \
     311        | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
     312        | ubicom32 \
     313        | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
     314        | visium \
     315        | wasm32 \
     316        | x86 | xc16x | xstormy16 | xtensa \
     317        | z8k | z80)
    290318                basic_machine=$basic_machine-unknown
    291319                ;;
    292         m6811 | m68hc11 | m6812 | m68hc12)
    293                 # Motorola 68HC11/12.
     320        c54x)
     321                basic_machine=tic54x-unknown
     322                ;;
     323        c55x)
     324                basic_machine=tic55x-unknown
     325                ;;
     326        c6x)
     327                basic_machine=tic6x-unknown
     328                ;;
     329        leon|leon[3-9])
     330                basic_machine=sparc-$basic_machine
     331                ;;
     332        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
    294333                basic_machine=$basic_machine-unknown
    295334                os=-none
    296335                ;;
    297         m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
     336        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)
    298337                ;;
    299338        ms1)
    300339                basic_machine=mt-unknown
     340                ;;
     341
     342        strongarm | thumb | xscale)
     343                basic_machine=arm-unknown
     344                ;;
     345        xgate)
     346                basic_machine=$basic_machine-unknown
     347                os=-none
     348                ;;
     349        xscaleeb)
     350                basic_machine=armeb-unknown
     351                ;;
     352
     353        xscaleel)
     354                basic_machine=armel-unknown
    301355                ;;
    302356
     
    309363        # Object if more than one company name word.
    310364        *-*-*)
    311                 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
     365                echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
    312366                exit 1
    313367                ;;
     
    315369        580-* \
    316370        | a29k-* \
     371        | aarch64-* | aarch64_be-* \
    317372        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
    318373        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
    319         | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
     374        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
    320375        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
    321376        | avr-* | avr32-* \
     377        | ba-* \
     378        | be32-* | be64-* \
    322379        | bfin-* | bs2000-* \
    323         | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
    324         | clipper-* | craynv-* | cydra-* \
     380        | c[123]* | c30-* | [cjt]90-* | c4x-* \
     381        | c8051-* | clipper-* | craynv-* | cydra-* \
    325382        | d10v-* | d30v-* | dlx-* \
    326         | elxsi-* \
     383        | e2k-* | elxsi-* \
    327384        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
    328385        | h8300-* | h8500-* \
    329386        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
    330         | i*86-* | i860-* | i960-* | ia64-* \
     387        | hexagon-* \
     388        | i*86-* | i860-* | i960-* | ia16-* | ia64-* \
    331389        | ip2k-* | iq2000-* \
     390        | k1om-* \
     391        | le32-* | le64-* \
     392        | lm32-* \
    332393        | m32c-* | m32r-* | m32rle-* \
    333394        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
    334         | m88110-* | m88k-* | maxq-* | mcore-* \
     395        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
     396        | microblaze-* | microblazeel-* \
    335397        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
    336398        | mips16-* \
    337399        | mips64-* | mips64el-* \
     400        | mips64octeon-* | mips64octeonel-* \
     401        | mips64orion-* | mips64orionel-* \
     402        | mips64r5900-* | mips64r5900el-* \
    338403        | mips64vr-* | mips64vrel-* \
    339         | mips64orion-* | mips64orionel-* \
    340404        | mips64vr4100-* | mips64vr4100el-* \
    341405        | mips64vr4300-* | mips64vr4300el-* \
     
    344408        | mipsisa32-* | mipsisa32el-* \
    345409        | mipsisa32r2-* | mipsisa32r2el-* \
     410        | mipsisa32r6-* | mipsisa32r6el-* \
    346411        | mipsisa64-* | mipsisa64el-* \
    347412        | mipsisa64r2-* | mipsisa64r2el-* \
     413        | mipsisa64r6-* | mipsisa64r6el-* \
    348414        | mipsisa64sb1-* | mipsisa64sb1el-* \
    349415        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
     416        | mipsr5900-* | mipsr5900el-* \
    350417        | mipstx39-* | mipstx39el-* \
    351418        | mmix-* \
    352419        | mt-* \
    353420        | msp430-* \
    354         | nios-* | nios2-* \
     421        | nds32-* | nds32le-* | nds32be-* \
     422        | nios-* | nios2-* | nios2eb-* | nios2el-* \
    355423        | none-* | np1-* | ns16k-* | ns32k-* \
     424        | open8-* \
     425        | or1k*-* \
    356426        | orion-* \
    357427        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
    358         | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
     428        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
     429        | pru-* \
    359430        | pyramid-* \
    360         | romp-* | rs6000-* \
    361         | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
     431        | riscv32-* | riscv64-* \
     432        | rl78-* | romp-* | rs6000-* | rx-* \
     433        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
    362434        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
    363435        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
    364436        | sparclite-* \
    365         | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
    366         | tahoe-* | thumb-* \
     437        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
     438        | tahoe-* \
    367439        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
     440        | tile*-* \
    368441        | tron-* \
    369         | v850-* | v850e-* | vax-* \
     442        | ubicom32-* \
     443        | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
     444        | vax-* \
     445        | visium-* \
     446        | wasm32-* \
    370447        | we32k-* \
    371         | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
    372         | xstormy16-* | xtensa-* \
     448        | x86-* | x86_64-* | xc16x-* | xps100-* \
     449        | xstormy16-* | xtensa*-* \
    373450        | ymp-* \
    374         | z8k-*)
     451        | z8k-* | z80-*)
     452                ;;
     453        # Recognize the basic CPU types without company name, with glob match.
     454        xtensa*)
     455                basic_machine=$basic_machine-unknown
    375456                ;;
    376457        # Recognize the various machine names and aliases which stand
    377458        # for a CPU type and a company and sometimes even an OS.
    378459        386bsd)
    379                 basic_machine=i386-unknown
     460                basic_machine=i386-pc
    380461                os=-bsd
    381462                ;;
     
    390471                os=-udi
    391472                ;;
    392         abacus)
     473        abacus)
    393474                basic_machine=abacus-unknown
    394475                ;;
     
    411492                ;;
    412493        amd64-*)
    413                 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
     494                basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
    414495                ;;
    415496        amdahl)
     
    436517                os=-bsd
    437518                ;;
     519        aros)
     520                basic_machine=i386-pc
     521                os=-aros
     522                ;;
     523        asmjs)
     524                basic_machine=asmjs-unknown
     525                ;;
    438526        aux)
    439527                basic_machine=m68k-apple
     
    444532                os=-dynix
    445533                ;;
     534        blackfin)
     535                basic_machine=bfin-unknown
     536                os=-linux
     537                ;;
     538        blackfin-*)
     539                basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
     540                os=-linux
     541                ;;
     542        bluegene*)
     543                basic_machine=powerpc-ibm
     544                os=-cnk
     545                ;;
     546        c54x-*)
     547                basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
     548                ;;
     549        c55x-*)
     550                basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
     551                ;;
     552        c6x-*)
     553                basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
     554                ;;
    446555        c90)
    447556                basic_machine=c90-cray
    448557                os=-unicos
    449558                ;;
     559        cegcc)
     560                basic_machine=arm-unknown
     561                os=-cegcc
     562                ;;
    450563        convex-c1)
    451564                basic_machine=c1-convex
     
    476589                os=-unicosmp
    477590                ;;
    478         cr16c)
    479                 basic_machine=cr16c-unknown
     591        cr16 | cr16-*)
     592                basic_machine=cr16-unknown
    480593                os=-elf
    481594                ;;
     
    515628                os=-sysv3
    516629                ;;
     630        dicos)
     631                basic_machine=i686-pc
     632                os=-dicos
     633                ;;
    517634        djgpp)
    518635                basic_machine=i586-pc
     
    523640                os=-bosx
    524641                ;;
    525         dpx2* | dpx2*-bull)
     642        dpx2*)
    526643                basic_machine=m68k-bull
    527644                os=-sysv3
     645                ;;
     646        e500v[12])
     647                basic_machine=powerpc-unknown
     648                os=$os"spe"
     649                ;;
     650        e500v[12]-*)
     651                basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
     652                os=$os"spe"
    528653                ;;
    529654        ebmon29k)
     
    616741                basic_machine=hppa1.0-hp
    617742                ;;
    618         hppa-next)
    619                 os=-nextstep3
    620                 ;;
    621743        hppaosf)
    622744                basic_machine=hppa1.1-hp
     
    630752                basic_machine=i370-ibm
    631753                ;;
    632 # I'm not sure what "Sysv32" means.  Should this be sysv3.2?
    633754        i*86v32)
    634                 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
     755                basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
    635756                os=-sysv32
    636757                ;;
    637758        i*86v4*)
    638                 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
     759                basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
    639760                os=-sysv4
    640761                ;;
    641762        i*86v)
    642                 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
     763                basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
    643764                os=-sysv
    644765                ;;
    645766        i*86sol2)
    646                 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
     767                basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
    647768                os=-solaris2
    648769                ;;
     
    651772                os=-mach
    652773                ;;
    653         i386-vsta | vsta)
     774        vsta)
    654775                basic_machine=i386-unknown
    655776                os=-vsta
     
    669790                os=-sysv
    670791                ;;
    671         m88k-omron*)
    672                 basic_machine=m88k-omron
     792        leon-*|leon[3-9]-*)
     793                basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
     794                ;;
     795        m68knommu)
     796                basic_machine=m68k-unknown
     797                os=-linux
     798                ;;
     799        m68knommu-*)
     800                basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
     801                os=-linux
    673802                ;;
    674803        magnum | m3230)
     
    680809                os=-sysv
    681810                ;;
     811        microblaze*)
     812                basic_machine=microblaze-xilinx
     813                ;;
     814        mingw64)
     815                basic_machine=x86_64-pc
     816                os=-mingw64
     817                ;;
    682818        mingw32)
    683                 basic_machine=i386-pc
     819                basic_machine=i686-pc
    684820                os=-mingw32
    685821                ;;
     
    696832                ;;
    697833        mips3*-*)
    698                 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
     834                basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
    699835                ;;
    700836        mips3*)
    701                 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
     837                basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown
    702838                ;;
    703839        monitor)
     
    709845                os=-morphos
    710846                ;;
     847        moxiebox)
     848                basic_machine=moxie-unknown
     849                os=-moxiebox
     850                ;;
    711851        msdos)
    712852                basic_machine=i386-pc
     
    714854                ;;
    715855        ms1-*)
    716                 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
     856                basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
     857                ;;
     858        msys)
     859                basic_machine=i686-pc
     860                os=-msys
    717861                ;;
    718862        mvs)
     
    720864                os=-mvs
    721865                ;;
     866        nacl)
     867                basic_machine=le32-unknown
     868                os=-nacl
     869                ;;
    722870        ncr3000)
    723871                basic_machine=i486-ncr
     
    748896                os=-sysv
    749897                ;;
    750         next | m*-next )
     898        next | m*-next)
    751899                basic_machine=m68k-next
    752900                case $os in
     
    784932                basic_machine=np1-gould
    785933                ;;
     934        neo-tandem)
     935                basic_machine=neo-tandem
     936                ;;
     937        nse-tandem)
     938                basic_machine=nse-tandem
     939                ;;
    786940        nsr-tandem)
    787941                basic_machine=nsr-tandem
     942                ;;
     943        nsv-tandem)
     944                basic_machine=nsv-tandem
     945                ;;
     946        nsx-tandem)
     947                basic_machine=nsx-tandem
    788948                ;;
    789949        op50n-* | op60c-*)
     
    814974                os=-osf
    815975                ;;
     976        parisc)
     977                basic_machine=hppa-unknown
     978                os=-linux
     979                ;;
     980        parisc-*)
     981                basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
     982                os=-linux
     983                ;;
    816984        pbd)
    817985                basic_machine=sparc-tti
     
    827995                ;;
    828996        pc98-*)
    829                 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
     997                basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
    830998                ;;
    831999        pentium | p5 | k5 | k6 | nexgen | viac3)
     
    8421010                ;;
    8431011        pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
    844                 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
     1012                basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
    8451013                ;;
    8461014        pentiumpro-* | p6-* | 6x86-* | athlon-*)
    847                 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
     1015                basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
    8481016                ;;
    8491017        pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
    850                 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
     1018                basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
    8511019                ;;
    8521020        pentium4-*)
    853                 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
     1021                basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
    8541022                ;;
    8551023        pn)
     
    8581026        power)  basic_machine=power-ibm
    8591027                ;;
    860         ppc)    basic_machine=powerpc-unknown
    861                 ;;
    862         ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
    863                 ;;
    864         ppcle | powerpclittle | ppc-le | powerpc-little)
     1028        ppc | ppcbe)    basic_machine=powerpc-unknown
     1029                ;;
     1030        ppc-* | ppcbe-*)
     1031                basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
     1032                ;;
     1033        ppcle | powerpclittle)
    8651034                basic_machine=powerpcle-unknown
    8661035                ;;
    8671036        ppcle-* | powerpclittle-*)
    868                 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
     1037                basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`
    8691038                ;;
    8701039        ppc64)  basic_machine=powerpc64-unknown
    8711040                ;;
    872         ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
    873                 ;;
    874         ppc64le | powerpc64little | ppc64-le | powerpc64-little)
     1041        ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
     1042                ;;
     1043        ppc64le | powerpc64little)
    8751044                basic_machine=powerpc64le-unknown
    8761045                ;;
    8771046        ppc64le-* | powerpc64little-*)
    878                 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
     1047                basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
    8791048                ;;
    8801049        ps2)
     
    8851054                os=-pw32
    8861055                ;;
    887         rdos)
     1056        rdos | rdos64)
     1057                basic_machine=x86_64-pc
     1058                os=-rdos
     1059                ;;
     1060        rdos32)
    8881061                basic_machine=i386-pc
    8891062                os=-rdos
     
    9261099                basic_machine=i386-sequent
    9271100                ;;
    928         sh)
    929                 basic_machine=sh-hitachi
    930                 os=-hms
    931                 ;;
    9321101        sh5el)
    9331102                basic_machine=sh5le-unknown
    9341103                ;;
    935         sh64)
    936                 basic_machine=sh64-unknown
    937                 ;;
    938         sparclite-wrs | simso-wrs)
     1104        simso-wrs)
    9391105                basic_machine=sparclite-wrs
    9401106                os=-vxworks
     
    9541120                os=-sysv4
    9551121                ;;
     1122        strongarm-* | thumb-*)
     1123                basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
     1124                ;;
    9561125        sun2)
    9571126                basic_machine=m68000-sun
     
    10101179                os=-unicos
    10111180                ;;
    1012         tic54x | c54x*)
    1013                 basic_machine=tic54x-unknown
    1014                 os=-coff
    1015                 ;;
    1016         tic55x | c55x*)
    1017                 basic_machine=tic55x-unknown
    1018                 os=-coff
    1019                 ;;
    1020         tic6x | c6x*)
    1021                 basic_machine=tic6x-unknown
    1022                 os=-coff
     1181        tile*)
     1182                basic_machine=$basic_machine-unknown
     1183                os=-linux-gnu
    10231184                ;;
    10241185        tx39)
     
    10821243                os=-proelf
    10831244                ;;
     1245        x64)
     1246                basic_machine=x86_64-pc
     1247                ;;
    10841248        xbox)
    10851249                basic_machine=i686-pc
     
    10891253                basic_machine=xps100-honeywell
    10901254                ;;
     1255        xscale-* | xscalee[bl]-*)
     1256                basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
     1257                ;;
    10911258        ymp)
    10921259                basic_machine=ymp-cray
    10931260                os=-unicos
    1094                 ;;
    1095         z8k-*-coff)
    1096                 basic_machine=z8k-unknown
    1097                 os=-sim
    10981261                ;;
    10991262        none)
     
    11251288                basic_machine=vax-dec
    11261289                ;;
    1127         pdp10)
    1128                 # there are many clones, so DEC is not a safe bet
    1129                 basic_machine=pdp10-unknown
    1130                 ;;
    11311290        pdp11)
    11321291                basic_machine=pdp11-dec
     
    11351294                basic_machine=we32k-att
    11361295                ;;
    1137         sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
     1296        sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
    11381297                basic_machine=sh-unknown
    1139                 ;;
    1140         sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
    1141                 basic_machine=sparc-sun
    11421298                ;;
    11431299        cydra)
     
    11601316                ;;
    11611317        *)
    1162                 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
     1318                echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
    11631319                exit 1
    11641320                ;;
     
    11681324case $basic_machine in
    11691325        *-digital*)
    1170                 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
     1326                basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
    11711327                ;;
    11721328        *-commodore*)
    1173                 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
     1329                basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
    11741330                ;;
    11751331        *)
     
    11821338then
    11831339case $os in
    1184         # First match some system type aliases
    1185         # that might get confused with valid system types.
     1340        # First match some system type aliases that might get confused
     1341        # with valid system types.
    11861342        # -solaris* is a basic system type, with this one exception.
     1343        -auroraux)
     1344                os=-auroraux
     1345                ;;
    11871346        -solaris1 | -solaris1.*)
    11881347                os=`echo $os | sed -e 's|solaris1|sunos4|'`
     
    11911350                os=-solaris2
    11921351                ;;
    1193         -svr4*)
    1194                 os=-sysv4
    1195                 ;;
    11961352        -unixware*)
    11971353                os=-sysv4.2uw
     
    12001356                os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
    12011357                ;;
    1202         # First accept the basic system types.
     1358        # es1800 is here to avoid being matched by es* (a different OS)
     1359        -es1800*)
     1360                os=-ose
     1361                ;;
     1362        # Now accept the basic system types.
    12031363        # The portable systems comes first.
    1204         # Each alternative MUST END IN A *, to match a version number.
     1364        # Each alternative MUST end in a * to match a version number.
    12051365        # -sysv* is not here because it comes later, after sysvr4.
    12061366        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
    1207               | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
    1208               | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
     1367              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
     1368              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
     1369              | -sym* | -kopensolaris* | -plan9* \
    12091370              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
    1210               | -aos* \
     1371              | -aos* | -aros* | -cloudabi* | -sortix* \
    12111372              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
    12121373              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
    1213               | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
    1214               | -openbsd* | -solidbsd* \
     1374              | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \
     1375              | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
    12151376              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
    12161377              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
    12171378              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
    1218               | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
    1219               | -chorusos* | -chorusrdb* \
    1220               | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
    1221               | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
    1222               | -uxpv* | -beos* | -mpeix* | -udk* \
    1223               | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
     1379              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* | -hcos* \
     1380              | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
     1381              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
     1382              | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
     1383              | -linux-newlib* | -linux-musl* | -linux-uclibc* \
     1384              | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
     1385              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \
    12241386              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
    12251387              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
    12261388              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
    1227               | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
     1389              | -morphos* | -superux* | -rtmk* | -windiss* \
    12281390              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
    1229               | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
     1391              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
     1392              | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
     1393              | -midnightbsd*)
    12301394        # Remember, each alternative MUST END IN *, to match a version number.
    12311395                ;;
     
    12441408                os=`echo $os | sed -e 's|nto|nto-qnx|'`
    12451409                ;;
    1246         -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
    1247               | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
     1410        -sim | -xray | -os68k* | -v88r* \
     1411              | -windows* | -osx | -abug | -netware* | -os9* \
    12481412              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
    12491413                ;;
    12501414        -mac*)
    1251                 os=`echo $os | sed -e 's|mac|macos|'`
     1415                os=`echo "$os" | sed -e 's|mac|macos|'`
    12521416                ;;
    12531417        -linux-dietlibc)
     
    12581422                ;;
    12591423        -sunos5*)
    1260                 os=`echo $os | sed -e 's|sunos5|solaris2|'`
     1424                os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
    12611425                ;;
    12621426        -sunos6*)
    1263                 os=`echo $os | sed -e 's|sunos6|solaris3|'`
     1427                os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
    12641428                ;;
    12651429        -opened*)
    12661430                os=-openedition
    12671431                ;;
    1268         -os400*)
     1432        -os400*)
    12691433                os=-os400
    12701434                ;;
     
    12721436                os=-wince
    12731437                ;;
    1274         -osfrose*)
    1275                 os=-osfrose
    1276                 ;;
    1277         -osf*)
    1278                 os=-osf
    1279                 ;;
    12801438        -utek*)
    12811439                os=-bsd
     
    13021460                os=-rtmk-nova
    13031461                ;;
    1304         -ns2 )
     1462        -ns2)
    13051463                os=-nextstep2
    13061464                ;;
     
    13151473                os=-sysv4
    13161474                ;;
    1317         -tpf*)
     1475        -tpf*)
    13181476                os=-tpf
    13191477                ;;
     
    13241482                os=-sysv3
    13251483                ;;
    1326         -svr4)
     1484        -svr4*)
    13271485                os=-sysv4
    13281486                ;;
     
    13391497                os=-ose
    13401498                ;;
    1341         -es1800*)
    1342                 os=-ose
    1343                 ;;
    1344         -xenix)
    1345                 os=-xenix
    1346                 ;;
    13471499        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
    13481500                os=-mint
    13491501                ;;
    1350         -aros*)
    1351                 os=-aros
    1352                 ;;
    1353         -kaos*)
    1354                 os=-kaos
    1355                 ;;
    13561502        -zvmoe)
    13571503                os=-zvmoe
     1504                ;;
     1505        -dicos*)
     1506                os=-dicos
     1507                ;;
     1508        -pikeos*)
     1509                # Until real need of OS specific support for
     1510                # particular features comes up, bare metal
     1511                # configurations are quite functional.
     1512                case $basic_machine in
     1513                    arm*)
     1514                        os=-eabi
     1515                        ;;
     1516                    *)
     1517                        os=-elf
     1518                        ;;
     1519                esac
     1520                ;;
     1521        -nacl*)
     1522                ;;
     1523        -ios)
    13581524                ;;
    13591525        -none)
     
    13621528                # Get rid of the `-' at the beginning of $os.
    13631529                os=`echo $os | sed 's/[^-]*-//'`
    1364                 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
     1530                echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2
    13651531                exit 1
    13661532                ;;
     
    13791545
    13801546case $basic_machine in
    1381         score-*)
     1547        score-*)
    13821548                os=-elf
    13831549                ;;
    1384         spu-*)
     1550        spu-*)
    13851551                os=-elf
    13861552                ;;
     
    13941560                os=-aout
    13951561                ;;
    1396         c4x-* | tic4x-*)
    1397                 os=-coff
     1562        c4x-* | tic4x-*)
     1563                os=-coff
     1564                ;;
     1565        c8051-*)
     1566                os=-elf
     1567                ;;
     1568        hexagon-*)
     1569                os=-elf
     1570                ;;
     1571        tic54x-*)
     1572                os=-coff
     1573                ;;
     1574        tic55x-*)
     1575                os=-coff
     1576                ;;
     1577        tic6x-*)
     1578                os=-coff
    13981579                ;;
    13991580        # This must come before the *-dec entry.
     
    14151596        m68000-sun)
    14161597                os=-sunos3
    1417                 # This also exists in the configure program, but was not the
    1418                 # default.
    1419                 # os=-sunos4
    14201598                ;;
    14211599        m68*-cisco)
    14221600                os=-aout
    14231601                ;;
    1424         mep-*)
     1602        mep-*)
    14251603                os=-elf
    14261604                ;;
     
    14401618                os=-sunos4.1.1
    14411619                ;;
     1620        pru-*)
     1621                os=-elf
     1622                ;;
    14421623        *-be)
    14431624                os=-beos
    14441625                ;;
    1445         *-haiku)
    1446                 os=-haiku
    1447                 ;;
    14481626        *-ibm)
    14491627                os=-aix
    14501628                ;;
    1451         *-knuth)
     1629        *-knuth)
    14521630                os=-mmixware
    14531631                ;;
     
    14851663                os=-luna
    14861664                ;;
    1487         *-next )
     1665        *-next)
    14881666                os=-nextstep
    14891667                ;;
     
    14991677        i370-*)
    15001678                os=-mvs
    1501                 ;;
    1502         *-next)
    1503                 os=-nextstep3
    15041679                ;;
    15051680        *-gould)
     
    15541729                                vendor=sun
    15551730                                ;;
    1556                         -aix*)
     1731                        -cnk*|-aix*)
    15571732                                vendor=ibm
    15581733                                ;;
     
    16121787                                ;;
    16131788                esac
    1614                 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
     1789                basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
    16151790                ;;
    16161791esac
    16171792
    1618 echo $basic_machine$os
     1793echo "$basic_machine$os"
    16191794exit
    16201795
    16211796# Local variables:
    1622 # eval: (add-hook 'write-file-hooks 'time-stamp)
     1797# eval: (add-hook 'before-save-hook 'time-stamp)
    16231798# time-stamp-start: "timestamp='"
    16241799# time-stamp-format: "%:y-%02m-%02d"
  • ThirdParty/ASL/trunk/configure

    r3995 r4022  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59 for ThirdPartyASL trunk.
     3# Generated by GNU Autoconf 2.69 for ThirdPartyASL trunk.
    44#
    5 # Report bugs to <http://projects.coin-or.org/BuildTools/newticket>.
     5# Report bugs to <https://github.com/coin-or-tools/ThirdParty-ASL/issues/new>.
    66#
    7 # Copyright (C) 2003 Free Software Foundation, Inc.
     7#
     8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     9#
     10#
    811# This configure script is free software; the Free Software Foundation
    912# gives unlimited permission to copy, distribute and modify it.
     
    1215# Copyright 2006, 2007, 2009 International Business Machines and others.
    1316# All Rights Reserved.
    14 # This file is part of the open source package Coin which is distributed
     17# This file is part of the open source package ThirdParty-ASL which is distributed
    1518# under the Eclipse Public License.
    16 ## --------------------- ##
    17 ## M4sh Initialization.  ##
    18 ## --------------------- ##
    19 
    20 # Be Bourne compatible
    21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     19## -------------------- ##
     20## M4sh Initialization. ##
     21## -------------------- ##
     22
     23# Be more Bourne compatible
     24DUALCASE=1; export DUALCASE # for MKS sh
     25if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    2226  emulate sh
    2327  NULLCMD=:
    24   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     28  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    2529  # is contrary to our usage.  Disable this feature.
    2630  alias -g '${1+"$@"}'='"$@"'
    27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    28   set -o posix
    29 fi
    30 DUALCASE=1; export DUALCASE # for MKS sh
    31 
    32 # Support unset when possible.
    33 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    34   as_unset=unset
    35 else
    36   as_unset=false
    37 fi
    38 
    39 
    40 # Work around bugs in pre-3.0 UWIN ksh.
    41 $as_unset ENV MAIL MAILPATH
     31  setopt NO_GLOB_SUBST
     32else
     33  case `(set -o) 2>/dev/null` in #(
     34  *posix*) :
     35    set -o posix ;; #(
     36  *) :
     37     ;;
     38esac
     39fi
     40
     41
     42as_nl='
     43'
     44export as_nl
     45# Printing a long string crashes Solaris 7 /usr/bin/printf.
     46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49# Prefer a ksh shell builtin over an external printf program on Solaris,
     50# but without wasting forks for bash or zsh.
     51if test -z "$BASH_VERSION$ZSH_VERSION" \
     52    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     53  as_echo='print -r --'
     54  as_echo_n='print -rn --'
     55elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     56  as_echo='printf %s\n'
     57  as_echo_n='printf %s'
     58else
     59  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     60    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     61    as_echo_n='/usr/ucb/echo -n'
     62  else
     63    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     64    as_echo_n_body='eval
     65      arg=$1;
     66      case $arg in #(
     67      *"$as_nl"*)
     68        expr "X$arg" : "X\\(.*\\)$as_nl";
     69        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     70      esac;
     71      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     72    '
     73    export as_echo_n_body
     74    as_echo_n='sh -c $as_echo_n_body as_echo'
     75  fi
     76  export as_echo_body
     77  as_echo='sh -c $as_echo_body as_echo'
     78fi
     79
     80# The user is always right.
     81if test "${PATH_SEPARATOR+set}" != set; then
     82  PATH_SEPARATOR=:
     83  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     84    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     85      PATH_SEPARATOR=';'
     86  }
     87fi
     88
     89
     90# IFS
     91# We need space, tab and new line, in precisely that order.  Quoting is
     92# there to prevent editors from complaining about space-tab.
     93# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     94# splitting by setting IFS to empty value.)
     95IFS=" ""        $as_nl"
     96
     97# Find who we are.  Look in the path if we contain no directory separator.
     98as_myself=
     99case $0 in #((
     100  *[\\/]* ) as_myself=$0 ;;
     101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     102for as_dir in $PATH
     103do
     104  IFS=$as_save_IFS
     105  test -z "$as_dir" && as_dir=.
     106    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     107  done