Changeset 1542 for ThirdParty/Metis


Ignore:
Timestamp:
May 1, 2010 6:25:18 AM (10 years ago)
Author:
stefan
Message:

rerun autotools; improve setup of addlibs file

Location:
ThirdParty/Metis/branches/split
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Metis/branches/split/Makefile.am

    r1539 r1542  
    8989
    9090metis_addlibs.txt : coinmetis.pc
    91         PKG_CONFIG_PATH=.:$(libdir)/pkgconfig:${PKG_CONFIG_PATH} $(PKG_CONFIG) --libs coinmetis > metis_addlibs.txt
     91        PKG_CONFIG_PATH=.:@COIN_PKG_CONFIG_PATH@ $(PKG_CONFIG) --libs coinmetis > metis_addlibs.txt
    9292endif
    9393
  • ThirdParty/Metis/branches/split/Makefile.in

    r1539 r1542  
    150150COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@
    151151COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@
     152COIN_PKG_CONFIG_PATH = @COIN_PKG_CONFIG_PATH@
    152153CPP = @CPP@
    153154CPPFLAGS = @CPPFLAGS@
     
    12131214
    12141215@COIN_HAS_PKGCONFIG_TRUE@metis_addlibs.txt : coinmetis.pc
    1215 @COIN_HAS_PKGCONFIG_TRUE@       PKG_CONFIG_PATH=.:$(libdir)/pkgconfig:${PKG_CONFIG_PATH} $(PKG_CONFIG) --libs coinmetis > metis_addlibs.txt
     1216@COIN_HAS_PKGCONFIG_TRUE@       PKG_CONFIG_PATH=.:@COIN_PKG_CONFIG_PATH@ $(PKG_CONFIG) --libs coinmetis > metis_addlibs.txt
    12161217
    12171218install-doc: $(DocFiles)
  • ThirdParty/Metis/branches/split/configure

    r1539 r1542  
    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 PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE 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 ABSBUILDDIR LIBOBJS LTLIBOBJS'
     475ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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 PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH 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 ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    10841084  --with-metis-verbosity specify the debug verbosity level for project Metis
    10851085  --with-metis-checklevel specify the sanity check level for project Metis
     1086  --with-coin-instdir     prefix of installation directory for precompiled
     1087                          COIN packages
    10861088  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    10871089  --with-pic              try to use only PIC/non-PIC objects [default=use
     
    32353237
    32363238
     3239# assemble search path for pkg-config, if we are in a project setup
     3240if test x$coin_projectdir = xyes ; then
     3241  COIN_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     3242
     3243  # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there
     3244  # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig,
     3245  # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}...
     3246  if test -d "${prefix}"; then
     3247    COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     3248  fi
     3249
     3250
     3251# Check whether --with-coin-instdir or --without-coin-instdir was given.
     3252if test "${with_coin_instdir+set}" = set; then
     3253  withval="$with_coin_instdir"
     3254  if test -d "$withval"; then : ; else
     3255       { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     3256echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     3257   { (exit 1); exit 1; }; }
     3258     fi
     3259     COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     3260
     3261fi;
     3262
     3263  # in a classic setup, we want to find uninstalled projects
     3264  # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory
     3265  # unfortunately, if the user set prefix, then we do not know where the project base directory is located
     3266  # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data)
     3267  if test -e ../coin_subdirs.txt ; then
     3268    for i in `cat ../coin_subdirs.txt` ; do
     3269      COIN_PKG_CONFIG_PATH="`cd ../$i; pwd`:${COIN_PKG_CONFIG_PATH}"
     3270    done
     3271  fi
     3272
     3273  if test -e ../../coin_subdirs.txt ; then
     3274    for i in `cat ../../coin_subdirs.txt` ; do
     3275      COIN_PKG_CONFIG_PATH="`cd ../../$i; pwd`:${COIN_PKG_CONFIG_PATH}"
     3276    done
     3277  fi
     3278
     3279
     3280fi
     3281
    32373282
    32383283
     
    48704915*-*-irix6*)
    48714916  # Find out which ABI we are using.
    4872   echo '#line 4872 "configure"' > conftest.$ac_ext
     4917  echo '#line 4917 "configure"' > conftest.$ac_ext
    48734918  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    48744919  (eval $ac_compile) 2>&5
     
    64696514
    64706515# Provide some information about the compiler.
    6471 echo "$as_me:6471:" \
     6516echo "$as_me:6516:" \
    64726517     "checking for Fortran 77 compiler version" >&5
    64736518ac_compiler=`set X $ac_compile; echo $2`
     
    75367581   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    75377582   -e 's:$: $lt_compiler_flag:'`
    7538    (eval echo "\"\$as_me:7538: $lt_compile\"" >&5)
     7583   (eval echo "\"\$as_me:7583: $lt_compile\"" >&5)
    75397584   (eval "$lt_compile" 2>conftest.err)
    75407585   ac_status=$?
    75417586   cat conftest.err >&5
    7542    echo "$as_me:7542: \$? = $ac_status" >&5
     7587   echo "$as_me:7587: \$? = $ac_status" >&5
    75437588   if (exit $ac_status) && test -s "$ac_outfile"; then
    75447589     # The compiler can only warn and ignore the option if not recognized
     
    78047849   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    78057850   -e 's:$: $lt_compiler_flag:'`
    7806    (eval echo "\"\$as_me:7806: $lt_compile\"" >&5)
     7851   (eval echo "\"\$as_me:7851: $lt_compile\"" >&5)
    78077852   (eval "$lt_compile" 2>conftest.err)
    78087853   ac_status=$?
    78097854   cat conftest.err >&5
    7810    echo "$as_me:7810: \$? = $ac_status" >&5
     7855   echo "$as_me:7855: \$? = $ac_status" >&5
    78117856   if (exit $ac_status) && test -s "$ac_outfile"; then
    78127857     # The compiler can only warn and ignore the option if not recognized
     
    79087953   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    79097954   -e 's:$: $lt_compiler_flag:'`
    7910    (eval echo "\"\$as_me:7910: $lt_compile\"" >&5)
     7955   (eval echo "\"\$as_me:7955: $lt_compile\"" >&5)
    79117956   (eval "$lt_compile" 2>out/conftest.err)
    79127957   ac_status=$?
    79137958   cat out/conftest.err >&5
    7914    echo "$as_me:7914: \$? = $ac_status" >&5
     7959   echo "$as_me:7959: \$? = $ac_status" >&5
    79157960   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    79167961   then
     
    1025310298  lt_status=$lt_dlunknown
    1025410299  cat > conftest.$ac_ext <<EOF
    10255 #line 10255 "configure"
     10300#line 10300 "configure"
    1025610301#include "confdefs.h"
    1025710302
     
    1035310398  lt_status=$lt_dlunknown
    1035410399  cat > conftest.$ac_ext <<EOF
    10355 #line 10355 "configure"
     10400#line 10400 "configure"
    1035610401#include "confdefs.h"
    1035710402
     
    1269712742   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1269812743   -e 's:$: $lt_compiler_flag:'`
    12699    (eval echo "\"\$as_me:12699: $lt_compile\"" >&5)
     12744   (eval echo "\"\$as_me:12744: $lt_compile\"" >&5)
    1270012745   (eval "$lt_compile" 2>conftest.err)
    1270112746   ac_status=$?
    1270212747   cat conftest.err >&5
    12703    echo "$as_me:12703: \$? = $ac_status" >&5
     12748   echo "$as_me:12748: \$? = $ac_status" >&5
    1270412749   if (exit $ac_status) && test -s "$ac_outfile"; then
    1270512750     # The compiler can only warn and ignore the option if not recognized
     
    1280112846   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1280212847   -e 's:$: $lt_compiler_flag:'`
    12803    (eval echo "\"\$as_me:12803: $lt_compile\"" >&5)
     12848   (eval echo "\"\$as_me:12848: $lt_compile\"" >&5)
    1280412849   (eval "$lt_compile" 2>out/conftest.err)
    1280512850   ac_status=$?
    1280612851   cat out/conftest.err >&5
    12807    echo "$as_me:12807: \$? = $ac_status" >&5
     12852   echo "$as_me:12852: \$? = $ac_status" >&5
    1280812853   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1280912854   then
     
    1437114416   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1437214417   -e 's:$: $lt_compiler_flag:'`
    14373    (eval echo "\"\$as_me:14373: $lt_compile\"" >&5)
     14418   (eval echo "\"\$as_me:14418: $lt_compile\"" >&5)
    1437414419   (eval "$lt_compile" 2>conftest.err)
    1437514420   ac_status=$?
    1437614421   cat conftest.err >&5
    14377    echo "$as_me:14377: \$? = $ac_status" >&5
     14422   echo "$as_me:14422: \$? = $ac_status" >&5
    1437814423   if (exit $ac_status) && test -s "$ac_outfile"; then
    1437914424     # The compiler can only warn and ignore the option if not recognized
     
    1447514520   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1447614521   -e 's:$: $lt_compiler_flag:'`
    14477    (eval echo "\"\$as_me:14477: $lt_compile\"" >&5)
     14522   (eval echo "\"\$as_me:14522: $lt_compile\"" >&5)
    1447814523   (eval "$lt_compile" 2>out/conftest.err)
    1447914524   ac_status=$?
    1448014525   cat out/conftest.err >&5
    14481    echo "$as_me:14481: \$? = $ac_status" >&5
     14526   echo "$as_me:14526: \$? = $ac_status" >&5
    1448214527   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1448314528   then
     
    1668216727   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1668316728   -e 's:$: $lt_compiler_flag:'`
    16684    (eval echo "\"\$as_me:16684: $lt_compile\"" >&5)
     16729   (eval echo "\"\$as_me:16729: $lt_compile\"" >&5)
    1668516730   (eval "$lt_compile" 2>conftest.err)
    1668616731   ac_status=$?
    1668716732   cat conftest.err >&5
    16688    echo "$as_me:16688: \$? = $ac_status" >&5
     16733   echo "$as_me:16733: \$? = $ac_status" >&5
    1668916734   if (exit $ac_status) && test -s "$ac_outfile"; then
    1669016735     # The compiler can only warn and ignore the option if not recognized
     
    1695016995   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1695116996   -e 's:$: $lt_compiler_flag:'`
    16952    (eval echo "\"\$as_me:16952: $lt_compile\"" >&5)
     16997   (eval echo "\"\$as_me:16997: $lt_compile\"" >&5)
    1695316998   (eval "$lt_compile" 2>conftest.err)
    1695416999   ac_status=$?
    1695517000   cat conftest.err >&5
    16956    echo "$as_me:16956: \$? = $ac_status" >&5
     17001   echo "$as_me:17001: \$? = $ac_status" >&5
    1695717002   if (exit $ac_status) && test -s "$ac_outfile"; then
    1695817003     # The compiler can only warn and ignore the option if not recognized
     
    1705417099   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1705517100   -e 's:$: $lt_compiler_flag:'`
    17056    (eval echo "\"\$as_me:17056: $lt_compile\"" >&5)
     17101   (eval echo "\"\$as_me:17101: $lt_compile\"" >&5)
    1705717102   (eval "$lt_compile" 2>out/conftest.err)
    1705817103   ac_status=$?
    1705917104   cat out/conftest.err >&5
    17060    echo "$as_me:17060: \$? = $ac_status" >&5
     17105   echo "$as_me:17105: \$? = $ac_status" >&5
    1706117106   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1706217107   then
     
    2086320908s,@COIN_HAS_PKGCONFIG_TRUE@,$COIN_HAS_PKGCONFIG_TRUE,;t t
    2086420909s,@COIN_HAS_PKGCONFIG_FALSE@,$COIN_HAS_PKGCONFIG_FALSE,;t t
     20910s,@COIN_PKG_CONFIG_PATH@,$COIN_PKG_CONFIG_PATH,;t t
    2086520911s,@EGREP@,$EGREP,;t t
    2086620912s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
Note: See TracChangeset for help on using the changeset viewer.