Changeset 1411 for ThirdParty/Mumps


Ignore:
Timestamp:
Sep 13, 2009 2:24:20 PM (11 years ago)
Author:
stefan
Message:

revert my recent changes related to BSPsplit after copying them into branches

Location:
ThirdParty/Mumps/trunk
Files:
2 deleted
4 edited

Legend:

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

    r1388 r1411  
    1 # Copyright (C) 2007-2009 International Business Machines and others.
     1# Copyright (C) 2007, 2008 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 thirdpartylibdir = $(prefix)/lib/ThirdParty
    12 thirdpartylib_LTLIBRARIES = libcoinmumps.la
     11if SKIPMAKE
     12  noinst_LTLIBRARIES =
     13else
     14  noinst_LTLIBRARIES = libcoinmumps.la
     15endif
    1316
    1417MUMPSDIR = @MUMPSDIR@
     
    8487FFLAGS += $(MY_FDEFS)
    8588
    86 thirdpartyincludedir = $(includedir)/coin/ThirdParty
    87 thirdpartyinclude_HEADERS = \
    88   $(MUMPSDIR)/include/dmumps_c.h \
    89   $(MUMPSDIR)/include/mumps_compat.h \
    90   $(MUMPSDIR)/include/mumps_c_types.h
    91 
    92 addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Mumps
    93 addlibs_DATA = README mumps_addlibs.txt
    94 
    9589########################################################################
    9690#                         Maintainer Stuff                             #
  • ThirdParty/Mumps/trunk/Makefile.in

    r1388 r1411  
    1515@SET_MAKE@
    1616
    17 # Copyright (C) 2007-2009 International Business Machines and others.
     17# Copyright (C) 2007, 2008 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 
    3230
    3331srcdir = @srcdir@
     
    5351build_triplet = @build@
    5452host_triplet = @host@
    55 DIST_COMMON = README $(am__configure_deps) \
     53DIST_COMMON = $(am__configure_deps) \
    5654        $(srcdir)/../../BuildTools/Makemain.inc $(srcdir)/Makefile.am \
    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
     55        $(srcdir)/Makefile.in $(top_srcdir)/configure config.guess \
     56        config.sub depcomp install-sh ltmain.sh missing
    6057@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
    6158@HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp
     
    6966 configure.lineno configure.status.lineno
    7067mkinstalldirs = $(install_sh) -d
    71 CONFIG_CLEAN_FILES = mumps_addlibs.txt
    72 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
    73 am__vpath_adj = case $$p in \
    74     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    75     *) f=$$p;; \
    76   esac;
    77 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
    78 am__installdirs = "$(DESTDIR)$(thirdpartylibdir)" \
    79         "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"
    80 thirdpartylibLTLIBRARIES_INSTALL = $(INSTALL)
    81 LTLIBRARIES = $(thirdpartylib_LTLIBRARIES)
     68CONFIG_CLEAN_FILES =
     69LTLIBRARIES = $(noinst_LTLIBRARIES)
    8270libcoinmumps_la_LIBADD =
    8371nodist_libcoinmumps_la_OBJECTS = dmumps_comm_buffer.lo \
     
    9179        mpic.lo elapse.lo
    9280libcoinmumps_la_OBJECTS = $(nodist_libcoinmumps_la_OBJECTS)
     81@SKIPMAKE_FALSE@am_libcoinmumps_la_rpath =
    9382depcomp = $(SHELL) $(top_srcdir)/depcomp
    9483am__depfiles_maybe = depfiles
     
    114103SOURCES = $(nodist_libcoinmumps_la_SOURCES)
    115104DIST_SOURCES =
    116 addlibsDATA_INSTALL = $(INSTALL_DATA)
    117 DATA = $(addlibs_DATA)
    118 thirdpartyincludeHEADERS_INSTALL = $(INSTALL_HEADER)
    119 HEADERS = $(thirdpartyinclude_HEADERS)
    120105ETAGS = etags
    121106CTAGS = ctags
     
    153138COIN_BUILD_BLAS_FALSE = @COIN_BUILD_BLAS_FALSE@
    154139COIN_BUILD_BLAS_TRUE = @COIN_BUILD_BLAS_TRUE@
     140COIN_BUILD_MUMPS_FALSE = @COIN_BUILD_MUMPS_FALSE@
     141COIN_BUILD_MUMPS_TRUE = @COIN_BUILD_MUMPS_TRUE@
    155142COIN_HAS_BLAS_FALSE = @COIN_HAS_BLAS_FALSE@
    156143COIN_HAS_BLAS_TRUE = @COIN_HAS_BLAS_TRUE@
    157144COIN_HAS_METIS_FALSE = @COIN_HAS_METIS_FALSE@
    158145COIN_HAS_METIS_TRUE = @COIN_HAS_METIS_TRUE@
     146COIN_HAS_MUMPS_FALSE = @COIN_HAS_MUMPS_FALSE@
     147COIN_HAS_MUMPS_TRUE = @COIN_HAS_MUMPS_TRUE@
    159148CPP = @CPP@
    160149CPPFLAGS = @CPPFLAGS@
     
    199188MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
    200189MAKEINFO = @MAKEINFO@
     190MAKEOKFILE = @MAKEOKFILE@
    201191MPICC = @MPICC@
    202192MPIF77 = @MPIF77@
    203193MUMPSDIR = @MUMPSDIR@
     194MUMPSINCDIR = @MUMPSINCDIR@
     195MUMPSLIB = @MUMPSLIB@
     196MUMPS_INCFLAGS = @MUMPS_INCFLAGS@
    204197MY_DEFS = @MY_DEFS@
    205198MY_FDEFS = @MY_FDEFS@
     
    218211SET_MAKE = @SET_MAKE@
    219212SHELL = @SHELL@
     213SKIPMAKE_FALSE = @SKIPMAKE_FALSE@
     214SKIPMAKE_TRUE = @SKIPMAKE_TRUE@
    220215STRIP = @STRIP@
    221216VERSION = @VERSION@
     
    276271AUTOMAKE_OPTIONS = foreign
    277272EXTRA_DIST = get.mumps INSTALL.MUMPS $(am__append_1)
    278 thirdpartylibdir = $(prefix)/lib/ThirdParty
    279 thirdpartylib_LTLIBRARIES = libcoinmumps.la
     273@SKIPMAKE_FALSE@noinst_LTLIBRARIES = libcoinmumps.la
     274@SKIPMAKE_TRUE@noinst_LTLIBRARIES =
    280275nodist_libcoinmumps_la_SOURCES = \
    281276        $(MUMPSDIR)/src/dmumps_comm_buffer.F \
     
    317312MODEXT = mod
    318313CLEANFILES = *.$(MODEXT)
    319 thirdpartyincludedir = $(includedir)/coin/ThirdParty
    320 thirdpartyinclude_HEADERS = \
    321   $(MUMPSDIR)/include/dmumps_c.h \
    322   $(MUMPSDIR)/include/mumps_compat.h \
    323   $(MUMPSDIR)/include/mumps_c_types.h
    324 
    325 addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Mumps
    326 addlibs_DATA = README mumps_addlibs.txt
    327314
    328315########################################################################
     
    371358$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    372359        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    373 mumps_addlibs.txt: $(top_builddir)/config.status $(srcdir)/mumps_addlibs.txt.in
    374         cd $(top_builddir) && $(SHELL) ./config.status $@
    375 install-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 
    386 uninstall-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 
    394 clean-thirdpartylibLTLIBRARIES:
    395         -test -z "$(thirdpartylib_LTLIBRARIES)" || rm -f $(thirdpartylib_LTLIBRARIES)
    396         @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     360
     361clean-noinstLTLIBRARIES:
     362        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
     363        @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
    397364          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    398365          test "$$dir" != "$$p" || dir=.; \
     
    401368        done
    402369libcoinmumps.la: $(libcoinmumps_la_OBJECTS) $(libcoinmumps_la_DEPENDENCIES)
    403         $(F77LINK) -rpath $(thirdpartylibdir) $(libcoinmumps_la_LDFLAGS) $(libcoinmumps_la_OBJECTS) $(libcoinmumps_la_LIBADD) $(LIBS)
     370        $(F77LINK) $(am_libcoinmumps_la_rpath) $(libcoinmumps_la_LDFLAGS) $(libcoinmumps_la_OBJECTS) $(libcoinmumps_la_LIBADD) $(LIBS)
    404371
    405372mostlyclean-compile:
     
    583550        -rm -f libtool
    584551uninstall-info-am:
    585 install-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 
    595 uninstall-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
    602 install-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 
    612 uninstall-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
    619552
    620553ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    669602        $(am__remove_distdir)
    670603        mkdir $(distdir)
    671         $(mkdir_p) $(distdir)/$(MUMPSDIR)/include $(distdir)/. $(distdir)/../../BuildTools
     604        $(mkdir_p) $(distdir)/../../BuildTools
    672605        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    673606        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    795728check-am: all-am
    796729check: check-am
    797 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
     730all-am: Makefile $(LTLIBRARIES)
    798731installdirs:
    799         for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \
    800           test -z "$$dir" || $(mkdir_p) "$$dir"; \
    801         done
    802732install: install-am
    803733install-exec: install-exec-am
     
    828758clean: clean-am
    829759
    830 clean-am: clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
     760clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
    831761        mostlyclean-am
    832762
     
    848778info-am:
    849779
    850 install-data-am: install-addlibsDATA install-thirdpartyincludeHEADERS \
    851         install-thirdpartylibLTLIBRARIES
     780install-data-am:
    852781
    853782install-exec-am:
     
    879808ps-am:
    880809
    881 uninstall-am: uninstall-addlibsDATA uninstall-info-am \
    882         uninstall-thirdpartyincludeHEADERS \
    883         uninstall-thirdpartylibLTLIBRARIES
     810uninstall-am: uninstall-info-am
    884811
    885812.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
    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
     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
    902825
    903826
  • ThirdParty/Mumps/trunk/configure

    r1391 r1411  
    1010#
    1111#
    12 # Copyright 2007-2009 International Business Machines and others.
     12# Copyright 2007-2008 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 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 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'
    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
    10911093
    10921094Optional Packages:
     
    11021104  --with-blas             specify BLAS library (or BUILD for compilation)
    11031105  --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
    11041108
    11051109Some influential environment variables:
     
    12331237
    12341238
    1235 Copyright 2007-2009 International Business Machines and others.
     1239Copyright 2007-2008 International Business Machines and others.
    12361240All Rights Reserved.
    12371241This file is part of the open source package Coin which is distributed
     
    32963300
    32973301# Provide some information about the compiler.
    3298 echo "$as_me:3298:" \
     3302echo "$as_me:3302:" \
    32993303     "checking for Fortran 77 compiler version" >&5
    33003304ac_compiler=`set X $ac_compile; echo $2`
     
    38643868ac_save_FFLAGS=$FFLAGS
    38653869FFLAGS="$FFLAGS $ac_verb"
    3866 (eval echo $as_me:3866: \"$ac_link\") >&5
     3870(eval echo $as_me:3870: \"$ac_link\") >&5
    38673871ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    38683872echo "$ac_f77_v_output" >&5
     
    39423946ac_save_FFLAGS=$FFLAGS
    39433947FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    3944 (eval echo $as_me:3944: \"$ac_link\") >&5
     3948(eval echo $as_me:3948: \"$ac_link\") >&5
    39453949ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    39463950echo "$ac_f77_v_output" >&5
     
    69967000*-*-irix6*)
    69977001  # Find out which ABI we are using.
    6998   echo '#line 6998 "configure"' > conftest.$ac_ext
     7002  echo '#line 7002 "configure"' > conftest.$ac_ext
    69997003  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    70007004  (eval $ac_compile) 2>&5
     
    89928996   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    89938997   -e 's:$: $lt_compiler_flag:'`
    8994    (eval echo "\"\$as_me:8994: $lt_compile\"" >&5)
     8998   (eval echo "\"\$as_me:8998: $lt_compile\"" >&5)
    89958999   (eval "$lt_compile" 2>conftest.err)
    89969000   ac_status=$?
    89979001   cat conftest.err >&5
    8998    echo "$as_me:8998: \$? = $ac_status" >&5
     9002   echo "$as_me:9002: \$? = $ac_status" >&5
    89999003   if (exit $ac_status) && test -s "$ac_outfile"; then
    90009004     # The compiler can only warn and ignore the option if not recognized
     
    92609264   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    92619265   -e 's:$: $lt_compiler_flag:'`
    9262    (eval echo "\"\$as_me:9262: $lt_compile\"" >&5)
     9266   (eval echo "\"\$as_me:9266: $lt_compile\"" >&5)
    92639267   (eval "$lt_compile" 2>conftest.err)
    92649268   ac_status=$?
    92659269   cat conftest.err >&5
    9266    echo "$as_me:9266: \$? = $ac_status" >&5
     9270   echo "$as_me:9270: \$? = $ac_status" >&5
    92679271   if (exit $ac_status) && test -s "$ac_outfile"; then
    92689272     # The compiler can only warn and ignore the option if not recognized
     
    93649368   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    93659369   -e 's:$: $lt_compiler_flag:'`
    9366    (eval echo "\"\$as_me:9366: $lt_compile\"" >&5)
     9370   (eval echo "\"\$as_me:9370: $lt_compile\"" >&5)
    93679371   (eval "$lt_compile" 2>out/conftest.err)
    93689372   ac_status=$?
    93699373   cat out/conftest.err >&5
    9370    echo "$as_me:9370: \$? = $ac_status" >&5
     9374   echo "$as_me:9374: \$? = $ac_status" >&5
    93719375   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    93729376   then
     
    1178111785  lt_status=$lt_dlunknown
    1178211786  cat > conftest.$ac_ext <<EOF
    11783 #line 11783 "configure"
     11787#line 11787 "configure"
    1178411788#include "confdefs.h"
    1178511789
     
    1188111885  lt_status=$lt_dlunknown
    1188211886  cat > conftest.$ac_ext <<EOF
    11883 #line 11883 "configure"
     11887#line 11887 "configure"
    1188411888#include "confdefs.h"
    1188511889
     
    1424114245   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1424214246   -e 's:$: $lt_compiler_flag:'`
    14243    (eval echo "\"\$as_me:14243: $lt_compile\"" >&5)
     14247   (eval echo "\"\$as_me:14247: $lt_compile\"" >&5)
    1424414248   (eval "$lt_compile" 2>conftest.err)
    1424514249   ac_status=$?
    1424614250   cat conftest.err >&5
    14247    echo "$as_me:14247: \$? = $ac_status" >&5
     14251   echo "$as_me:14251: \$? = $ac_status" >&5
    1424814252   if (exit $ac_status) && test -s "$ac_outfile"; then
    1424914253     # The compiler can only warn and ignore the option if not recognized
     
    1434514349   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1434614350   -e 's:$: $lt_compiler_flag:'`
    14347    (eval echo "\"\$as_me:14347: $lt_compile\"" >&5)
     14351   (eval echo "\"\$as_me:14351: $lt_compile\"" >&5)
    1434814352   (eval "$lt_compile" 2>out/conftest.err)
    1434914353   ac_status=$?
    1435014354   cat out/conftest.err >&5
    14351    echo "$as_me:14351: \$? = $ac_status" >&5
     14355   echo "$as_me:14355: \$? = $ac_status" >&5
    1435214356   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1435314357   then
     
    1591515919   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1591615920   -e 's:$: $lt_compiler_flag:'`
    15917    (eval echo "\"\$as_me:15917: $lt_compile\"" >&5)
     15921   (eval echo "\"\$as_me:15921: $lt_compile\"" >&5)
    1591815922   (eval "$lt_compile" 2>conftest.err)
    1591915923   ac_status=$?
    1592015924   cat conftest.err >&5
    15921    echo "$as_me:15921: \$? = $ac_status" >&5
     15925   echo "$as_me:15925: \$? = $ac_status" >&5
    1592215926   if (exit $ac_status) && test -s "$ac_outfile"; then
    1592315927     # The compiler can only warn and ignore the option if not recognized
     
    1601916023   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1602016024   -e 's:$: $lt_compiler_flag:'`
    16021    (eval echo "\"\$as_me:16021: $lt_compile\"" >&5)
     16025   (eval echo "\"\$as_me:16025: $lt_compile\"" >&5)
    1602216026   (eval "$lt_compile" 2>out/conftest.err)
    1602316027   ac_status=$?
    1602416028   cat out/conftest.err >&5
    16025    echo "$as_me:16025: \$? = $ac_status" >&5
     16029   echo "$as_me:16029: \$? = $ac_status" >&5
    1602616030   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1602716031   then
     
    1822618230   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1822718231   -e 's:$: $lt_compiler_flag:'`
    18228    (eval echo "\"\$as_me:18228: $lt_compile\"" >&5)
     18232   (eval echo "\"\$as_me:18232: $lt_compile\"" >&5)
    1822918233   (eval "$lt_compile" 2>conftest.err)
    1823018234   ac_status=$?
    1823118235   cat conftest.err >&5
    18232    echo "$as_me:18232: \$? = $ac_status" >&5
     18236   echo "$as_me:18236: \$? = $ac_status" >&5
    1823318237   if (exit $ac_status) && test -s "$ac_outfile"; then
    1823418238     # The compiler can only warn and ignore the option if not recognized
     
    1849418498   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1849518499   -e 's:$: $lt_compiler_flag:'`
    18496    (eval echo "\"\$as_me:18496: $lt_compile\"" >&5)
     18500   (eval echo "\"\$as_me:18500: $lt_compile\"" >&5)
    1849718501   (eval "$lt_compile" 2>conftest.err)
    1849818502   ac_status=$?
    1849918503   cat conftest.err >&5
    18500    echo "$as_me:18500: \$? = $ac_status" >&5
     18504   echo "$as_me:18504: \$? = $ac_status" >&5
    1850118505   if (exit $ac_status) && test -s "$ac_outfile"; then
    1850218506     # The compiler can only warn and ignore the option if not recognized
     
    1859818602   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1859918603   -e 's:$: $lt_compiler_flag:'`
    18600    (eval echo "\"\$as_me:18600: $lt_compile\"" >&5)
     18604   (eval echo "\"\$as_me:18604: $lt_compile\"" >&5)
    1860118605   (eval "$lt_compile" 2>out/conftest.err)
    1860218606   ac_status=$?
    1860318607   cat out/conftest.err >&5
    18604    echo "$as_me:18604: \$? = $ac_status" >&5
     18608   echo "$as_me:18608: \$? = $ac_status" >&5
    1860518609   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1860618610   then
     
    2368723691
    2368823692## Check if Mumps is already provided by user
    23689 #AC_COIN_HAS_MUMPS
    23690 
    23691 #Mumps needs pthreads
    23692 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
     23693
     23694if test "$PACKAGE_NAME" = ThirdPartyMumps; then
     23695  coin_mumpsobjdir=../Mumps
     23696else
     23697  coin_mumpsobjdir=../ThirdParty/Mumps
     23698fi
     23699coin_mumpssrcdir=$abs_source_dir/$coin_mumpsobjdir/MUMPS
     23700
     23701MAKEOKFILE=.MakeOk
     23702
     23703#check if user provides a MUMPS library (that works)
     23704ac_ext=c
     23705ac_cpp='$CPP $CPPFLAGS'
     23706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23708ac_compiler_gnu=$ac_cv_c_compiler_gnu
     23709
     23710SAVE_ADDLIBS="$ADDLIBS"
     23711ADDLIBS="$ADDLIBS $FLIBS"
     23712
     23713  echo "$as_me:$LINENO: checking if user provides library for mumps" >&5
     23714echo $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.
     23720if test "${with_mumps_incdir+set}" = set; then
     23721  withval="$with_mumps_incdir"
     23722  MUMPSINCDIR=`cd $withval; pwd`
     23723fi;
     23724
     23725# Check for library directory
     23726
     23727
     23728# Check whether --with-mumps-lib or --without-mumps-lib was given.
     23729if test "${with_mumps_lib+set}" = set; then
     23730  withval="$with_mumps_lib"
     23731  MUMPSLIB=$withval
     23732fi;
     23733
     23734# Switch to disable library check if requested
     23735
     23736  # Check whether --enable-mumps-libcheck or --disable-mumps-libcheck was given.
     23737if test "${enable_mumps_libcheck+set}" = set; then
     23738  enableval="$enable_mumps_libcheck"
     23739  mumps_libcheck=$enableval
     23740else
     23741  mumps_libcheck=yes
     23742fi;
     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
     23750echo "$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
     23755echo "${ECHO_T}yes" >&6
     23756  else
     23757    coin_has_mumps=false
     23758    echo "$as_me:$LINENO: result: no" >&5
     23759echo "${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  :
     23772else
     23773  { { echo "$as_me:$LINENO: error: Cannot find file dmumps_c.h in $MUMPSINCDIR" >&5
     23774echo "$as_me: error: Cannot find file dmumps_c.h in $MUMPSINCDIR" >&2;}
     23775   { (exit 1); exit 1; }; }
     23776  :
     23777fi
     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
     23792ac_cpp='$CPP $CPPFLAGS'
     23793ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23794ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23795ac_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
     23799echo $ECHO_N "checking whether symbol $fnm is available with MUMPS... $ECHO_C" >&6
     23800             cat >conftest.$ac_ext <<_ACEOF
     23801/* confdefs.h.  */
     23802_ACEOF
     23803cat confdefs.h >>conftest.$ac_ext
     23804cat >>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
     23815int
     23816main ()
     23817{
     23818$fnm()
     23819  ;
     23820  return 0;
     23821}
     23822_ACEOF
     23823rm -f conftest.$ac_objext conftest$ac_exeext
     23824if { (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
     23846echo "${ECHO_T}yes" >&6
     23847                  coin_MUMPS_link=yes
     23848                  break
     23849else
     23850  echo "$as_me: failed program was:" >&5
     23851sed 's/^/| /' conftest.$ac_ext >&5
     23852
     23853echo "$as_me:$LINENO: result: no" >&5
     23854echo "${ECHO_T}no" >&6
     23855fi
     23856rm -f conftest.err conftest.$ac_objext \
     23857      conftest$ac_exeext conftest.$ac_ext
     23858           done
     23859           ac_ext=c
     23860ac_cpp='$CPP $CPPFLAGS'
     23861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23863ac_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
     23869echo "$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
     23881cat >>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
     23894if test $coin_has_mumps = true; then
     23895  COIN_HAS_MUMPS_TRUE=
     23896  COIN_HAS_MUMPS_FALSE='#'
     23897else
     23898  COIN_HAS_MUMPS_TRUE='#'
     23899  COIN_HAS_MUMPS_FALSE=
     23900fi
     23901
     23902
     23903ADDLIBS="$SAVE_ADDLIBS"
     23904ac_ext=c
     23905ac_cpp='$CPP $CPPFLAGS'
     23906ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23907ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23908ac_compiler_gnu=$ac_cv_c_compiler_gnu
     23909
     23910
     23911if 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
     23918else # 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
     23927ac_cpp='$CPP $CPPFLAGS'
     23928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23929ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23930ac_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
    2369323935echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
    2369423936if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
     
    2376324005echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
    2376424006if test $ac_cv_lib_pthread_pthread_create = yes; then
     24007  LIBS="-lpthread $save_LIBS"; ADDLIBS="-lpthread $ADDLIBS"
     24008else
     24009  LIBS="save_LIBS"
     24010fi
     24011
     24012      ac_ext=c
     24013ac_cpp='$CPP $CPPFLAGS'
     24014ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     24015ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24016ac_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
     24028if test x"$use_mumps" != x; then
     24029  COIN_HAS_MUMPS_TRUE=
     24030  COIN_HAS_MUMPS_FALSE='#'
     24031else
     24032  COIN_HAS_MUMPS_TRUE='#'
     24033  COIN_HAS_MUMPS_FALSE=
     24034fi
     24035
     24036  if test x"$use_mumps" != x; then
     24037
     24038cat >>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
     24047echo $ECHO_N "checking whether MUMPS is available... $ECHO_C" >&6
     24048  echo "$as_me:$LINENO: result: $coin_has_mumps" >&5
     24049echo "${ECHO_T}$coin_has_mumps" >&6
     24050fi
     24051
     24052if 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
     24057fi
     24058
     24059
     24060
     24061if test "$use_mumps" = BUILD; then
     24062  COIN_BUILD_MUMPS_TRUE=
     24063  COIN_BUILD_MUMPS_FALSE='#'
     24064else
     24065  COIN_BUILD_MUMPS_TRUE='#'
     24066  COIN_BUILD_MUMPS_FALSE=
     24067fi
     24068
     24069
     24070
     24071
     24072#Mumps needs pthreads
     24073echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
     24074echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
     24075if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
     24076  echo $ECHO_N "(cached) $ECHO_C" >&6
     24077else
     24078  ac_check_lib_save_LIBS=$LIBS
     24079LIBS="-lpthread  $LIBS"
     24080cat >conftest.$ac_ext <<_ACEOF
     24081/* confdefs.h.  */
     24082_ACEOF
     24083cat confdefs.h >>conftest.$ac_ext
     24084cat >>conftest.$ac_ext <<_ACEOF
     24085/* end confdefs.h.  */
     24086
     24087/* Override any gcc2 internal prototype to avoid an error.  */
     24088#ifdef __cplusplus
     24089extern "C"
     24090#endif
     24091/* We use char because int might match the return type of a gcc2
     24092   builtin and then its argument prototype would still apply.  */
     24093char pthread_create ();
     24094#ifdef F77_DUMMY_MAIN
     24095
     24096#  ifdef __cplusplus
     24097     extern "C"
     24098#  endif
     24099   int F77_DUMMY_MAIN() { return 1; }
     24100
     24101#endif
     24102int
     24103main ()
     24104{
     24105pthread_create ();
     24106  ;
     24107  return 0;
     24108}
     24109_ACEOF
     24110rm -f conftest.$ac_objext conftest$ac_exeext
     24111if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24112  (eval $ac_link) 2>conftest.er1
     24113  ac_status=$?
     24114  grep -v '^ *+' conftest.er1 >conftest.err
     24115  rm -f conftest.er1
     24116  cat conftest.err >&5
     24117  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24118  (exit $ac_status); } &&
     24119         { ac_try='test -z "$ac_c_werror_flag"
     24120                         || test ! -s conftest.err'
     24121  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24122  (eval $ac_try) 2>&5
     24123  ac_status=$?
     24124  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24125  (exit $ac_status); }; } &&
     24126         { ac_try='test -s conftest$ac_exeext'
     24127  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24128  (eval $ac_try) 2>&5
     24129  ac_status=$?
     24130  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24131  (exit $ac_status); }; }; then
     24132  ac_cv_lib_pthread_pthread_create=yes
     24133else
     24134  echo "$as_me: failed program was:" >&5
     24135sed 's/^/| /' conftest.$ac_ext >&5
     24136
     24137ac_cv_lib_pthread_pthread_create=no
     24138fi
     24139rm -f conftest.err conftest.$ac_objext \
     24140      conftest$ac_exeext conftest.$ac_ext
     24141LIBS=$ac_check_lib_save_LIBS
     24142fi
     24143echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
     24144echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
     24145if test $ac_cv_lib_pthread_pthread_create = yes; then
    2376524146  ADDLIBS="-lpthread $ADDLIBS"
    2376624147fi
     
    2376824149
    2376924150# Verify that we can compile Fortran 90 code
    23770 #if test "$use_mumps" = BUILD; then
     24151if test "$use_mumps" = BUILD; then
    2377124152  echo "$as_me:$LINENO: checking whether we can compile Fortran 90 code" >&5
    2377224153echo $ECHO_N "checking whether we can compile Fortran 90 code... $ECHO_C" >&6
     
    2382024201
    2382124202  if test $can_f90 = no; then
    23822     { { echo "$as_me:$LINENO: error: Your Fortran compiler can't compile Fortran 90, I cannot compile MUMPS" >&5
    23823 echo "$as_me: error: Your Fortran compiler can't compile Fortran 90, I cannot compile MUMPS" >&2;}
    23824    { (exit 1); exit 1; }; }
    23825 #    use_mumps=
     24203    { echo "$as_me:$LINENO: WARNING: Your Fortran compiler can't compile Fortran 90, I will not compile MUMPS" >&5
     24204echo "$as_me: WARNING: Your Fortran compiler can't compile Fortran 90, I will not compile MUMPS" >&2;}
     24205    use_mumps=
    2382624206  fi
    23827 #fi
    23828 
    23829 #rm -f $MAKEOKFILE
    23830 #if test $coin_has_mumps = yes && test "$use_mumps" != BUILD; then
    23831 #  AC_MSG_NOTICE([The Mumps sources don't need to be compiled])
    23832 #  MAKEOKFILE=
    23833 #else
    23834 #  touch $MAKEOKFILE
    23835 #fi
    23836 #AC_SUBST(MAKEOKFILE)
    23837 #AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
     24207fi
     24208
     24209rm -f $MAKEOKFILE
     24210if test $coin_has_mumps = yes && test "$use_mumps" != BUILD; then
     24211  { echo "$as_me:$LINENO: The Mumps sources don't need to be compiled" >&5
     24212echo "$as_me: The Mumps sources don't need to be compiled" >&6;}
     24213  MAKEOKFILE=
     24214else
     24215  touch $MAKEOKFILE
     24216fi
     24217
     24218
     24219
     24220if test -z "$MAKEOKFILE"; then
     24221  SKIPMAKE_TRUE=
     24222  SKIPMAKE_FALSE='#'
     24223else
     24224  SKIPMAKE_TRUE='#'
     24225  SKIPMAKE_FALSE=
     24226fi
     24227
    2383824228
    2383924229MUMPSDIR=MUMPS
     
    2386124251echo "${ECHO_T}$MY_FDEFS" >&6
    2386224252
    23863                     ac_config_files="$ac_config_files Makefile mumps_addlibs.txt"
     24253          ac_config_files="$ac_config_files Makefile"
    2386424254
    2386524255
     
    2410324493Usually this means the macro was only invoked conditionally." >&5
    2410424494echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined.
     24495Usually this means the macro was only invoked conditionally." >&2;}
     24496   { (exit 1); exit 1; }; }
     24497fi
     24498if test -z "${COIN_HAS_MUMPS_TRUE}" && test -z "${COIN_HAS_MUMPS_FALSE}"; then
     24499  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MUMPS\" was never defined.
     24500Usually this means the macro was only invoked conditionally." >&5
     24501echo "$as_me: error: conditional \"COIN_HAS_MUMPS\" was never defined.
     24502Usually this means the macro was only invoked conditionally." >&2;}
     24503   { (exit 1); exit 1; }; }
     24504fi
     24505if test -z "${COIN_HAS_MUMPS_TRUE}" && test -z "${COIN_HAS_MUMPS_FALSE}"; then
     24506  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MUMPS\" was never defined.
     24507Usually this means the macro was only invoked conditionally." >&5
     24508echo "$as_me: error: conditional \"COIN_HAS_MUMPS\" was never defined.
     24509Usually this means the macro was only invoked conditionally." >&2;}
     24510   { (exit 1); exit 1; }; }
     24511fi
     24512if test -z "${COIN_BUILD_MUMPS_TRUE}" && test -z "${COIN_BUILD_MUMPS_FALSE}"; then
     24513  { { echo "$as_me:$LINENO: error: conditional \"COIN_BUILD_MUMPS\" was never defined.
     24514Usually this means the macro was only invoked conditionally." >&5
     24515echo "$as_me: error: conditional \"COIN_BUILD_MUMPS\" was never defined.
     24516Usually this means the macro was only invoked conditionally." >&2;}
     24517   { (exit 1); exit 1; }; }
     24518fi
     24519if test -z "${SKIPMAKE_TRUE}" && test -z "${SKIPMAKE_FALSE}"; then
     24520  { { echo "$as_me:$LINENO: error: conditional \"SKIPMAKE\" was never defined.
     24521Usually this means the macro was only invoked conditionally." >&5
     24522echo "$as_me: error: conditional \"SKIPMAKE\" was never defined.
    2410524523Usually this means the macro was only invoked conditionally." >&2;}
    2410624524   { (exit 1); exit 1; }; }
     
    2454624964  # Handling of arguments.
    2454724965  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    24548   "mumps_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES mumps_addlibs.txt" ;;
    2454924966  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    2455024967  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     
    2473825155s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t
    2473925156s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t
     25157s,@MUMPSINCDIR@,$MUMPSINCDIR,;t t
     25158s,@MUMPSLIB@,$MUMPSLIB,;t t
     25159s,@COIN_HAS_MUMPS_TRUE@,$COIN_HAS_MUMPS_TRUE,;t t
     25160s,@COIN_HAS_MUMPS_FALSE@,$COIN_HAS_MUMPS_FALSE,;t t
     25161s,@MUMPS_INCFLAGS@,$MUMPS_INCFLAGS,;t t
     25162s,@COIN_BUILD_MUMPS_TRUE@,$COIN_BUILD_MUMPS_TRUE,;t t
     25163s,@COIN_BUILD_MUMPS_FALSE@,$COIN_BUILD_MUMPS_FALSE,;t t
     25164s,@MAKEOKFILE@,$MAKEOKFILE,;t t
     25165s,@SKIPMAKE_TRUE@,$SKIPMAKE_TRUE,;t t
     25166s,@SKIPMAKE_FALSE@,$SKIPMAKE_FALSE,;t t
    2474025167s,@MUMPSDIR@,$MUMPSDIR,;t t
    2474125168s,@MY_FDEFS@,$MY_FDEFS,;t t
  • ThirdParty/Mumps/trunk/configure.ac

    r1391 r1411  
    1 # Copyright (C) 2007-2009 International Business Machines.
     1# Copyright (C) 2007-2008 International Business Machines.
    22# All Rights Reserved.
    33# This file is distributed under the Common Public License.
     
    1616
    1717AC_COPYRIGHT([
    18 Copyright 2007-2009 International Business Machines and others.
     18Copyright 2007-2008 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
     106AC_COIN_HAS_MUMPS
    107107
    108108#Mumps needs pthreads
     
    110110
    111111# Verify that we can compile Fortran 90 code
    112 #if test "$use_mumps" = BUILD; then
     112if test "$use_mumps" = BUILD; then
    113113  AC_MSG_CHECKING([whether we can compile Fortran 90 code])
    114114  AC_LANG_PUSH(Fortran 77)
     
    119119  AC_LANG_POP(Fortran 77)
    120120  if test $can_f90 = no; then
    121     AC_MSG_ERROR([Your Fortran compiler can't compile Fortran 90, I cannot compile MUMPS])
    122 #    use_mumps=
     121    AC_MSG_WARN([Your Fortran compiler can't compile Fortran 90, I will not compile MUMPS])
     122    use_mumps=
    123123  fi
    124 #fi
     124fi
    125125
    126 #rm -f $MAKEOKFILE
    127 #if test $coin_has_mumps = yes && test "$use_mumps" != BUILD; then
    128 #  AC_MSG_NOTICE([The Mumps sources don't need to be compiled])
    129 #  MAKEOKFILE=
    130 #else
    131 #  touch $MAKEOKFILE
    132 #fi
    133 #AC_SUBST(MAKEOKFILE)
    134 #AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
     126rm -f $MAKEOKFILE
     127if test $coin_has_mumps = yes && test "$use_mumps" != BUILD; then
     128  AC_MSG_NOTICE([The Mumps sources don't need to be compiled])
     129  MAKEOKFILE=
     130else
     131  touch $MAKEOKFILE
     132fi
     133AC_SUBST(MAKEOKFILE)
     134AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    135135
    136136MUMPSDIR=MUMPS
     
    154154AC_MSG_RESULT([$MY_FDEFS])
    155155
    156 AC_CONFIG_FILES([Makefile mumps_addlibs.txt])
     156AC_CONFIG_FILES([Makefile])
    157157
    158158AC_COIN_FINALIZE
Note: See TracChangeset for help on using the changeset viewer.