Changeset 1411 for ThirdParty/Metis


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/Metis/trunk
Files:
2 deleted
4 edited

Legend:

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

    r1388 r1411  
    99EXTRA_DIST = get.metis INSTALL.METIS
    1010
    11 thirdpartylibdir = $(prefix)/lib/ThirdParty
    12 thirdpartylib_LTLIBRARIES = libcoinmetis.la
     11if SKIPMAKE
     12  noinst_LTLIBRARIES =
     13else
     14  noinst_LTLIBRARIES = libcoinmetis.la
     15endif
    1316
    1417METISDIR = @METISDIR@
    1518
    16 libcoinmetis_la_SOURCES = \
     19nodist_libcoinmetis_la_SOURCES = \
    1720        $(METISDIR)/Lib/balance.c \
    1821        $(METISDIR)/Lib/bucketsort.c \
     
    7376        -I`$(CYGPATH_W) $(srcdir)/$(METISDIR)/Lib`
    7477
     78
    7579libcoinmetis_la_LDFLAGS = $(LT_LDFLAGS)
    76 
    77 thirdpartyincludedir = $(includedir)/coin/ThirdParty
    78 thirdpartyinclude_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 
    86 addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Metis
    87 addlibs_DATA = README metis_addlibs.txt
    8880
    8981# Suppress default defines from autoheader
  • ThirdParty/Metis/trunk/Makefile.in

    r1388 r1411  
    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 \
    5755        $(srcdir)/../../config.guess $(srcdir)/../../config.sub \
     
    5957        $(srcdir)/../../ltmain.sh $(srcdir)/../../missing \
    6058        $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
    61         $(srcdir)/metis_addlibs.txt.in $(thirdpartyinclude_HEADERS) \
    6259        $(top_srcdir)/configure
    6360@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
     
    7269 configure.lineno configure.status.lineno
    7370mkinstalldirs = $(install_sh) -d
    74 CONFIG_CLEAN_FILES = metis_addlibs.txt
    75 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
    76 am__vpath_adj = case $$p in \
    77     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    78     *) f=$$p;; \
    79   esac;
    80 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
    81 am__installdirs = "$(DESTDIR)$(thirdpartylibdir)" \
    82         "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"
    83 thirdpartylibLTLIBRARIES_INSTALL = $(INSTALL)
    84 LTLIBRARIES = $(thirdpartylib_LTLIBRARIES)
     71CONFIG_CLEAN_FILES =
     72LTLIBRARIES = $(noinst_LTLIBRARIES)
    8573libcoinmetis_la_LIBADD =
    86 am_libcoinmetis_la_OBJECTS = balance.lo bucketsort.lo ccgraph.lo \
     74nodist_libcoinmetis_la_OBJECTS = balance.lo bucketsort.lo ccgraph.lo \
    8775        coarsen.lo compress.lo debug.lo estmem.lo fm.lo fortran.lo \
    8876        frename.lo graph.lo initpart.lo kmetis.lo kvmetis.lo kwayfm.lo \
     
    9583        separator.lo sfm.lo srefine.lo stat.lo subdomains.lo timing.lo \
    9684        util.lo
    97 libcoinmetis_la_OBJECTS = $(am_libcoinmetis_la_OBJECTS)
     85libcoinmetis_la_OBJECTS = $(nodist_libcoinmetis_la_OBJECTS)
     86@SKIPMAKE_FALSE@am_libcoinmetis_la_rpath =
    9887depcomp = $(SHELL) $(top_srcdir)/../../depcomp
    9988am__depfiles_maybe = depfiles
     
    10695LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
    10796        $(AM_LDFLAGS) $(LDFLAGS) -o $@
    108 SOURCES = $(libcoinmetis_la_SOURCES)
    109 DIST_SOURCES = $(libcoinmetis_la_SOURCES)
    110 addlibsDATA_INSTALL = $(INSTALL_DATA)
    111 DATA = $(addlibs_DATA)
    112 thirdpartyincludeHEADERS_INSTALL = $(INSTALL_HEADER)
    113 HEADERS = $(thirdpartyinclude_HEADERS)
     97SOURCES = $(nodist_libcoinmetis_la_SOURCES)
     98DIST_SOURCES =
    11499ETAGS = etags
    115100CTAGS = ctags
     
    144129CDEFS = @CDEFS@
    145130CFLAGS = @CFLAGS@
     131COIN_HAS_METIS_FALSE = @COIN_HAS_METIS_FALSE@
     132COIN_HAS_METIS_TRUE = @COIN_HAS_METIS_TRUE@
    146133CPP = @CPP@
    147134CPPFLAGS = @CPPFLAGS@
     
    184171MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
    185172MAKEINFO = @MAKEINFO@
     173MAKEOKFILE = @MAKEOKFILE@
    186174METISDIR = @METISDIR@
    187175MPICC = @MPICC@
     
    199187SET_MAKE = @SET_MAKE@
    200188SHELL = @SHELL@
     189SKIPMAKE_FALSE = @SKIPMAKE_FALSE@
     190SKIPMAKE_TRUE = @SKIPMAKE_TRUE@
    201191STRIP = @STRIP@
    202192VERSION = @VERSION@
     
    257247AUTOMAKE_OPTIONS = foreign
    258248EXTRA_DIST = get.metis INSTALL.METIS $(am__append_1)
    259 thirdpartylibdir = $(prefix)/lib/ThirdParty
    260 thirdpartylib_LTLIBRARIES = libcoinmetis.la
    261 libcoinmetis_la_SOURCES = \
     249@SKIPMAKE_FALSE@noinst_LTLIBRARIES = libcoinmetis.la
     250@SKIPMAKE_TRUE@noinst_LTLIBRARIES =
     251nodist_libcoinmetis_la_SOURCES = \
    262252        $(METISDIR)/Lib/balance.c \
    263253        $(METISDIR)/Lib/bucketsort.c \
     
    318308
    319309libcoinmetis_la_LDFLAGS = $(LT_LDFLAGS)
    320 thirdpartyincludedir = $(includedir)/coin/ThirdParty
    321 thirdpartyinclude_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 
    329 addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Metis
    330 addlibs_DATA = README metis_addlibs.txt
    331310
    332311########################################################################
     
    376355$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    377356        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    378 metis_addlibs.txt: $(top_builddir)/config.status $(srcdir)/metis_addlibs.txt.in
    379         cd $(top_builddir) && $(SHELL) ./config.status $@
    380 install-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 
    391 uninstall-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 
    399 clean-thirdpartylibLTLIBRARIES:
    400         -test -z "$(thirdpartylib_LTLIBRARIES)" || rm -f $(thirdpartylib_LTLIBRARIES)
    401         @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     357
     358clean-noinstLTLIBRARIES:
     359        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
     360        @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
    402361          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    403362          test "$$dir" != "$$p" || dir=.; \
     
    406365        done
    407366libcoinmetis.la: $(libcoinmetis_la_OBJECTS) $(libcoinmetis_la_DEPENDENCIES)
    408         $(LINK) -rpath $(thirdpartylibdir) $(libcoinmetis_la_LDFLAGS) $(libcoinmetis_la_OBJECTS) $(libcoinmetis_la_LIBADD) $(LIBS)
     367        $(LINK) $(am_libcoinmetis_la_rpath) $(libcoinmetis_la_LDFLAGS) $(libcoinmetis_la_OBJECTS) $(libcoinmetis_la_LIBADD) $(LIBS)
    409368
    410369mostlyclean-compile:
     
    861820        -rm -f libtool
    862821uninstall-info-am:
    863 install-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 
    873 uninstall-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
    880 install-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 
    890 uninstall-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
    897822
    898823ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    947872        $(am__remove_distdir)
    948873        mkdir $(distdir)
    949         $(mkdir_p) $(distdir)/$(METISDIR)/Lib $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools
     874        $(mkdir_p) $(distdir)/../.. $(distdir)/../../BuildTools
    950875        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    951876        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    1073998check-am: all-am
    1074999check: check-am
    1075 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
     1000all-am: Makefile $(LTLIBRARIES)
    10761001installdirs:
    1077         for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \
    1078           test -z "$$dir" || $(mkdir_p) "$$dir"; \
    1079         done
    10801002install: install-am
    10811003install-exec: install-exec-am
     
    11051027clean: clean-am
    11061028
    1107 clean-am: clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
     1029clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
    11081030        mostlyclean-am
    11091031
     
    11251047info-am:
    11261048
    1127 install-data-am: install-addlibsDATA install-thirdpartyincludeHEADERS \
    1128         install-thirdpartylibLTLIBRARIES
     1049install-data-am:
    11291050
    11301051install-exec-am:
     
    11561077ps-am:
    11571078
    1158 uninstall-am: uninstall-addlibsDATA uninstall-info-am \
    1159         uninstall-thirdpartyincludeHEADERS \
    1160         uninstall-thirdpartylibLTLIBRARIES
     1079uninstall-am: uninstall-info-am
    11611080
    11621081.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
    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
     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
    11791094
    11801095
  • ThirdParty/Metis/trunk/configure

    r1388 r1411  
    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 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 COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE MAKEOKFILE SKIPMAKE_TRUE SKIPMAKE_FALSE 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
    10861087
    10871088Some influential environment variables:
     
    47264727*-*-irix6*)
    47274728  # Find out which ABI we are using.
    4728   echo '#line 4728 "configure"' > conftest.$ac_ext
     4729  echo '#line 4729 "configure"' > conftest.$ac_ext
    47294730  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    47304731  (eval $ac_compile) 2>&5
     
    63256326
    63266327# Provide some information about the compiler.
    6327 echo "$as_me:6327:" \
     6328echo "$as_me:6328:" \
    63286329     "checking for Fortran 77 compiler version" >&5
    63296330ac_compiler=`set X $ac_compile; echo $2`
     
    73927393   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    73937394   -e 's:$: $lt_compiler_flag:'`
    7394    (eval echo "\"\$as_me:7394: $lt_compile\"" >&5)
     7395   (eval echo "\"\$as_me:7395: $lt_compile\"" >&5)
    73957396   (eval "$lt_compile" 2>conftest.err)
    73967397   ac_status=$?
    73977398   cat conftest.err >&5
    7398    echo "$as_me:7398: \$? = $ac_status" >&5
     7399   echo "$as_me:7399: \$? = $ac_status" >&5
    73997400   if (exit $ac_status) && test -s "$ac_outfile"; then
    74007401     # The compiler can only warn and ignore the option if not recognized
     
    76607661   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    76617662   -e 's:$: $lt_compiler_flag:'`
    7662    (eval echo "\"\$as_me:7662: $lt_compile\"" >&5)
     7663   (eval echo "\"\$as_me:7663: $lt_compile\"" >&5)
    76637664   (eval "$lt_compile" 2>conftest.err)
    76647665   ac_status=$?
    76657666   cat conftest.err >&5
    7666    echo "$as_me:7666: \$? = $ac_status" >&5
     7667   echo "$as_me:7667: \$? = $ac_status" >&5
    76677668   if (exit $ac_status) && test -s "$ac_outfile"; then
    76687669     # The compiler can only warn and ignore the option if not recognized
     
    77647765   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    77657766   -e 's:$: $lt_compiler_flag:'`
    7766    (eval echo "\"\$as_me:7766: $lt_compile\"" >&5)
     7767   (eval echo "\"\$as_me:7767: $lt_compile\"" >&5)
    77677768   (eval "$lt_compile" 2>out/conftest.err)
    77687769   ac_status=$?
    77697770   cat out/conftest.err >&5
    7770    echo "$as_me:7770: \$? = $ac_status" >&5
     7771   echo "$as_me:7771: \$? = $ac_status" >&5
    77717772   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    77727773   then
     
    1010910110  lt_status=$lt_dlunknown
    1011010111  cat > conftest.$ac_ext <<EOF
    10111 #line 10111 "configure"
     10112#line 10112 "configure"
    1011210113#include "confdefs.h"
    1011310114
     
    1020910210  lt_status=$lt_dlunknown
    1021010211  cat > conftest.$ac_ext <<EOF
    10211 #line 10211 "configure"
     10212#line 10212 "configure"
    1021210213#include "confdefs.h"
    1021310214
     
    1255312554   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1255412555   -e 's:$: $lt_compiler_flag:'`
    12555    (eval echo "\"\$as_me:12555: $lt_compile\"" >&5)
     12556   (eval echo "\"\$as_me:12556: $lt_compile\"" >&5)
    1255612557   (eval "$lt_compile" 2>conftest.err)
    1255712558   ac_status=$?
    1255812559   cat conftest.err >&5
    12559    echo "$as_me:12559: \$? = $ac_status" >&5
     12560   echo "$as_me:12560: \$? = $ac_status" >&5
    1256012561   if (exit $ac_status) && test -s "$ac_outfile"; then
    1256112562     # The compiler can only warn and ignore the option if not recognized
     
    1265712658   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1265812659   -e 's:$: $lt_compiler_flag:'`
    12659    (eval echo "\"\$as_me:12659: $lt_compile\"" >&5)
     12660   (eval echo "\"\$as_me:12660: $lt_compile\"" >&5)
    1266012661   (eval "$lt_compile" 2>out/conftest.err)
    1266112662   ac_status=$?
    1266212663   cat out/conftest.err >&5
    12663    echo "$as_me:12663: \$? = $ac_status" >&5
     12664   echo "$as_me:12664: \$? = $ac_status" >&5
    1266412665   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1266512666   then
     
    1422714228   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1422814229   -e 's:$: $lt_compiler_flag:'`
    14229    (eval echo "\"\$as_me:14229: $lt_compile\"" >&5)
     14230   (eval echo "\"\$as_me:14230: $lt_compile\"" >&5)
    1423014231   (eval "$lt_compile" 2>conftest.err)
    1423114232   ac_status=$?
    1423214233   cat conftest.err >&5
    14233    echo "$as_me:14233: \$? = $ac_status" >&5
     14234   echo "$as_me:14234: \$? = $ac_status" >&5
    1423414235   if (exit $ac_status) && test -s "$ac_outfile"; then
    1423514236     # The compiler can only warn and ignore the option if not recognized
     
    1433114332   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1433214333   -e 's:$: $lt_compiler_flag:'`
    14333    (eval echo "\"\$as_me:14333: $lt_compile\"" >&5)
     14334   (eval echo "\"\$as_me:14334: $lt_compile\"" >&5)
    1433414335   (eval "$lt_compile" 2>out/conftest.err)
    1433514336   ac_status=$?
    1433614337   cat out/conftest.err >&5
    14337    echo "$as_me:14337: \$? = $ac_status" >&5
     14338   echo "$as_me:14338: \$? = $ac_status" >&5
    1433814339   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1433914340   then
     
    1653816539   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1653916540   -e 's:$: $lt_compiler_flag:'`
    16540    (eval echo "\"\$as_me:16540: $lt_compile\"" >&5)
     16541   (eval echo "\"\$as_me:16541: $lt_compile\"" >&5)
    1654116542   (eval "$lt_compile" 2>conftest.err)
    1654216543   ac_status=$?
    1654316544   cat conftest.err >&5
    16544    echo "$as_me:16544: \$? = $ac_status" >&5
     16545   echo "$as_me:16545: \$? = $ac_status" >&5
    1654516546   if (exit $ac_status) && test -s "$ac_outfile"; then
    1654616547     # The compiler can only warn and ignore the option if not recognized
     
    1680616807   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1680716808   -e 's:$: $lt_compiler_flag:'`
    16808    (eval echo "\"\$as_me:16808: $lt_compile\"" >&5)
     16809   (eval echo "\"\$as_me:16809: $lt_compile\"" >&5)
    1680916810   (eval "$lt_compile" 2>conftest.err)
    1681016811   ac_status=$?
    1681116812   cat conftest.err >&5
    16812    echo "$as_me:16812: \$? = $ac_status" >&5
     16813   echo "$as_me:16813: \$? = $ac_status" >&5
    1681316814   if (exit $ac_status) && test -s "$ac_outfile"; then
    1681416815     # The compiler can only warn and ignore the option if not recognized
     
    1691016911   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1691116912   -e 's:$: $lt_compiler_flag:'`
    16912    (eval echo "\"\$as_me:16912: $lt_compile\"" >&5)
     16913   (eval echo "\"\$as_me:16913: $lt_compile\"" >&5)
    1691316914   (eval "$lt_compile" 2>out/conftest.err)
    1691416915   ac_status=$?
    1691516916   cat out/conftest.err >&5
    16916    echo "$as_me:16916: \$? = $ac_status" >&5
     16917   echo "$as_me:16917: \$? = $ac_status" >&5
    1691716918   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1691816919   then
     
    1981319814
    1981419815# ## Check if Metis is already provided by user
    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")
     19816
     19817case "$PACKAGE_NAME" in
     19818  ThirdParty*)
     19819    coin_metisobjdir=../Metis
     19820    ;;
     19821  *)
     19822    coin_metisobjdir=../ThirdParty/Metis
     19823    ;;
     19824esac
     19825
     19826MAKEOKFILE=.MakeOk
     19827
     19828#check if user provides a METIS library (that works)
     19829ac_ext=c
     19830ac_cpp='$CPP $CPPFLAGS'
     19831ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     19832ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     19833ac_compiler_gnu=$ac_cv_c_compiler_gnu
     19834
     19835
     19836# Check whether --with-metis or --without-metis was given.
     19837if test "${with_metis+set}" = set; then
     19838  withval="$with_metis"
     19839  METISLIB="$withval"; coin_has_metis=true
     19840else
     19841  coin_has_metis=no
     19842fi;
     19843
     19844if 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
     19848echo $ECHO_N "checking whether symbol metis_nodend is available with ... $ECHO_C" >&6
     19849  cat >conftest.$ac_ext <<_ACEOF
     19850/* confdefs.h.  */
     19851_ACEOF
     19852cat confdefs.h >>conftest.$ac_ext
     19853cat >>conftest.$ac_ext <<_ACEOF
     19854/* end confdefs.h.  */
     19855
     19856int
     19857main ()
     19858{
     19859metis_nodend()
     19860  ;
     19861  return 0;
     19862}
     19863_ACEOF
     19864rm -f conftest.$ac_objext conftest$ac_exeext
     19865if { (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
     19887echo "${ECHO_T}yes" >&6
     19888else
     19889  echo "$as_me: failed program was:" >&5
     19890sed 's/^/| /' conftest.$ac_ext >&5
     19891
     19892echo "$as_me:$LINENO: result: no" >&5
     19893echo "${ECHO_T}no" >&6
     19894      { { echo "$as_me:$LINENO: error: User-supplied METIS library does not work" >&5
     19895echo "$as_me: error: User-supplied METIS library does not work" >&2;}
     19896   { (exit 1); exit 1; }; }
     19897fi
     19898rm -f conftest.err conftest.$ac_objext \
     19899      conftest$ac_exeext conftest.$ac_ext
     19900  LIBS="$coin_save_LIBS"
     19901fi
     19902ac_ext=c
     19903ac_cpp='$CPP $CPPFLAGS'
     19904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     19905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     19906ac_compiler_gnu=$ac_cv_c_compiler_gnu
     19907
     19908
     19909if 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
     19915else # 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
     19933echo $ECHO_N "checking whether METIS is available... $ECHO_C" >&6
     19934  echo "$as_me:$LINENO: result: $coin_has_metis" >&5
     19935echo "${ECHO_T}$coin_has_metis" >&6
     19936fi
     19937
     19938
     19939
     19940if test $coin_has_metis = yes; then
     19941  COIN_HAS_METIS_TRUE=
     19942  COIN_HAS_METIS_FALSE='#'
     19943else
     19944  COIN_HAS_METIS_TRUE='#'
     19945  COIN_HAS_METIS_FALSE=
     19946fi
     19947
     19948if test $coin_has_metis = yes; then
     19949
     19950cat >>confdefs.h <<\_ACEOF
     19951#define COIN_HAS_METIS 1
     19952_ACEOF
     19953
     19954fi
     19955
     19956
     19957
     19958rm -f $MAKEOKFILE
     19959if 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
     19961echo "$as_me: The Metis sources don't need to be compiled" >&6;}
     19962  MAKEOKFILE=
     19963else
     19964  touch $MAKEOKFILE
     19965fi
     19966
     19967
     19968
     19969if test -z "$MAKEOKFILE"; then
     19970  SKIPMAKE_TRUE=
     19971  SKIPMAKE_FALSE='#'
     19972else
     19973  SKIPMAKE_TRUE='#'
     19974  SKIPMAKE_FALSE=
     19975fi
     19976
    1982619977
    1982719978# We need to create a dummy header file for Windows
     
    1993620087
    1993720088
     20089
    1993820090METISDIR=metis-4.0
    1993920091
    1994020092
    19941                     ac_config_files="$ac_config_files Makefile metis_addlibs.txt"
     20093          ac_config_files="$ac_config_files Makefile"
    1994220094
    1994320095
     
    2016020312Usually this means the macro was only invoked conditionally." >&5
    2016120313echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
     20314Usually this means the macro was only invoked conditionally." >&2;}
     20315   { (exit 1); exit 1; }; }
     20316fi
     20317if 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.
     20319Usually this means the macro was only invoked conditionally." >&5
     20320echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined.
     20321Usually this means the macro was only invoked conditionally." >&2;}
     20322   { (exit 1); exit 1; }; }
     20323fi
     20324if test -z "${SKIPMAKE_TRUE}" && test -z "${SKIPMAKE_FALSE}"; then
     20325  { { echo "$as_me:$LINENO: error: conditional \"SKIPMAKE\" was never defined.
     20326Usually this means the macro was only invoked conditionally." >&5
     20327echo "$as_me: error: conditional \"SKIPMAKE\" was never defined.
    2016220328Usually this means the macro was only invoked conditionally." >&2;}
    2016320329   { (exit 1); exit 1; }; }
     
    2060320769  # Handling of arguments.
    2060420770  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    20605   "metis_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES metis_addlibs.txt" ;;
    2060620771  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    2060720772  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     
    2078320948s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2078420949s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
     20950s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t
     20951s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t
     20952s,@MAKEOKFILE@,$MAKEOKFILE,;t t
     20953s,@SKIPMAKE_TRUE@,$SKIPMAKE_TRUE,;t t
     20954s,@SKIPMAKE_FALSE@,$SKIPMAKE_FALSE,;t t
    2078520955s,@METISDIR@,$METISDIR,;t t
    2078620956s,@LIBEXT@,$LIBEXT,;t t
  • ThirdParty/Metis/trunk/configure.ac

    r1388 r1411  
    5555
    5656# ## Check if Metis is already provided by user
    57 # AC_COIN_HAS_METIS
     57AC_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")
     59rm -f $MAKEOKFILE
     60if 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=
     63else
     64  touch $MAKEOKFILE
     65fi
     66AC_SUBST(MAKEOKFILE)
     67AM_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     
    8182
    8283METISDIR=metis-4.0
    8384AC_SUBST(METISDIR)
    8485
    85 AC_CONFIG_FILES([Makefile metis_addlibs.txt])
     86AC_CONFIG_FILES([Makefile])
    8687
    8788AC_COIN_FINALIZE
Note: See TracChangeset for help on using the changeset viewer.