Changeset 2312


Ignore:
Timestamp:
Jun 19, 2011 10:29:40 AM (9 years ago)
Author:
stefan
Message:

sync with trunk rev2309

Location:
ThirdParty/HSL/stable/1.3
Files:
2 deleted
7 edited
4 copied

Legend:

Unmodified
Added
Removed
  • ThirdParty/HSL/stable/1.3

  • ThirdParty/HSL/stable/1.3/Makefile.am

    r2005 r2312  
    99EXTRA_DIST = INSTALL.HSL
    1010
     11if BUILD_COINHSL
     12
    1113lib_LTLIBRARIES = libcoinhsl.la
    1214
    13 libcoinhsl_la_SOURCES = dummy.c
     15libcoinhsl_la_SOURCES =
    1416
    1517if COIN_HAS_MA27
     
    6971endif
    7072
     73endif  # EXTRA_SHARED_COMMAND
     74
     75includecoindir = $(includedir)/coin/ThirdParty
    7176install-exec-local: $(HSL_SHARED_LIB)
     77if EXTRA_SHARED_COMMAND
    7278        test -z "$(DESTDIR)$(libdir)/coin/ThirdParty" || $(mkdir_p) "$(DESTDIR)$(libdir)/coin/ThirdParty"
    7379        $(libLTLIBRARIES_INSTALL) $(HSL_SHARED_LIB) "$(DESTDIR)$(libdir)/coin/ThirdParty/$(HSL_SHARED_LIB)"
     80endif
     81        $(install_sh_DATA) config_coinhsl.h $(DESTDIR)$(includecoindir)/CoinHslConfig.h
    7482
    7583uninstall-local:
    7684        rm -f "$(DESTDIR)$(libdir)/coin/ThirdParty/$(HSL_SHARED_LIB)"
    77 endif
     85        rm -f $(DESTDIR)$(includecoindir)/CoinHslConfig.h
    7886
    7987pkgconfiglibdir = $(libdir)/pkgconfig
    8088pkgconfiglib_DATA = coinhsl.pc
    8189
    82 if COIN_HAS_PKGCONFIG
    83 addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/HSL
    84        
    85 install-data-hook:
    86         @$(mkdir_p) "$(addlibsdir)"
    87         PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
    88         $(PKG_CONFIG) --libs coinhsl > $(addlibsdir)/hsl_addlibs.txt
     90endif  # BUILD_COINHSL
    8991
    90 uninstall-hook:
    91         rm -f $(addlibsdir)/hsl_addlibs.txt
    92 endif
    93 
    94 test: $(libampl)
     92test:
    9593        @echo "No test available for HSL."
    9694
  • ThirdParty/HSL/stable/1.3/Makefile.in

    r2063 r2312  
    5252build_triplet = @build@
    5353host_triplet = @host@
    54 @COIN_HAS_MA27_TRUE@am__append_1 = ma27ad.f
    55 @COIN_HAS_MA57_TRUE@am__append_2 = ma57ad.f
    56 @COIN_HAS_MC19_TRUE@am__append_3 = mc19ad.f
    57 @COIN_HAS_MA28_TRUE@am__append_4 = ma28ad.f ma30ad.f mc13dd.f mc20ad.f \
    58 @COIN_HAS_MA28_TRUE@    mc21ad.f mc22ad.f mc23ad.f mc24ad.f
    59 
    60 @COIN_HAS_MA77_TRUE@am__append_5 = hsl_ma77d.f90 hsl_ma77d.deps90.f90 hsl_ma77d.deps77.f
     54@BUILD_COINHSL_TRUE@@COIN_HAS_MA27_TRUE@am__append_1 = ma27ad.f
     55@BUILD_COINHSL_TRUE@@COIN_HAS_MA57_TRUE@am__append_2 = ma57ad.f
     56@BUILD_COINHSL_TRUE@@COIN_HAS_MC19_TRUE@am__append_3 = mc19ad.f
     57@BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@am__append_4 = ma28ad.f ma30ad.f mc13dd.f mc20ad.f \
     58@BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@        mc21ad.f mc22ad.f mc23ad.f mc24ad.f
     59
     60@BUILD_COINHSL_TRUE@@COIN_HAS_MA77_TRUE@am__append_5 = hsl_ma77d.f90 hsl_ma77d.deps90.f90 hsl_ma77d.deps77.f
    6161DIST_COMMON = $(am__configure_deps) $(srcdir)/BuildTools/Makemain.inc \
    6262        $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
    6363        $(srcdir)/coinhsl-uninstalled.pc.in $(srcdir)/coinhsl.pc.in \
    64         $(srcdir)/config_hsl.h.in $(top_srcdir)/configure config.guess \
    65         config.sub depcomp install-sh ltmain.sh missing
    66 @HAVE_EXTERNALS_TRUE@am__append_6 = Externals
    67 @HAVE_EXTERNALS_TRUE@am__append_7 = .Externals-stamp
     64        $(srcdir)/config.h.in $(srcdir)/config_coinhsl.h.in \
     65        $(top_srcdir)/configure config.guess config.sub depcomp \
     66        install-sh ltmain.sh missing
     67@HAVE_EXTERNALS_TRUE@am__append_6 = Dependencies
     68@HAVE_EXTERNALS_TRUE@am__append_7 = .Dependencies-stamp
    6869subdir = .
    6970ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     
    7576 configure.lineno configure.status.lineno
    7677mkinstalldirs = $(install_sh) -d
    77 CONFIG_HEADER = config_hsl.h
     78CONFIG_HEADER = config.h config_coinhsl.h
    7879CONFIG_CLEAN_FILES = coinhsl.pc coinhsl-uninstalled.pc
    7980am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     
    8788LTLIBRARIES = $(lib_LTLIBRARIES)
    8889libcoinhsl_la_LIBADD =
    89 am__libcoinhsl_la_SOURCES_DIST = dummy.c ma27ad.f ma57ad.f mc19ad.f \
    90         ma28ad.f ma30ad.f mc13dd.f mc20ad.f mc21ad.f mc22ad.f mc23ad.f \
    91         mc24ad.f hsl_ma77d.f90 hsl_ma77d.deps90.f90 hsl_ma77d.deps77.f
    92 @COIN_HAS_MA27_TRUE@am__objects_1 = ma27ad.lo
    93 @COIN_HAS_MA57_TRUE@am__objects_2 = ma57ad.lo
    94 @COIN_HAS_MC19_TRUE@am__objects_3 = mc19ad.lo
    95 @COIN_HAS_MA28_TRUE@am__objects_4 = ma28ad.lo ma30ad.lo mc13dd.lo \
    96 @COIN_HAS_MA28_TRUE@    mc20ad.lo mc21ad.lo mc22ad.lo mc23ad.lo \
    97 @COIN_HAS_MA28_TRUE@    mc24ad.lo
    98 @COIN_HAS_MA77_TRUE@am__objects_5 = hsl_ma77d.lo hsl_ma77d.deps90.lo \
    99 @COIN_HAS_MA77_TRUE@    hsl_ma77d.deps77.lo
    100 am_libcoinhsl_la_OBJECTS = dummy.lo $(am__objects_1) $(am__objects_2) \
    101         $(am__objects_3) $(am__objects_4) $(am__objects_5)
     90am__libcoinhsl_la_SOURCES_DIST = ma27ad.f ma57ad.f mc19ad.f ma28ad.f \
     91        ma30ad.f mc13dd.f mc20ad.f mc21ad.f mc22ad.f mc23ad.f mc24ad.f \
     92        hsl_ma77d.f90 hsl_ma77d.deps90.f90 hsl_ma77d.deps77.f
     93@BUILD_COINHSL_TRUE@@COIN_HAS_MA27_TRUE@am__objects_1 = ma27ad.lo
     94@BUILD_COINHSL_TRUE@@COIN_HAS_MA57_TRUE@am__objects_2 = ma57ad.lo
     95@BUILD_COINHSL_TRUE@@COIN_HAS_MC19_TRUE@am__objects_3 = mc19ad.lo
     96@BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@am__objects_4 = ma28ad.lo \
     97@BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@        ma30ad.lo mc13dd.lo \
     98@BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@        mc20ad.lo mc21ad.lo \
     99@BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@        mc22ad.lo mc23ad.lo \
     100@BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@        mc24ad.lo
     101@BUILD_COINHSL_TRUE@@COIN_HAS_MA77_TRUE@am__objects_5 = hsl_ma77d.lo \
     102@BUILD_COINHSL_TRUE@@COIN_HAS_MA77_TRUE@        hsl_ma77d.deps90.lo \
     103@BUILD_COINHSL_TRUE@@COIN_HAS_MA77_TRUE@        hsl_ma77d.deps77.lo
     104@BUILD_COINHSL_TRUE@am_libcoinhsl_la_OBJECTS = $(am__objects_1) \
     105@BUILD_COINHSL_TRUE@    $(am__objects_2) $(am__objects_3) \
     106@BUILD_COINHSL_TRUE@    $(am__objects_4) $(am__objects_5)
    102107libcoinhsl_la_OBJECTS = $(am_libcoinhsl_la_OBJECTS)
    103 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
    104 depcomp = $(SHELL) $(top_srcdir)/depcomp
    105 am__depfiles_maybe = depfiles
    106 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    107         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
    108 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
    109         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
    110         $(AM_CFLAGS) $(CFLAGS)
    111 CCLD = $(CC)
    112 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
    113         $(AM_LDFLAGS) $(LDFLAGS) -o $@
     108@BUILD_COINHSL_TRUE@am_libcoinhsl_la_rpath = -rpath $(libdir)
     109DEFAULT_INCLUDES = -I. -I$(srcdir) -I. -I.
    114110F77COMPILE = $(F77) $(AM_FFLAGS) $(FFLAGS)
    115111LTF77COMPILE = $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(AM_FFLAGS) \
     
    155151AWK = @AWK@
    156152BUILDTOOLSDIR = @BUILDTOOLSDIR@
     153BUILD_COINHSL_FALSE = @BUILD_COINHSL_FALSE@
     154BUILD_COINHSL_TRUE = @BUILD_COINHSL_TRUE@
    157155CC = @CC@
    158156CCDEPMODE = @CCDEPMODE@
    159157CDEFS = @CDEFS@
    160158CFLAGS = @CFLAGS@
     159COINHSL_SVN_REV = @COINHSL_SVN_REV@
    161160COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@
    162161COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@
     
    207206HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
    208207HAVE_EXTERNALS_TRUE = @HAVE_EXTERNALS_TRUE@
    209 HAVE_MXXX_CFLAGS = @HAVE_MXXX_CFLAGS@
    210208HSL_CFLAGS = @HSL_CFLAGS@
    211209HSL_CFLAGS_INSTALLED = @HSL_CFLAGS_INSTALLED@
     
    216214HSL_PCREQUIRES = @HSL_PCREQUIRES@
    217215HSL_SHARED_LIB = @HSL_SHARED_LIB@
    218 HSL_SVN_REV = @HSL_SVN_REV@
    219216INSTALL_DATA = @INSTALL_DATA@
    220217INSTALL_LOADABLE_LIBRARY_FALSE = @INSTALL_LOADABLE_LIBRARY_FALSE@
     
    323320AUTOMAKE_OPTIONS = foreign
    324321EXTRA_DIST = INSTALL.HSL $(am__append_6)
    325 lib_LTLIBRARIES = libcoinhsl.la
    326 libcoinhsl_la_SOURCES = dummy.c $(am__append_1) $(am__append_2) \
    327         $(am__append_3) $(am__append_4) $(am__append_5)
    328 libcoinhsl_la_LDFLAGS = $(LT_LDFLAGS)
    329 pkgconfiglibdir = $(libdir)/pkgconfig
    330 pkgconfiglib_DATA = coinhsl.pc
    331 @COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/HSL
     322@BUILD_COINHSL_TRUE@lib_LTLIBRARIES = libcoinhsl.la
     323@BUILD_COINHSL_TRUE@libcoinhsl_la_SOURCES = $(am__append_1) \
     324@BUILD_COINHSL_TRUE@    $(am__append_2) $(am__append_3) \
     325@BUILD_COINHSL_TRUE@    $(am__append_4) $(am__append_5)
     326@BUILD_COINHSL_TRUE@libcoinhsl_la_LDFLAGS = $(LT_LDFLAGS)
     327@BUILD_COINHSL_TRUE@includecoindir = $(includedir)/coin/ThirdParty
     328@BUILD_COINHSL_TRUE@pkgconfiglibdir = $(libdir)/pkgconfig
     329@BUILD_COINHSL_TRUE@pkgconfiglib_DATA = coinhsl.pc
    332330
    333331# Need to overwrite automake definition since otherwise libtool does not
     
    344342DocFiles = README AUTHORS LICENSE
    345343DocInstallDir = $(datadir)/coin/doc/$(PACKAGE_NAME)
    346 all: config_hsl.h
     344all: config.h config_coinhsl.h
    347345        $(MAKE) $(AM_MAKEFLAGS) all-am
    348346
    349347.SUFFIXES:
    350 .SUFFIXES: .c .f .f90 .lo .o .obj
     348.SUFFIXES: .f .f90 .lo .o .obj
    351349am--refresh:
    352350        @:
     
    383381        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    384382
    385 config_hsl.h: stamp-h1
     383config.h: stamp-h1
    386384        @if test ! -f $@; then \
    387385          rm -f stamp-h1; \
     
    389387        else :; fi
    390388
    391 stamp-h1: $(srcdir)/config_hsl.h.in $(top_builddir)/config.status
     389stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
    392390        @rm -f stamp-h1
    393         cd $(top_builddir) && $(SHELL) ./config.status config_hsl.h
    394 $(srcdir)/config_hsl.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
     391        cd $(top_builddir) && $(SHELL) ./config.status config.h
     392$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
    395393        cd $(top_srcdir) && $(AUTOHEADER)
    396394        rm -f stamp-h1
    397395        touch $@
    398396
     397config_coinhsl.h: stamp-h2
     398        @if test ! -f $@; then \
     399          rm -f stamp-h2; \
     400          $(MAKE) stamp-h2; \
     401        else :; fi
     402
     403stamp-h2: $(srcdir)/config_coinhsl.h.in $(top_builddir)/config.status
     404        @rm -f stamp-h2
     405        cd $(top_builddir) && $(SHELL) ./config.status config_coinhsl.h
     406
    399407distclean-hdr:
    400         -rm -f config_hsl.h stamp-h1
     408        -rm -f config.h stamp-h1 config_coinhsl.h stamp-h2
    401409coinhsl.pc: $(top_builddir)/config.status $(srcdir)/coinhsl.pc.in
    402410        cd $(top_builddir) && $(SHELL) ./config.status $@
     
    431439        done
    432440libcoinhsl.la: $(libcoinhsl_la_OBJECTS) $(libcoinhsl_la_DEPENDENCIES)
    433         $(F77LINK) -rpath $(libdir) $(libcoinhsl_la_LDFLAGS) $(libcoinhsl_la_OBJECTS) $(libcoinhsl_la_LIBADD) $(LIBS)
     441        $(F77LINK) $(am_libcoinhsl_la_rpath) $(libcoinhsl_la_LDFLAGS) $(libcoinhsl_la_OBJECTS) $(libcoinhsl_la_LIBADD) $(LIBS)
    434442
    435443mostlyclean-compile:
     
    438446distclean-compile:
    439447        -rm -f *.tab.c
    440 
    441 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummy.Plo@am__quote@
    442 
    443 .c.o:
    444 @am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
    445 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    446 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    447 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    448 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
    449 
    450 .c.obj:
    451 @am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
    452 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    453 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    454 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    455 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
    456 
    457 .c.lo:
    458 @am__fastdepCC_TRUE@    if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
    459 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    460 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
    461 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    462 @am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
    463448
    464449.f.o:
     
    517502tags: TAGS
    518503
    519 TAGS:  $(HEADERS) $(SOURCES) config_hsl.h.in $(TAGS_DEPENDENCIES) \
     504TAGS:  $(HEADERS) $(SOURCES) config.h.in config_coinhsl.h.in $(TAGS_DEPENDENCIES) \
    520505                $(TAGS_FILES) $(LISP)
    521506        tags=; \
    522507        here=`pwd`; \
    523         list='$(SOURCES) $(HEADERS) config_hsl.h.in $(LISP) $(TAGS_FILES)'; \
     508        list='$(SOURCES) $(HEADERS) config.h.in config_coinhsl.h.in $(LISP) $(TAGS_FILES)'; \
    524509        unique=`for i in $$list; do \
    525510            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     
    533518        fi
    534519ctags: CTAGS
    535 CTAGS:  $(HEADERS) $(SOURCES) config_hsl.h.in $(TAGS_DEPENDENCIES) \
     520CTAGS:  $(HEADERS) $(SOURCES) config.h.in config_coinhsl.h.in $(TAGS_DEPENDENCIES) \
    536521                $(TAGS_FILES) $(LISP)
    537522        tags=; \
    538523        here=`pwd`; \
    539         list='$(SOURCES) $(HEADERS) config_hsl.h.in $(LISP) $(TAGS_FILES)'; \
     524        list='$(SOURCES) $(HEADERS) config.h.in config_coinhsl.h.in $(LISP) $(TAGS_FILES)'; \
    540525        unique=`for i in $$list; do \
    541526            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     
    684669check-am: all-am
    685670check: check-am
    686 all-am: Makefile $(LTLIBRARIES) $(DATA) config_hsl.h
     671all-am: Makefile $(LTLIBRARIES) $(DATA) config.h config_coinhsl.h
    687672installdirs:
    688673        for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfiglibdir)"; do \
     
    715700        @echo "This command is intended for maintainers to use"
    716701        @echo "it deletes files that may require special tools to rebuild."
    717 @EXTRA_SHARED_COMMAND_FALSE@uninstall-local:
    718 @EXTRA_SHARED_COMMAND_FALSE@install-exec-local:
    719 @COIN_HAS_PKGCONFIG_FALSE@install-data-hook:
    720 @COIN_HAS_PKGCONFIG_FALSE@uninstall-hook:
     702@BUILD_COINHSL_FALSE@uninstall-local:
     703@BUILD_COINHSL_FALSE@install-exec-local:
    721704clean: clean-am
    722705
     
    726709distclean: distclean-am
    727710        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
    728         -rm -rf ./$(DEPDIR)
    729711        -rm -f Makefile
    730712distclean-am: clean-am distclean-compile distclean-generic \
     
    742724
    743725install-data-am: install-pkgconfiglibDATA
    744         @$(NORMAL_INSTALL)
    745         $(MAKE) $(AM_MAKEFLAGS) install-data-hook
    746726
    747727install-exec-am: install-exec-local install-libLTLIBRARIES
     
    756736        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
    757737        -rm -rf $(top_srcdir)/autom4te.cache
    758         -rm -rf ./$(DEPDIR)
    759738        -rm -f Makefile
    760739maintainer-clean-am: distclean-am maintainer-clean-generic
     
    775754uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
    776755        uninstall-local uninstall-pkgconfiglibDATA
    777         @$(NORMAL_INSTALL)
    778         $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
    779756
    780757.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
     
    785762        distdir distuninstallcheck dvi dvi-am html html-am info \
    786763        info-am install install-am install-data install-data-am \
    787         install-data-hook install-exec install-exec-am \
    788         install-exec-local install-info install-info-am \
    789         install-libLTLIBRARIES install-man install-pkgconfiglibDATA \
    790         install-strip installcheck installcheck-am installdirs \
    791         maintainer-clean maintainer-clean-generic mostlyclean \
    792         mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
    793         pdf pdf-am ps ps-am tags uninstall uninstall-am uninstall-hook \
    794         uninstall-info-am uninstall-libLTLIBRARIES uninstall-local \
     764        install-exec install-exec-am install-exec-local install-info \
     765        install-info-am install-libLTLIBRARIES install-man \
     766        install-pkgconfiglibDATA install-strip installcheck \
     767        installcheck-am installdirs maintainer-clean \
     768        maintainer-clean-generic mostlyclean mostlyclean-compile \
     769        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     770        tags uninstall uninstall-am uninstall-info-am \
     771        uninstall-libLTLIBRARIES uninstall-local \
    795772        uninstall-pkgconfiglibDATA
    796773
    797774
    798775# dependencies
    799 hsl_ma77d.lo: hsl_ma77d.deps90.lo
     776@BUILD_COINHSL_TRUE@hsl_ma77d.lo: hsl_ma77d.deps90.lo
    800777
    801778#############################################################################
    802779#  Generating a shared library for delay loading
    803780
    804 @EXTRA_SHARED_COMMAND_TRUE@$(HSL_SHARED_LIB): $(thirdpartylib_LTLIBRARIES) $(DEFFILE)
    805 @EXTRA_SHARED_COMMAND_TRUE@     bla=; \
    806 @EXTRA_SHARED_COMMAND_TRUE@     for i in $(nodist_libcoinhsl_la_SOURCES); do \
    807 @EXTRA_SHARED_COMMAND_TRUE@       case $$i in \
    808 @EXTRA_SHARED_COMMAND_TRUE@         *.f) \
    809 @EXTRA_SHARED_COMMAND_TRUE@           obj=`echo $$i| sed -e 's|\(.*\).[cf]|.libs/\1.$(OBJEXT)|g'` ;\
    810 @EXTRA_SHARED_COMMAND_TRUE@           if test -r $$obj; then \
    811 @EXTRA_SHARED_COMMAND_TRUE@             bla="$$bla $$obj" ;\
    812 @EXTRA_SHARED_COMMAND_TRUE@           else \
    813 @EXTRA_SHARED_COMMAND_TRUE@             bla="$$bla `echo $$i| sed -e 's|\(.*\).[cf]|\1.$(OBJEXT)|g'`" ;\
    814 @EXTRA_SHARED_COMMAND_TRUE@           fi ;\
    815 @EXTRA_SHARED_COMMAND_TRUE@           ;; \
    816 @EXTRA_SHARED_COMMAND_TRUE@       esac ;\
    817 @EXTRA_SHARED_COMMAND_TRUE@     done ;\
    818 @EXTRA_SHARED_COMMAND_TRUE@     $(F77_SHARED_CMD) $$bla -o $(HSL_SHARED_LIB) $(F77_DLL_LINKFLAGS)
    819 
    820 @EXTRA_SHARED_COMMAND_TRUE@@NEED_DEFFILE_TRUE@$(DEFFILE): config.status
    821 @EXTRA_SHARED_COMMAND_TRUE@@NEED_DEFFILE_TRUE@  echo 'LIBRARY LIBHSL' > $(DEFFILE)
    822 @EXTRA_SHARED_COMMAND_TRUE@@NEED_DEFFILE_TRUE@  echo 'EXPORTS' >> $(DEFFILE)
    823 @EXTRA_SHARED_COMMAND_TRUE@@NEED_DEFFILE_TRUE@  for i in $(EXPORT_SYMBOLS); do \
    824 @EXTRA_SHARED_COMMAND_TRUE@@NEED_DEFFILE_TRUE@    echo "  $$i" >> $(DEFFILE); \
    825 @EXTRA_SHARED_COMMAND_TRUE@@NEED_DEFFILE_TRUE@  done
    826 
    827 @EXTRA_SHARED_COMMAND_TRUE@install-exec-local: $(HSL_SHARED_LIB)
    828 @EXTRA_SHARED_COMMAND_TRUE@     test -z "$(DESTDIR)$(libdir)/coin/ThirdParty" || $(mkdir_p) "$(DESTDIR)$(libdir)/coin/ThirdParty"
    829 @EXTRA_SHARED_COMMAND_TRUE@     $(libLTLIBRARIES_INSTALL) $(HSL_SHARED_LIB) "$(DESTDIR)$(libdir)/coin/ThirdParty/$(HSL_SHARED_LIB)"
    830 
    831 @EXTRA_SHARED_COMMAND_TRUE@uninstall-local:
    832 @EXTRA_SHARED_COMMAND_TRUE@     rm -f "$(DESTDIR)$(libdir)/coin/ThirdParty/$(HSL_SHARED_LIB)"
    833 
    834 @COIN_HAS_PKGCONFIG_TRUE@install-data-hook:
    835 @COIN_HAS_PKGCONFIG_TRUE@       @$(mkdir_p) "$(addlibsdir)"
    836 @COIN_HAS_PKGCONFIG_TRUE@       PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
    837 @COIN_HAS_PKGCONFIG_TRUE@       $(PKG_CONFIG) --libs coinhsl > $(addlibsdir)/hsl_addlibs.txt
    838 
    839 @COIN_HAS_PKGCONFIG_TRUE@uninstall-hook:
    840 @COIN_HAS_PKGCONFIG_TRUE@       rm -f $(addlibsdir)/hsl_addlibs.txt
    841 
    842 test: $(libampl)
     781@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@$(HSL_SHARED_LIB): $(thirdpartylib_LTLIBRARIES) $(DEFFILE)
     782@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@ bla=; \
     783@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@ for i in $(nodist_libcoinhsl_la_SOURCES); do \
     784@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@   case $$i in \
     785@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@     *.f) \
     786@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@       obj=`echo $$i| sed -e 's|\(.*\).[cf]|.libs/\1.$(OBJEXT)|g'` ;\
     787@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@       if test -r $$obj; then \
     788@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@         bla="$$bla $$obj" ;\
     789@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@       else \
     790@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@         bla="$$bla `echo $$i| sed -e 's|\(.*\).[cf]|\1.$(OBJEXT)|g'`" ;\
     791@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@       fi ;\
     792@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@       ;; \
     793@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@   esac ;\
     794@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@ done ;\
     795@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@ $(F77_SHARED_CMD) $$bla -o $(HSL_SHARED_LIB) $(F77_DLL_LINKFLAGS)
     796
     797@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@@NEED_DEFFILE_TRUE@$(DEFFILE): config.status
     798@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@@NEED_DEFFILE_TRUE@      echo 'LIBRARY LIBHSL' > $(DEFFILE)
     799@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@@NEED_DEFFILE_TRUE@      echo 'EXPORTS' >> $(DEFFILE)
     800@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@@NEED_DEFFILE_TRUE@      for i in $(EXPORT_SYMBOLS); do \
     801@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@@NEED_DEFFILE_TRUE@        echo "  $$i" >> $(DEFFILE); \
     802@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@@NEED_DEFFILE_TRUE@      done
     803@BUILD_COINHSL_TRUE@install-exec-local: $(HSL_SHARED_LIB)
     804@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@ test -z "$(DESTDIR)$(libdir)/coin/ThirdParty" || $(mkdir_p) "$(DESTDIR)$(libdir)/coin/ThirdParty"
     805@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@ $(libLTLIBRARIES_INSTALL) $(HSL_SHARED_LIB) "$(DESTDIR)$(libdir)/coin/ThirdParty/$(HSL_SHARED_LIB)"
     806@BUILD_COINHSL_TRUE@    $(install_sh_DATA) config_coinhsl.h $(DESTDIR)$(includecoindir)/CoinHslConfig.h
     807
     808@BUILD_COINHSL_TRUE@uninstall-local:
     809@BUILD_COINHSL_TRUE@    rm -f "$(DESTDIR)$(libdir)/coin/ThirdParty/$(HSL_SHARED_LIB)"
     810@BUILD_COINHSL_TRUE@    rm -f $(DESTDIR)$(includecoindir)/CoinHslConfig.h
     811
     812test:
    843813        @echo "No test available for HSL."
    844814
     
    882852@MAINTAINER_MODE_TRUE@  cp $< $@
    883853
    884 # Take care of updating externals (if Externals file exists)
    885 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@$(top_builddir)/Makefile: .Externals-stamp
    886 
    887 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@.Externals-stamp: $(srcdir)/Externals
    888 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     cd $(srcdir); svn propset svn:externals -F Externals .
    889 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     touch .Externals-stamp
    890 
    891 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@update-externals: .Externals-stamp
     854# Take care of updating externals (if Dependencies file exists)
     855@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@$(top_builddir)/Makefile: .Dependencies-stamp
     856
     857@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@.Dependencies-stamp: $(srcdir)/Dependencies
     858@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     cd $(srcdir); BuildTools/set_externals Dependencies
     859@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     touch .Dependencies-stamp
     860
     861@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@update-externals: .Dependencies-stamp
    892862@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     cd $(srcdir); svn update
    893863
  • ThirdParty/HSL/stable/1.3/coinhsl-uninstalled.pc.in

    r2063 r2312  
    66URL: https://projects.coin-or.org/BuildTools
    77Version: @PACKAGE_VERSION@
     8Cflags: -I@abs_source_dir@ -I@ABSBUILDDIR@
    89Libs: ${libdir}/libcoinhsl.la @HSL_PCLIBS@
    9 Cflags: @HAVE_MXXX_CFLAGS@
    1010Requires: @HSL_PCREQUIRES@
  • ThirdParty/HSL/stable/1.3/coinhsl.pc.in

    r2063 r2312  
    22exec_prefix=@exec_prefix@
    33libdir=@libdir@
     4includedir=@includedir@/coin/ThirdParty
    45
    56Name: HSL
     
    78URL: https://projects.coin-or.org/BuildTools
    89Version: @PACKAGE_VERSION@
     10Cflags: -I${includedir}
    911Libs: -L${libdir} -lcoinhsl @HSL_PCLIBS@
    10 Cflags: @HAVE_MXXX_CFLAGS@
    1112Requires: @HSL_PCREQUIRES@
  • ThirdParty/HSL/stable/1.3/configure

    r2063 r2312  
    473473#endif"
    474474
    475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion HSL_SVN_REV build build_cpu build_vendor build_os COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED FLIBS EGREP FC FCFLAGS ac_ct_FC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_HAS_MA27_TRUE COIN_HAS_MA27_FALSE COIN_HAS_MC19_TRUE COIN_HAS_MC19_FALSE COIN_HAS_MA57_TRUE COIN_HAS_MA57_FALSE COIN_HAS_MA28_TRUE COIN_HAS_MA28_FALSE COIN_HAS_MA77_TRUE COIN_HAS_MA77_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA METIS_DEPENDENCIES METIS_LIBS_INSTALLED METIS_CFLAGS_INSTALLED METIS_DATA_INSTALLED HSL_CFLAGS HSL_LIBS HSL_PCLIBS HSL_PCREQUIRES HSL_DEPENDENCIES HSL_CFLAGS_INSTALLED HSL_LIBS_INSTALLED COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE HAVE_MXXX_CFLAGS F77_SHARED_CMD F77_DLL_LINKFLAGS HSL_SHARED_LIB EXPORT_SYMBOLS DEFFILE INSTALL_LOADABLE_LIBRARY_TRUE INSTALL_LOADABLE_LIBRARY_FALSE NEED_DEFFILE_TRUE NEED_DEFFILE_FALSE EXTRA_SHARED_COMMAND_TRUE EXTRA_SHARED_COMMAND_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
     475ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion COINHSL_SVN_REV build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 ac_ct_F77 FFLAGS MPIF77 PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED FLIBS EGREP FC FCFLAGS ac_ct_FC LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_HAS_MA27_TRUE COIN_HAS_MA27_FALSE COIN_HAS_MA57_TRUE COIN_HAS_MA57_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA METIS_DEPENDENCIES METIS_LIBS_INSTALLED METIS_CFLAGS_INSTALLED METIS_DATA_INSTALLED HSL_CFLAGS HSL_LIBS HSL_PCLIBS HSL_PCREQUIRES HSL_DEPENDENCIES HSL_CFLAGS_INSTALLED HSL_LIBS_INSTALLED COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE COIN_HAS_MC19_TRUE COIN_HAS_MC19_FALSE COIN_HAS_MA28_TRUE COIN_HAS_MA28_FALSE COIN_HAS_MA77_TRUE COIN_HAS_MA77_FALSE F77_SHARED_CMD F77_DLL_LINKFLAGS HSL_SHARED_LIB EXPORT_SYMBOLS DEFFILE INSTALL_LOADABLE_LIBRARY_TRUE INSTALL_LOADABLE_LIBRARY_FALSE NEED_DEFFILE_TRUE NEED_DEFFILE_FALSE EXTRA_SHARED_COMMAND_TRUE EXTRA_SHARED_COMMAND_FALSE BUILD_COINHSL_TRUE BUILD_COINHSL_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    10871087                          loading
    10881088  --enable-debug          compile all projects with debug options tests
    1089   --enable-debug-hsl compile this project (HSL) with debug options
     1089                          (implies --disable-shared)
     1090  --enable-debug-hsl compile project HSL with debug compiler flags
    10901091  --enable-doscompile     Under Cygwin, compile so that executables run under
    10911092                          DOS. Set to mingw to use gcc/g++/ld with
     
    10931094                          icl/link). Default when mentioned: mingw. Default
    10941095                          when not mentioned: disabled.
    1095   --enable-pkg-config     use pkg-config if available (default is yes)
     1096  --disable-pkg-config    disable use of pkg-config (if available)
    10961097  --enable-static[=PKGS]
    10971098                          build static libraries [default=no]
     
    11051106                          optimize for fast installation [default=yes]
    11061107  --disable-libtool-lock  avoid locking (might break parallel builds)
     1108  --disable-interpackage-dependencies
     1109                          disables deduction of Makefile dependencies from
     1110                          package linker flags
    11071111
    11081112Optional Packages:
     
    11181122  --with-tags[=TAGS]
    11191123                          include additional configurations [automatic]
     1124
    11201125  --with-metis-lib linker flags for using package Metis
    11211126  --with-metis-incdir directory with header files for using package Metis
     
    16381643coin_projectdir=yes
    16391644
    1640 # Set the project's version number
    1641 if test "xHSL" != x; then
     1645# Set the project's version numbers
     1646
    16421647
    16431648cat >>confdefs.h <<_ACEOF
    1644 #define HSL_VERSION "$PACKAGE_VERSION"
     1649#define COINHSL_VERSION "$PACKAGE_VERSION"
    16451650_ACEOF
    16461651
    1647 fi
    1648 
    1649 # Set the project's SVN revision number. The complicated sed expression
    1650 # (made worse by quadrigraphs) ensures that things like 4123:4168MS end up
    1651 # as a single number.
    1652 # Extract the first word of "svnversion", so it can be a program name with args.
     1652
     1653  coin_majorver=`echo $PACKAGE_VERSION | sed -n -e 's/^\([0-9]*\).*/\1/gp'`
     1654  coin_minorver=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.\([0-9]*\).*/\1/gp'`
     1655  coin_releasever=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\).*/\1/gp'`
     1656  if test "x$coin_majorver" = x ; then coin_majorver=9999 ; fi
     1657  if test "x$coin_minorver" = x ; then coin_minorver=9999 ; fi
     1658  if test "x$coin_releasever" = x ; then coin_releasever=9999 ; fi
     1659
     1660cat >>confdefs.h <<_ACEOF
     1661#define COINHSL_VERSION_MAJOR $coin_majorver
     1662_ACEOF
     1663
     1664
     1665cat >>confdefs.h <<_ACEOF
     1666#define COINHSL_VERSION_MINOR $coin_minorver
     1667_ACEOF
     1668
     1669
     1670cat >>confdefs.h <<_ACEOF
     1671#define COINHSL_VERSION_RELEASE $coin_releasever
     1672_ACEOF
     1673
     1674
     1675  # We use the following variable to have a string with the upper case
     1676  # version of the project name
     1677  COIN_PRJCT=COINHSL
     1678
     1679  # Set the project's SVN revision number. The complicated sed expression
     1680  # (made worse by quadrigraphs) ensures that things like 4123:4168MS end up
     1681  # as a single number.
     1682  # Extract the first word of "svnversion", so it can be a program name with args.
    16531683set dummy svnversion; ac_word=$2
    16541684echo "$as_me:$LINENO: checking for $ac_word" >&5
     
    16861716fi
    16871717
    1688 if test "x$have_svnversion" = xyes && test "xHSL" != x; then
    1689 
    1690   svn_rev_tmp=`cd $srcdir/$coin_has_hsl ; svnversion`
    1691   HSL_SVN_REV=`echo $svn_rev_tmp | sed -n -e 's/^[0-9]*://' -e 's/\([0-9]\)[^0-9]*$/\1/p'`
    1692   if test $HSL_SVN_REV != exported; then
     1718  if test "x$have_svnversion" = xyes; then
     1719
     1720    svn_rev_tmp=`LANG=en_EN svnversion $srcdir 2>/dev/null`
     1721    if test "x$svn_rev_tmp" != xexported -a "x$svn_rev_tmp" != x; then
     1722      COINHSL_SVN_REV=`echo $svn_rev_tmp | sed -n -e 's/^[0-9]*://' -e 's/\([0-9]\)[^0-9]*$/\1/p'`
    16931723
    16941724cat >>confdefs.h <<_ACEOF
    1695 #define HSL_SVN_REV $HSL_SVN_REV
     1725#define COINHSL_SVN_REV $COINHSL_SVN_REV
    16961726_ACEOF
    16971727
     1728    fi
    16981729  fi
    1699 fi
     1730
     1731
    17001732
    17011733# Capture libtool library version, if given.
     1734
    17021735
    17031736
     
    18071840  case "${enableval}" in
    18081841    yes) coin_debug_compile=true
    1809          enable_shared=no
    18101842         ;;
    18111843    no)  coin_debug_compile=false
     
    18621894#define COIN_HSL_CHECKLEVEL $coin_hsl_checklevel
    18631895_ACEOF
    1864 
    1865 
    1866 # We use the following variable to have a string with the upper case
    1867 # version of the project name
    1868 COIN_PRJCT=HSL
    18691896
    18701897
     
    19471974  esac
    19481975fi
    1949 
    1950 # add automake conditional so we can recognize cl compiler in makefile
    1951 coin_cc_is_cl=false
    1952 if test x"$CXX" != x; then
    1953   case "$CXX" in
    1954     cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    1955       coin_cc_is_cl=true
    1956       ;;
    1957   esac
    1958 fi
    1959 
    1960 
    1961 if test $coin_cc_is_cl = true; then
    1962   COIN_CC_IS_CL_TRUE=
    1963   COIN_CC_IS_CL_FALSE='#'
    1964 else
    1965   COIN_CC_IS_CL_TRUE='#'
    1966   COIN_CC_IS_CL_FALSE=
    1967 fi
    1968 
    19691976
    19701977
     
    27862793CFLAGS="$save_cflags"
    27872794
     2795# add automake conditional so we can recognize cl compiler in makefile
     2796coin_cc_is_cl=false
     2797case "$CC" in
     2798  cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
     2799    coin_cc_is_cl=true
     2800    ;;
     2801esac
     2802
     2803
     2804if test $coin_cc_is_cl = true; then
     2805  COIN_CC_IS_CL_TRUE=
     2806  COIN_CC_IS_CL_FALSE='#'
     2807else
     2808  COIN_CC_IS_CL_TRUE='#'
     2809  COIN_CC_IS_CL_FALSE=
     2810fi
     2811
     2812
    27882813# Check if a project specific CFLAGS variable has been set
    27892814if test x$COIN_PRJCT != x; then
     
    28082833        coin_opt_cflags="-O3"
    28092834        coin_add_cflags="-pipe"
    2810         coin_dbg_cflags="-g"
    2811         coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas"
     2835        coin_dbg_cflags="-g -O0"
     2836        coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long"
    28122837        case $build in
    28132838          *-darwin*)
     
    30743099esac
    30753100
     3101# add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include
     3102if test x$COIN_PRJCT != x; then
     3103  CFLAGS="$CFLAGS -D${COIN_PRJCT}_BUILD"
     3104fi
     3105
    30763106# Try if CFLAGS works
    30773107save_CFLAGS="$CFLAGS"
     
    32233253       coin_f77_comps="ifort fl32 compile_f2c"
    32243254     else
    3225        coin_f77_comps="gfortran g77 ifort fl32 compile_f2c"
     3255       coin_f77_comps="gfortran ifort g95 g77 fl32 compile_f2c"
    32263256     fi ;;
    32273257  *-*-solaris*)
    3228      coin_f77_comps="f95 f90 f77 xlf_r fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;;
     3258     coin_f77_comps="f95 f90 g95 f77 xlf_r fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;;
    32293259  *-linux-gnu*)
    3230      coin_f77_comps="gfortran fort77 f77 g77 pgf90 pgf77 ifort ifc frt af77 xlf_r" ;;
    3231   *) coin_f77_comps="xlf_r fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;;
     3260     coin_f77_comps="gfortran ifort g95 fort77 f77 g77 pgf90 pgf77 ifc frt af77 xlf_r" ;;
     3261  *) coin_f77_comps="xlf_r fort77 gfortran ifort g95 f77 g77 pgf90 pgf77 ifc frt af77" ;;
    32323262 esac
    32333263
     
    32653295{ echo "$as_me:$LINENO: Trying to determine Fortran compiler name" >&5
    32663296echo "$as_me: Trying to determine Fortran compiler name" >&6;}
    3267 for ac_prog in $coin_f77_comps
    3268 do
    3269   # Extract the first word of "$ac_prog", so it can be a program name with args.
    3270 set dummy $ac_prog; ac_word=$2
     3297if test -n "$ac_tool_prefix"; then
     3298  for ac_prog in $coin_f77_comps
     3299  do
     3300    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     3301set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    32713302echo "$as_me:$LINENO: checking for $ac_word" >&5
    32723303echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     
    32843315  for ac_exec_ext in '' $ac_executable_extensions; do
    32853316  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3286     ac_cv_prog_F77="$ac_prog"
     3317    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    32873318    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    32883319    break 2
     
    33023333fi
    33033334
    3304   test -n "$F77" && break
     3335    test -n "$F77" && break
     3336  done
     3337fi
     3338if test -z "$F77"; then
     3339  ac_ct_F77=$F77
     3340  for ac_prog in $coin_f77_comps
     3341do
     3342  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3343set dummy $ac_prog; ac_word=$2
     3344echo "$as_me:$LINENO: checking for $ac_word" >&5
     3345echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3346if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
     3347  echo $ECHO_N "(cached) $ECHO_C" >&6
     3348else
     3349  if test -n "$ac_ct_F77"; then
     3350  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
     3351else
     3352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3353for as_dir in $PATH
     3354do
     3355  IFS=$as_save_IFS
     3356  test -z "$as_dir" && as_dir=.
     3357  for ac_exec_ext in '' $ac_executable_extensions; do
     3358  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3359    ac_cv_prog_ac_ct_F77="$ac_prog"
     3360    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3361    break 2
     3362  fi
    33053363done
    3306 test -n "$F77" || F77="unavailable"
     3364done
     3365
     3366fi
     3367fi
     3368ac_ct_F77=$ac_cv_prog_ac_ct_F77
     3369if test -n "$ac_ct_F77"; then
     3370  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
     3371echo "${ECHO_T}$ac_ct_F77" >&6
     3372else
     3373  echo "$as_me:$LINENO: result: no" >&5
     3374echo "${ECHO_T}no" >&6
     3375fi
     3376
     3377  test -n "$ac_ct_F77" && break
     3378done
     3379test -n "$ac_ct_F77" || ac_ct_F77="unavailable"
     3380
     3381  F77=$ac_ct_F77
     3382fi
    33073383
    33083384
     
    34003476
    34013477# Provide some information about the compiler.
    3402 echo "$as_me:3402:" \
     3478echo "$as_me:3478:" \
    34033479     "checking for Fortran 77 compiler version" >&5
    34043480ac_compiler=`set X $ac_compile; echo $2`
     
    35683644    coin_opt_fflags="-O3"
    35693645    coin_add_fflags="-pipe"
    3570     coin_dbg_fflags="-g"
     3646    coin_dbg_fflags="-g -O0"
    35713647    case $enable_doscompile in
    35723648      mingw)
     
    40194095  fi
    40204096  if test -n "$PKG_CONFIG"; then
    4021     _pkg_min_version=0.9.0
     4097    _pkg_min_version=0.16.0
    40224098    echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
    40234099echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
     
    40604136# unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}...
    40614137if test "x${prefix}" = xNONE ; then
    4062   COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    4063 else
    4064   COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     4138  COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     4139else
     4140  COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    40654141fi
    40664142
     
    40744150   { (exit 1); exit 1; }; }
    40754151   fi
    4076    COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     4152   COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:$withval/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    40774153
    40784154fi;
     
    41124188fi
    41134189
     4190if test -n "$PKG_CONFIG" && test x$coin_cc_is_cl = xtrue; then
     4191  { echo "$as_me:$LINENO: WARNING: Using pkg-config together with MS or Intel Compiler on Windows is not support by example Makefiles. Consider using --disable-pkg-config." >&5
     4192echo "$as_me: WARNING: Using pkg-config together with MS or Intel Compiler on Windows is not support by example Makefiles. Consider using --disable-pkg-config." >&2;}
     4193fi
     4194
    41144195
    41154196
    41164197# Get the linker flags (FLIBS) that are required for linking against this blas library
     4198
     4199# get FLIBS
    41174200ac_ext=f
    41184201ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     
    41664249ac_save_FFLAGS=$FFLAGS
    41674250FFLAGS="$FFLAGS $ac_verb"
    4168 (eval echo $as_me:4168: \"$ac_link\") >&5
     4251(eval echo $as_me:4251: \"$ac_link\") >&5
    41694252ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    41704253echo "$ac_f77_v_output" >&5
     
    42444327ac_save_FFLAGS=$FFLAGS
    42454328FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    4246 (eval echo $as_me:4246: \"$ac_link\") >&5
     4329(eval echo $as_me:4329: \"$ac_link\") >&5
    42474330ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    42484331echo "$ac_f77_v_output" >&5
     
    44104493
    44114494
    4412 ac_ext=f
    4413 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4414 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4415 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     4495ac_ext=c
     4496ac_cpp='$CPP $CPPFLAGS'
     4497ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4498ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4499ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4500
     4501orig_FLIBS="$FLIBS"
     4502
     4503# If FLIBS has been set by the user, we just restore its value here
     4504if test x"$save_FLIBS" != x; then
     4505  FLIBS="$save_FLIBS"
     4506else
     4507  # This is to correct a missing exclusion in autoconf 2.59
     4508  if test x"$FLIBS" != x; then
     4509    my_flibs=
     4510    for flag in $FLIBS; do
     4511      case $flag in
     4512        -lcrt*.o) ;;
     4513        -lcygwin) ;;
     4514               *) my_flibs="$my_flibs $flag" ;;
     4515      esac
     4516    done
     4517    FLIBS="$my_flibs"
     4518  fi
     4519
     4520  case $build in
     4521  # The following is a fix to define FLIBS for ifort on Windows
     4522  # In its original version, it linked in libifcorert.lib or libifcorertd.lib on Windows/ifort explicitly.
     4523  # However, this seem to create a dependency on libifcorert.dll (or libifcorertd.dll) in the executables.
     4524  # This is seem to be unnecessary, libifcorert(d).lib has been removed from the link line.
     4525  # Further, excluding libc.lib from the default libs seemed to be necessary only for VS < 8.
     4526  # Since the corresponding flag seems to make more trouble than it avoids, it has been removed now.
     4527     *-cygwin* | *-mingw*)
     4528       case "$F77" in
     4529#         ifort* | */ifort* | IFORT* | */IFORT*)
     4530#           FLIBS="-link $LIBS /NODEFAULTLIB:libc.lib"
     4531#           if "$coin_debug_compile" = true ; then
     4532#             FLIBS="-link $LIBS /NODEFAULTLIB:libc.lib /NODEFAULTLIB:libcmt.lib"
     4533#           else
     4534#             FLIBS="-link $LIBS /NODEFAULTLIB:libc.lib /NODEFAULTLIB:libcmtd.lib"
     4535#           fi
     4536#           ;;
     4537         compile_f2c*)
     4538           FLIBS=`$F77 -FLIBS` ;;
     4539       esac;;
     4540     *-hp-*)
     4541         FLIBS="$FLIBS -lm";;
     4542     *-ibm-*)
     4543         FLIBS=`echo $FLIBS | sed 's/-lc)/-lc/g'` ;;
     4544     *-linux-*)
     4545       case "$F77" in
     4546         pgf77* | */pgf77* | pgf90* | */pgf90*)
     4547# ask linker to go through the archives multiple times
     4548# (the Fortran compiler seems to do that automatically...)
     4549           FLIBS="-Wl,--start-group $FLIBS -Wl,--end-group" ;;
     4550       esac
     4551  esac
     4552  ac_cv_f77_libs="$FLIBS"
     4553fi
     4554
     4555if test "x$orig_FLIBS" != "x$FLIBS" ; then
     4556  { echo "$as_me:$LINENO: Corrected Fortran libraries: $FLIBS" >&5
     4557echo "$as_me: Corrected Fortran libraries: $FLIBS" >&6;}
     4558fi
    44164559
    44174560ac_ext=f
     
    48424985ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    48434986
    4844 
    48454987ac_ext=f
    48464988ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     
    49325074ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    49335075ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4934 
    4935 
    4936 # If FLIBS has been set by the user, we just restore its value here
    4937 if test x"$save_FLIBS" != x; then
    4938   FLIBS="$save_FLIBS"
    4939 else
    4940   # This is to correct a missing exclusion in autoconf 2.59
    4941   if test x"$FLIBS" != x; then
    4942     my_flibs=
    4943     for flag in $FLIBS; do
    4944       case $flag in
    4945         -lcrt*.o) ;;
    4946         -lcygwin) ;;
    4947                *) my_flibs="$my_flibs $flag" ;;
    4948       esac
    4949     done
    4950     FLIBS="$my_flibs"
    4951   fi
    4952 
    4953   case $build in
    4954   # The following is a fix to define FLIBS for ifort on Windows
    4955   # In its original version, it linked in libifcorert.lib or libifcorertd.lib on Windows/ifort explicitly.
    4956   # However, this seem to create a dependency on libifcorert.dll (or libifcorertd.dll) in the executables.
    4957   # This is seem to be unnecessary, libifcorert(d).lib has been removed from the link line.
    4958   # Further, excluding libc.lib from the default libs seemed to be necessary only for VS < 8.
    4959   # Since the corresponding flag seems to make more trouble that it avoid, it has been removed now.
    4960      *-cygwin* | *-mingw*)
    4961        case "$F77" in
    4962 #         ifort* | */ifort* | IFORT* | */IFORT*)
    4963 #           FLIBS="-link $LIBS /NODEFAULTLIB:libc.lib"
    4964 #           if "$coin_debug_compile" = true ; then
    4965 #             FLIBS="-link $LIBS /NODEFAULTLIB:libc.lib /NODEFAULTLIB:libcmt.lib"
    4966 #           else
    4967 #             FLIBS="-link $LIBS /NODEFAULTLIB:libc.lib /NODEFAULTLIB:libcmtd.lib"
    4968 #           fi
    4969 #           ;;
    4970          compile_f2c*)
    4971            FLIBS=`$F77 -FLIBS` ;;
    4972        esac;;
    4973      *-hp-*)
    4974          FLIBS="$FLIBS -lm";;
    4975      *-ibm-*)
    4976          FLIBS=`echo $FLIBS | sed 's/-lc)/-lc/g'` ;;
    4977      *-linux-*)
    4978        case "$F77" in
    4979          pgf77* | */pgf77* | pgf90* | */pgf90*)
    4980 # ask linker to go through the archives multiple times
    4981 # (the Fortran compiler seems to do that automatically...)
    4982            FLIBS="-Wl,--start-group $FLIBS -Wl,--end-group" ;;
    4983        esac
    4984   esac
    4985   ac_cv_f77_libs="$FLIBS"
    4986 fi
    49875076
    49885077ac_ext=c
     
    51165205
    51175206# Provide some information about the compiler.
    5118 echo "$as_me:5118:" \
     5207echo "$as_me:5207:" \
    51195208     "checking for Fortran compiler version" >&5
    51205209ac_compiler=`set X $ac_compile; echo $2`
     
    53385427
    53395428# Initialize automake
     5429echo "$as_me:$LINENO: checking whether ln -s works" >&5
     5430echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     5431LN_S=$as_ln_s
     5432if test "$LN_S" = "ln -s"; then
     5433  echo "$as_me:$LINENO: result: yes" >&5
     5434echo "${ECHO_T}yes" >&6
     5435else
     5436  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     5437echo "${ECHO_T}no, using $LN_S" >&6
     5438fi
     5439
    53405440am__api_version="1.9"
    53415441# Find a good install program.  We prefer a C program (faster),
     
    56675767
    56685768
     5769
    56695770# AC_MSG_NOTICE([Beginning automake initialisation.])
    56705771# Stuff for automake
     
    62006301
    62016302
    6202   # Check if we have an Externals file
    6203   if test -r $srcdir/Externals; then
     6303  # Check if we have an Dependencies file
     6304  if test -r $srcdir/Dependencies; then
    62046305    coin_have_externals=yes
    62056306  fi
     
    62746375        { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
    62756376echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
    6276    { (exit 1); exit 1; }; }
     6377   { (exit better disable maintainer mode.); exit better disable maintainer mode.; }; }
    62776378      fi
    62786379    fi
    62796380  fi
    62806381
     6382
     6383  # for running automake by make, we need to have Makemain.inc available at the place where it usually can be found during run_autotools
     6384  if test "$BUILDTOOLSDIR" != "$srcdir/BuildTools" ; then
     6385    $LN_S `cd $BUILDTOOLSDIR; pwd` "$srcdir/BuildTools"
     6386  fi
    62816387
    62826388  # The following variable is set to the name of the directory where
     
    66466752NM="$lt_cv_path_NM"
    66476753
    6648 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    6649 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    6650 LN_S=$as_ln_s
    6651 if test "$LN_S" = "ln -s"; then
    6652   echo "$as_me:$LINENO: result: yes" >&5
    6653 echo "${ECHO_T}yes" >&6
    6654 else
    6655   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    6656 echo "${ECHO_T}no, using $LN_S" >&6
    6657 fi
    6658 
    66596754echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
    66606755echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
     
    68826977*-*-irix6*)
    68836978  # Find out which ABI we are using.
    6884   echo '#line 6884 "configure"' > conftest.$ac_ext
     6979  echo '#line 6979 "configure"' > conftest.$ac_ext
    68856980  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    68866981  (eval $ac_compile) 2>&5
     
    93599454   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    93609455   -e 's:$: $lt_compiler_flag:'`
    9361    (eval echo "\"\$as_me:9361: $lt_compile\"" >&5)
     9456   (eval echo "\"\$as_me:9456: $lt_compile\"" >&5)
    93629457   (eval "$lt_compile" 2>conftest.err)
    93639458   ac_status=$?
    93649459   cat conftest.err >&5
    9365    echo "$as_me:9365: \$? = $ac_status" >&5
     9460   echo "$as_me:9460: \$? = $ac_status" >&5
    93669461   if (exit $ac_status) && test -s "$ac_outfile"; then
    93679462     # The compiler can only warn and ignore the option if not recognized
     
    96279722   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    96289723   -e 's:$: $lt_compiler_flag:'`
    9629    (eval echo "\"\$as_me:9629: $lt_compile\"" >&5)
     9724   (eval echo "\"\$as_me:9724: $lt_compile\"" >&5)
    96309725   (eval "$lt_compile" 2>conftest.err)
    96319726   ac_status=$?
    96329727   cat conftest.err >&5
    9633    echo "$as_me:9633: \$? = $ac_status" >&5
     9728   echo "$as_me:9728: \$? = $ac_status" >&5
    96349729   if (exit $ac_status) && test -s "$ac_outfile"; then
    96359730     # The compiler can only warn and ignore the option if not recognized
     
    97319826   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    97329827   -e 's:$: $lt_compiler_flag:'`
    9733    (eval echo "\"\$as_me:9733: $lt_compile\"" >&5)
     9828   (eval echo "\"\$as_me:9828: $lt_compile\"" >&5)
    97349829   (eval "$lt_compile" 2>out/conftest.err)
    97359830   ac_status=$?
    97369831   cat out/conftest.err >&5
    9737    echo "$as_me:9737: \$? = $ac_status" >&5
     9832   echo "$as_me:9832: \$? = $ac_status" >&5
    97389833   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    97399834   then
     
    1214812243  lt_status=$lt_dlunknown
    1214912244  cat > conftest.$ac_ext <<EOF
    12150 #line 12150 "configure"
     12245#line 12245 "configure"
    1215112246#include "confdefs.h"
    1215212247
     
    1224812343  lt_status=$lt_dlunknown
    1224912344  cat > conftest.$ac_ext <<EOF
    12250 #line 12250 "configure"
     12345#line 12345 "configure"
    1225112346#include "confdefs.h"
    1225212347
     
    1460814703   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1460914704   -e 's:$: $lt_compiler_flag:'`
    14610    (eval echo "\"\$as_me:14610: $lt_compile\"" >&5)
     14705   (eval echo "\"\$as_me:14705: $lt_compile\"" >&5)
    1461114706   (eval "$lt_compile" 2>conftest.err)
    1461214707   ac_status=$?
    1461314708   cat conftest.err >&5
    14614    echo "$as_me:14614: \$? = $ac_status" >&5
     14709   echo "$as_me:14709: \$? = $ac_status" >&5
    1461514710   if (exit $ac_status) && test -s "$ac_outfile"; then
    1461614711     # The compiler can only warn and ignore the option if not recognized
     
    1471214807   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1471314808   -e 's:$: $lt_compiler_flag:'`
    14714    (eval echo "\"\$as_me:14714: $lt_compile\"" >&5)
     14809   (eval echo "\"\$as_me:14809: $lt_compile\"" >&5)
    1471514810   (eval "$lt_compile" 2>out/conftest.err)
    1471614811   ac_status=$?
    1471714812   cat out/conftest.err >&5
    14718    echo "$as_me:14718: \$? = $ac_status" >&5
     14813   echo "$as_me:14813: \$? = $ac_status" >&5
    1471914814   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1472014815   then
     
    1628216377   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1628316378   -e 's:$: $lt_compiler_flag:'`
    16284    (eval echo "\"\$as_me:16284: $lt_compile\"" >&5)
     16379   (eval echo "\"\$as_me:16379: $lt_compile\"" >&5)
    1628516380   (eval "$lt_compile" 2>conftest.err)
    1628616381   ac_status=$?
    1628716382   cat conftest.err >&5
    16288    echo "$as_me:16288: \$? = $ac_status" >&5
     16383   echo "$as_me:16383: \$? = $ac_status" >&5
    1628916384   if (exit $ac_status) && test -s "$ac_outfile"; then
    1629016385     # The compiler can only warn and ignore the option if not recognized
     
    1638616481   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1638716482   -e 's:$: $lt_compiler_flag:'`
    16388    (eval echo "\"\$as_me:16388: $lt_compile\"" >&5)
     16483   (eval echo "\"\$as_me:16483: $lt_compile\"" >&5)
    1638916484   (eval "$lt_compile" 2>out/conftest.err)
    1639016485   ac_status=$?
    1639116486   cat out/conftest.err >&5
    16392    echo "$as_me:16392: \$? = $ac_status" >&5
     16487   echo "$as_me:16487: \$? = $ac_status" >&5
    1639316488   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1639416489   then
     
    1859318688   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1859418689   -e 's:$: $lt_compiler_flag:'`
    18595    (eval echo "\"\$as_me:18595: $lt_compile\"" >&5)
     18690   (eval echo "\"\$as_me:18690: $lt_compile\"" >&5)
    1859618691   (eval "$lt_compile" 2>conftest.err)
    1859718692   ac_status=$?
    1859818693   cat conftest.err >&5
    18599    echo "$as_me:18599: \$? = $ac_status" >&5
     18694   echo "$as_me:18694: \$? = $ac_status" >&5
    1860018695   if (exit $ac_status) && test -s "$ac_outfile"; then
    1860118696     # The compiler can only warn and ignore the option if not recognized
     
    1886118956   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1886218957   -e 's:$: $lt_compiler_flag:'`
    18863    (eval echo "\"\$as_me:18863: $lt_compile\"" >&5)
     18958   (eval echo "\"\$as_me:18958: $lt_compile\"" >&5)
    1886418959   (eval "$lt_compile" 2>conftest.err)
    1886518960   ac_status=$?
    1886618961   cat conftest.err >&5
    18867    echo "$as_me:18867: \$? = $ac_status" >&5
     18962   echo "$as_me:18962: \$? = $ac_status" >&5
    1886818963   if (exit $ac_status) && test -s "$ac_outfile"; then
    1886918964     # The compiler can only warn and ignore the option if not recognized
     
    1896519060   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1896619061   -e 's:$: $lt_compiler_flag:'`
    18967    (eval echo "\"\$as_me:18967: $lt_compile\"" >&5)
     19062   (eval echo "\"\$as_me:19062: $lt_compile\"" >&5)
    1896819063   (eval "$lt_compile" 2>out/conftest.err)
    1896919064   ac_status=$?
    1897019065   cat out/conftest.err >&5
    18971    echo "$as_me:18971: \$? = $ac_status" >&5
     19066   echo "$as_me:19066: \$? = $ac_status" >&5
    1897219067   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1897319068   then
     
    2193822033
    2193922034
     22035coin_has_something=no
     22036
    2194022037
    2194122038
     
    2194422041if test -r $srcdir/ma27ad.f; then
    2194522042  hsl_files="$hsl_files ma27ad.f"
     22043
     22044cat >>confdefs.h <<\_ACEOF
     22045#define COINHSL_HAS_MA27 1
     22046_ACEOF
     22047
     22048                     coin_has_something=yes
    2194622049                     coin_has_ma27ad=yes
    2194722050  :
     
    2197522078  fi
    2197622079fi
    21977 if test -r $srcdir/mc19ad.f; then
    21978   hsl_files="$hsl_files mc19ad.f"
    21979                      coin_has_mc19ad=yes
    21980   :
    21981 else
    21982   coin_has_mc19ad=no
    21983   :
    21984 fi
    21985 
    21986 
    21987 
    21988 if test $coin_has_mc19ad = yes; then
    21989   COIN_HAS_MC19_TRUE=
    21990   COIN_HAS_MC19_FALSE='#'
    21991 else
    21992   COIN_HAS_MC19_TRUE='#'
    21993   COIN_HAS_MC19_FALSE=
    21994 fi
    2199522080
    2199622081if test -r $srcdir/ma57ad.f; then
    2199722082  hsl_files="$hsl_files ma57ad.f"
     22083
     22084cat >>confdefs.h <<\_ACEOF
     22085#define COINHSL_HAS_MA57 1
     22086_ACEOF
     22087
     22088                     coin_has_something=yes
    2199822089                     coin_has_ma57ad=yes
    2199922090  :
     
    2201322104fi
    2201422105
    22015 if test -r $srcdir/ma28ad.f; then
    22016   hsl_files="$hsl_files ma28ad.f"
    22017                      coin_has_ma28ad=yes
    22018   :
    22019 else
    22020   coin_has_ma28ad=no
    22021   :
    22022 fi
    22023 
    22024 
    22025 
    22026 if test $coin_has_ma28ad = yes; then
    22027   COIN_HAS_MA28_TRUE=
    22028   COIN_HAS_MA28_FALSE='#'
    22029 else
    22030   COIN_HAS_MA28_TRUE='#'
    22031   COIN_HAS_MA28_FALSE=
    22032 fi
    22033 
    22034 if test $have_f90 = yes; then
    22035    if test -r $srcdir/hsl_ma77d.f90; then
    22036   hsl_files="$hsl_files hsl_ma77d.f"
    22037                        coin_has_hsl_ma77d=yes
    22038   :
    22039 else
    22040   coin_has_hsl_ma77d=no
    22041   :
    22042 fi
    22043 
    22044 else
    22045   coin_has_hsl_ma77d=no
    22046 fi
    22047 
    22048 
    22049 if test $coin_has_hsl_ma77d = yes; then
    22050   COIN_HAS_MA77_TRUE=
    22051   COIN_HAS_MA77_FALSE='#'
    22052 else
    22053   COIN_HAS_MA77_TRUE='#'
    22054   COIN_HAS_MA77_FALSE=
    22055 fi
    22056 
    22057 
    22058 HAVE_MXXX_CFLAGS=
    22059 if test $coin_has_ma27ad = yes; then
    22060   HAVE_MXXX_CFLAGS="-DHAVE_MA27 $HAVE_MXXX_CFLAGS"
    22061 fi
    22062 if test $coin_has_mc19ad = yes; then
    22063   HAVE_MXXX_CFLAGS="-DHAVE_MC19 $HAVE_MXXX_CFLAGS"
    22064 fi
    2206522106if test $coin_has_ma57ad = yes; then
    22066   HAVE_MXXX_CFLAGS="-DHAVE_MA57 $HAVE_MXXX_CFLAGS"
    2206722107
    2206822108echo "$as_me:$LINENO: checking for COIN-OR package Metis" >&5
     
    2208022120fi
    2208122121
     22122if test "$coin_has_metis" != skipping; then
     22123
     22124# Check whether --with-m4_tolower(Metis) or --without-m4_tolower(Metis) was given.
     22125if test "${with_metis+set}" = set; then
     22126  withval="$with_metis"
     22127  if test "$withval" = no ; then
     22128       coin_has_metis=skipping
     22129     fi
     22130
     22131fi;
     22132fi
     22133
    2208222134METIS_LIBS=
    2208322135METIS_CFLAGS=
    2208422136METIS_DATA=
    22085 
    22086 
    22087 
    22088 
    22089 
    22090 
    22091 
    22092 
    22093 
    22094 
    22095 
    22096 
    22097 
    22098 
    22099 
    22100 
    22101 
    22102 #check if user provided LIBS, CFLAGS, or DATA for module
     22137METIS_DEPENDENCIES=
     22138METIS_PCLIBS=
     22139METIS_PCREQUIRES=
     22140METIS_DATA=
     22141
     22142
     22143
     22144
     22145
     22146
     22147
     22148
     22149
     22150
     22151
     22152
     22153
     22154
     22155
     22156
     22157
     22158#check if user provided LIBS, CFLAGS, or DATA for package or disables use of package
    2210322159if test $coin_has_metis != skipping; then
    22104 
    2210522160
    2210622161# Check whether --with-m4_tolower(Metis)-lib or --without-m4_tolower(Metis)-lib was given.
    2210722162if test "${with_metis_lib+set}" = set; then
    2210822163  withval="$with_metis_lib"
    22109   coin_has_metis=yes
     22164  if test "$withval" = no ; then
     22165       coin_has_metis=skipping
     22166     else
     22167       coin_has_metis=yes
    2211022168       METIS_LIBS="$withval"
     22169       METIS_PCLIBS="$withval"
    2211122170
    2211222171         HSL_PCLIBS="$withval $HSL_PCLIBS"
    2211322172         HSL_LIBS="$withval $HSL_LIBS"
    2211422173
     22174       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     22175       if test -z "$PKG_CONFIG" ; then
     22176         METIS_LIBS_INSTALLED="$withval"
     22177         HSL_LIBS_INSTALLED="$withval $HSL_LIBS_INSTALLED"
     22178       fi
     22179     fi
    2211522180
    2211622181fi;
    22117 
     22182fi
     22183
     22184if test $coin_has_metis != skipping; then
    2211822185
    2211922186# Check whether --with-m4_tolower(Metis)-incdir or --without-m4_tolower(Metis)-incdir was given.
    2212022187if test "${with_metis_incdir+set}" = set; then
    2212122188  withval="$with_metis_incdir"
    22122   coin_has_metis=yes
    22123      METIS_CFLAGS="-I`${CYGPATH_W} $withval`"
    22124      HSL_CFLAGS="$withval $HSL_CFLAGS"
    22125 
     22189  if test "$withval" = no ; then
     22190       coin_has_metis=skipping
     22191     else
     22192       coin_has_metis=yes
     22193       METIS_CFLAGS="-I`${CYGPATH_W} $withval`"
     22194       HSL_CFLAGS="-I`${CYGPATH_W} $withval` $HSL_CFLAGS"
     22195       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     22196       if test -z "$PKG_CONFIG" ; then
     22197         METIS_CFLAGS_INSTALLED="$METIS_CFLAGS"
     22198         HSL_CFLAGS_INSTALLED="$METIS_CFLAGS $HSL_CFLAGS_INSTALLED"
     22199       fi
     22200     fi
    2212622201
    2212722202fi;
    22128 
     22203fi
     22204
     22205if test $coin_has_metis != skipping; then
    2212922206
    2213022207# Check whether --with-m4_tolower(Metis)-datadir or --without-m4_tolower(Metis)-datadir was given.
    2213122208if test "${with_metis_datadir+set}" = set; then
    2213222209  withval="$with_metis_datadir"
    22133   coin_has_metis=yes
    22134      METIS_DATA="$withval"
     22210  if test "$withval" = no ; then
     22211       coin_has_metis=skipping
     22212     else
     22213       coin_has_metis=yes
     22214       METIS_DATA="$withval"
     22215       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     22216       if test -z "$PKG_CONFIG" ; then
     22217         METIS_DATA_INSTALLED="$withval"
     22218       fi
     22219     fi
     22220
    2213522221fi;
    2213622222fi
     
    2215022236if test -n "$PKG_CONFIG" ; then
    2215122237  if $PKG_CONFIG --exists "coinmetis"; then
    22152     METIS_VERSIONS="`$PKG_CONFIG --modversion "coinmetis" 2>/dev/null | tr '\n' ' '`"
     22238    METIS_VERSIONS="`$PKG_CONFIG --modversion "coinmetis" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`"
    2215322239     cflags=`$PKG_CONFIG --cflags "coinmetis" 2>/dev/null`
    2215422240    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     
    2217222258          METIS_LIBS=`echo " $METIS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
    2217322259        fi
     22260        METIS_PCREQUIRES="coinmetis"
    2217422261
    2217522262        # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in HSL
     
    2221522302METIS_DATA=
    2221622303METIS_DATA_INSTALLED=
    22217 
    22218 # initial list of dependencies is "coinmetis", but we need to filter out version number specifications (= x, <= x, >= x)
     22304METIS_PCLIBS=
     22305METIS_PCREQUIRES=
     22306
     22307# initial list of dependencies is "coinmetis", but we need to filter out version number specifications (= x, <= x, >= x, != x)
    2221922308projtoprocess="coinmetis"
    2222022309
     
    2225522344      # add projrequires to the front of the list of projects that have to be processed next
    2225622345      # at the same time, remove $proj from this list
    22257       projtoprocess=${projtoprocess/$proj/$projrequires}
     22346      projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"`
    2225822347
    2225922348      # read DATA from $pcfile, if _DATA is still empty
     
    2232322412    #   replace "Cflags:" by "echo projcflags="
    2232422413    #   remove every line starting with <some word>:
    22325     pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     22414    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile`
    2232622415
    2232722416    # set projcflags and projlibs variables by running $pcfilemod
     22417    # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default
    2232822418    projcflags=
    2232922419    projlibs=
     22420    IFS="$save_IFS"
    2233022421    eval `sh -c "$pcfilemod"`
     22422    IFS=":"
    2233122423
    2233222424    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     
    2236822460    #   replace "Cflags:" by "echo projcflags="
    2236922461    #   remove every line starting with <some word>:
    22370     pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     22462    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile`
    2237122463
    2237222464    # set projcflags and projlibs variables by running $pcfilemod
     22465    # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default
    2237322466    projcflags=
    2237422467    projlibs=
     22468    IFS="$save_IFS"
    2237522469    eval `sh -c "$pcfilemod"`
     22470    IFS=":"
    2237622471
    2237722472    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     
    2240422499  # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl),
    2240522500  # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`",
    22406   #    everything of the form "-Lpath" by "/libpath:`$(CYGPATH_W) path`, and
    22407   #    everything of the form "-lname" by "libname.lib"
     22501  #    everything of the form "-lname" by "libname.lib", and
     22502  #    everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path`
    2240822503  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
    2240922504  then
    2241022505    METIS_LIBS=`echo " $METIS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
    22411     METIS_LIBS_INSTALLED=`echo " $METIS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     22506    METIS_LIBS_INSTALLED=`echo " $METIS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'`
    2241222507  fi
    2241322508
     22509  METIS_PCREQUIRES="coinmetis"
    2241422510
    2241522511    HSL_PCREQUIRES="coinmetis $HSL_PCREQUIRES"
     
    2245022546
    2245122547
    22452   # construct dependencies variables from LIBS variables
    22453   # we add an extra space in LIBS so we can substitute out everything starting with " -"
    22454   # before, substitute out everything of the form -framework xxx as used on Mac
    22455   # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl)
    22456   METIS_DEPENDENCIES=`echo " $METIS_LIBS" | sed -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
    22457 
    22458     HSL_DEPENDENCIES=`echo " $HSL_LIBS " | sed -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
    22459 
     22548  # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given.
     22549if test "${enable_interpackage_dependencies+set}" = set; then
     22550  enableval="$enable_interpackage_dependencies"
     22551
     22552else
     22553  enable_interpackage_dependencies=yes
     22554fi;
     22555
     22556  if test $enable_interpackage_dependencies = yes ; then
     22557     # construct dependencies variables from LIBS variables
     22558     # we add an extra space in LIBS so we can substitute out everything starting with " -"
     22559     # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows
     22560     # then remove everything of the form -xxx
     22561     # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl)
     22562     METIS_DEPENDENCIES=`echo " $METIS_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     22563
     22564       HSL_DEPENDENCIES=`echo " $HSL_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     22565
     22566  fi
    2246022567
    2246122568  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     
    2247622583echo "$as_me: Metis DATA   is  $METIS_DATA" >&6;}
    2247722584    fi
    22478     if test -n "$METIS_CFLAGS" ; then
    22479       { echo "$as_me:$LINENO: Metis CFLAGS are $METIS_CFLAGS" >&5
    22480 echo "$as_me: Metis CFLAGS are $METIS_CFLAGS" >&6;}
     22585    if test -n "$METIS_PCLIBS" ; then
     22586      { echo "$as_me:$LINENO: Metis PCLIBS are $METIS_PCLIBS" >&5
     22587echo "$as_me: Metis PCLIBS are $METIS_PCLIBS" >&6;}
     22588    fi
     22589    if test -n "$METIS_PCREQUIRES" ; then
     22590      { echo "$as_me:$LINENO: Metis PCREQUIRES are $METIS_PCREQUIRES" >&5
     22591echo "$as_me: Metis PCREQUIRES are $METIS_PCREQUIRES" >&6;}
    2248122592    fi
    2248222593
     
    2250522616
    2250622617
     22618  if test $coin_has_metis != yes ; then
     22619    { { echo "$as_me:$LINENO: error: MA57 requires METIS, which is not found." >&5
     22620echo "$as_me: error: MA57 requires METIS, which is not found." >&2;}
     22621   { (exit 1); exit 1; }; }
     22622  fi
    2250722623else
    2250822624
     
    2251722633
    2251822634fi
     22635
     22636if test -r $srcdir/mc19ad.f; then
     22637  hsl_files="$hsl_files mc19ad.f"
     22638
     22639cat >>confdefs.h <<\_ACEOF
     22640#define COINHSL_HAS_MC19 1
     22641_ACEOF
     22642
     22643                     coin_has_something=yes
     22644                     coin_has_mc19ad=yes
     22645  :
     22646else
     22647  coin_has_mc19ad=no
     22648  :
     22649fi
     22650
     22651
     22652
     22653if test $coin_has_mc19ad = yes; then
     22654  COIN_HAS_MC19_TRUE=
     22655  COIN_HAS_MC19_FALSE='#'
     22656else
     22657  COIN_HAS_MC19_TRUE='#'
     22658  COIN_HAS_MC19_FALSE=
     22659fi
     22660
     22661if test -r $srcdir/ma28ad.f; then
     22662  hsl_files="$hsl_files ma28ad.f"
     22663
     22664cat >>confdefs.h <<\_ACEOF
     22665#define COINHSL_HAS_MA28 1
     22666_ACEOF
     22667
     22668                     coin_has_something=yes
     22669                     coin_has_ma28ad=yes
     22670  :
     22671else
     22672  coin_has_ma28ad=no
     22673  :
     22674fi
     22675
     22676
     22677
    2251922678if test $coin_has_ma28ad = yes; then
    22520   HAVE_MXXX_CFLAGS="-DHAVE_MA28 $HAVE_MXXX_CFLAGS"
    22521 fi
     22679  COIN_HAS_MA28_TRUE=
     22680  COIN_HAS_MA28_FALSE='#'
     22681else
     22682  COIN_HAS_MA28_TRUE='#'
     22683  COIN_HAS_MA28_FALSE=
     22684fi
     22685
     22686if test $have_f90 = yes; then
     22687   if test -r $srcdir/hsl_ma77d.f90; then
     22688  hsl_files="$hsl_files hsl_ma77d.f"
     22689
     22690cat >>confdefs.h <<\_ACEOF
     22691#define COINHSL_HAS_MA77 1
     22692_ACEOF
     22693
     22694                       coin_has_something=yes
     22695                       coin_has_hsl_ma77d=yes
     22696  :
     22697else
     22698  coin_has_hsl_ma77d=no
     22699  :
     22700fi
     22701
     22702else
     22703  coin_has_hsl_ma77d=no
     22704fi
     22705
     22706
    2252222707if test $coin_has_hsl_ma77d = yes; then
    22523   HAVE_MXXX_CFLAGS="-DHAVE_MA77 $HAVE_MXXX_CFLAGS"
    22524 fi
    22525 
    22526 
     22708  COIN_HAS_MA77_TRUE=
     22709  COIN_HAS_MA77_FALSE='#'
     22710else
     22711  COIN_HAS_MA77_TRUE='#'
     22712  COIN_HAS_MA77_FALSE=
     22713fi
     22714
     22715
     22716#############################################################################
     22717#                        Setup build of loadable library                    #
     22718#############################################################################
     22719
     22720HSL_SHARED_LIB=
    2252722721if test x$enable_loadable_library = xyes; then
    2252822722  case $build in
     
    2261522809#############################################################################
    2261622810
    22617                               ac_config_files="$ac_config_files Makefile coinhsl.pc coinhsl-uninstalled.pc"
    22618 
    22619 
    22620           ac_config_headers="$ac_config_headers config_hsl.h"
     22811          ac_config_files="$ac_config_files Makefile"
     22812
     22813
     22814# we build the library and setup the .pc files only if there is at least one source code
     22815# if there is no source code, then .pc files should not be setup, so for others this is as if we do not exist
     22816if test $coin_has_something = yes ; then
     22817                      ac_config_files="$ac_config_files coinhsl.pc coinhsl-uninstalled.pc"
     22818
     22819                      ac_config_headers="$ac_config_headers config.h config_coinhsl.h"
     22820
     22821else
     22822  # in case something is left over from a previous build
     22823  rm -f coinhsl.pc coinhsl-uninstalled.pc
     22824fi
     22825
     22826
     22827if test $coin_has_something = yes; then
     22828  BUILD_COINHSL_TRUE=
     22829  BUILD_COINHSL_FALSE='#'
     22830else
     22831  BUILD_COINHSL_TRUE='#'
     22832  BUILD_COINHSL_FALSE=
     22833fi
    2262122834
    2262222835
     
    2268322896  fi
    2268422897
     22898  # On AIX, the default sed cannot deal with somewhat long sed commands executed by config.status.
     22899  # So we reduce the hardcoded number of commands given to sed from 48 to 5 in config.status, hoping this will suffice.
     22900
     22901
    2268522902  cat >confcache <<\_ACEOF
    2268622903# This file is a shell script that caches the results of configure
     
    2283723054   { (exit 1); exit 1; }; }
    2283823055fi
     23056if test -z "${COIN_HAS_MA57_TRUE}" && test -z "${COIN_HAS_MA57_FALSE}"; then
     23057  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MA57\" was never defined.
     23058Usually this means the macro was only invoked conditionally." >&5
     23059echo "$as_me: error: conditional \"COIN_HAS_MA57\" was never defined.
     23060Usually this means the macro was only invoked conditionally." >&2;}
     23061   { (exit 1); exit 1; }; }
     23062fi
     23063if test -z "${COIN_HAS_METIS_TRUE}" && test -z "${COIN_HAS_METIS_FALSE}"; then
     23064  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS\" was never defined.
     23065Usually this means the macro was only invoked conditionally." >&5
     23066echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined.
     23067Usually this means the macro was only invoked conditionally." >&2;}
     23068   { (exit 1); exit 1; }; }
     23069fi
     23070if test -z "${COIN_HAS_METIS_TRUE}" && test -z "${COIN_HAS_METIS_FALSE}"; then
     23071  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS\" was never defined.
     23072Usually this means the macro was only invoked conditionally." >&5
     23073echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined.
     23074Usually this means the macro was only invoked conditionally." >&2;}
     23075   { (exit 1); exit 1; }; }
     23076fi
     23077if test -z "${COIN_HAS_METIS_TRUE}" && test -z "${COIN_HAS_METIS_FALSE}"; then
     23078  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS\" was never defined.
     23079Usually this means the macro was only invoked conditionally." >&5
     23080echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined.
     23081Usually this means the macro was only invoked conditionally." >&2;}
     23082   { (exit 1); exit 1; }; }
     23083fi
    2283923084if test -z "${COIN_HAS_MC19_TRUE}" && test -z "${COIN_HAS_MC19_FALSE}"; then
    2284023085  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MC19\" was never defined.
     
    2284423089   { (exit 1); exit 1; }; }
    2284523090fi
    22846 if test -z "${COIN_HAS_MA57_TRUE}" && test -z "${COIN_HAS_MA57_FALSE}"; then
    22847   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MA57\" was never defined.
    22848 Usually this means the macro was only invoked conditionally." >&5
    22849 echo "$as_me: error: conditional \"COIN_HAS_MA57\" was never defined.
    22850 Usually this means the macro was only invoked conditionally." >&2;}
    22851    { (exit 1); exit 1; }; }
    22852 fi
    2285323091if test -z "${COIN_HAS_MA28_TRUE}" && test -z "${COIN_HAS_MA28_FALSE}"; then
    2285423092  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MA28\" was never defined.
     
    2286523103   { (exit 1); exit 1; }; }
    2286623104fi
    22867 if test -z "${COIN_HAS_METIS_TRUE}" && test -z "${COIN_HAS_METIS_FALSE}"; then
    22868   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS\" was never defined.
    22869 Usually this means the macro was only invoked conditionally." >&5
    22870 echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined.
    22871 Usually this means the macro was only invoked conditionally." >&2;}
    22872    { (exit 1); exit 1; }; }
    22873 fi
    22874 if test -z "${COIN_HAS_METIS_TRUE}" && test -z "${COIN_HAS_METIS_FALSE}"; then
    22875   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS\" was never defined.
    22876 Usually this means the macro was only invoked conditionally." >&5
    22877 echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined.
    22878 Usually this means the macro was only invoked conditionally." >&2;}
    22879    { (exit 1); exit 1; }; }
    22880 fi
    22881 if test -z "${COIN_HAS_METIS_TRUE}" && test -z "${COIN_HAS_METIS_FALSE}"; then
    22882   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS\" was never defined.
    22883 Usually this means the macro was only invoked conditionally." >&5
    22884 echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined.
    22885 Usually this means the macro was only invoked conditionally." >&2;}
    22886    { (exit 1); exit 1; }; }
    22887 fi
    2288823105if test -z "${INSTALL_LOADABLE_LIBRARY_TRUE}" && test -z "${INSTALL_LOADABLE_LIBRARY_FALSE}"; then
    2288923106  { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LOADABLE_LIBRARY\" was never defined.
     
    2290423121Usually this means the macro was only invoked conditionally." >&5
    2290523122echo "$as_me: error: conditional \"EXTRA_SHARED_COMMAND\" was never defined.
     23123Usually this means the macro was only invoked conditionally." >&2;}
     23124   { (exit 1); exit 1; }; }
     23125fi
     23126if test -z "${BUILD_COINHSL_TRUE}" && test -z "${BUILD_COINHSL_FALSE}"; then
     23127  { { echo "$as_me:$LINENO: error: conditional \"BUILD_COINHSL\" was never defined.
     23128Usually this means the macro was only invoked conditionally." >&5
     23129echo "$as_me: error: conditional \"BUILD_COINHSL\" was never defined.
    2290623130Usually this means the macro was only invoked conditionally." >&2;}
    2290723131   { (exit 1); exit 1; }; }
     
    2335523579  "coinhsl-uninstalled.pc" ) CONFIG_FILES="$CONFIG_FILES coinhsl-uninstalled.pc" ;;
    2335623580  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    23357   "config_hsl.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_hsl.h" ;;
     23581  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     23582  "config_coinhsl.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_coinhsl.h" ;;
    2335823583  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    2335923584echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     
    2344423669s,@ALWAYS_FALSE_FALSE@,$ALWAYS_FALSE_FALSE,;t t
    2344523670s,@have_svnversion@,$have_svnversion,;t t
    23446 s,@HSL_SVN_REV@,$HSL_SVN_REV,;t t
     23671s,@COINHSL_SVN_REV@,$COINHSL_SVN_REV,;t t
    2344723672s,@build@,$build,;t t
    2344823673s,@build_cpu@,$build_cpu,;t t
    2344923674s,@build_vendor@,$build_vendor,;t t
    2345023675s,@build_os@,$build_os,;t t
    23451 s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t
    23452 s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t
    2345323676s,@CDEFS@,$CDEFS,;t t
    2345423677s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
     
    2346323686s,@EXEEXT@,$EXEEXT,;t t
    2346423687s,@OBJEXT@,$OBJEXT,;t t
     23688s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t
     23689s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t
    2346523690s,@MPICC@,$MPICC,;t t
    2346623691s,@ADD_FFLAGS@,$ADD_FFLAGS,;t t
     
    2346823693s,@OPT_FFLAGS@,$OPT_FFLAGS,;t t
    2346923694s,@F77@,$F77,;t t
     23695s,@ac_ct_F77@,$ac_ct_F77,;t t
    2347023696s,@FFLAGS@,$FFLAGS,;t t
    23471 s,@ac_ct_F77@,$ac_ct_F77,;t t
    2347223697s,@MPIF77@,$MPIF77,;t t
    2347323698s,@PKG_CONFIG@,$PKG_CONFIG,;t t
     
    2348223707s,@FCFLAGS@,$FCFLAGS,;t t
    2348323708s,@ac_ct_FC@,$ac_ct_FC,;t t
     23709s,@LN_S@,$LN_S,;t t
    2348423710s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    2348523711s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     
    2353223758s,@host_vendor@,$host_vendor,;t t
    2353323759s,@host_os@,$host_os,;t t
    23534 s,@LN_S@,$LN_S,;t t
    2353523760s,@ECHO@,$ECHO,;t t
    2353623761s,@AR@,$AR,;t t
     
    2355323778s,@COIN_HAS_MA27_TRUE@,$COIN_HAS_MA27_TRUE,;t t
    2355423779s,@COIN_HAS_MA27_FALSE@,$COIN_HAS_MA27_FALSE,;t t
    23555 s,@COIN_HAS_MC19_TRUE@,$COIN_HAS_MC19_TRUE,;t t
    23556 s,@COIN_HAS_MC19_FALSE@,$COIN_HAS_MC19_FALSE,;t t
    2355723780s,@COIN_HAS_MA57_TRUE@,$COIN_HAS_MA57_TRUE,;t t
    2355823781s,@COIN_HAS_MA57_FALSE@,$COIN_HAS_MA57_FALSE,;t t
    23559 s,@COIN_HAS_MA28_TRUE@,$COIN_HAS_MA28_TRUE,;t t
    23560 s,@COIN_HAS_MA28_FALSE@,$COIN_HAS_MA28_FALSE,;t t
    23561 s,@COIN_HAS_MA77_TRUE@,$COIN_HAS_MA77_TRUE,;t t
    23562 s,@COIN_HAS_MA77_FALSE@,$COIN_HAS_MA77_FALSE,;t t
    2356323782s,@METIS_LIBS@,$METIS_LIBS,;t t
    2356423783s,@METIS_CFLAGS@,$METIS_CFLAGS,;t t
     
    2357723796s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t
    2357823797s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t
    23579 s,@HAVE_MXXX_CFLAGS@,$HAVE_MXXX_CFLAGS,;t t
     23798s,@COIN_HAS_MC19_TRUE@,$COIN_HAS_MC19_TRUE,;t t
     23799s,@COIN_HAS_MC19_FALSE@,$COIN_HAS_MC19_FALSE,;t t
     23800s,@COIN_HAS_MA28_TRUE@,$COIN_HAS_MA28_TRUE,;t t
     23801s,@COIN_HAS_MA28_FALSE@,$COIN_HAS_MA28_FALSE,;t t
     23802s,@COIN_HAS_MA77_TRUE@,$COIN_HAS_MA77_TRUE,;t t
     23803s,@COIN_HAS_MA77_FALSE@,$COIN_HAS_MA77_FALSE,;t t
    2358023804s,@F77_SHARED_CMD@,$F77_SHARED_CMD,;t t
    2358123805s,@F77_DLL_LINKFLAGS@,$F77_DLL_LINKFLAGS,;t t
     
    2358923813s,@EXTRA_SHARED_COMMAND_TRUE@,$EXTRA_SHARED_COMMAND_TRUE,;t t
    2359023814s,@EXTRA_SHARED_COMMAND_FALSE@,$EXTRA_SHARED_COMMAND_FALSE,;t t
     23815s,@BUILD_COINHSL_TRUE@,$BUILD_COINHSL_TRUE,;t t
     23816s,@BUILD_COINHSL_FALSE@,$BUILD_COINHSL_FALSE,;t t
    2359123817s,@LIBEXT@,$LIBEXT,;t t
    2359223818s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
     
    2428824514
    2428924515
     24516    case $build in
     24517      *-aix*)
     24518        { echo "$as_me:$LINENO: patching config.status to reduce ac_max_sed_lines to 5" >&5
     24519echo "$as_me: patching config.status to reduce ac_max_sed_lines to 5" >&6;}
     24520        sed -e 's/ac_max_sed_lines=48/ac_max_sed_lines=5/g' config.status > config.status.tmp
     24521        mv config.status.tmp config.status
     24522      ;;
     24523    esac
     24524
     24525
    2429024526# configure is writing to config.log, and then calls config.status.
    2429124527# config.status does its own redirection, appending to config.log.
     
    2436424600  fi
    2436524601
     24602  { echo "$as_me:$LINENO: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&5
     24603echo "$as_me: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&6;}
    2436624604  if test x$coin_projectdir = xyes; then
    2436724605    { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
  • ThirdParty/HSL/stable/1.3/configure.ac

    r2018 r2312  
    3232AC_PREFIX_DEFAULT([`pwd`])
    3333
    34 AC_COIN_PROJECTDIR_INIT(HSL)
     34AC_COIN_PROJECTDIR_INIT(COINHSL)
    3535
    3636#############################################################################
     
    101101AC_LANG_POP(Fortran 77)
    102102
     103coin_has_something=no
     104
    103105AC_DEFUN([MY_CHECK_HSLFILE],
    104106[AC_COIN_CHECK_FILE([$srcdir/$1.f],
    105107                    [hsl_files="$hsl_files $1.f"
     108                     AC_DEFINE(COINHSL_HAS_$2, [1], [Define to 1 if $2 is available.])
     109                     coin_has_something=yes
    106110                     coin_has_$1=yes],
    107111                    [coin_has_$1=no])
     
    112116   AC_COIN_CHECK_FILE([$srcdir/$1.f90],
    113117                      [hsl_files="$hsl_files $1.f"
     118                       AC_DEFINE(COINHSL_HAS_$2, [1], [Define to 1 if $2 is available.])
     119                       coin_has_something=yes
    114120                       coin_has_$1=yes],
    115121                      [coin_has_$1=no])
     
    129135  fi
    130136fi
     137
     138MY_CHECK_HSLFILE(ma57ad,MA57)
     139if test $coin_has_ma57ad = yes; then
     140  AC_COIN_CHECK_PACKAGE(Metis, [coinmetis], HSL)
     141  if test $coin_has_metis != yes ; then
     142    AC_MSG_ERROR([MA57 requires METIS, which is not found.])
     143  fi
     144else
     145  AM_CONDITIONAL(COIN_HAS_METIS, [test 0 = 1])
     146fi
     147
    131148MY_CHECK_HSLFILE(mc19ad,MC19)
    132 MY_CHECK_HSLFILE(ma57ad,MA57)
    133149MY_CHECK_HSLFILE(ma28ad,MA28)
    134150MY_CHECK_HSLFILE_F90(hsl_ma77d,MA77)
    135151
    136 HAVE_MXXX_CFLAGS=
    137 if test $coin_has_ma27ad = yes; then
    138   HAVE_MXXX_CFLAGS="-DHAVE_MA27 $HAVE_MXXX_CFLAGS"
    139 fi
    140 if test $coin_has_mc19ad = yes; then
    141   HAVE_MXXX_CFLAGS="-DHAVE_MC19 $HAVE_MXXX_CFLAGS"
    142 fi
    143 if test $coin_has_ma57ad = yes; then
    144   HAVE_MXXX_CFLAGS="-DHAVE_MA57 $HAVE_MXXX_CFLAGS"
    145   AC_COIN_CHECK_PACKAGE(Metis, [coinmetis], HSL)
    146 else
    147   AM_CONDITIONAL(COIN_HAS_METIS, [test 0 = 1])
    148 fi
    149 if test $coin_has_ma28ad = yes; then
    150   HAVE_MXXX_CFLAGS="-DHAVE_MA28 $HAVE_MXXX_CFLAGS"
    151 fi
    152 if test $coin_has_hsl_ma77d = yes; then
    153   HAVE_MXXX_CFLAGS="-DHAVE_MA77 $HAVE_MXXX_CFLAGS"
    154 fi
    155 AC_SUBST(HAVE_MXXX_CFLAGS)
    156 
     152#############################################################################
     153#                        Setup build of loadable library                    #
     154#############################################################################
     155
     156HSL_SHARED_LIB=
    157157if test x$enable_loadable_library = xyes; then
    158158  case $build in
     
    218218#############################################################################
    219219
    220 AC_CONFIG_FILES([Makefile coinhsl.pc coinhsl-uninstalled.pc])
    221 
    222 AC_CONFIG_HEADER([config_hsl.h])
     220AC_CONFIG_FILES([Makefile])
     221
     222# we build the library and setup the .pc files only if there is at least one source code
     223# if there is no source code, then .pc files should not be setup, so for others this is as if we do not exist
     224if test $coin_has_something = yes ; then
     225  AC_CONFIG_FILES([coinhsl.pc coinhsl-uninstalled.pc])
     226  AC_CONFIG_HEADER(config.h config_coinhsl.h)
     227else
     228  # in case something is left over from a previous build
     229  rm -f coinhsl.pc coinhsl-uninstalled.pc
     230fi
     231AM_CONDITIONAL(BUILD_COINHSL, [test $coin_has_something = yes])
    223232
    224233AC_COIN_FINALIZE
Note: See TracChangeset for help on using the changeset viewer.