Changeset 1388


Ignore:
Timestamp:
Aug 1, 2009 9:12:40 AM (10 years ago)
Author:
stefan
Message:

install libraries and header files

Location:
ThirdParty
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/ASL/trunk/Makefile.am

    r1183 r1388  
    1717libampl   = $(AMPLSOLVER_A)
    1818
    19 if SKIPMAKE
    20   alltargets =
    21 else
     19#if SKIPMAKE
     20#  alltargets =
     21#else
    2222  alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
    23 endif
     23#endif
    2424
    2525all-local: $(alltargets)
     
    3535stdio1.h arith.h funcadd0.$(OBJEXT): $(libampl)
    3636
     37thirdpartylibdir = $(prefix)/lib/ThirdParty
     38install-exec-local: $(libampl)
     39        test -z "$(DESTDIR)$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"
     40        $(install_sh_DATA) $(libampl) "$(DESTDIR)$(thirdpartylibdir)/$(libampl)"
     41
     42uninstall-local:
     43        rm -f $(DESTDIR)$(thirdpartylibdir)/$(libampl)
     44
     45addlibsdir = $(prefix)/share/doc/coin/ThirdParty/ASL
     46addlibs_DATA = README asl_addlibs.txt
     47
     48thirdpartyincludedir = $(includedir)/coin/ThirdParty
     49thirdpartyinclude_HEADERS = \
     50  solvers/asl.h solvers/asl_pfg.h solvers/asl_pfgh.h solvers/psinfo.h solvers/funcadd.h \
     51  solvers/nlp.h solvers/nlp2.h solvers/getstub.h solvers/opcode.hd solvers/r_opn.hd \
     52  stdio1.h arith.h
     53
    3754CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
    3855
  • ThirdParty/ASL/trunk/Makefile.in

    r1183 r1388  
    2828#                    Documentation installation                        #
    2929########################################################################
     30
     31
    3032srcdir = @srcdir@
    3133top_srcdir = @top_srcdir@
     
    5052build_triplet = @build@
    5153host_triplet = @host@
    52 DIST_COMMON = $(am__configure_deps) \
     54DIST_COMMON = README $(am__configure_deps) \
    5355        $(srcdir)/../../BuildTools/Makemain.inc \
    5456        $(srcdir)/../../config.guess $(srcdir)/../../config.sub \
    5557        $(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \
    5658        $(srcdir)/../../missing $(srcdir)/Makefile.am \
    57         $(srcdir)/Makefile.in $(srcdir)/compile_MS_ASL.in \
    58         $(srcdir)/compile_Unix_ASL.in $(top_srcdir)/configure
     59        $(srcdir)/Makefile.in $(srcdir)/asl_addlibs.txt.in \
     60        $(srcdir)/compile_MS_ASL.in $(srcdir)/compile_Unix_ASL.in \
     61        $(thirdpartyinclude_HEADERS) $(top_srcdir)/configure
    5962@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
    6063@HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp
     
    6871 configure.lineno configure.status.lineno
    6972mkinstalldirs = $(install_sh) -d
    70 CONFIG_CLEAN_FILES = compile_MS_ASL compile_Unix_ASL
     73CONFIG_CLEAN_FILES = asl_addlibs.txt compile_MS_ASL compile_Unix_ASL
    7174SOURCES =
    7275DIST_SOURCES =
     76am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     77am__vpath_adj = case $$p in \
     78    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     79    *) f=$$p;; \
     80  esac;
     81am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     82am__installdirs = "$(DESTDIR)$(addlibsdir)" \
     83        "$(DESTDIR)$(thirdpartyincludedir)"
     84addlibsDATA_INSTALL = $(INSTALL_DATA)
     85DATA = $(addlibs_DATA)
     86thirdpartyincludeHEADERS_INSTALL = $(INSTALL_HEADER)
     87HEADERS = $(thirdpartyinclude_HEADERS)
     88ETAGS = etags
     89CTAGS = ctags
    7390DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    7491distdir = $(PACKAGE)-$(VERSION)
     
    92109AMTAR = @AMTAR@
    93110AR = @AR@
    94 ASLLIB = @ASLLIB@
    95111ASLMAKEFLAGS = @ASLMAKEFLAGS@
    96 ASL_CPPFLAGS = @ASL_CPPFLAGS@
    97112AUTOCONF = @AUTOCONF@
    98113AUTOHEADER = @AUTOHEADER@
     
    105120CDEFS = @CDEFS@
    106121CFLAGS = @CFLAGS@
    107 COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@
    108 COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@
    109122CPP = @CPP@
    110123CPPFLAGS = @CPPFLAGS@
     
    145158MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
    146159MAKEINFO = @MAKEINFO@
    147 MAKEOKFILE = @MAKEOKFILE@
    148160MPICC = @MPICC@
    149161MSVC_COMPILE_FALSE = @MSVC_COMPILE_FALSE@
     
    162174SET_MAKE = @SET_MAKE@
    163175SHELL = @SHELL@
    164 SKIPMAKE_FALSE = @SKIPMAKE_FALSE@
    165 SKIPMAKE_TRUE = @SKIPMAKE_TRUE@
    166176STRIP = @STRIP@
    167177VERSION = @VERSION@
     
    228238compdir = compdir
    229239libampl = $(AMPLSOLVER_A)
    230 @SKIPMAKE_FALSE@alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
    231 @SKIPMAKE_TRUE@alltargets =
     240
     241#if SKIPMAKE
     242#  alltargets =
     243#else
     244alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
     245thirdpartylibdir = $(prefix)/lib/ThirdParty
     246addlibsdir = $(prefix)/share/doc/coin/ThirdParty/ASL
     247addlibs_DATA = README asl_addlibs.txt
     248thirdpartyincludedir = $(includedir)/coin/ThirdParty
     249thirdpartyinclude_HEADERS = \
     250  solvers/asl.h solvers/asl_pfg.h solvers/asl_pfgh.h solvers/psinfo.h solvers/funcadd.h \
     251  solvers/nlp.h solvers/nlp2.h solvers/getstub.h solvers/opcode.hd solvers/r_opn.hd \
     252  stdio1.h arith.h
     253
    232254CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
    233255
     
    276298$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    277299        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
     300asl_addlibs.txt: $(top_builddir)/config.status $(srcdir)/asl_addlibs.txt.in
     301        cd $(top_builddir) && $(SHELL) ./config.status $@
    278302compile_MS_ASL: $(top_builddir)/config.status $(srcdir)/compile_MS_ASL.in
    279303        cd $(top_builddir) && $(SHELL) ./config.status $@
     
    290314        -rm -f libtool
    291315uninstall-info-am:
     316install-addlibsDATA: $(addlibs_DATA)
     317        @$(NORMAL_INSTALL)
     318        test -z "$(addlibsdir)" || $(mkdir_p) "$(DESTDIR)$(addlibsdir)"
     319        @list='$(addlibs_DATA)'; for p in $$list; do \
     320          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     321          f=$(am__strip_dir) \
     322          echo " $(addlibsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(addlibsdir)/$$f'"; \
     323          $(addlibsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(addlibsdir)/$$f"; \
     324        done
     325
     326uninstall-addlibsDATA:
     327        @$(NORMAL_UNINSTALL)
     328        @list='$(addlibs_DATA)'; for p in $$list; do \
     329          f=$(am__strip_dir) \
     330          echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
     331          rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
     332        done
     333install-thirdpartyincludeHEADERS: $(thirdpartyinclude_HEADERS)
     334        @$(NORMAL_INSTALL)
     335        test -z "$(thirdpartyincludedir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartyincludedir)"
     336        @list='$(thirdpartyinclude_HEADERS)'; for p in $$list; do \
     337          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     338          f=$(am__strip_dir) \
     339          echo " $(thirdpartyincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(thirdpartyincludedir)/$$f'"; \
     340          $(thirdpartyincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(thirdpartyincludedir)/$$f"; \
     341        done
     342
     343uninstall-thirdpartyincludeHEADERS:
     344        @$(NORMAL_UNINSTALL)
     345        @list='$(thirdpartyinclude_HEADERS)'; for p in $$list; do \
     346          f=$(am__strip_dir) \
     347          echo " rm -f '$(DESTDIR)$(thirdpartyincludedir)/$$f'"; \
     348          rm -f "$(DESTDIR)$(thirdpartyincludedir)/$$f"; \
     349        done
     350
     351ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     352        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     353        unique=`for i in $$list; do \
     354            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     355          done | \
     356          $(AWK) '    { files[$$0] = 1; } \
     357               END { for (i in files) print i; }'`; \
     358        mkid -fID $$unique
    292359tags: TAGS
    293 TAGS:
    294 
     360
     361TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     362                $(TAGS_FILES) $(LISP)
     363        tags=; \
     364        here=`pwd`; \
     365        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     366        unique=`for i in $$list; do \
     367            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     368          done | \
     369          $(AWK) '    { files[$$0] = 1; } \
     370               END { for (i in files) print i; }'`; \
     371        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     372          test -n "$$unique" || unique=$$empty_fix; \
     373          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     374            $$tags $$unique; \
     375        fi
    295376ctags: CTAGS
    296 CTAGS:
    297 
     377CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     378                $(TAGS_FILES) $(LISP)
     379        tags=; \
     380        here=`pwd`; \
     381        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     382        unique=`for i in $$list; do \
     383            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     384          done | \
     385          $(AWK) '    { files[$$0] = 1; } \
     386               END { for (i in files) print i; }'`; \
     387        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     388          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     389             $$tags $$unique
     390
     391GTAGS:
     392        here=`$(am__cd) $(top_builddir) && pwd` \
     393          && cd $(top_srcdir) \
     394          && gtags -i $(GTAGS_ARGS) $$here
     395
     396distclean-tags:
     397        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    298398
    299399distdir: $(DISTFILES)
    300400        $(am__remove_distdir)
    301401        mkdir $(distdir)
    302         $(mkdir_p) $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools
     402        $(mkdir_p) $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools $(distdir)/solvers
    303403        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    304404        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    426526check-am: all-am
    427527check: check-am
    428 all-am: Makefile all-local
     528all-am: Makefile $(DATA) $(HEADERS) all-local
    429529installdirs:
     530        for dir in "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \
     531          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     532        done
    430533install: install-am
    431534install-exec: install-exec-am
     
    461564        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
    462565        -rm -f Makefile
    463 distclean-am: clean-am distclean-generic distclean-libtool
     566distclean-am: clean-am distclean-generic distclean-libtool \
     567        distclean-tags
    464568
    465569dvi: dvi-am
     
    473577info-am:
    474578
    475 install-data-am:
    476 
    477 install-exec-am:
     579install-data-am: install-addlibsDATA install-thirdpartyincludeHEADERS
     580
     581install-exec-am: install-exec-local
    478582
    479583install-info: install-info-am
     
    501605ps-am:
    502606
    503 uninstall-am: uninstall-info-am
    504 
    505 .PHONY: all all-am all-local am--refresh check check-am clean \
    506         clean-generic clean-libtool dist dist-all dist-bzip2 dist-gzip \
    507         dist-shar dist-tarZ dist-zip distcheck distclean \
    508         distclean-generic distclean-libtool distcleancheck distdir \
    509         distuninstallcheck dvi dvi-am html html-am info info-am \
    510         install install-am install-data install-data-am install-exec \
    511         install-exec-am install-info install-info-am install-man \
    512         install-strip installcheck installcheck-am installdirs \
    513         maintainer-clean maintainer-clean-generic mostlyclean \
    514         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
    515         uninstall uninstall-am uninstall-info-am
    516 
     607uninstall-am: uninstall-addlibsDATA uninstall-info-am uninstall-local \
     608        uninstall-thirdpartyincludeHEADERS
     609
     610.PHONY: CTAGS GTAGS all all-am all-local am--refresh check check-am \
     611        clean clean-generic clean-libtool ctags dist dist-all \
     612        dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip distcheck \
     613        distclean distclean-generic distclean-libtool distclean-tags \
     614        distcleancheck distdir distuninstallcheck dvi dvi-am html \
     615        html-am info info-am install install-addlibsDATA install-am \
     616        install-data install-data-am install-exec install-exec-am \
     617        install-exec-local install-info install-info-am install-man \
     618        install-strip install-thirdpartyincludeHEADERS installcheck \
     619        installcheck-am installdirs maintainer-clean \
     620        maintainer-clean-generic mostlyclean mostlyclean-generic \
     621        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
     622        uninstall-addlibsDATA uninstall-am uninstall-info-am \
     623        uninstall-local uninstall-thirdpartyincludeHEADERS
     624
     625#endif
    517626
    518627all-local: $(alltargets)
     
    524633
    525634stdio1.h arith.h funcadd0.$(OBJEXT): $(libampl)
     635install-exec-local: $(libampl)
     636        test -z "$(DESTDIR)$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"
     637        $(install_sh_DATA) $(libampl) "$(DESTDIR)$(thirdpartylibdir)/$(libampl)"
     638
     639uninstall-local:
     640        rm -f $(DESTDIR)$(thirdpartylibdir)/$(libampl)
    526641
    527642install-doc: $(DocFiles)
  • ThirdParty/ASL/trunk/configure

    r1386 r1388  
    1010#
    1111#
    12 # Copyright 2006 International Business Machines and others.
     12# Copyright 2006, 2007, 2009 International Business Machines and others.
    1313# All Rights Reserved.
    1414# This file is part of the open source package Coin which is distributed
     
    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 build build_cpu build_vendor build_os ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE EGREP LN_S CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC 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 F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS ASLLIB ASL_CPPFLAGS COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE MAKEOKFILE SKIPMAKE_TRUE SKIPMAKE_FALSE AMPLSOLVER_A ASLMAKEFLAGS MSVC_COMPILE_TRUE MSVC_COMPILE_FALSE LIBEXT VPATH_DISTCLEANFILES 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 build build_cpu build_vendor build_os ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE EGREP LN_S CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC 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 F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS AMPLSOLVER_A ASLMAKEFLAGS MSVC_COMPILE_TRUE MSVC_COMPILE_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    10881088  --with-tags[=TAGS]
    10891089                          include additional configurations [automatic]
    1090   --with-asldir           specify path to AMPL solver directory (or BUILD for
    1091                           compilation, or "no" for disabling AMPL)
    10921090
    10931091Some influential environment variables:
     
    12201218
    12211219
    1222 Copyright 2006 International Business Machines and others.
     1220Copyright 2006, 2007, 2009 International Business Machines and others.
    12231221All Rights Reserved.
    12241222This file is part of the open source package Coin which is distributed
     
    47374735*-*-irix6*)
    47384736  # Find out which ABI we are using.
    4739   echo '#line 4739 "configure"' > conftest.$ac_ext
     4737  echo '#line 4737 "configure"' > conftest.$ac_ext
    47404738  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    47414739  (eval $ac_compile) 2>&5
     
    63366334
    63376335# Provide some information about the compiler.
    6338 echo "$as_me:6338:" \
     6336echo "$as_me:6336:" \
    63396337     "checking for Fortran 77 compiler version" >&5
    63406338ac_compiler=`set X $ac_compile; echo $2`
     
    74037401   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    74047402   -e 's:$: $lt_compiler_flag:'`
    7405    (eval echo "\"\$as_me:7405: $lt_compile\"" >&5)
     7403   (eval echo "\"\$as_me:7403: $lt_compile\"" >&5)
    74067404   (eval "$lt_compile" 2>conftest.err)
    74077405   ac_status=$?
    74087406   cat conftest.err >&5
    7409    echo "$as_me:7409: \$? = $ac_status" >&5
     7407   echo "$as_me:7407: \$? = $ac_status" >&5
    74107408   if (exit $ac_status) && test -s "$ac_outfile"; then
    74117409     # The compiler can only warn and ignore the option if not recognized
     
    76717669   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    76727670   -e 's:$: $lt_compiler_flag:'`
    7673    (eval echo "\"\$as_me:7673: $lt_compile\"" >&5)
     7671   (eval echo "\"\$as_me:7671: $lt_compile\"" >&5)
    76747672   (eval "$lt_compile" 2>conftest.err)
    76757673   ac_status=$?
    76767674   cat conftest.err >&5
    7677    echo "$as_me:7677: \$? = $ac_status" >&5
     7675   echo "$as_me:7675: \$? = $ac_status" >&5
    76787676   if (exit $ac_status) && test -s "$ac_outfile"; then
    76797677     # The compiler can only warn and ignore the option if not recognized
     
    77757773   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    77767774   -e 's:$: $lt_compiler_flag:'`
    7777    (eval echo "\"\$as_me:7777: $lt_compile\"" >&5)
     7775   (eval echo "\"\$as_me:7775: $lt_compile\"" >&5)
    77787776   (eval "$lt_compile" 2>out/conftest.err)
    77797777   ac_status=$?
    77807778   cat out/conftest.err >&5
    7781    echo "$as_me:7781: \$? = $ac_status" >&5
     7779   echo "$as_me:7779: \$? = $ac_status" >&5
    77827780   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    77837781   then
     
    1012010118  lt_status=$lt_dlunknown
    1012110119  cat > conftest.$ac_ext <<EOF
    10122 #line 10122 "configure"
     10120#line 10120 "configure"
    1012310121#include "confdefs.h"
    1012410122
     
    1022010218  lt_status=$lt_dlunknown
    1022110219  cat > conftest.$ac_ext <<EOF
    10222 #line 10222 "configure"
     10220#line 10220 "configure"
    1022310221#include "confdefs.h"
    1022410222
     
    1256412562   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1256512563   -e 's:$: $lt_compiler_flag:'`
    12566    (eval echo "\"\$as_me:12566: $lt_compile\"" >&5)
     12564   (eval echo "\"\$as_me:12564: $lt_compile\"" >&5)
    1256712565   (eval "$lt_compile" 2>conftest.err)
    1256812566   ac_status=$?
    1256912567   cat conftest.err >&5
    12570    echo "$as_me:12570: \$? = $ac_status" >&5
     12568   echo "$as_me:12568: \$? = $ac_status" >&5
    1257112569   if (exit $ac_status) && test -s "$ac_outfile"; then
    1257212570     # The compiler can only warn and ignore the option if not recognized
     
    1266812666   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1266912667   -e 's:$: $lt_compiler_flag:'`
    12670    (eval echo "\"\$as_me:12670: $lt_compile\"" >&5)
     12668   (eval echo "\"\$as_me:12668: $lt_compile\"" >&5)
    1267112669   (eval "$lt_compile" 2>out/conftest.err)
    1267212670   ac_status=$?
    1267312671   cat out/conftest.err >&5
    12674    echo "$as_me:12674: \$? = $ac_status" >&5
     12672   echo "$as_me:12672: \$? = $ac_status" >&5
    1267512673   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1267612674   then
     
    1423814236   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1423914237   -e 's:$: $lt_compiler_flag:'`
    14240    (eval echo "\"\$as_me:14240: $lt_compile\"" >&5)
     14238   (eval echo "\"\$as_me:14238: $lt_compile\"" >&5)
    1424114239   (eval "$lt_compile" 2>conftest.err)
    1424214240   ac_status=$?
    1424314241   cat conftest.err >&5
    14244    echo "$as_me:14244: \$? = $ac_status" >&5
     14242   echo "$as_me:14242: \$? = $ac_status" >&5
    1424514243   if (exit $ac_status) && test -s "$ac_outfile"; then
    1424614244     # The compiler can only warn and ignore the option if not recognized
     
    1434214340   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1434314341   -e 's:$: $lt_compiler_flag:'`
    14344    (eval echo "\"\$as_me:14344: $lt_compile\"" >&5)
     14342   (eval echo "\"\$as_me:14342: $lt_compile\"" >&5)
    1434514343   (eval "$lt_compile" 2>out/conftest.err)
    1434614344   ac_status=$?
    1434714345   cat out/conftest.err >&5
    14348    echo "$as_me:14348: \$? = $ac_status" >&5
     14346   echo "$as_me:14346: \$? = $ac_status" >&5
    1434914347   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1435014348   then
     
    1654916547   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1655016548   -e 's:$: $lt_compiler_flag:'`
    16551    (eval echo "\"\$as_me:16551: $lt_compile\"" >&5)
     16549   (eval echo "\"\$as_me:16549: $lt_compile\"" >&5)
    1655216550   (eval "$lt_compile" 2>conftest.err)
    1655316551   ac_status=$?
    1655416552   cat conftest.err >&5
    16555    echo "$as_me:16555: \$? = $ac_status" >&5
     16553   echo "$as_me:16553: \$? = $ac_status" >&5
    1655616554   if (exit $ac_status) && test -s "$ac_outfile"; then
    1655716555     # The compiler can only warn and ignore the option if not recognized
     
    1681716815   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1681816816   -e 's:$: $lt_compiler_flag:'`
    16819    (eval echo "\"\$as_me:16819: $lt_compile\"" >&5)
     16817   (eval echo "\"\$as_me:16817: $lt_compile\"" >&5)
    1682016818   (eval "$lt_compile" 2>conftest.err)
    1682116819   ac_status=$?
    1682216820   cat conftest.err >&5
    16823    echo "$as_me:16823: \$? = $ac_status" >&5
     16821   echo "$as_me:16821: \$? = $ac_status" >&5
    1682416822   if (exit $ac_status) && test -s "$ac_outfile"; then
    1682516823     # The compiler can only warn and ignore the option if not recognized
     
    1692116919   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1692216920   -e 's:$: $lt_compiler_flag:'`
    16923    (eval echo "\"\$as_me:16923: $lt_compile\"" >&5)
     16921   (eval echo "\"\$as_me:16921: $lt_compile\"" >&5)
    1692416922   (eval "$lt_compile" 2>out/conftest.err)
    1692516923   ac_status=$?
    1692616924   cat out/conftest.err >&5
    16927    echo "$as_me:16927: \$? = $ac_status" >&5
     16925   echo "$as_me:16925: \$? = $ac_status" >&5
    1692816926   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1692916927   then
     
    1982419822
    1982519823# See what we're actually going to do for ASL. This will define ampllib.
    19826 coin_aslobjdir=../ThirdParty/ASL
    19827 coin_aslsrcdir=$srcdir/$coin_aslobjdir
     19824#AC_COIN_HAS_ASL
    1982819825
    1982919826# Determine the name of the ASL library
     
    1983619833
    1983719834
    19838 # Check whether --with-asldir or --without-asldir was given.
    19839 if test "${with_asldir+set}" = set; then
    19840   withval="$with_asldir"
    19841   use_asldir=$withval
    19842 else
    19843   use_asldir=
    19844 fi;
    19845 
    19846 if test "$use_asldir" = BUILD; then
    19847   if test "$PACKAGE_NAME" != ThirdPartyASL; then
    19848     # If we are configuring ThirdParty/ASL, don't check
    19849     if test -r $coin_aslobjdir/.MakeOk; then :; else
    19850       { { echo "$as_me:$LINENO: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&5
    19851 echo "$as_me: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&2;}
    19852    { (exit 1); exit 1; }; }
    19853     fi
    19854   fi
    19855 elif test -z "$use_asldir"; then
    19856  # try to find sources - if not given don't compile
    19857   if test "$PACKAGE_NAME" != ThirdPartyASL; then
    19858     if test -r $coin_aslobjdir/.MakeOk; then
    19859       use_asldir=BUILD
    19860     else
    19861       use_asldir=no
    19862     fi
    19863   else
    19864     use_asldir=no
    19865   fi
    19866 elif test "$use_asldir" != "no"; then
    19867   if test -r $use_asldir/$ampllib; then
    19868 
    19869   :
    19870 else
    19871   { { echo "$as_me:$LINENO: error: ASL directory \"$use_asldir\" specified, but library missing" >&5
    19872 echo "$as_me: error: ASL directory \"$use_asldir\" specified, but library missing" >&2;}
    19873    { (exit 1); exit 1; }; }
    19874   :
    19875 fi
    19876 
    19877   if test -r $use_asldir/asl.h; then
    19878 
    19879   :
    19880 else
    19881   { { echo "$as_me:$LINENO: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&5
    19882 echo "$as_me: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&2;}
    19883    { (exit 1); exit 1; }; }
    19884   :
    19885 fi
    19886 
    19887   use_asldir=`cd $use_asldir; pwd`
    19888   case $build in
    19889     *-cygwin*) use_asldir=`cygpath -w $use_asldir | sed -e sX\\\\\\\\X/Xg` ;;
    19890   esac
    19891 fi
    19892 
    19893 # Variable containing ASL library (including full path)
    19894 
    19895 # Variable containing flags for including ASL header files
    19896 
    19897 
    19898 if test "$use_asldir" = BUILD; then
    19899   coin_aslobjdir=`cd $coin_aslobjdir; pwd`
    19900   ASLLIB=`$CYGPATH_W $coin_aslobjdir/$ampllib | sed -e sX\\\\\\\\X/Xg`
    19901   coin_aslsrcdir=`cd $coin_aslsrcdir; pwd`
    19902   ASL_CPPFLAGS="-I"`$CYGPATH_W $coin_aslobjdir | sed -e sX\\\\\\\\X/Xg`" -I"`$CYGPATH_W $coin_aslsrcdir/solvers | sed -e sX\\\\\\\\X/Xg`
    19903 elif test "$use_asldir" != no; then
    19904   ASLLIB=`$CYGPATH_W $use_asldir/$ampllib | sed -e sX\\\\\\\\X/Xg`
    19905   ASL_CPPFLAGS="-I"`$CYGPATH_W $use_asldir | sed -e sX\\\\\\\\X/Xg`
    19906 fi
    19907 
    19908 if test "$use_asldir" != no; then
    19909   ac_ext=c
    19910 ac_cpp='$CPP $CPPFLAGS'
    19911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    19912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    19913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    19914 
    19915   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    19916 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
    19917 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    19918   echo $ECHO_N "(cached) $ECHO_C" >&6
    19919 else
    19920   ac_check_lib_save_LIBS=$LIBS
    19921 LIBS="-ldl  $LIBS"
    19922 cat >conftest.$ac_ext <<_ACEOF
    19923 /* confdefs.h.  */
    19924 _ACEOF
    19925 cat confdefs.h >>conftest.$ac_ext
    19926 cat >>conftest.$ac_ext <<_ACEOF
    19927 /* end confdefs.h.  */
    19928 
    19929 /* Override any gcc2 internal prototype to avoid an error.  */
    19930 #ifdef __cplusplus
    19931 extern "C"
    19932 #endif
    19933 /* We use char because int might match the return type of a gcc2
    19934    builtin and then its argument prototype would still apply.  */
    19935 char dlopen ();
    19936 int
    19937 main ()
    19938 {
    19939 dlopen ();
    19940   ;
    19941   return 0;
    19942 }
    19943 _ACEOF
    19944 rm -f conftest.$ac_objext conftest$ac_exeext
    19945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    19946   (eval $ac_link) 2>conftest.er1
    19947   ac_status=$?
    19948   grep -v '^ *+' conftest.er1 >conftest.err
    19949   rm -f conftest.er1
    19950   cat conftest.err >&5
    19951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19952   (exit $ac_status); } &&
    19953          { ac_try='test -z "$ac_c_werror_flag"
    19954                          || test ! -s conftest.err'
    19955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19956   (eval $ac_try) 2>&5
    19957   ac_status=$?
    19958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19959   (exit $ac_status); }; } &&
    19960          { ac_try='test -s conftest$ac_exeext'
    19961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19962   (eval $ac_try) 2>&5
    19963   ac_status=$?
    19964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19965   (exit $ac_status); }; }; then
    19966   ac_cv_lib_dl_dlopen=yes
    19967 else
    19968   echo "$as_me: failed program was:" >&5
    19969 sed 's/^/| /' conftest.$ac_ext >&5
    19970 
    19971 ac_cv_lib_dl_dlopen=no
    19972 fi
    19973 rm -f conftest.err conftest.$ac_objext \
    19974       conftest$ac_exeext conftest.$ac_ext
    19975 LIBS=$ac_check_lib_save_LIBS
    19976 fi
    19977 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    19978 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
    19979 if test $ac_cv_lib_dl_dlopen = yes; then
    19980   ASLLIB="$ASLLIB -ldl"
    19981 fi
    19982 
    19983   coin_has_asl=yes
    19984 
    19985 cat >>confdefs.h <<\_ACEOF
    19986 #define COIN_HAS_ASL 1
    19987 _ACEOF
    19988 
    19989   ac_ext=c
    19990 ac_cpp='$CPP $CPPFLAGS'
    19991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    19992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    19993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    19994 
    19995 else
    19996   coin_has_asl=no
    19997 fi
    19998 
    19999 
    20000 if test $coin_has_asl = yes; then
    20001   COIN_HAS_ASL_TRUE=
    20002   COIN_HAS_ASL_FALSE='#'
    20003 else
    20004   COIN_HAS_ASL_TRUE='#'
    20005   COIN_HAS_ASL_FALSE=
    20006 fi
    20007 
    20008 
    20009 
    20010 MAKEOKFILE=.MakeOk
    20011 if test $coin_has_asl != no && test "$use_asldir" != BUILD; then
    20012   skip_further_test=yes
    20013   rm -f $MAKEOKFILE
    20014   { echo "$as_me:$LINENO: The ASL sources don't need to be compiled" >&5
    20015 echo "$as_me: The ASL sources don't need to be compiled" >&6;}
    20016   MAKEOKFILE=
    20017 else
    20018   touch $MAKEOKFILE
    20019 fi
    20020 
    20021 
    20022 
    20023 if test -z "$MAKEOKFILE"; then
    20024   SKIPMAKE_TRUE=
    20025   SKIPMAKE_FALSE='#'
    20026 else
    20027   SKIPMAKE_TRUE='#'
    20028   SKIPMAKE_FALSE=
    20029 fi
    20030 
     19835#MAKEOKFILE=.MakeOk
     19836#if test $coin_has_asl != no && test "$use_asldir" != BUILD; then
     19837#  skip_further_test=yes
     19838#  rm -f $MAKEOKFILE
     19839#  AC_MSG_NOTICE([The ASL sources don't need to be compiled])
     19840#  MAKEOKFILE=
     19841#else
     19842#  touch $MAKEOKFILE
     19843#fi
     19844#AC_SUBST(MAKEOKFILE)
     19845#AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    2003119846
    2003219847#############################################################################
     
    2027920094
    2028020095
    20281           ac_config_files="$ac_config_files Makefile"
     20096                    ac_config_files="$ac_config_files Makefile asl_addlibs.txt"
    2028220097
    2028320098          ac_config_files="$ac_config_files compile_MS_ASL"
     
    2050420319Usually this means the macro was only invoked conditionally." >&5
    2050520320echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
    20506 Usually this means the macro was only invoked conditionally." >&2;}
    20507    { (exit 1); exit 1; }; }
    20508 fi
    20509 if test -z "${COIN_HAS_ASL_TRUE}" && test -z "${COIN_HAS_ASL_FALSE}"; then
    20510   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_ASL\" was never defined.
    20511 Usually this means the macro was only invoked conditionally." >&5
    20512 echo "$as_me: error: conditional \"COIN_HAS_ASL\" was never defined.
    20513 Usually this means the macro was only invoked conditionally." >&2;}
    20514    { (exit 1); exit 1; }; }
    20515 fi
    20516 if test -z "${SKIPMAKE_TRUE}" && test -z "${SKIPMAKE_FALSE}"; then
    20517   { { echo "$as_me:$LINENO: error: conditional \"SKIPMAKE\" was never defined.
    20518 Usually this means the macro was only invoked conditionally." >&5
    20519 echo "$as_me: error: conditional \"SKIPMAKE\" was never defined.
    2052020321Usually this means the macro was only invoked conditionally." >&2;}
    2052120322   { (exit 1); exit 1; }; }
     
    2096820769  # Handling of arguments.
    2096920770  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     20771  "asl_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES asl_addlibs.txt" ;;
    2097020772  "compile_MS_ASL" ) CONFIG_FILES="$CONFIG_FILES compile_MS_ASL" ;;
    2097120773  "compile_Unix_ASL" ) CONFIG_FILES="$CONFIG_FILES compile_Unix_ASL" ;;
     
    2114920951s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2115020952s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
    21151 s,@ASLLIB@,$ASLLIB,;t t
    21152 s,@ASL_CPPFLAGS@,$ASL_CPPFLAGS,;t t
    21153 s,@COIN_HAS_ASL_TRUE@,$COIN_HAS_ASL_TRUE,;t t
    21154 s,@COIN_HAS_ASL_FALSE@,$COIN_HAS_ASL_FALSE,;t t
    21155 s,@MAKEOKFILE@,$MAKEOKFILE,;t t
    21156 s,@SKIPMAKE_TRUE@,$SKIPMAKE_TRUE,;t t
    21157 s,@SKIPMAKE_FALSE@,$SKIPMAKE_FALSE,;t t
    2115820953s,@AMPLSOLVER_A@,$AMPLSOLVER_A,;t t
    2115920954s,@ASLMAKEFLAGS@,$ASLMAKEFLAGS,;t t
  • ThirdParty/ASL/trunk/configure.ac

    r1183 r1388  
    1 # Copyright (C) 2007 International Business Machines.
     1# Copyright (C) 2007, 2009 International Business Machines.
    22# All Rights Reserved.
    33# This file is distributed under the Common Public License.
     
    1717
    1818AC_COPYRIGHT([
    19 Copyright 2006 International Business Machines and others.
     19Copyright 2006, 2007, 2009 International Business Machines and others.
    2020All Rights Reserved.
    2121This file is part of the open source package Coin which is distributed
     
    6060
    6161# See what we're actually going to do for ASL. This will define ampllib.
    62 AC_COIN_HAS_ASL
    63 
    64 MAKEOKFILE=.MakeOk
    65 if test $coin_has_asl != no && test "$use_asldir" != BUILD; then
    66   skip_further_test=yes
    67   rm -f $MAKEOKFILE
    68   AC_MSG_NOTICE([The ASL sources don't need to be compiled])
    69   MAKEOKFILE=
    70 else
    71   touch $MAKEOKFILE
    72 fi
    73 AC_SUBST(MAKEOKFILE)
    74 AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
     62#AC_COIN_HAS_ASL
     63
     64# Determine the name of the ASL library
     65case "$CC" in
     66  cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
     67    ampllib=amplsolv.lib ;;
     68  *)
     69    ampllib=amplsolver.a ;;
     70esac
     71
     72
     73#MAKEOKFILE=.MakeOk
     74#if test $coin_has_asl != no && test "$use_asldir" != BUILD; then
     75#  skip_further_test=yes
     76#  rm -f $MAKEOKFILE
     77#  AC_MSG_NOTICE([The ASL sources don't need to be compiled])
     78#  MAKEOKFILE=
     79#else
     80#  touch $MAKEOKFILE
     81#fi
     82#AC_SUBST(MAKEOKFILE)
     83#AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    7584
    7685#############################################################################
     
    198207AM_CONDITIONAL(MSVC_COMPILE, test x$msvc_compile = xyes)
    199208
    200 AC_CONFIG_FILES([Makefile])
     209AC_CONFIG_FILES([Makefile asl_addlibs.txt])
    201210AC_CONFIG_FILES([compile_MS_ASL],[chmod a+x compile_MS_ASL])
    202211AC_CONFIG_FILES([compile_Unix_ASL],[chmod a+x compile_Unix_ASL])
  • ThirdParty/FilterSQP/trunk/Makefile.am

    r164 r1388  
    1 # Copyright (C) 2003, 2006 International Business Machines and others.
     1# Copyright (C) 2003, 2006, 2009 International Business Machines and others.
    22# All Rights Reserved.
    33# This file is distributed under the Common Public License.
     
    99EXTRA_DIST =
    1010
    11 noinst_LTLIBRARIES = libfiltersqp.la
     11thirdpartylibdir = $(prefix)/lib/ThirdParty
     12thirdpartylib_LTLIBRARIES = libfiltersqp.la
    1213
    13 nodist_libfiltersqp_la_SOURCES = \
     14libfiltersqp_la_SOURCES = \
    1415        source/src/auxil.f \
    1516        source/src/bqpd.f \
     
    2526libfiltersqp_la_LDFLAGS = $(LT_LDFLAGS)
    2627
     28addlibsdir = $(prefix)/share/doc/coin/ThirdParty/FilterSQP
     29addlibs_DATA = filtersqp_addlibs.txt README
     30
    2731########################################################################
    2832#                         Maintainer Stuff                             #
  • ThirdParty/FilterSQP/trunk/Makefile.in

    r998 r1388  
    1515@SET_MAKE@
    1616
    17 # Copyright (C) 2003, 2006 International Business Machines and others.
     17# Copyright (C) 2003, 2006, 2009 International Business Machines and others.
    1818# All Rights Reserved.
    1919# This file is distributed under the Common Public License.
     
    2828#                    Documentation installation                        #
    2929########################################################################
     30
    3031
    3132srcdir = @srcdir@
     
    5152build_triplet = @build@
    5253host_triplet = @host@
    53 DIST_COMMON = $(am__configure_deps) \
     54DIST_COMMON = README $(am__configure_deps) \
    5455        $(srcdir)/../../BuildTools/Makemain.inc \
    5556        $(srcdir)/../../config.guess $(srcdir)/../../config.sub \
    5657        $(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \
    5758        $(srcdir)/../../missing $(srcdir)/Makefile.am \
    58         $(srcdir)/Makefile.in $(top_srcdir)/configure
     59        $(srcdir)/Makefile.in $(srcdir)/filtersqp_addlibs.txt.in \
     60        $(top_srcdir)/configure
    5961@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
    6062@HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp
     
    6870 configure.lineno configure.status.lineno
    6971mkinstalldirs = $(install_sh) -d
    70 CONFIG_CLEAN_FILES =
    71 LTLIBRARIES = $(noinst_LTLIBRARIES)
     72CONFIG_CLEAN_FILES = filtersqp_addlibs.txt
     73am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     74am__vpath_adj = case $$p in \
     75    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     76    *) f=$$p;; \
     77  esac;
     78am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     79am__installdirs = "$(DESTDIR)$(thirdpartylibdir)" \
     80        "$(DESTDIR)$(addlibsdir)"
     81thirdpartylibLTLIBRARIES_INSTALL = $(INSTALL)
     82LTLIBRARIES = $(thirdpartylib_LTLIBRARIES)
    7283libfiltersqp_la_LIBADD =
    73 nodist_libfiltersqp_la_OBJECTS = auxil.lo bqpd.lo filteraux.lo \
    74         filter.lo QPsolves.lo scaling.lo sparseA.lo sparseL.lo util.lo \
    75         wdotd.lo
    76 libfiltersqp_la_OBJECTS = $(nodist_libfiltersqp_la_OBJECTS)
     84am_libfiltersqp_la_OBJECTS = auxil.lo bqpd.lo filteraux.lo filter.lo \
     85        QPsolves.lo scaling.lo sparseA.lo sparseL.lo util.lo wdotd.lo
     86libfiltersqp_la_OBJECTS = $(am_libfiltersqp_la_OBJECTS)
    7787DEFAULT_INCLUDES = -I. -I$(srcdir)
    7888F77COMPILE = $(F77) $(AM_FFLAGS) $(FFLAGS)
     
    8292F77LINK = $(LIBTOOL) --tag=F77 --mode=link $(F77LD) $(AM_FFLAGS) \
    8393        $(FFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
    84 SOURCES = $(nodist_libfiltersqp_la_SOURCES)
    85 DIST_SOURCES =
     94SOURCES = $(libfiltersqp_la_SOURCES)
     95DIST_SOURCES = $(libfiltersqp_la_SOURCES)
     96addlibsDATA_INSTALL = $(INSTALL_DATA)
     97DATA = $(addlibs_DATA)
    8698ETAGS = etags
    8799CTAGS = ctags
     
    230242AUTOMAKE_OPTIONS = foreign
    231243EXTRA_DIST = $(am__append_1)
    232 noinst_LTLIBRARIES = libfiltersqp.la
    233 nodist_libfiltersqp_la_SOURCES = \
     244thirdpartylibdir = $(prefix)/lib/ThirdParty
     245thirdpartylib_LTLIBRARIES = libfiltersqp.la
     246libfiltersqp_la_SOURCES = \
    234247        source/src/auxil.f \
    235248        source/src/bqpd.f \
     
    244257
    245258libfiltersqp_la_LDFLAGS = $(LT_LDFLAGS)
     259addlibsdir = $(prefix)/share/doc/coin/ThirdParty/FilterSQP
     260addlibs_DATA = filtersqp_addlibs.txt README
    246261
    247262########################################################################
     
    290305$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    291306        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    292 
    293 clean-noinstLTLIBRARIES:
    294         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
    295         @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     307filtersqp_addlibs.txt: $(top_builddir)/config.status $(srcdir)/filtersqp_addlibs.txt.in
     308        cd $(top_builddir) && $(SHELL) ./config.status $@
     309install-thirdpartylibLTLIBRARIES: $(thirdpartylib_LTLIBRARIES)
     310        @$(NORMAL_INSTALL)
     311        test -z "$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"
     312        @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     313          if test -f $$p; then \
     314            f=$(am__strip_dir) \
     315            echo " $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(thirdpartylibdir)/$$f'"; \
     316            $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(thirdpartylibdir)/$$f"; \
     317          else :; fi; \
     318        done
     319
     320uninstall-thirdpartylibLTLIBRARIES:
     321        @$(NORMAL_UNINSTALL)
     322        @set -x; list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     323          p=$(am__strip_dir) \
     324          echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(thirdpartylibdir)/$$p'"; \
     325          $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(thirdpartylibdir)/$$p"; \
     326        done
     327
     328clean-thirdpartylibLTLIBRARIES:
     329        -test -z "$(thirdpartylib_LTLIBRARIES)" || rm -f $(thirdpartylib_LTLIBRARIES)
     330        @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
    296331          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    297332          test "$$dir" != "$$p" || dir=.; \
     
    300335        done
    301336libfiltersqp.la: $(libfiltersqp_la_OBJECTS) $(libfiltersqp_la_DEPENDENCIES)
    302         $(F77LINK) $(libfiltersqp_la_LDFLAGS) $(libfiltersqp_la_OBJECTS) $(libfiltersqp_la_LIBADD) $(LIBS)
     337        $(F77LINK) -rpath $(thirdpartylibdir) $(libfiltersqp_la_LDFLAGS) $(libfiltersqp_la_OBJECTS) $(libfiltersqp_la_LIBADD) $(LIBS)
    303338
    304339mostlyclean-compile:
     
    356391        -rm -f libtool
    357392uninstall-info-am:
     393install-addlibsDATA: $(addlibs_DATA)
     394        @$(NORMAL_INSTALL)
     395        test -z "$(addlibsdir)" || $(mkdir_p) "$(DESTDIR)$(addlibsdir)"
     396        @list='$(addlibs_DATA)'; for p in $$list; do \
     397          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     398          f=$(am__strip_dir) \
     399          echo " $(addlibsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(addlibsdir)/$$f'"; \
     400          $(addlibsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(addlibsdir)/$$f"; \
     401        done
     402
     403uninstall-addlibsDATA:
     404        @$(NORMAL_UNINSTALL)
     405        @list='$(addlibs_DATA)'; for p in $$list; do \
     406          f=$(am__strip_dir) \
     407          echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
     408          rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
     409        done
    358410
    359411ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    408460        $(am__remove_distdir)
    409461        mkdir $(distdir)
    410         $(mkdir_p) $(distdir)/../.. $(distdir)/../../BuildTools
     462        $(mkdir_p) $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools
    411463        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    412464        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    534586check-am: all-am
    535587check: check-am
    536 all-am: Makefile $(LTLIBRARIES)
     588all-am: Makefile $(LTLIBRARIES) $(DATA)
    537589installdirs:
     590        for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)"; do \
     591          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     592        done
    538593install: install-am
    539594install-exec: install-exec-am
     
    563618clean: clean-am
    564619
    565 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     620clean-am: clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
    566621        mostlyclean-am
    567622
     
    582637info-am:
    583638
    584 install-data-am:
     639install-data-am: install-addlibsDATA install-thirdpartylibLTLIBRARIES
    585640
    586641install-exec-am:
     
    611666ps-am:
    612667
    613 uninstall-am: uninstall-info-am
     668uninstall-am: uninstall-addlibsDATA uninstall-info-am \
     669        uninstall-thirdpartylibLTLIBRARIES
    614670
    615671.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
    616         clean-generic clean-libtool clean-noinstLTLIBRARIES ctags dist \
    617         dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
    618         distcheck distclean distclean-compile distclean-generic \
    619         distclean-libtool distclean-tags distcleancheck distdir \
    620         distuninstallcheck dvi dvi-am html html-am info info-am \
    621         install install-am install-data install-data-am install-exec \
    622         install-exec-am install-info install-info-am install-man \
    623         install-strip installcheck installcheck-am installdirs \
    624         maintainer-clean maintainer-clean-generic mostlyclean \
    625         mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
    626         pdf pdf-am ps ps-am tags uninstall uninstall-am \
    627         uninstall-info-am
     672        clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
     673        ctags dist dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ \
     674        dist-zip distcheck distclean distclean-compile \
     675        distclean-generic distclean-libtool distclean-tags \
     676        distcleancheck distdir distuninstallcheck dvi dvi-am html \
     677        html-am info info-am install install-addlibsDATA install-am \
     678        install-data install-data-am install-exec install-exec-am \
     679        install-info install-info-am install-man install-strip \
     680        install-thirdpartylibLTLIBRARIES installcheck installcheck-am \
     681        installdirs maintainer-clean maintainer-clean-generic \
     682        mostlyclean mostlyclean-compile mostlyclean-generic \
     683        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
     684        uninstall-addlibsDATA uninstall-am uninstall-info-am \
     685        uninstall-thirdpartylibLTLIBRARIES
    628686
    629687
  • ThirdParty/FilterSQP/trunk/configure

    r1386 r1388  
    2105321053}
    2105421054
    21055           ac_config_files="$ac_config_files Makefile"
     21055                    ac_config_files="$ac_config_files Makefile filtersqp_addlibs.txt"
    2105621056
    2105721057
     
    2174521745  # Handling of arguments.
    2174621746  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     21747  "filtersqp_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES filtersqp_addlibs.txt" ;;
    2174721748  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    2174821749  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  • ThirdParty/FilterSQP/trunk/configure.ac

    r164 r1388  
    5252AC_COIN_INIT_AUTO_TOOLS
    5353
    54 AC_CONFIG_FILES([Makefile])
     54AC_CONFIG_FILES([Makefile filtersqp_addlibs.txt])
    5555
    5656AC_COIN_FINALIZE
  • ThirdParty/HSL/trunk/Makefile.am

    r1185 r1388  
    1 # Copyright (C) 2003, 2008 International Business Machines and others
     1# Copyright (C) 2003, 2008, 2009 International Business Machines and others
    22# All Rights Reserved.
    33# This file is distributed under the Common Public License.
     
    99EXTRA_DIST = INSTALL.HSL
    1010
    11 noinst_LTLIBRARIES = libcoinhsl.la
     11thirdpartylibdir = $(prefix)/lib/ThirdParty
     12thirdpartylib_LTLIBRARIES = libcoinhsl.la
    1213
    13 nodist_libcoinhsl_la_SOURCES = dummy.c
     14libcoinhsl_la_SOURCES = dummy.c
    1415
    1516if COIN_HAS_MA27
    16   nodist_libcoinhsl_la_SOURCES += ma27ad.f
     17  libcoinhsl_la_SOURCES += ma27ad.f
    1718endif
    1819
    1920if COIN_HAS_MA57
    20   nodist_libcoinhsl_la_SOURCES += ma57ad.f
     21  libcoinhsl_la_SOURCES += ma57ad.f
    2122endif
    2223
    2324if COIN_HAS_MC19
    24   nodist_libcoinhsl_la_SOURCES += mc19ad.f
     25  libcoinhsl_la_SOURCES += mc19ad.f
    2526endif
    2627
    2728if COIN_HAS_MA28
    28   nodist_libcoinhsl_la_SOURCES += ma28ad.f ma30ad.f mc13dd.f mc20ad.f \
     29  libcoinhsl_la_SOURCES += ma28ad.f ma30ad.f mc13dd.f mc20ad.f \
    2930        mc21ad.f mc22ad.f mc23ad.f mc24ad.f
    30 endif
    31 
    32 lib_LTLIBRARIES =
    33 if INSTALL_LOADABLE_LIBRARY
    34 if EXTRA_SHARED_COMMAND
    35 else
    36   lib_LTLIBRARIES += libhsl.la
    37   libhsl_la_SOURCES = $(nodist_libcoinhsl_la_SOURCES)
    38 endif
    3931endif
    4032
     
    4638if EXTRA_SHARED_COMMAND
    4739
    48 $(HSL_SHARED_LIB): $(noinst_LTLIBRARIES) $(DEFFILE)
     40$(HSL_SHARED_LIB): $(thirdpartylib_LTLIBRARIES) $(DEFFILE)
    4941        bla=; \
    5042        for i in $(nodist_libcoinhsl_la_SOURCES); do \
     
    7264
    7365install-exec-local: $(HSL_SHARED_LIB)
    74         test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
    75         $(libLTLIBRARIES_INSTALL) $(HSL_SHARED_LIB) "$(DESTDIR)$(libdir)/$(HSL_SHARED_LIB)"
     66        test -z "$(DESTDIR)$(libdir)/ThirdParty" || $(mkdir_p) "$(DESTDIR)$(libdir)/ThirdParty"
     67        $(libLTLIBRARIES_INSTALL) $(HSL_SHARED_LIB) "$(DESTDIR)$(libdir)/ThirdParty/$(HSL_SHARED_LIB)"
    7668
    7769CLEANFILES = $(HSL_SHARED_LIB) $(DEFFILE)
    7870
    7971uninstall-local:
    80         rm -f "$(DESTDIR)$(libdir)/$(HSL_SHARED_LIB)"
     72        rm -f "$(DESTDIR)$(libdir)/ThirdParty/$(HSL_SHARED_LIB)"
    8173endif
     74
     75addlibsdir = $(prefix)/share/doc/coin/ThirdParty/HSL
     76addlibs_DATA = hsl_addlibs.txt README
    8277
    8378########################################################################
  • ThirdParty/HSL/trunk/Makefile.in

    r1185 r1388  
    1515@SET_MAKE@
    1616
    17 # Copyright (C) 2003, 2008 International Business Machines and others
     17# Copyright (C) 2003, 2008, 2009 International Business Machines and others
    1818# All Rights Reserved.
    1919# This file is distributed under the Common Public License.
     
    2828#                    Documentation installation                        #
    2929########################################################################
     30
    3031
    3132srcdir = @srcdir@
     
    5758@COIN_HAS_MA28_TRUE@    mc21ad.f mc22ad.f mc23ad.f mc24ad.f
    5859
    59 @EXTRA_SHARED_COMMAND_FALSE@@INSTALL_LOADABLE_LIBRARY_TRUE@am__append_5 = libhsl.la
    60 DIST_COMMON = $(am__configure_deps) \
     60DIST_COMMON = README $(am__configure_deps) \
    6161        $(srcdir)/../../BuildTools/Makemain.inc $(srcdir)/Makefile.am \
    62         $(srcdir)/Makefile.in $(top_srcdir)/configure config.guess \
    63         config.sub depcomp install-sh ltmain.sh missing
    64 @HAVE_EXTERNALS_TRUE@am__append_6 = Externals
    65 @HAVE_EXTERNALS_TRUE@am__append_7 = .Externals-stamp
     62        $(srcdir)/Makefile.in $(srcdir)/hsl_addlibs.txt.in \
     63        $(top_srcdir)/configure config.guess config.sub depcomp \
     64        install-sh ltmain.sh missing
     65@HAVE_EXTERNALS_TRUE@am__append_5 = Externals
     66@HAVE_EXTERNALS_TRUE@am__append_6 = .Externals-stamp
    6667subdir = .
    6768ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     
    7374 configure.lineno configure.status.lineno
    7475mkinstalldirs = $(install_sh) -d
    75 CONFIG_CLEAN_FILES =
     76CONFIG_CLEAN_FILES = hsl_addlibs.txt
    7677am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
    7778am__vpath_adj = case $$p in \
     
    8081  esac;
    8182am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
    82 am__installdirs = "$(DESTDIR)$(libdir)"
    83 libLTLIBRARIES_INSTALL = $(INSTALL)
    84 LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
     83am__installdirs = "$(DESTDIR)$(thirdpartylibdir)" \
     84        "$(DESTDIR)$(addlibsdir)"
     85thirdpartylibLTLIBRARIES_INSTALL = $(INSTALL)
     86LTLIBRARIES = $(thirdpartylib_LTLIBRARIES)
    8587libcoinhsl_la_LIBADD =
     88am__libcoinhsl_la_SOURCES_DIST = dummy.c ma27ad.f ma57ad.f mc19ad.f \
     89        ma28ad.f ma30ad.f mc13dd.f mc20ad.f mc21ad.f mc22ad.f mc23ad.f \
     90        mc24ad.f
    8691@COIN_HAS_MA27_TRUE@am__objects_1 = ma27ad.lo
    8792@COIN_HAS_MA57_TRUE@am__objects_2 = ma57ad.lo
     
    9095@COIN_HAS_MA28_TRUE@    mc20ad.lo mc21ad.lo mc22ad.lo mc23ad.lo \
    9196@COIN_HAS_MA28_TRUE@    mc24ad.lo
    92 nodist_libcoinhsl_la_OBJECTS = dummy.lo $(am__objects_1) \
    93         $(am__objects_2) $(am__objects_3) $(am__objects_4)
    94 libcoinhsl_la_OBJECTS = $(nodist_libcoinhsl_la_OBJECTS)
    95 libhsl_la_LIBADD =
    96 am__libhsl_la_SOURCES_DIST = dummy.c ma27ad.f ma57ad.f mc19ad.f \
    97         ma28ad.f ma30ad.f mc13dd.f mc20ad.f mc21ad.f mc22ad.f mc23ad.f \
    98         mc24ad.f
    99 am__objects_5 = dummy.lo $(am__objects_1) $(am__objects_2) \
     97am_libcoinhsl_la_OBJECTS = dummy.lo $(am__objects_1) $(am__objects_2) \
    10098        $(am__objects_3) $(am__objects_4)
    101 @EXTRA_SHARED_COMMAND_FALSE@@INSTALL_LOADABLE_LIBRARY_TRUE@am_libhsl_la_OBJECTS = $(am__objects_5)
    102 libhsl_la_OBJECTS = $(am_libhsl_la_OBJECTS)
    103 @EXTRA_SHARED_COMMAND_FALSE@@INSTALL_LOADABLE_LIBRARY_TRUE@am_libhsl_la_rpath = -rpath \
    104 @EXTRA_SHARED_COMMAND_FALSE@@INSTALL_LOADABLE_LIBRARY_TRUE@     $(libdir)
     99libcoinhsl_la_OBJECTS = $(am_libcoinhsl_la_OBJECTS)
    105100DEFAULT_INCLUDES = -I. -I$(srcdir)
    106101depcomp = $(SHELL) $(top_srcdir)/depcomp
     
    120115F77LINK = $(LIBTOOL) --tag=F77 --mode=link $(F77LD) $(AM_FFLAGS) \
    121116        $(FFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
    122 SOURCES = $(nodist_libcoinhsl_la_SOURCES) $(libhsl_la_SOURCES)
    123 DIST_SOURCES = $(am__libhsl_la_SOURCES_DIST)
     117SOURCES = $(libcoinhsl_la_SOURCES)
     118DIST_SOURCES = $(am__libcoinhsl_la_SOURCES_DIST)
     119addlibsDATA_INSTALL = $(INSTALL_DATA)
     120DATA = $(addlibs_DATA)
    124121ETAGS = etags
    125122CTAGS = ctags
     
    286283target_alias = @target_alias@
    287284AUTOMAKE_OPTIONS = foreign
    288 EXTRA_DIST = INSTALL.HSL $(am__append_6)
    289 noinst_LTLIBRARIES = libcoinhsl.la
    290 nodist_libcoinhsl_la_SOURCES = dummy.c $(am__append_1) $(am__append_2) \
     285EXTRA_DIST = INSTALL.HSL $(am__append_5)
     286thirdpartylibdir = $(prefix)/lib/ThirdParty
     287thirdpartylib_LTLIBRARIES = libcoinhsl.la
     288libcoinhsl_la_SOURCES = dummy.c $(am__append_1) $(am__append_2) \
    291289        $(am__append_3) $(am__append_4)
    292 lib_LTLIBRARIES = $(am__append_5)
    293 @EXTRA_SHARED_COMMAND_FALSE@@INSTALL_LOADABLE_LIBRARY_TRUE@libhsl_la_SOURCES = $(nodist_libcoinhsl_la_SOURCES)
    294290libcoinhsl_la_LDFLAGS = $(LT_LDFLAGS)
    295291@EXTRA_SHARED_COMMAND_TRUE@CLEANFILES = $(HSL_SHARED_LIB) $(DEFFILE)
     292addlibsdir = $(prefix)/share/doc/coin/ThirdParty/HSL
     293addlibs_DATA = hsl_addlibs.txt README
    296294
    297295########################################################################
     
    300298
    301299# Files that are generated and should be cleaned with make distclean
    302 DISTCLEANFILES = $(am__append_7) $(VPATH_DISTCLEANFILES)
     300DISTCLEANFILES = $(am__append_6) $(VPATH_DISTCLEANFILES)
    303301DocFiles = README AUTHORS LICENSE
    304302DocInstallDir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)
     
    340338$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    341339        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    342 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
     340hsl_addlibs.txt: $(top_builddir)/config.status $(srcdir)/hsl_addlibs.txt.in
     341        cd $(top_builddir) && $(SHELL) ./config.status $@
     342install-thirdpartylibLTLIBRARIES: $(thirdpartylib_LTLIBRARIES)
    343343        @$(NORMAL_INSTALL)
    344         test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
    345         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
     344        test -z "$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"
     345        @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
    346346          if test -f $$p; then \
    347347            f=$(am__strip_dir) \
    348             echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
    349             $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
     348            echo " $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(thirdpartylibdir)/$$f'"; \
     349            $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(thirdpartylibdir)/$$f"; \
    350350          else :; fi; \
    351351        done
    352352
    353 uninstall-libLTLIBRARIES:
     353uninstall-thirdpartylibLTLIBRARIES:
    354354        @$(NORMAL_UNINSTALL)
    355         @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
     355        @set -x; list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
    356356          p=$(am__strip_dir) \
    357           echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
    358           $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
     357          echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(thirdpartylibdir)/$$p'"; \
     358          $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(thirdpartylibdir)/$$p"; \
    359359        done
    360360
    361 clean-libLTLIBRARIES:
    362         -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
    363         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
    364           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    365           test "$$dir" != "$$p" || dir=.; \
    366           echo "rm -f \"$${dir}/so_locations\""; \
    367           rm -f "$${dir}/so_locations"; \
    368         done
    369 
    370 clean-noinstLTLIBRARIES:
    371         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
    372         @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     361clean-thirdpartylibLTLIBRARIES:
     362        -test -z "$(thirdpartylib_LTLIBRARIES)" || rm -f $(thirdpartylib_LTLIBRARIES)
     363        @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
    373364          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    374365          test "$$dir" != "$$p" || dir=.; \
     
    377368        done
    378369libcoinhsl.la: $(libcoinhsl_la_OBJECTS) $(libcoinhsl_la_DEPENDENCIES)
    379         $(F77LINK)  $(libcoinhsl_la_LDFLAGS) $(libcoinhsl_la_OBJECTS) $(libcoinhsl_la_LIBADD) $(LIBS)
    380 libhsl.la: $(libhsl_la_OBJECTS) $(libhsl_la_DEPENDENCIES)
    381         $(F77LINK) $(am_libhsl_la_rpath) $(libhsl_la_LDFLAGS) $(libhsl_la_OBJECTS) $(libhsl_la_LIBADD) $(LIBS)
     370        $(F77LINK) -rpath $(thirdpartylibdir) $(libcoinhsl_la_LDFLAGS) $(libcoinhsl_la_OBJECTS) $(libcoinhsl_la_LIBADD) $(LIBS)
    382371
    383372mostlyclean-compile:
     
    428417        -rm -f libtool
    429418uninstall-info-am:
     419install-addlibsDATA: $(addlibs_DATA)
     420        @$(NORMAL_INSTALL)
     421        test -z "$(addlibsdir)" || $(mkdir_p) "$(DESTDIR)$(addlibsdir)"
     422        @list='$(addlibs_DATA)'; for p in $$list; do \
     423          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     424          f=$(am__strip_dir) \
     425          echo " $(addlibsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(addlibsdir)/$$f'"; \
     426          $(addlibsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(addlibsdir)/$$f"; \
     427        done
     428
     429uninstall-addlibsDATA:
     430        @$(NORMAL_UNINSTALL)
     431        @list='$(addlibs_DATA)'; for p in $$list; do \
     432          f=$(am__strip_dir) \
     433          echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
     434          rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
     435        done
    430436
    431437ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    480486        $(am__remove_distdir)
    481487        mkdir $(distdir)
    482         $(mkdir_p) $(distdir)/../../BuildTools
     488        $(mkdir_p) $(distdir)/. $(distdir)/../../BuildTools
    483489        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    484490        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    606612check-am: all-am
    607613check: check-am
    608 all-am: Makefile $(LTLIBRARIES)
     614all-am: Makefile $(LTLIBRARIES) $(DATA)
    609615installdirs:
    610         for dir in "$(DESTDIR)$(libdir)"; do \
     616        for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)"; do \
    611617          test -z "$$dir" || $(mkdir_p) "$$dir"; \
    612618        done
     
    641647clean: clean-am
    642648
    643 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
    644         clean-noinstLTLIBRARIES mostlyclean-am
     649clean-am: clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
     650        mostlyclean-am
    645651
    646652distclean: distclean-am
     
    661667info-am:
    662668
    663 install-data-am:
    664 
    665 install-exec-am: install-exec-local install-libLTLIBRARIES
     669install-data-am: install-addlibsDATA install-thirdpartylibLTLIBRARIES
     670
     671install-exec-am: install-exec-local
    666672
    667673install-info: install-info-am
     
    691697ps-am:
    692698
    693 uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
    694         uninstall-local
     699uninstall-am: uninstall-addlibsDATA uninstall-info-am uninstall-local \
     700        uninstall-thirdpartylibLTLIBRARIES
    695701
    696702.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
    697         clean-generic clean-libLTLIBRARIES clean-libtool \
    698         clean-noinstLTLIBRARIES ctags dist dist-all dist-bzip2 \
    699         dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
    700         distclean-compile distclean-generic distclean-libtool \
    701         distclean-tags distcleancheck distdir distuninstallcheck dvi \
    702         dvi-am html html-am info info-am install install-am \
     703        clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
     704        ctags dist dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ \
     705        dist-zip distcheck distclean distclean-compile \
     706        distclean-generic distclean-libtool distclean-tags \
     707        distcleancheck distdir distuninstallcheck dvi dvi-am html \
     708        html-am info info-am install install-addlibsDATA install-am \
    703709        install-data install-data-am install-exec install-exec-am \
    704         install-exec-local install-info install-info-am \
    705         install-libLTLIBRARIES install-man install-strip installcheck \
     710        install-exec-local install-info install-info-am install-man \
     711        install-strip install-thirdpartylibLTLIBRARIES installcheck \
    706712        installcheck-am installdirs maintainer-clean \
    707713        maintainer-clean-generic mostlyclean mostlyclean-compile \
    708714        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
    709         tags uninstall uninstall-am uninstall-info-am \
    710         uninstall-libLTLIBRARIES uninstall-local
     715        tags uninstall uninstall-addlibsDATA uninstall-am \
     716        uninstall-info-am uninstall-local \
     717        uninstall-thirdpartylibLTLIBRARIES
    711718
    712719
     
    714721#  Generating a shared library for delay loading
    715722
    716 @EXTRA_SHARED_COMMAND_TRUE@$(HSL_SHARED_LIB): $(noinst_LTLIBRARIES) $(DEFFILE)
     723@EXTRA_SHARED_COMMAND_TRUE@$(HSL_SHARED_LIB): $(thirdpartylib_LTLIBRARIES) $(DEFFILE)
    717724@EXTRA_SHARED_COMMAND_TRUE@     bla=; \
    718725@EXTRA_SHARED_COMMAND_TRUE@     for i in $(nodist_libcoinhsl_la_SOURCES); do \
     
    738745
    739746@EXTRA_SHARED_COMMAND_TRUE@install-exec-local: $(HSL_SHARED_LIB)
    740 @EXTRA_SHARED_COMMAND_TRUE@     test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
    741 @EXTRA_SHARED_COMMAND_TRUE@     $(libLTLIBRARIES_INSTALL) $(HSL_SHARED_LIB) "$(DESTDIR)$(libdir)/$(HSL_SHARED_LIB)"
     747@EXTRA_SHARED_COMMAND_TRUE@     test -z "$(DESTDIR)$(libdir)/ThirdParty" || $(mkdir_p) "$(DESTDIR)$(libdir)/ThirdParty"
     748@EXTRA_SHARED_COMMAND_TRUE@     $(libLTLIBRARIES_INSTALL) $(HSL_SHARED_LIB) "$(DESTDIR)$(libdir)/ThirdParty/$(HSL_SHARED_LIB)"
    742749
    743750@EXTRA_SHARED_COMMAND_TRUE@uninstall-local:
    744 @EXTRA_SHARED_COMMAND_TRUE@     rm -f "$(DESTDIR)$(libdir)/$(HSL_SHARED_LIB)"
     751@EXTRA_SHARED_COMMAND_TRUE@     rm -f "$(DESTDIR)$(libdir)/ThirdParty/$(HSL_SHARED_LIB)"
    745752
    746753install-doc: $(DocFiles)
  • ThirdParty/HSL/trunk/configure

    r1386 r1388  
    2049520495#############################################################################
    2049620496
    20497           ac_config_files="$ac_config_files Makefile"
     20497                    ac_config_files="$ac_config_files Makefile hsl_addlibs.txt"
    2049820498
    2049920499
     
    2120821208  # Handling of arguments.
    2120921209  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     21210  "hsl_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES hsl_addlibs.txt" ;;
    2121021211  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    2121121212  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  • ThirdParty/HSL/trunk/configure.ac

    r1185 r1388  
    1 # Copyright (C) 2006 International Business Machines.
     1# Copyright (C) 2006, 2009 International Business Machines.
    22# All Rights Reserved.
    33# This file is distributed under the Common Public License.
     
    158158#############################################################################
    159159
    160 AC_CONFIG_FILES([Makefile])
     160AC_CONFIG_FILES([Makefile hsl_addlibs.txt])
    161161
    162162AC_COIN_FINALIZE
  • ThirdParty/Metis/trunk/Makefile.am

    r1270 r1388  
    99EXTRA_DIST = get.metis INSTALL.METIS
    1010
    11 if SKIPMAKE
    12   noinst_LTLIBRARIES =
    13 else
    14   noinst_LTLIBRARIES = libcoinmetis.la
    15 endif
     11thirdpartylibdir = $(prefix)/lib/ThirdParty
     12thirdpartylib_LTLIBRARIES = libcoinmetis.la
    1613
    1714METISDIR = @METISDIR@
    1815
    19 nodist_libcoinmetis_la_SOURCES = \
     16libcoinmetis_la_SOURCES = \
    2017        $(METISDIR)/Lib/balance.c \
    2118        $(METISDIR)/Lib/bucketsort.c \
     
    7673        -I`$(CYGPATH_W) $(srcdir)/$(METISDIR)/Lib`
    7774
     75libcoinmetis_la_LDFLAGS = $(LT_LDFLAGS)
    7876
    79 libcoinmetis_la_LDFLAGS = $(LT_LDFLAGS)
     77thirdpartyincludedir = $(includedir)/coin/ThirdParty
     78thirdpartyinclude_HEADERS = \
     79  $(METISDIR)/Lib/defs.h \
     80  $(METISDIR)/Lib/macros.h \
     81  $(METISDIR)/Lib/metis.h \
     82  $(METISDIR)/Lib/proto.h \
     83  $(METISDIR)/Lib/rename.h \
     84  $(METISDIR)/Lib/struct.h
     85
     86addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Metis
     87addlibs_DATA = README metis_addlibs.txt
    8088
    8189# Suppress default defines from autoheader
  • ThirdParty/Metis/trunk/Makefile.in

    r1270 r1388  
    2828#                    Documentation installation                        #
    2929########################################################################
     30
     31
    3032
    3133srcdir = @srcdir@
     
    5153build_triplet = @build@
    5254host_triplet = @host@
    53 DIST_COMMON = $(am__configure_deps) \
     55DIST_COMMON = README $(am__configure_deps) \
    5456        $(srcdir)/../../BuildTools/Makemain.inc \
    5557        $(srcdir)/../../config.guess $(srcdir)/../../config.sub \
     
    5759        $(srcdir)/../../ltmain.sh $(srcdir)/../../missing \
    5860        $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
     61        $(srcdir)/metis_addlibs.txt.in $(thirdpartyinclude_HEADERS) \
    5962        $(top_srcdir)/configure
    6063@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
     
    6972 configure.lineno configure.status.lineno
    7073mkinstalldirs = $(install_sh) -d
    71 CONFIG_CLEAN_FILES =
    72 LTLIBRARIES = $(noinst_LTLIBRARIES)
     74CONFIG_CLEAN_FILES = metis_addlibs.txt
     75am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     76am__vpath_adj = case $$p in \
     77    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     78    *) f=$$p;; \
     79  esac;
     80am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     81am__installdirs = "$(DESTDIR)$(thirdpartylibdir)" \
     82        "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"
     83thirdpartylibLTLIBRARIES_INSTALL = $(INSTALL)
     84LTLIBRARIES = $(thirdpartylib_LTLIBRARIES)
    7385libcoinmetis_la_LIBADD =
    74 nodist_libcoinmetis_la_OBJECTS = balance.lo bucketsort.lo ccgraph.lo \
     86am_libcoinmetis_la_OBJECTS = balance.lo bucketsort.lo ccgraph.lo \
    7587        coarsen.lo compress.lo debug.lo estmem.lo fm.lo fortran.lo \
    7688        frename.lo graph.lo initpart.lo kmetis.lo kvmetis.lo kwayfm.lo \
     
    8395        separator.lo sfm.lo srefine.lo stat.lo subdomains.lo timing.lo \
    8496        util.lo
    85 libcoinmetis_la_OBJECTS = $(nodist_libcoinmetis_la_OBJECTS)
    86 @SKIPMAKE_FALSE@am_libcoinmetis_la_rpath =
     97libcoinmetis_la_OBJECTS = $(am_libcoinmetis_la_OBJECTS)
    8798depcomp = $(SHELL) $(top_srcdir)/../../depcomp
    8899am__depfiles_maybe = depfiles
     
    95106LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
    96107        $(AM_LDFLAGS) $(LDFLAGS) -o $@
    97 SOURCES = $(nodist_libcoinmetis_la_SOURCES)
    98 DIST_SOURCES =
     108SOURCES = $(libcoinmetis_la_SOURCES)
     109DIST_SOURCES = $(libcoinmetis_la_SOURCES)
     110addlibsDATA_INSTALL = $(INSTALL_DATA)
     111DATA = $(addlibs_DATA)
     112thirdpartyincludeHEADERS_INSTALL = $(INSTALL_HEADER)
     113HEADERS = $(thirdpartyinclude_HEADERS)
    99114ETAGS = etags
    100115CTAGS = ctags
     
    129144CDEFS = @CDEFS@
    130145CFLAGS = @CFLAGS@
    131 COIN_HAS_METIS_FALSE = @COIN_HAS_METIS_FALSE@
    132 COIN_HAS_METIS_TRUE = @COIN_HAS_METIS_TRUE@
    133146CPP = @CPP@
    134147CPPFLAGS = @CPPFLAGS@
     
    171184MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
    172185MAKEINFO = @MAKEINFO@
    173 MAKEOKFILE = @MAKEOKFILE@
    174186METISDIR = @METISDIR@
    175187MPICC = @MPICC@
     
    187199SET_MAKE = @SET_MAKE@
    188200SHELL = @SHELL@
    189 SKIPMAKE_FALSE = @SKIPMAKE_FALSE@
    190 SKIPMAKE_TRUE = @SKIPMAKE_TRUE@
    191201STRIP = @STRIP@
    192202VERSION = @VERSION@
     
    247257AUTOMAKE_OPTIONS = foreign
    248258EXTRA_DIST = get.metis INSTALL.METIS $(am__append_1)
    249 @SKIPMAKE_FALSE@noinst_LTLIBRARIES = libcoinmetis.la
    250 @SKIPMAKE_TRUE@noinst_LTLIBRARIES =
    251 nodist_libcoinmetis_la_SOURCES = \
     259thirdpartylibdir = $(prefix)/lib/ThirdParty
     260thirdpartylib_LTLIBRARIES = libcoinmetis.la
     261libcoinmetis_la_SOURCES = \
    252262        $(METISDIR)/Lib/balance.c \
    253263        $(METISDIR)/Lib/bucketsort.c \
     
    308318
    309319libcoinmetis_la_LDFLAGS = $(LT_LDFLAGS)
     320thirdpartyincludedir = $(includedir)/coin/ThirdParty
     321thirdpartyinclude_HEADERS = \
     322  $(METISDIR)/Lib/defs.h \
     323  $(METISDIR)/Lib/macros.h \
     324  $(METISDIR)/Lib/metis.h \
     325  $(METISDIR)/Lib/proto.h \
     326  $(METISDIR)/Lib/rename.h \
     327  $(METISDIR)/Lib/struct.h
     328
     329addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Metis
     330addlibs_DATA = README metis_addlibs.txt
    310331
    311332########################################################################
     
    355376$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    356377        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    357 
    358 clean-noinstLTLIBRARIES:
    359         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
    360         @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     378metis_addlibs.txt: $(top_builddir)/config.status $(srcdir)/metis_addlibs.txt.in
     379        cd $(top_builddir) && $(SHELL) ./config.status $@
     380install-thirdpartylibLTLIBRARIES: $(thirdpartylib_LTLIBRARIES)
     381        @$(NORMAL_INSTALL)
     382        test -z "$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"
     383        @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     384          if test -f $$p; then \
     385            f=$(am__strip_dir) \
     386            echo " $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(thirdpartylibdir)/$$f'"; \
     387            $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(thirdpartylibdir)/$$f"; \
     388          else :; fi; \
     389        done
     390
     391uninstall-thirdpartylibLTLIBRARIES:
     392        @$(NORMAL_UNINSTALL)
     393        @set -x; list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     394          p=$(am__strip_dir) \
     395          echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(thirdpartylibdir)/$$p'"; \
     396          $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(thirdpartylibdir)/$$p"; \
     397        done
     398
     399clean-thirdpartylibLTLIBRARIES:
     400        -test -z "$(thirdpartylib_LTLIBRARIES)" || rm -f $(thirdpartylib_LTLIBRARIES)
     401        @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
    361402          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    362403          test "$$dir" != "$$p" || dir=.; \
     
    365406        done
    366407libcoinmetis.la: $(libcoinmetis_la_OBJECTS) $(libcoinmetis_la_DEPENDENCIES)
    367         $(LINK) $(am_libcoinmetis_la_rpath) $(libcoinmetis_la_LDFLAGS) $(libcoinmetis_la_OBJECTS) $(libcoinmetis_la_LIBADD) $(LIBS)
     408        $(LINK) -rpath $(thirdpartylibdir) $(libcoinmetis_la_LDFLAGS) $(libcoinmetis_la_OBJECTS) $(libcoinmetis_la_LIBADD) $(LIBS)
    368409
    369410mostlyclean-compile:
     
    820861        -rm -f libtool
    821862uninstall-info-am:
     863install-addlibsDATA: $(addlibs_DATA)
     864        @$(NORMAL_INSTALL)
     865        test -z "$(addlibsdir)" || $(mkdir_p) "$(DESTDIR)$(addlibsdir)"
     866        @list='$(addlibs_DATA)'; for p in $$list; do \
     867          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     868          f=$(am__strip_dir) \
     869          echo " $(addlibsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(addlibsdir)/$$f'"; \
     870          $(addlibsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(addlibsdir)/$$f"; \
     871        done
     872
     873uninstall-addlibsDATA:
     874        @$(NORMAL_UNINSTALL)
     875        @list='$(addlibs_DATA)'; for p in $$list; do \
     876          f=$(am__strip_dir) \
     877          echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
     878          rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
     879        done
     880install-thirdpartyincludeHEADERS: $(thirdpartyinclude_HEADERS)
     881        @$(NORMAL_INSTALL)
     882        test -z "$(thirdpartyincludedir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartyincludedir)"
     883        @list='$(thirdpartyinclude_HEADERS)'; for p in $$list; do \
     884          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     885          f=$(am__strip_dir) \
     886          echo " $(thirdpartyincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(thirdpartyincludedir)/$$f'"; \
     887          $(thirdpartyincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(thirdpartyincludedir)/$$f"; \
     888        done
     889
     890uninstall-thirdpartyincludeHEADERS:
     891        @$(NORMAL_UNINSTALL)
     892        @list='$(thirdpartyinclude_HEADERS)'; for p in $$list; do \
     893          f=$(am__strip_dir) \
     894          echo " rm -f '$(DESTDIR)$(thirdpartyincludedir)/$$f'"; \
     895          rm -f "$(DESTDIR)$(thirdpartyincludedir)/$$f"; \
     896        done
    822897
    823898ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    872947        $(am__remove_distdir)
    873948        mkdir $(distdir)
    874         $(mkdir_p) $(distdir)/../.. $(distdir)/../../BuildTools
     949        $(mkdir_p) $(distdir)/$(METISDIR)/Lib $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools
    875950        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    876951        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    9981073check-am: all-am
    9991074check: check-am
    1000 all-am: Makefile $(LTLIBRARIES)
     1075all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
    10011076installdirs:
     1077        for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \
     1078          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     1079        done
    10021080install: install-am
    10031081install-exec: install-exec-am
     
    10271105clean: clean-am
    10281106
    1029 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     1107clean-am: clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
    10301108        mostlyclean-am
    10311109
     
    10471125info-am:
    10481126
    1049 install-data-am:
     1127install-data-am: install-addlibsDATA install-thirdpartyincludeHEADERS \
     1128        install-thirdpartylibLTLIBRARIES
    10501129
    10511130install-exec-am:
     
    10771156ps-am:
    10781157
    1079 uninstall-am: uninstall-info-am
     1158uninstall-am: uninstall-addlibsDATA uninstall-info-am \
     1159        uninstall-thirdpartyincludeHEADERS \
     1160        uninstall-thirdpartylibLTLIBRARIES
    10801161
    10811162.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
    1082         clean-generic clean-libtool clean-noinstLTLIBRARIES ctags dist \
    1083         dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
    1084         distcheck distclean distclean-compile distclean-generic \
    1085         distclean-libtool distclean-tags distcleancheck distdir \
    1086         distuninstallcheck dvi dvi-am html html-am info info-am \
    1087         install install-am install-data install-data-am install-exec \
    1088         install-exec-am install-info install-info-am install-man \
    1089         install-strip installcheck installcheck-am installdirs \
    1090         maintainer-clean maintainer-clean-generic mostlyclean \
    1091         mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
    1092         pdf pdf-am ps ps-am tags uninstall uninstall-am \
    1093         uninstall-info-am
     1163        clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
     1164        ctags dist dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ \
     1165        dist-zip distcheck distclean distclean-compile \
     1166        distclean-generic distclean-libtool distclean-tags \
     1167        distcleancheck distdir distuninstallcheck dvi dvi-am html \
     1168        html-am info info-am install install-addlibsDATA install-am \
     1169        install-data install-data-am install-exec install-exec-am \
     1170        install-info install-info-am install-man install-strip \
     1171        install-thirdpartyincludeHEADERS \
     1172        install-thirdpartylibLTLIBRARIES installcheck installcheck-am \
     1173        installdirs maintainer-clean maintainer-clean-generic \
     1174        mostlyclean mostlyclean-compile mostlyclean-generic \
     1175        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
     1176        uninstall-addlibsDATA uninstall-am uninstall-info-am \
     1177        uninstall-thirdpartyincludeHEADERS \
     1178        uninstall-thirdpartylibLTLIBRARIES
    10941179
    10951180
  • ThirdParty/Metis/trunk/configure

    r1386 r1388  
    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 ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE 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 MPICC EGREP 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 F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE MAKEOKFILE SKIPMAKE_TRUE SKIPMAKE_FALSE METISDIR LIBEXT VPATH_DISTCLEANFILES 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 ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE 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 MPICC EGREP 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 F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS METISDIR LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    10841084  --with-tags[=TAGS]
    10851085                          include additional configurations [automatic]
    1086   --with-metis            specify flags to link with METIS library
    10871086
    10881087Some influential environment variables:
     
    47274726*-*-irix6*)
    47284727  # Find out which ABI we are using.
    4729   echo '#line 4729 "configure"' > conftest.$ac_ext
     4728  echo '#line 4728 "configure"' > conftest.$ac_ext
    47304729  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    47314730  (eval $ac_compile) 2>&5
     
    63266325
    63276326# Provide some information about the compiler.
    6328 echo "$as_me:6328:" \
     6327echo "$as_me:6327:" \
    63296328     "checking for Fortran 77 compiler version" >&5
    63306329ac_compiler=`set X $ac_compile; echo $2`
     
    73937392   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    73947393   -e 's:$: $lt_compiler_flag:'`
    7395    (eval echo "\"\$as_me:7395: $lt_compile\"" >&5)
     7394   (eval echo "\"\$as_me:7394: $lt_compile\"" >&5)
    73967395   (eval "$lt_compile" 2>conftest.err)
    73977396   ac_status=$?
    73987397   cat conftest.err >&5
    7399    echo "$as_me:7399: \$? = $ac_status" >&5
     7398   echo "$as_me:7398: \$? = $ac_status" >&5
    74007399   if (exit $ac_status) && test -s "$ac_outfile"; then
    74017400     # The compiler can only warn and ignore the option if not recognized
     
    76617660   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    76627661   -e 's:$: $lt_compiler_flag:'`
    7663    (eval echo "\"\$as_me:7663: $lt_compile\"" >&5)
     7662   (eval echo "\"\$as_me:7662: $lt_compile\"" >&5)
    76647663   (eval "$lt_compile" 2>conftest.err)
    76657664   ac_status=$?
    76667665   cat conftest.err >&5
    7667    echo "$as_me:7667: \$? = $ac_status" >&5
     7666   echo "$as_me:7666: \$? = $ac_status" >&5
    76687667   if (exit $ac_status) && test -s "$ac_outfile"; then
    76697668     # The compiler can only warn and ignore the option if not recognized
     
    77657764   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    77667765   -e 's:$: $lt_compiler_flag:'`
    7767    (eval echo "\"\$as_me:7767: $lt_compile\"" >&5)
     7766   (eval echo "\"\$as_me:7766: $lt_compile\"" >&5)
    77687767   (eval "$lt_compile" 2>out/conftest.err)
    77697768   ac_status=$?
    77707769   cat out/conftest.err >&5
    7771    echo "$as_me:7771: \$? = $ac_status" >&5
     7770   echo "$as_me:7770: \$? = $ac_status" >&5
    77727771   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    77737772   then
     
    1011010109  lt_status=$lt_dlunknown
    1011110110  cat > conftest.$ac_ext <<EOF
    10112 #line 10112 "configure"
     10111#line 10111 "configure"
    1011310112#include "confdefs.h"
    1011410113
     
    1021010209  lt_status=$lt_dlunknown
    1021110210  cat > conftest.$ac_ext <<EOF
    10212 #line 10212 "configure"
     10211#line 10211 "configure"
    1021310212#include "confdefs.h"
    1021410213
     
    1255412553   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1255512554   -e 's:$: $lt_compiler_flag:'`
    12556    (eval echo "\"\$as_me:12556: $lt_compile\"" >&5)
     12555   (eval echo "\"\$as_me:12555: $lt_compile\"" >&5)
    1255712556   (eval "$lt_compile" 2>conftest.err)
    1255812557   ac_status=$?
    1255912558   cat conftest.err >&5
    12560    echo "$as_me:12560: \$? = $ac_status" >&5
     12559   echo "$as_me:12559: \$? = $ac_status" >&5
    1256112560   if (exit $ac_status) && test -s "$ac_outfile"; then
    1256212561     # The compiler can only warn and ignore the option if not recognized
     
    1265812657   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1265912658   -e 's:$: $lt_compiler_flag:'`
    12660    (eval echo "\"\$as_me:12660: $lt_compile\"" >&5)
     12659   (eval echo "\"\$as_me:12659: $lt_compile\"" >&5)
    1266112660   (eval "$lt_compile" 2>out/conftest.err)
    1266212661   ac_status=$?
    1266312662   cat out/conftest.err >&5
    12664    echo "$as_me:12664: \$? = $ac_status" >&5
     12663   echo "$as_me:12663: \$? = $ac_status" >&5
    1266512664   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1266612665   then
     
    1422814227   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1422914228   -e 's:$: $lt_compiler_flag:'`
    14230    (eval echo "\"\$as_me:14230: $lt_compile\"" >&5)
     14229   (eval echo "\"\$as_me:14229: $lt_compile\"" >&5)
    1423114230   (eval "$lt_compile" 2>conftest.err)
    1423214231   ac_status=$?
    1423314232   cat conftest.err >&5
    14234    echo "$as_me:14234: \$? = $ac_status" >&5
     14233   echo "$as_me:14233: \$? = $ac_status" >&5
    1423514234   if (exit $ac_status) && test -s "$ac_outfile"; then
    1423614235     # The compiler can only warn and ignore the option if not recognized
     
    1433214331   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1433314332   -e 's:$: $lt_compiler_flag:'`
    14334    (eval echo "\"\$as_me:14334: $lt_compile\"" >&5)
     14333   (eval echo "\"\$as_me:14333: $lt_compile\"" >&5)
    1433514334   (eval "$lt_compile" 2>out/conftest.err)
    1433614335   ac_status=$?
    1433714336   cat out/conftest.err >&5
    14338    echo "$as_me:14338: \$? = $ac_status" >&5
     14337   echo "$as_me:14337: \$? = $ac_status" >&5
    1433914338   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1434014339   then
     
    1653916538   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1654016539   -e 's:$: $lt_compiler_flag:'`
    16541    (eval echo "\"\$as_me:16541: $lt_compile\"" >&5)
     16540   (eval echo "\"\$as_me:16540: $lt_compile\"" >&5)
    1654216541   (eval "$lt_compile" 2>conftest.err)
    1654316542   ac_status=$?
    1654416543   cat conftest.err >&5
    16545    echo "$as_me:16545: \$? = $ac_status" >&5
     16544   echo "$as_me:16544: \$? = $ac_status" >&5
    1654616545   if (exit $ac_status) && test -s "$ac_outfile"; then
    1654716546     # The compiler can only warn and ignore the option if not recognized
     
    1680716806   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1680816807   -e 's:$: $lt_compiler_flag:'`
    16809    (eval echo "\"\$as_me:16809: $lt_compile\"" >&5)
     16808   (eval echo "\"\$as_me:16808: $lt_compile\"" >&5)
    1681016809   (eval "$lt_compile" 2>conftest.err)
    1681116810   ac_status=$?
    1681216811   cat conftest.err >&5
    16813    echo "$as_me:16813: \$? = $ac_status" >&5
     16812   echo "$as_me:16812: \$? = $ac_status" >&5
    1681416813   if (exit $ac_status) && test -s "$ac_outfile"; then
    1681516814     # The compiler can only warn and ignore the option if not recognized
     
    1691116910   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1691216911   -e 's:$: $lt_compiler_flag:'`
    16913    (eval echo "\"\$as_me:16913: $lt_compile\"" >&5)
     16912   (eval echo "\"\$as_me:16912: $lt_compile\"" >&5)
    1691416913   (eval "$lt_compile" 2>out/conftest.err)
    1691516914   ac_status=$?
    1691616915   cat out/conftest.err >&5
    16917    echo "$as_me:16917: \$? = $ac_status" >&5
     16916   echo "$as_me:16916: \$? = $ac_status" >&5
    1691816917   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1691916918   then
     
    1981419813
    1981519814# ## Check if Metis is already provided by user
    19816 
    19817 case "$PACKAGE_NAME" in
    19818   ThirdParty*)
    19819     coin_metisobjdir=../Metis
    19820     ;;
    19821   *)
    19822     coin_metisobjdir=../ThirdParty/Metis
    19823     ;;
    19824 esac
    19825 
    19826 MAKEOKFILE=.MakeOk
    19827 
    19828 #check if user provides a METIS library (that works)
    19829 ac_ext=c
    19830 ac_cpp='$CPP $CPPFLAGS'
    19831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    19832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    19833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    19834 
    19835 
    19836 # Check whether --with-metis or --without-metis was given.
    19837 if test "${with_metis+set}" = set; then
    19838   withval="$with_metis"
    19839   METISLIB="$withval"; coin_has_metis=true
    19840 else
    19841   coin_has_metis=no
    19842 fi;
    19843 
    19844 if test $coin_has_metis = true; then
    19845   coin_save_LIBS="$LIBS"
    19846   LIBS="$METISLIB $ADDLIBS"
    19847   echo "$as_me:$LINENO: checking whether symbol metis_nodend is available with " >&5
    19848 echo $ECHO_N "checking whether symbol metis_nodend is available with ... $ECHO_C" >&6
    19849   cat >conftest.$ac_ext <<_ACEOF
    19850 /* confdefs.h.  */
    19851 _ACEOF
    19852 cat confdefs.h >>conftest.$ac_ext
    19853 cat >>conftest.$ac_ext <<_ACEOF
    19854 /* end confdefs.h.  */
    19855 
    19856 int
    19857 main ()
    19858 {
    19859 metis_nodend()
    19860   ;
    19861   return 0;
    19862 }
    19863 _ACEOF
    19864 rm -f conftest.$ac_objext conftest$ac_exeext
    19865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    19866   (eval $ac_link) 2>conftest.er1
    19867   ac_status=$?
    19868   grep -v '^ *+' conftest.er1 >conftest.err
    19869   rm -f conftest.er1
    19870   cat conftest.err >&5
    19871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19872   (exit $ac_status); } &&
    19873          { ac_try='test -z "$ac_c_werror_flag"
    19874                          || test ! -s conftest.err'
    19875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19876   (eval $ac_try) 2>&5
    19877   ac_status=$?
    19878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19879   (exit $ac_status); }; } &&
    19880          { ac_try='test -s conftest$ac_exeext'
    19881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19882   (eval $ac_try) 2>&5
    19883   ac_status=$?
    19884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19885   (exit $ac_status); }; }; then
    19886   echo "$as_me:$LINENO: result: yes" >&5
    19887 echo "${ECHO_T}yes" >&6
    19888 else
    19889   echo "$as_me: failed program was:" >&5
    19890 sed 's/^/| /' conftest.$ac_ext >&5
    19891 
    19892 echo "$as_me:$LINENO: result: no" >&5
    19893 echo "${ECHO_T}no" >&6
    19894       { { echo "$as_me:$LINENO: error: User-supplied METIS library does not work" >&5
    19895 echo "$as_me: error: User-supplied METIS library does not work" >&2;}
    19896    { (exit 1); exit 1; }; }
    19897 fi
    19898 rm -f conftest.err conftest.$ac_objext \
    19899       conftest$ac_exeext conftest.$ac_ext
    19900   LIBS="$coin_save_LIBS"
    19901 fi
    19902 ac_ext=c
    19903 ac_cpp='$CPP $CPPFLAGS'
    19904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    19905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    19906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    19907 
    19908 
    19909 if test "$coin_has_metis" = "true"; then  # user provided metis library
    19910   use_metis=yes
    19911   coin_has_metis=yes
    19912 
    19913   ADDLIBS="$METISLIB $ADDLIBS"
    19914 
    19915 else # no user provided library, so we try to build our own
    19916   use_metis=BUILD
    19917 
    19918   # Check if the METIS' ThirdParty project has been configured
    19919   if test "$PACKAGE_NAME" != ThirdPartyMetis; then
    19920     if test -r $coin_metisobjdir/.MakeOk; then
    19921       use_metis=BUILD
    19922     else
    19923       use_metis=
    19924     fi
    19925   fi
    19926 
    19927   if test x"$use_metis" != x; then
    19928     coin_has_metis=yes
    19929   else
    19930     coin_has_metis=no
    19931   fi
    19932   echo "$as_me:$LINENO: checking whether METIS is available" >&5
    19933 echo $ECHO_N "checking whether METIS is available... $ECHO_C" >&6
    19934   echo "$as_me:$LINENO: result: $coin_has_metis" >&5
    19935 echo "${ECHO_T}$coin_has_metis" >&6
    19936 fi
    19937 
    19938 
    19939 
    19940 if test $coin_has_metis = yes; then
    19941   COIN_HAS_METIS_TRUE=
    19942   COIN_HAS_METIS_FALSE='#'
    19943 else
    19944   COIN_HAS_METIS_TRUE='#'
    19945   COIN_HAS_METIS_FALSE=
    19946 fi
    19947 
    19948 if test $coin_has_metis = yes; then
    19949 
    19950 cat >>confdefs.h <<\_ACEOF
    19951 #define COIN_HAS_METIS 1
    19952 _ACEOF
    19953 
    19954 fi
    19955 
    19956 
    19957 
    19958 rm -f $MAKEOKFILE
    19959 if test $coin_has_metis = yes && test "$use_metis" != BUILD; then
    19960   { echo "$as_me:$LINENO: The Metis sources don't need to be compiled" >&5
    19961 echo "$as_me: The Metis sources don't need to be compiled" >&6;}
    19962   MAKEOKFILE=
    19963 else
    19964   touch $MAKEOKFILE
    19965 fi
    19966 
    19967 
    19968 
    19969 if test -z "$MAKEOKFILE"; then
    19970   SKIPMAKE_TRUE=
    19971   SKIPMAKE_FALSE='#'
    19972 else
    19973   SKIPMAKE_TRUE='#'
    19974   SKIPMAKE_FALSE=
    19975 fi
    19976 
     19815# AC_COIN_HAS_METIS
     19816
     19817#rm -f $MAKEOKFILE
     19818#if test $coin_has_metis = yes && test "$use_metis" != BUILD; then
     19819#  AC_MSG_NOTICE([The Metis sources don't need to be compiled])
     19820#  MAKEOKFILE=
     19821#else
     19822#  touch $MAKEOKFILE
     19823#fi
     19824#AC_SUBST(MAKEOKFILE)
     19825#AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    1997719826
    1997819827# We need to create a dummy header file for Windows
     
    2008719936
    2008819937
    20089 
    2009019938METISDIR=metis-4.0
    2009119939
    2009219940
    20093           ac_config_files="$ac_config_files Makefile"
     19941                    ac_config_files="$ac_config_files Makefile metis_addlibs.txt"
    2009419942
    2009519943
     
    2031220160Usually this means the macro was only invoked conditionally." >&5
    2031320161echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
    20314 Usually this means the macro was only invoked conditionally." >&2;}
    20315    { (exit 1); exit 1; }; }
    20316 fi
    20317 if test -z "${COIN_HAS_METIS_TRUE}" && test -z "${COIN_HAS_METIS_FALSE}"; then
    20318   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS\" was never defined.
    20319 Usually this means the macro was only invoked conditionally." >&5
    20320 echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined.
    20321 Usually this means the macro was only invoked conditionally." >&2;}
    20322    { (exit 1); exit 1; }; }
    20323 fi
    20324 if test -z "${SKIPMAKE_TRUE}" && test -z "${SKIPMAKE_FALSE}"; then
    20325   { { echo "$as_me:$LINENO: error: conditional \"SKIPMAKE\" was never defined.
    20326 Usually this means the macro was only invoked conditionally." >&5
    20327 echo "$as_me: error: conditional \"SKIPMAKE\" was never defined.
    2032820162Usually this means the macro was only invoked conditionally." >&2;}
    2032920163   { (exit 1); exit 1; }; }
     
    2076920603  # Handling of arguments.
    2077020604  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     20605  "metis_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES metis_addlibs.txt" ;;
    2077120606  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    2077220607  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     
    2094820783s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2094920784s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
    20950 s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t
    20951 s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t
    20952 s,@MAKEOKFILE@,$MAKEOKFILE,;t t
    20953 s,@SKIPMAKE_TRUE@,$SKIPMAKE_TRUE,;t t
    20954 s,@SKIPMAKE_FALSE@,$SKIPMAKE_FALSE,;t t
    2095520785s,@METISDIR@,$METISDIR,;t t
    2095620786s,@LIBEXT@,$LIBEXT,;t t
  • ThirdParty/Metis/trunk/configure.ac

    r1301 r1388  
    5555
    5656# ## Check if Metis is already provided by user
    57 AC_COIN_HAS_METIS
     57# AC_COIN_HAS_METIS
    5858
    59 rm -f $MAKEOKFILE
    60 if test $coin_has_metis = yes && test "$use_metis" != BUILD; then
    61   AC_MSG_NOTICE([The Metis sources don't need to be compiled])
    62   MAKEOKFILE=
    63 else
    64   touch $MAKEOKFILE
    65 fi
    66 AC_SUBST(MAKEOKFILE)
    67 AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
     59#rm -f $MAKEOKFILE
     60#if test $coin_has_metis = yes && test "$use_metis" != BUILD; then
     61#  AC_MSG_NOTICE([The Metis sources don't need to be compiled])
     62#  MAKEOKFILE=
     63#else
     64#  touch $MAKEOKFILE
     65#fi
     66#AC_SUBST(MAKEOKFILE)
     67#AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    6868
    6969# We need to create a dummy header file for Windows
     
    7979# By defining __VC__, we can make Metis use an alternative function
    8080AC_CHECK_FUNC(drand48,,[CFLAGS="$CFLAGS -D__VC__"])
    81      
    8281
    8382METISDIR=metis-4.0
    8483AC_SUBST(METISDIR)
    8584
    86 AC_CONFIG_FILES([Makefile])
     85AC_CONFIG_FILES([Makefile metis_addlibs.txt])
    8786
    8887AC_COIN_FINALIZE
  • ThirdParty/Mumps/trunk/Makefile.am

    r1267 r1388  
    1 # Copyright (C) 2007, 2008 International Business Machines and others.
     1# Copyright (C) 2007-2009 International Business Machines and others.
    22# All Rights Reserved.
    33# This file is distributed under the Common Public License.
     
    99EXTRA_DIST = get.mumps INSTALL.MUMPS
    1010
    11 if SKIPMAKE
    12   noinst_LTLIBRARIES =
    13 else
    14   noinst_LTLIBRARIES = libcoinmumps.la
    15 endif
     11thirdpartylibdir = $(prefix)/lib/ThirdParty
     12thirdpartylib_LTLIBRARIES = libcoinmumps.la
    1613
    1714MUMPSDIR = @MUMPSDIR@
     
    8784FFLAGS += $(MY_FDEFS)
    8885
     86thirdpartyincludedir = $(includedir)/coin/ThirdParty
     87thirdpartyinclude_HEADERS = \
     88  $(MUMPSDIR)/include/dmumps_c.h \
     89  $(MUMPSDIR)/include/mumps_compat.h \
     90  $(MUMPSDIR)/include/mumps_c_types.h
     91
     92addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Mumps
     93addlibs_DATA = README mumps_addlibs.txt
     94
    8995########################################################################
    9096#                         Maintainer Stuff                             #
  • ThirdParty/Mumps/trunk/Makefile.in

    r1267 r1388  
    1515@SET_MAKE@
    1616
    17 # Copyright (C) 2007, 2008 International Business Machines and others.
     17# Copyright (C) 2007-2009 International Business Machines and others.
    1818# All Rights Reserved.
    1919# This file is distributed under the Common Public License.
     
    2828#                    Documentation installation                        #
    2929########################################################################
     30
     31
    3032
    3133srcdir = @srcdir@
     
    5153build_triplet = @build@
    5254host_triplet = @host@
    53 DIST_COMMON = $(am__configure_deps) \
     55DIST_COMMON = README $(am__configure_deps) \
    5456        $(srcdir)/../../BuildTools/Makemain.inc $(srcdir)/Makefile.am \
    55         $(srcdir)/Makefile.in $(top_srcdir)/configure config.guess \
    56         config.sub depcomp install-sh ltmain.sh missing
     57        $(srcdir)/Makefile.in $(srcdir)/mumps_addlibs.txt.in \
     58        $(thirdpartyinclude_HEADERS) $(top_srcdir)/configure \
     59        config.guess config.sub depcomp install-sh ltmain.sh missing
    5760@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
    5861@HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp
     
    6669 configure.lineno configure.status.lineno
    6770mkinstalldirs = $(install_sh) -d
    68 CONFIG_CLEAN_FILES =
    69 LTLIBRARIES = $(noinst_LTLIBRARIES)
     71CONFIG_CLEAN_FILES = mumps_addlibs.txt
     72am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     73am__vpath_adj = case $$p in \
     74    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     75    *) f=$$p;; \
     76  esac;
     77am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     78am__installdirs = "$(DESTDIR)$(thirdpartylibdir)" \
     79        "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"
     80thirdpartylibLTLIBRARIES_INSTALL = $(INSTALL)
     81LTLIBRARIES = $(thirdpartylib_LTLIBRARIES)
    7082libcoinmumps_la_LIBADD =
    7183nodist_libcoinmumps_la_OBJECTS = dmumps_comm_buffer.lo \
     
    7991        mpic.lo elapse.lo
    8092libcoinmumps_la_OBJECTS = $(nodist_libcoinmumps_la_OBJECTS)
    81 @SKIPMAKE_FALSE@am_libcoinmumps_la_rpath =
    8293depcomp = $(SHELL) $(top_srcdir)/depcomp
    8394am__depfiles_maybe = depfiles
     
    103114SOURCES = $(nodist_libcoinmumps_la_SOURCES)
    104115DIST_SOURCES =
     116addlibsDATA_INSTALL = $(INSTALL_DATA)
     117DATA = $(addlibs_DATA)
     118thirdpartyincludeHEADERS_INSTALL = $(INSTALL_HEADER)
     119HEADERS = $(thirdpartyinclude_HEADERS)
    105120ETAGS = etags
    106121CTAGS = ctags
     
    138153COIN_BUILD_BLAS_FALSE = @COIN_BUILD_BLAS_FALSE@
    139154COIN_BUILD_BLAS_TRUE = @COIN_BUILD_BLAS_TRUE@
    140 COIN_BUILD_MUMPS_FALSE = @COIN_BUILD_MUMPS_FALSE@
    141 COIN_BUILD_MUMPS_TRUE = @COIN_BUILD_MUMPS_TRUE@
    142155COIN_HAS_BLAS_FALSE = @COIN_HAS_BLAS_FALSE@
    143156COIN_HAS_BLAS_TRUE = @COIN_HAS_BLAS_TRUE@
    144157COIN_HAS_METIS_FALSE = @COIN_HAS_METIS_FALSE@
    145158COIN_HAS_METIS_TRUE = @COIN_HAS_METIS_TRUE@
    146 COIN_HAS_MUMPS_FALSE = @COIN_HAS_MUMPS_FALSE@
    147 COIN_HAS_MUMPS_TRUE = @COIN_HAS_MUMPS_TRUE@
    148159CPP = @CPP@
    149160CPPFLAGS = @CPPFLAGS@
     
    188199MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
    189200MAKEINFO = @MAKEINFO@
    190 MAKEOKFILE = @MAKEOKFILE@
    191201MPICC = @MPICC@
    192202MPIF77 = @MPIF77@
    193203MUMPSDIR = @MUMPSDIR@
    194 MUMPSINCDIR = @MUMPSINCDIR@
    195 MUMPSLIB = @MUMPSLIB@
    196 MUMPS_INCFLAGS = @MUMPS_INCFLAGS@
    197204MY_DEFS = @MY_DEFS@
    198205MY_FDEFS = @MY_FDEFS@
     
    211218SET_MAKE = @SET_MAKE@
    212219SHELL = @SHELL@
    213 SKIPMAKE_FALSE = @SKIPMAKE_FALSE@
    214 SKIPMAKE_TRUE = @SKIPMAKE_TRUE@
    215220STRIP = @STRIP@
    216221VERSION = @VERSION@
     
    271276AUTOMAKE_OPTIONS = foreign
    272277EXTRA_DIST = get.mumps INSTALL.MUMPS $(am__append_1)
    273 @SKIPMAKE_FALSE@noinst_LTLIBRARIES = libcoinmumps.la
    274 @SKIPMAKE_TRUE@noinst_LTLIBRARIES =
     278thirdpartylibdir = $(prefix)/lib/ThirdParty
     279thirdpartylib_LTLIBRARIES = libcoinmumps.la
    275280nodist_libcoinmumps_la_SOURCES = \
    276281        $(MUMPSDIR)/src/dmumps_comm_buffer.F \
     
    312317MODEXT = mod
    313318CLEANFILES = *.$(MODEXT)
     319thirdpartyincludedir = $(includedir)/coin/ThirdParty
     320thirdpartyinclude_HEADERS = \
     321  $(MUMPSDIR)/include/dmumps_c.h \
     322  $(MUMPSDIR)/include/mumps_compat.h \
     323  $(MUMPSDIR)/include/mumps_c_types.h
     324
     325addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Mumps
     326addlibs_DATA = README mumps_addlibs.txt
    314327
    315328########################################################################
     
    358371$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    359372        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    360 
    361 clean-noinstLTLIBRARIES:
    362         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
    363         @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     373mumps_addlibs.txt: $(top_builddir)/config.status $(srcdir)/mumps_addlibs.txt.in
     374        cd $(top_builddir) && $(SHELL) ./config.status $@
     375install-thirdpartylibLTLIBRARIES: $(thirdpartylib_LTLIBRARIES)
     376        @$(NORMAL_INSTALL)
     377        test -z "$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"
     378        @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     379          if test -f $$p; then \
     380            f=$(am__strip_dir) \
     381            echo " $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(thirdpartylibdir)/$$f'"; \
     382            $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(thirdpartylibdir)/$$f"; \
     383          else :; fi; \
     384        done
     385
     386uninstall-thirdpartylibLTLIBRARIES:
     387        @$(NORMAL_UNINSTALL)
     388        @set -x; list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     389          p=$(am__strip_dir) \
     390          echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(thirdpartylibdir)/$$p'"; \
     391          $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(thirdpartylibdir)/$$p"; \
     392        done
     393
     394clean-thirdpartylibLTLIBRARIES:
     395        -test -z "$(thirdpartylib_LTLIBRARIES)" || rm -f $(thirdpartylib_LTLIBRARIES)
     396        @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
    364397          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    365398          test "$$dir" != "$$p" || dir=.; \
     
    368401        done
    369402libcoinmumps.la: $(libcoinmumps_la_OBJECTS) $(libcoinmumps_la_DEPENDENCIES)
    370         $(F77LINK) $(am_libcoinmumps_la_rpath) $(libcoinmumps_la_LDFLAGS) $(libcoinmumps_la_OBJECTS) $(libcoinmumps_la_LIBADD) $(LIBS)
     403        $(F77LINK) -rpath $(thirdpartylibdir) $(libcoinmumps_la_LDFLAGS) $(libcoinmumps_la_OBJECTS) $(libcoinmumps_la_LIBADD) $(LIBS)
    371404
    372405mostlyclean-compile:
     
    550583        -rm -f libtool
    551584uninstall-info-am:
     585install-addlibsDATA: $(addlibs_DATA)
     586        @$(NORMAL_INSTALL)
     587        test -z "$(addlibsdir)" || $(mkdir_p) "$(DESTDIR)$(addlibsdir)"
     588        @list='$(addlibs_DATA)'; for p in $$list; do \
     589          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     590          f=$(am__strip_dir) \
     591          echo " $(addlibsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(addlibsdir)/$$f'"; \
     592          $(addlibsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(addlibsdir)/$$f"; \
     593        done
     594
     595uninstall-addlibsDATA:
     596        @$(NORMAL_UNINSTALL)
     597        @list='$(addlibs_DATA)'; for p in $$list; do \
     598          f=$(am__strip_dir) \
     599          echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
     600          rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
     601        done
     602install-thirdpartyincludeHEADERS: $(thirdpartyinclude_HEADERS)
     603        @$(NORMAL_INSTALL)
     604        test -z "$(thirdpartyincludedir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartyincludedir)"
     605        @list='$(thirdpartyinclude_HEADERS)'; for p in $$list; do \
     606          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     607          f=$(am__strip_dir) \
     608          echo " $(thirdpartyincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(thirdpartyincludedir)/$$f'"; \
     609          $(thirdpartyincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(thirdpartyincludedir)/$$f"; \
     610        done
     611
     612uninstall-thirdpartyincludeHEADERS:
     613        @$(NORMAL_UNINSTALL)
     614        @list='$(thirdpartyinclude_HEADERS)'; for p in $$list; do \
     615          f=$(am__strip_dir) \
     616          echo " rm -f '$(DESTDIR)$(thirdpartyincludedir)/$$f'"; \
     617          rm -f "$(DESTDIR)$(thirdpartyincludedir)/$$f"; \
     618        done
    552619
    553620ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    602669        $(am__remove_distdir)
    603670        mkdir $(distdir)
    604         $(mkdir_p) $(distdir)/../../BuildTools
     671        $(mkdir_p) $(distdir)/$(MUMPSDIR)/include $(distdir)/. $(distdir)/../../BuildTools
    605672        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    606673        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    728795check-am: all-am
    729796check: check-am
    730 all-am: Makefile $(LTLIBRARIES)
     797all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
    731798installdirs:
     799        for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \
     800          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     801        done
    732802install: install-am
    733803install-exec: install-exec-am
     
    758828clean: clean-am
    759829
    760 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     830clean-am: clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
    761831        mostlyclean-am
    762832
     
    778848info-am:
    779849
    780 install-data-am:
     850install-data-am: install-addlibsDATA install-thirdpartyincludeHEADERS \
     851        install-thirdpartylibLTLIBRARIES
    781852
    782853install-exec-am:
     
    808879ps-am:
    809880
    810 uninstall-am: uninstall-info-am
     881uninstall-am: uninstall-addlibsDATA uninstall-info-am \
     882        uninstall-thirdpartyincludeHEADERS \
     883        uninstall-thirdpartylibLTLIBRARIES
    811884
    812885.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
    813         clean-generic clean-libtool clean-noinstLTLIBRARIES ctags dist \
    814         dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
    815         distcheck distclean distclean-compile distclean-generic \
    816         distclean-libtool distclean-tags distcleancheck distdir \
    817         distuninstallcheck dvi dvi-am html html-am info info-am \
    818         install install-am install-data install-data-am install-exec \
    819         install-exec-am install-info install-info-am install-man \
    820         install-strip installcheck installcheck-am installdirs \
    821         maintainer-clean maintainer-clean-generic mostlyclean \
    822         mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
    823         pdf pdf-am ps ps-am tags uninstall uninstall-am \
    824         uninstall-info-am
     886        clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
     887        ctags dist dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ \
     888        dist-zip distcheck distclean distclean-compile \
     889        distclean-generic distclean-libtool distclean-tags \
     890        distcleancheck distdir distuninstallcheck dvi dvi-am html \
     891        html-am info info-am install install-addlibsDATA install-am \
     892        install-data install-data-am install-exec install-exec-am \
     893        install-info install-info-am install-man install-strip \
     894        install-thirdpartyincludeHEADERS \
     895        install-thirdpartylibLTLIBRARIES installcheck installcheck-am \
     896        installdirs maintainer-clean maintainer-clean-generic \
     897        mostlyclean mostlyclean-compile mostlyclean-generic \
     898        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
     899        uninstall-addlibsDATA uninstall-am uninstall-info-am \
     900        uninstall-thirdpartyincludeHEADERS \
     901        uninstall-thirdpartylibLTLIBRARIES
    825902
    826903
  • ThirdParty/Mumps/trunk/configure

    r1386 r1388  
    1010#
    1111#
    12 # Copyright 2007-2008 International Business Machines and others.
     12# Copyright 2007-2009 International Business Machines and others.
    1313# All Rights Reserved.
    1414# This file is part of the open source package Coin which is distributed
     
    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 ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE 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 MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 FLIBS CPP EGREP MY_DEFS 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 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_BLAS_TRUE COIN_HAS_BLAS_FALSE COIN_BUILD_BLAS_TRUE COIN_BUILD_BLAS_FALSE COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE MUMPSINCDIR MUMPSLIB COIN_HAS_MUMPS_TRUE COIN_HAS_MUMPS_FALSE MUMPS_INCFLAGS COIN_BUILD_MUMPS_TRUE COIN_BUILD_MUMPS_FALSE MAKEOKFILE SKIPMAKE_TRUE SKIPMAKE_FALSE MUMPSDIR MY_FDEFS LIBEXT VPATH_DISTCLEANFILES 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 ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE 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 MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 FLIBS CPP EGREP MY_DEFS 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 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_BLAS_TRUE COIN_HAS_BLAS_FALSE COIN_BUILD_BLAS_TRUE COIN_BUILD_BLAS_FALSE COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE MUMPSDIR MY_FDEFS LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    10891089                          optimize for fast installation [default=yes]
    10901090  --disable-libtool-lock  avoid locking (might break parallel builds)
    1091   --enable-mumps-libcheck use disable-mumps-libcheck to skip the
    1092                           link check at configuration time
    10931091
    10941092Optional Packages:
     
    11041102  --with-blas             specify BLAS library (or BUILD for compilation)
    11051103  --with-metis            specify flags to link with METIS library
    1106   --with-mumps-incdir specify the header file directory for library mumps
    1107   --with-mumps-lib specify the flags used to link with the library mumps
    11081104
    11091105Some influential environment variables:
     
    12371233
    12381234
    1239 Copyright 2007-2008 International Business Machines and others.
     1235Copyright 2007-2009 International Business Machines and others.
    12401236All Rights Reserved.
    12411237This file is part of the open source package Coin which is distributed
     
    33003296
    33013297# Provide some information about the compiler.
    3302 echo "$as_me:3302:" \
     3298echo "$as_me:3298:" \
    33033299     "checking for Fortran 77 compiler version" >&5
    33043300ac_compiler=`set X $ac_compile; echo $2`
     
    38683864ac_save_FFLAGS=$FFLAGS
    38693865FFLAGS="$FFLAGS $ac_verb"
    3870 (eval echo $as_me:3870: \"$ac_link\") >&5
     3866(eval echo $as_me:3866: \"$ac_link\") >&5
    38713867ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    38723868echo "$ac_f77_v_output" >&5
     
    39463942ac_save_FFLAGS=$FFLAGS
    39473943FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    3948 (eval echo $as_me:3948: \"$ac_link\") >&5
     3944(eval echo $as_me:3944: \"$ac_link\") >&5
    39493945ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    39503946echo "$ac_f77_v_output" >&5
     
    70006996*-*-irix6*)
    70016997  # Find out which ABI we are using.
    7002   echo '#line 7002 "configure"' > conftest.$ac_ext
     6998  echo '#line 6998 "configure"' > conftest.$ac_ext
    70036999  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    70047000  (eval $ac_compile) 2>&5
     
    89968992   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    89978993   -e 's:$: $lt_compiler_flag:'`
    8998    (eval echo "\"\$as_me:8998: $lt_compile\"" >&5)
     8994   (eval echo "\"\$as_me:8994: $lt_compile\"" >&5)
    89998995   (eval "$lt_compile" 2>conftest.err)
    90008996   ac_status=$?
    90018997   cat conftest.err >&5
    9002    echo "$as_me:9002: \$? = $ac_status" >&5
     8998   echo "$as_me:8998: \$? = $ac_status" >&5
    90038999   if (exit $ac_status) && test -s "$ac_outfile"; then
    90049000     # The compiler can only warn and ignore the option if not recognized
     
    92649260   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    92659261   -e 's:$: $lt_compiler_flag:'`
    9266    (eval echo "\"\$as_me:9266: $lt_compile\"" >&5)
     9262   (eval echo "\"\$as_me:9262: $lt_compile\"" >&5)
    92679263   (eval "$lt_compile" 2>conftest.err)
    92689264   ac_status=$?
    92699265   cat conftest.err >&5
    9270    echo "$as_me:9270: \$? = $ac_status" >&5
     9266   echo "$as_me:9266: \$? = $ac_status" >&5
    92719267   if (exit $ac_status) && test -s "$ac_outfile"; then
    92729268     # The compiler can only warn and ignore the option if not recognized
     
    93689364   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    93699365   -e 's:$: $lt_compiler_flag:'`
    9370    (eval echo "\"\$as_me:9370: $lt_compile\"" >&5)
     9366   (eval echo "\"\$as_me:9366: $lt_compile\"" >&5)
    93719367   (eval "$lt_compile" 2>out/conftest.err)
    93729368   ac_status=$?
    93739369   cat out/conftest.err >&5
    9374    echo "$as_me:9374: \$? = $ac_status" >&5
     9370   echo "$as_me:9370: \$? = $ac_status" >&5
    93759371   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    93769372   then
     
    1178511781  lt_status=$lt_dlunknown
    1178611782  cat > conftest.$ac_ext <<EOF
    11787 #line 11787 "configure"
     11783#line 11783 "configure"
    1178811784#include "confdefs.h"
    1178911785
     
    1188511881  lt_status=$lt_dlunknown
    1188611882  cat > conftest.$ac_ext <<EOF
    11887 #line 11887 "configure"
     11883#line 11883 "configure"
    1188811884#include "confdefs.h"
    1188911885
     
    1424514241   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1424614242   -e 's:$: $lt_compiler_flag:'`
    14247    (eval echo "\"\$as_me:14247: $lt_compile\"" >&5)
     14243   (eval echo "\"\$as_me:14243: $lt_compile\"" >&5)
    1424814244   (eval "$lt_compile" 2>conftest.err)
    1424914245   ac_status=$?
    1425014246   cat conftest.err >&5
    14251    echo "$as_me:14251: \$? = $ac_status" >&5
     14247   echo "$as_me:14247: \$? = $ac_status" >&5
    1425214248   if (exit $ac_status) && test -s "$ac_outfile"; then
    1425314249     # The compiler can only warn and ignore the option if not recognized
     
    1434914345   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1435014346   -e 's:$: $lt_compiler_flag:'`
    14351    (eval echo "\"\$as_me:14351: $lt_compile\"" >&5)
     14347   (eval echo "\"\$as_me:14347: $lt_compile\"" >&5)
    1435214348   (eval "$lt_compile" 2>out/conftest.err)
    1435314349   ac_status=$?
    1435414350   cat out/conftest.err >&5
    14355    echo "$as_me:14355: \$? = $ac_status" >&5
     14351   echo "$as_me:14351: \$? = $ac_status" >&5
    1435614352   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1435714353   then
     
    1591915915   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1592015916   -e 's:$: $lt_compiler_flag:'`
    15921    (eval echo "\"\$as_me:15921: $lt_compile\"" >&5)
     15917   (eval echo "\"\$as_me:15917: $lt_compile\"" >&5)
    1592215918   (eval "$lt_compile" 2>conftest.err)
    1592315919   ac_status=$?
    1592415920   cat conftest.err >&5
    15925    echo "$as_me:15925: \$? = $ac_status" >&5
     15921   echo "$as_me:15921: \$? = $ac_status" >&5
    1592615922   if (exit $ac_status) && test -s "$ac_outfile"; then
    1592715923     # The compiler can only warn and ignore the option if not recognized
     
    1602316019   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1602416020   -e 's:$: $lt_compiler_flag:'`
    16025    (eval echo "\"\$as_me:16025: $lt_compile\"" >&5)
     16021   (eval echo "\"\$as_me:16021: $lt_compile\"" >&5)
    1602616022   (eval "$lt_compile" 2>out/conftest.err)
    1602716023   ac_status=$?
    1602816024   cat out/conftest.err >&5
    16029    echo "$as_me:16029: \$? = $ac_status" >&5
     16025   echo "$as_me:16025: \$? = $ac_status" >&5
    1603016026   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1603116027   then
     
    1823018226   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1823118227   -e 's:$: $lt_compiler_flag:'`
    18232    (eval echo "\"\$as_me:18232: $lt_compile\"" >&5)
     18228   (eval echo "\"\$as_me:18228: $lt_compile\"" >&5)
    1823318229   (eval "$lt_compile" 2>conftest.err)
    1823418230   ac_status=$?
    1823518231   cat conftest.err >&5
    18236    echo "$as_me:18236: \$? = $ac_status" >&5
     18232   echo "$as_me:18232: \$? = $ac_status" >&5
    1823718233   if (exit $ac_status) && test -s "$ac_outfile"; then
    1823818234     # The compiler can only warn and ignore the option if not recognized
     
    1849818494   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1849918495   -e 's:$: $lt_compiler_flag:'`
    18500    (eval echo "\"\$as_me:18500: $lt_compile\"" >&5)
     18496   (eval echo "\"\$as_me:18496: $lt_compile\"" >&5)
    1850118497   (eval "$lt_compile" 2>conftest.err)
    1850218498   ac_status=$?
    1850318499   cat conftest.err >&5
    18504    echo "$as_me:18504: \$? = $ac_status" >&5
     18500   echo "$as_me:18500: \$? = $ac_status" >&5
    1850518501   if (exit $ac_status) && test -s "$ac_outfile"; then
    1850618502     # The compiler can only warn and ignore the option if not recognized
     
    1860218598   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1860318599   -e 's:$: $lt_compiler_flag:'`
    18604    (eval echo "\"\$as_me:18604: $lt_compile\"" >&5)
     18600   (eval echo "\"\$as_me:18600: $lt_compile\"" >&5)
    1860518601   (eval "$lt_compile" 2>out/conftest.err)
    1860618602   ac_status=$?
    1860718603   cat out/conftest.err >&5
    18608    echo "$as_me:18608: \$? = $ac_status" >&5
     18604   echo "$as_me:18604: \$? = $ac_status" >&5
    1860918605   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1861018606   then
     
    2369123687
    2369223688## Check if Mumps is already provided by user
    23693 
    23694 if test "$PACKAGE_NAME" = ThirdPartyMumps; then
    23695   coin_mumpsobjdir=../Mumps
    23696 else
    23697   coin_mumpsobjdir=../ThirdParty/Mumps
    23698 fi
    23699 coin_mumpssrcdir=$abs_source_dir/$coin_mumpsobjdir/MUMPS
    23700 
    23701 MAKEOKFILE=.MakeOk
    23702 
    23703 #check if user provides a MUMPS library (that works)
    23704 ac_ext=c
    23705 ac_cpp='$CPP $CPPFLAGS'
    23706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23709 
    23710 SAVE_ADDLIBS="$ADDLIBS"
    23711 ADDLIBS="$ADDLIBS $FLIBS"
    23712 
    23713   echo "$as_me:$LINENO: checking if user provides library for mumps" >&5
    23714 echo $ECHO_N "checking if user provides library for mumps... $ECHO_C" >&6
    23715 
    23716 # Check for header file directory
    23717 
    23718 
    23719 # Check whether --with-mumps-incdir or --without-mumps-incdir was given.
    23720 if test "${with_mumps_incdir+set}" = set; then
    23721   withval="$with_mumps_incdir"
    23722   MUMPSINCDIR=`cd $withval; pwd`
    23723 fi;
    23724 
    23725 # Check for library directory
    23726 
    23727 
    23728 # Check whether --with-mumps-lib or --without-mumps-lib was given.
    23729 if test "${with_mumps_lib+set}" = set; then
    23730   withval="$with_mumps_lib"
    23731   MUMPSLIB=$withval
    23732 fi;
    23733 
    23734 # Switch to disable library check if requested
    23735 
    23736   # Check whether --enable-mumps-libcheck or --disable-mumps-libcheck was given.
    23737 if test "${enable_mumps_libcheck+set}" = set; then
    23738   enableval="$enable_mumps_libcheck"
    23739   mumps_libcheck=$enableval
    23740 else
    23741   mumps_libcheck=yes
    23742 fi;
    23743 
    23744 # At this point, if we're going to use the library, both LBRYINCDIR and
    23745 # LBRYLIB must be defined and not empty.
    23746 
    23747   if test x"$MUMPSINCDIR" != x || test x"$MUMPSLIB" != x; then
    23748     if test x"$MUMPSINCDIR" = x || test x"$MUMPSLIB" = x; then
    23749       { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library mumps. Use --with-mumps-incdir of environment variable $MUMPSINCDIR to specify the include directory. Use --with-mumps-lib or environment variable $MUMPSLIB to specify link flags." >&5
    23750 echo "$as_me: error: You need to specify both an include directory and link flags to use library mumps. Use --with-mumps-incdir of environment variable $MUMPSINCDIR to specify the include directory. Use --with-mumps-lib or environment variable $MUMPSLIB to specify link flags." >&2;}
    23751    { (exit 1); exit 1; }; }
    23752     fi
    23753     coin_has_mumps=true
    23754     echo "$as_me:$LINENO: result: yes" >&5
    23755 echo "${ECHO_T}yes" >&6
    23756   else
    23757     coin_has_mumps=false
    23758     echo "$as_me:$LINENO: result: no" >&5
    23759 echo "${ECHO_T}no" >&6
    23760   fi
    23761 
    23762 # If we have instructions for use, consider header and link checks.
    23763 
    23764   if test $coin_has_mumps = true; then
    23765 
    23766 # If argument 3 (file) is given, check for the file. Typically this will be a
    23767 # header file, but that's not assumed.
    23768 
    23769     if test -r $MUMPSINCDIR/dmumps_c.h; then
    23770 
    23771   :
    23772 else
    23773   { { echo "$as_me:$LINENO: error: Cannot find file dmumps_c.h in $MUMPSINCDIR" >&5
    23774 echo "$as_me: error: Cannot find file dmumps_c.h in $MUMPSINCDIR" >&2;}
    23775    { (exit 1); exit 1; }; }
    23776   :
    23777 fi
    23778 
    23779 
    23780 # Now see if we can link the function. There are arguments for and against
    23781 # assuming argument 3 is a header file declaring the function. A correct
    23782 # function declaration is the main argument in favour. Having to cope with
    23783 # possible dependencies or other oddities are the main arguments against.
    23784 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    23785 # Obviously, this has limits.
    23786 
    23787     if test x"$mumps_libcheck" != xno; then
    23788            coin_save_LIBS="$LIBS"
    23789            LIBS="$MUMPSLIB $ADDLIBS"
    23790            coin_MUMPS_link=no
    23791            ac_ext=c
    23792 ac_cpp='$CPP $CPPFLAGS'
    23793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23796 
    23797            for fnm in dmumps_c ; do
    23798              echo "$as_me:$LINENO: checking whether symbol $fnm is available with MUMPS" >&5
    23799 echo $ECHO_N "checking whether symbol $fnm is available with MUMPS... $ECHO_C" >&6
    23800              cat >conftest.$ac_ext <<_ACEOF
    23801 /* confdefs.h.  */
    23802 _ACEOF
    23803 cat confdefs.h >>conftest.$ac_ext
    23804 cat >>conftest.$ac_ext <<_ACEOF
    23805 /* end confdefs.h.  */
    23806 
    23807 #ifdef F77_DUMMY_MAIN
    23808 
    23809 #  ifdef __cplusplus
    23810      extern "C"
    23811 #  endif
    23812    int F77_DUMMY_MAIN() { return 1; }
    23813 
    23814 #endif
    23815 int
    23816 main ()
    23817 {
    23818 $fnm()
    23819   ;
    23820   return 0;
    23821 }
    23822 _ACEOF
    23823 rm -f conftest.$ac_objext conftest$ac_exeext
    23824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23825   (eval $ac_link) 2>conftest.er1
    23826   ac_status=$?
    23827   grep -v '^ *+' conftest.er1 >conftest.err
    23828   rm -f conftest.er1
    23829   cat conftest.err >&5
    23830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23831   (exit $ac_status); } &&
    23832          { ac_try='test -z "$ac_c_werror_flag"
    23833                          || test ! -s conftest.err'
    23834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23835   (eval $ac_try) 2>&5
    23836   ac_status=$?
    23837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23838   (exit $ac_status); }; } &&
    23839          { ac_try='test -s conftest$ac_exeext'
    23840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23841   (eval $ac_try) 2>&5
    23842   ac_status=$?
    23843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23844   (exit $ac_status); }; }; then
    23845   echo "$as_me:$LINENO: result: yes" >&5
    23846 echo "${ECHO_T}yes" >&6
    23847                   coin_MUMPS_link=yes
    23848                   break
    23849 else
    23850   echo "$as_me: failed program was:" >&5
    23851 sed 's/^/| /' conftest.$ac_ext >&5
    23852 
    23853 echo "$as_me:$LINENO: result: no" >&5
    23854 echo "${ECHO_T}no" >&6
    23855 fi
    23856 rm -f conftest.err conftest.$ac_objext \
    23857       conftest$ac_exeext conftest.$ac_ext
    23858            done
    23859            ac_ext=c
    23860 ac_cpp='$CPP $CPPFLAGS'
    23861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23864 
    23865            if test x"$coin_MUMPS_link" = xyes ; then
    23866              LIBS="$coin_save_LIBS"
    23867            else
    23868              { { echo "$as_me:$LINENO: error: Cannot find symbol(s) dmumps_c with MUMPS" >&5
    23869 echo "$as_me: error: Cannot find symbol(s) dmumps_c with MUMPS" >&2;}
    23870    { (exit 1); exit 1; }; }
    23871            fi
    23872          fi
    23873 
    23874 
    23875 # If we make it this far, we've verified the file and linked the function. Add
    23876 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    23877 # COIN_HAS_LBRY.
    23878 
    23879     ADDLIBS="$MUMPSLIB $ADDLIBS"
    23880 
    23881 cat >>confdefs.h <<\_ACEOF
    23882 #define COIN_HAS_MUMPS 1
    23883 _ACEOF
    23884 
    23885   fi
    23886 
    23887 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    23888 # automake conditional. These actions must occur unconditionally.
    23889 
    23890 
    23891 
    23892 
    23893 
    23894 if test $coin_has_mumps = true; then
    23895   COIN_HAS_MUMPS_TRUE=
    23896   COIN_HAS_MUMPS_FALSE='#'
    23897 else
    23898   COIN_HAS_MUMPS_TRUE='#'
    23899   COIN_HAS_MUMPS_FALSE=
    23900 fi
    23901 
    23902 
    23903 ADDLIBS="$SAVE_ADDLIBS"
    23904 ac_ext=c
    23905 ac_cpp='$CPP $CPPFLAGS'
    23906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23909 
    23910 
    23911 if test "$coin_has_mumps" = "true"; then  # user provided mumps library
    23912   use_mumps=yes
    23913   coin_has_mumps=yes
    23914 
    23915   MUMPS_INCFLAGS="-I\`\$(CYGPATH_W) $MUMPSINCDIR\`"
    23916   ADDLIBS="$MUMPSLIB $ADDLIBS"
    23917 
    23918 else # no user provided library, so we try to build our own
    23919   use_mumps=BUILD
    23920 
    23921   # Check if the MUMPS' ThirdParty project has been configured
    23922   if test "$PACKAGE_NAME" != ThirdPartyMumps; then
    23923     if test -r $coin_mumpsobjdir/.MakeOk; then
    23924       use_mumps=BUILD
    23925       # Mumps needs pthreads
    23926       ac_ext=c
    23927 ac_cpp='$CPP $CPPFLAGS'
    23928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23931 
    23932       save_LIBS="$LIBS"
    23933       LIBS="$LIBS $FLIBS"
    23934       echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
    23935 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
    23936 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
    23937   echo $ECHO_N "(cached) $ECHO_C" >&6
    23938 else
    23939   ac_check_lib_save_LIBS=$LIBS
    23940 LIBS="-lpthread  $LIBS"
    23941 cat >conftest.$ac_ext <<_ACEOF
    23942 /* confdefs.h.  */
    23943 _ACEOF
    23944 cat confdefs.h >>conftest.$ac_ext
    23945 cat >>conftest.$ac_ext <<_ACEOF
    23946 /* end confdefs.h.  */
    23947 
    23948 /* Override any gcc2 internal prototype to avoid an error.  */
    23949 #ifdef __cplusplus
    23950 extern "C"
    23951 #endif
    23952 /* We use char because int might match the return type of a gcc2
    23953    builtin and then its argument prototype would still apply.  */
    23954 char pthread_create ();
    23955 #ifdef F77_DUMMY_MAIN
    23956 
    23957 #  ifdef __cplusplus
    23958      extern "C"
    23959 #  endif
    23960    int F77_DUMMY_MAIN() { return 1; }
    23961 
    23962 #endif
    23963 int
    23964 main ()
    23965 {
    23966 pthread_create ();
    23967   ;
    23968   return 0;
    23969 }
    23970 _ACEOF
    23971 rm -f conftest.$ac_objext conftest$ac_exeext
    23972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23973   (eval $ac_link) 2>conftest.er1
    23974   ac_status=$?
    23975   grep -v '^ *+' conftest.er1 >conftest.err
    23976   rm -f conftest.er1
    23977   cat conftest.err >&5
    23978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23979   (exit $ac_status); } &&
    23980          { ac_try='test -z "$ac_c_werror_flag"
    23981                          || test ! -s conftest.err'
    23982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23983   (eval $ac_try) 2>&5
    23984   ac_status=$?
    23985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23986   (exit $ac_status); }; } &&
    23987          { ac_try='test -s conftest$ac_exeext'
    23988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23989   (eval $ac_try) 2>&5
    23990   ac_status=$?
    23991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23992   (exit $ac_status); }; }; then
    23993   ac_cv_lib_pthread_pthread_create=yes
    23994 else
    23995   echo "$as_me: failed program was:" >&5
    23996 sed 's/^/| /' conftest.$ac_ext >&5
    23997 
    23998 ac_cv_lib_pthread_pthread_create=no
    23999 fi
    24000 rm -f conftest.err conftest.$ac_objext \
    24001       conftest$ac_exeext conftest.$ac_ext
    24002 LIBS=$ac_check_lib_save_LIBS
    24003 fi
    24004 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
    24005 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
    24006 if test $ac_cv_lib_pthread_pthread_create = yes; then
    24007   LIBS="-lpthread $save_LIBS"; ADDLIBS="-lpthread $ADDLIBS"
    24008 else
    24009   LIBS="save_LIBS"
    24010 fi
    24011 
    24012       ac_ext=c
    24013 ac_cpp='$CPP $CPPFLAGS'
    24014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24017 
    24018 
    24019       MUMPS_INCFLAGS="-I\`\$(CYGPATH_W) $coin_mumpssrcdir/libseq\` -I\`\$(CYGPATH_W) $coin_mumpssrcdir/include\`"
    24020     else
    24021       use_mumps=
    24022     fi
    24023   fi
    24024 
    24025   # if a user provided library is used, then COIN_HAS_USER_LIBRARY takes care of the COIN_HAS_MUMPS conditional and preprocessor symbol
    24026 
    24027 
    24028 if test x"$use_mumps" != x; then
    24029   COIN_HAS_MUMPS_TRUE=
    24030   COIN_HAS_MUMPS_FALSE='#'
    24031 else
    24032   COIN_HAS_MUMPS_TRUE='#'
    24033   COIN_HAS_MUMPS_FALSE=
    24034 fi
    24035 
    24036   if test x"$use_mumps" != x; then
    24037 
    24038 cat >>confdefs.h <<\_ACEOF
    24039 #define COIN_HAS_MUMPS 1
    24040 _ACEOF
    24041 
    24042     coin_has_mumps=yes
    24043   else
    24044     coin_has_mumps=no
    24045   fi
    24046   echo "$as_me:$LINENO: checking whether MUMPS is available" >&5
    24047 echo $ECHO_N "checking whether MUMPS is available... $ECHO_C" >&6
    24048   echo "$as_me:$LINENO: result: $coin_has_mumps" >&5
    24049 echo "${ECHO_T}$coin_has_mumps" >&6
    24050 fi
    24051 
    24052 if test x"$use_mumps" != x; then
    24053   # we need the Fortran runtime libraries if we want to link with C/C++
    24054   coin_need_flibs=yes
    24055 
    24056 
    24057 fi
    24058 
    24059 
    24060 
    24061 if test "$use_mumps" = BUILD; then
    24062   COIN_BUILD_MUMPS_TRUE=
    24063   COIN_BUILD_MUMPS_FALSE='#'
    24064 else
    24065   COIN_BUILD_MUMPS_TRUE='#'
    24066   COIN_BUILD_MUMPS_FALSE=
    24067 fi
    24068 
    24069 
    24070 
     23689#AC_COIN_HAS_MUMPS
    2407123690
    2407223691# Verify that we can compile Fortran 90 code
    24073 if test "$use_mumps" = BUILD; then
     23692#if test "$use_mumps" = BUILD; then
    2407423693  echo "$as_me:$LINENO: checking whether we can compile Fortran 90 code" >&5
    2407523694echo $ECHO_N "checking whether we can compile Fortran 90 code... $ECHO_C" >&6
     
    2412323742
    2412423743  if test $can_f90 = no; then
    24125     { echo "$as_me:$LINENO: WARNING: Your Fortran compiler can't compile Fortran 90, I will not compile MUMPS" >&5
    24126 echo "$as_me: WARNING: Your Fortran compiler can't compile Fortran 90, I will not compile MUMPS" >&2;}
    24127     use_mumps=
     23744    { { echo "$as_me:$LINENO: error: Your Fortran compiler can't compile Fortran 90, I cannot compile MUMPS" >&5
     23745echo "$as_me: error: Your Fortran compiler can't compile Fortran 90, I cannot compile MUMPS" >&2;}
     23746   { (exit 1); exit 1; }; }
     23747#    use_mumps=
    2412823748  fi
    24129 fi
    24130 
    24131 rm -f $MAKEOKFILE
    24132 if test $coin_has_mumps = yes && test "$use_mumps" != BUILD; then
    24133   { echo "$as_me:$LINENO: The Mumps sources don't need to be compiled" >&5
    24134 echo "$as_me: The Mumps sources don't need to be compiled" >&6;}
    24135   MAKEOKFILE=
    24136 else
    24137   touch $MAKEOKFILE
    24138 fi
    24139 
    24140 
    24141 
    24142 if test -z "$MAKEOKFILE"; then
    24143   SKIPMAKE_TRUE=
    24144   SKIPMAKE_FALSE='#'
    24145 else
    24146   SKIPMAKE_TRUE='#'
    24147   SKIPMAKE_FALSE=
    24148 fi
    24149 
     23749#fi
     23750
     23751#rm -f $MAKEOKFILE
     23752#if test $coin_has_mumps = yes && test "$use_mumps" != BUILD; then
     23753#  AC_MSG_NOTICE([The Mumps sources don't need to be compiled])
     23754#  MAKEOKFILE=
     23755#else
     23756#  touch $MAKEOKFILE
     23757#fi
     23758#AC_SUBST(MAKEOKFILE)
     23759#AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    2415023760
    2415123761MUMPSDIR=MUMPS
     
    2417323783echo "${ECHO_T}$MY_FDEFS" >&6
    2417423784
    24175           ac_config_files="$ac_config_files Makefile"
     23785                    ac_config_files="$ac_config_files Makefile mumps_addlibs.txt"
    2417623786
    2417723787
     
    2441524025Usually this means the macro was only invoked conditionally." >&5
    2441624026echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined.
    24417 Usually this means the macro was only invoked conditionally." >&2;}
    24418    { (exit 1); exit 1; }; }
    24419 fi
    24420 if test -z "${COIN_HAS_MUMPS_TRUE}" && test -z "${COIN_HAS_MUMPS_FALSE}"; then
    24421   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MUMPS\" was never defined.
    24422 Usually this means the macro was only invoked conditionally." >&5
    24423 echo "$as_me: error: conditional \"COIN_HAS_MUMPS\" was never defined.
    24424 Usually this means the macro was only invoked conditionally." >&2;}
    24425    { (exit 1); exit 1; }; }
    24426 fi
    24427 if test -z "${COIN_HAS_MUMPS_TRUE}" && test -z "${COIN_HAS_MUMPS_FALSE}"; then
    24428   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MUMPS\" was never defined.
    24429 Usually this means the macro was only invoked conditionally." >&5
    24430 echo "$as_me: error: conditional \"COIN_HAS_MUMPS\" was never defined.
    24431 Usually this means the macro was only invoked conditionally." >&2;}
    24432    { (exit 1); exit 1; }; }
    24433 fi
    24434 if test -z "${COIN_BUILD_MUMPS_TRUE}" && test -z "${COIN_BUILD_MUMPS_FALSE}"; then
    24435   { { echo "$as_me:$LINENO: error: conditional \"COIN_BUILD_MUMPS\" was never defined.
    24436 Usually this means the macro was only invoked conditionally." >&5
    24437 echo "$as_me: error: conditional \"COIN_BUILD_MUMPS\" was never defined.
    24438 Usually this means the macro was only invoked conditionally." >&2;}
    24439    { (exit 1); exit 1; }; }
    24440 fi
    24441 if test -z "${SKIPMAKE_TRUE}" && test -z "${SKIPMAKE_FALSE}"; then
    24442   { { echo "$as_me:$LINENO: error: conditional \"SKIPMAKE\" was never defined.
    24443 Usually this means the macro was only invoked conditionally." >&5
    24444 echo "$as_me: error: conditional \"SKIPMAKE\" was never defined.
    2444524027Usually this means the macro was only invoked conditionally." >&2;}
    2444624028   { (exit 1); exit 1; }; }
     
    2488624468  # Handling of arguments.
    2488724469  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     24470  "mumps_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES mumps_addlibs.txt" ;;
    2488824471  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    2488924472  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     
    2507724660s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t
    2507824661s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t
    25079 s,@MUMPSINCDIR@,$MUMPSINCDIR,;t t
    25080 s,@MUMPSLIB@,$MUMPSLIB,;t t
    25081 s,@COIN_HAS_MUMPS_TRUE@,$COIN_HAS_MUMPS_TRUE,;t t
    25082 s,@COIN_HAS_MUMPS_FALSE@,$COIN_HAS_MUMPS_FALSE,;t t
    25083 s,@MUMPS_INCFLAGS@,$MUMPS_INCFLAGS,;t t
    25084 s,@COIN_BUILD_MUMPS_TRUE@,$COIN_BUILD_MUMPS_TRUE,;t t
    25085 s,@COIN_BUILD_MUMPS_FALSE@,$COIN_BUILD_MUMPS_FALSE,;t t
    25086 s,@MAKEOKFILE@,$MAKEOKFILE,;t t
    25087 s,@SKIPMAKE_TRUE@,$SKIPMAKE_TRUE,;t t
    25088 s,@SKIPMAKE_FALSE@,$SKIPMAKE_FALSE,;t t
    2508924662s,@MUMPSDIR@,$MUMPSDIR,;t t
    2509024663s,@MY_FDEFS@,$MY_FDEFS,;t t
  • ThirdParty/Mumps/trunk/configure.ac

    r1267 r1388  
    1 # Copyright (C) 2007-2008 International Business Machines.
     1# Copyright (C) 2007-2009 International Business Machines.
    22# All Rights Reserved.
    33# This file is distributed under the Common Public License.
     
    1616
    1717AC_COPYRIGHT([
    18 Copyright 2007-2008 International Business Machines and others.
     18Copyright 2007-2009 International Business Machines and others.
    1919All Rights Reserved.
    2020This file is part of the open source package Coin which is distributed
     
    104104
    105105## Check if Mumps is already provided by user
    106 AC_COIN_HAS_MUMPS
     106#AC_COIN_HAS_MUMPS
    107107
    108108# Verify that we can compile Fortran 90 code
    109 if test "$use_mumps" = BUILD; then
     109#if test "$use_mumps" = BUILD; then
    110110  AC_MSG_CHECKING([whether we can compile Fortran 90 code])
    111111  AC_LANG_PUSH(Fortran 77)
     
    116116  AC_LANG_POP(Fortran 77)
    117117  if test $can_f90 = no; then
    118     AC_MSG_WARN([Your Fortran compiler can't compile Fortran 90, I will not compile MUMPS])
    119     use_mumps=
     118    AC_MSG_ERROR([Your Fortran compiler can't compile Fortran 90, I cannot compile MUMPS])
     119#    use_mumps=
    120120  fi
    121 fi
     121#fi
    122122
    123 rm -f $MAKEOKFILE
    124 if test $coin_has_mumps = yes && test "$use_mumps" != BUILD; then
    125   AC_MSG_NOTICE([The Mumps sources don't need to be compiled])
    126   MAKEOKFILE=
    127 else
    128   touch $MAKEOKFILE
    129 fi
    130 AC_SUBST(MAKEOKFILE)
    131 AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
     123#rm -f $MAKEOKFILE
     124#if test $coin_has_mumps = yes && test "$use_mumps" != BUILD; then
     125#  AC_MSG_NOTICE([The Mumps sources don't need to be compiled])
     126#  MAKEOKFILE=
     127#else
     128#  touch $MAKEOKFILE
     129#fi
     130#AC_SUBST(MAKEOKFILE)
     131#AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    132132
    133133MUMPSDIR=MUMPS
     
    151151AC_MSG_RESULT([$MY_FDEFS])
    152152
    153 AC_CONFIG_FILES([Makefile])
     153AC_CONFIG_FILES([Makefile mumps_addlibs.txt])
    154154
    155155AC_COIN_FINALIZE
Note: See TracChangeset for help on using the changeset viewer.