Changeset 1430


Ignore:
Timestamp:
Nov 1, 2009 8:12:03 AM (11 years ago)
Author:
stefan
Message:

add and setup .pc files

Location:
ThirdParty/Metis/branches/BSPsplit
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Metis/branches/BSPsplit/Makefile.in

    r1388 r1430  
    5959        $(srcdir)/../../ltmain.sh $(srcdir)/../../missing \
    6060        $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
     61        $(srcdir)/metis-uninstalled.pc.in $(srcdir)/metis.pc.in \
    6162        $(srcdir)/metis_addlibs.txt.in $(thirdpartyinclude_HEADERS) \
    6263        $(top_srcdir)/configure
     
    7273 configure.lineno configure.status.lineno
    7374mkinstalldirs = $(install_sh) -d
    74 CONFIG_CLEAN_FILES = metis_addlibs.txt
     75CONFIG_CLEAN_FILES = metis_addlibs.txt metis.pc metis-uninstalled.pc
    7576am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
    7677am__vpath_adj = case $$p in \
     
    144145CDEFS = @CDEFS@
    145146CFLAGS = @CFLAGS@
     147COIN_HAS_METIS_FALSE = @COIN_HAS_METIS_FALSE@
     148COIN_HAS_METIS_PREINSTALLED_FALSE = @COIN_HAS_METIS_PREINSTALLED_FALSE@
     149COIN_HAS_METIS_PREINSTALLED_TRUE = @COIN_HAS_METIS_PREINSTALLED_TRUE@
     150COIN_HAS_METIS_TRUE = @COIN_HAS_METIS_TRUE@
    146151CPP = @CPP@
    147152CPPFLAGS = @CPPFLAGS@
     
    184189MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
    185190MAKEINFO = @MAKEINFO@
     191METISDATADIR = @METISDATADIR@
    186192METISDIR = @METISDIR@
     193METISDOCDIR = @METISDOCDIR@
     194METISINSTDIR = @METISINSTDIR@
     195METISOBJDIR = @METISOBJDIR@
     196METISSRCDIR = @METISSRCDIR@
    187197MPICC = @MPICC@
    188198OBJEXT = @OBJEXT@
     
    378388metis_addlibs.txt: $(top_builddir)/config.status $(srcdir)/metis_addlibs.txt.in
    379389        cd $(top_builddir) && $(SHELL) ./config.status $@
     390metis.pc: $(top_builddir)/config.status $(srcdir)/metis.pc.in
     391        cd $(top_builddir) && $(SHELL) ./config.status $@
     392metis-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/metis-uninstalled.pc.in
     393        cd $(top_builddir) && $(SHELL) ./config.status $@
    380394install-thirdpartylibLTLIBRARIES: $(thirdpartylib_LTLIBRARIES)
    381395        @$(NORMAL_INSTALL)
  • ThirdParty/Metis/branches/BSPsplit/configure

    r1388 r1430  
    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 METISSRCDIR METISOBJDIR METISDOCDIR METISDATADIR METISINSTDIR COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE COIN_HAS_METIS_PREINSTALLED_TRUE COIN_HAS_METIS_PREINSTALLED_FALSE METISDIR LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    10841084  --with-tags[=TAGS]
    10851085                          include additional configurations [automatic]
     1086  --with-metis-instdir prefix of installation directory for precompiled Metis
     1087                          package
     1088  --with-metis-srcdir source directory for Metis package
     1089  --with-metis-objdir object directory for Metis package (if different from
     1090                          source directory in VPATH compilation)
     1091  --with-coin-instdir     prefix of installation directory for precompiled
     1092                          COIN packages
    10861093
    10871094Some influential environment variables:
     
    15751582ADDLIBS="-lm $LIBS"
    15761583
    1577 
    1578 # As backup, we make sure we don't loose an FLIBS if it has been set
    1579 # by the user
    1580 save_FLIBS="$FLIBS"
    15811584
    15821585# Initialize the FADDLIBS variable (which is to be used with a fortran
     
    47264729*-*-irix6*)
    47274730  # Find out which ABI we are using.
    4728   echo '#line 4728 "configure"' > conftest.$ac_ext
     4731  echo '#line 4731 "configure"' > conftest.$ac_ext
    47294732  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    47304733  (eval $ac_compile) 2>&5
     
    63256328
    63266329# Provide some information about the compiler.
    6327 echo "$as_me:6327:" \
     6330echo "$as_me:6330:" \
    63286331     "checking for Fortran 77 compiler version" >&5
    63296332ac_compiler=`set X $ac_compile; echo $2`
     
    73927395   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    73937396   -e 's:$: $lt_compiler_flag:'`
    7394    (eval echo "\"\$as_me:7394: $lt_compile\"" >&5)
     7397   (eval echo "\"\$as_me:7397: $lt_compile\"" >&5)
    73957398   (eval "$lt_compile" 2>conftest.err)
    73967399   ac_status=$?
    73977400   cat conftest.err >&5
    7398    echo "$as_me:7398: \$? = $ac_status" >&5
     7401   echo "$as_me:7401: \$? = $ac_status" >&5
    73997402   if (exit $ac_status) && test -s "$ac_outfile"; then
    74007403     # The compiler can only warn and ignore the option if not recognized
     
    76607663   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    76617664   -e 's:$: $lt_compiler_flag:'`
    7662    (eval echo "\"\$as_me:7662: $lt_compile\"" >&5)
     7665   (eval echo "\"\$as_me:7665: $lt_compile\"" >&5)
    76637666   (eval "$lt_compile" 2>conftest.err)
    76647667   ac_status=$?
    76657668   cat conftest.err >&5
    7666    echo "$as_me:7666: \$? = $ac_status" >&5
     7669   echo "$as_me:7669: \$? = $ac_status" >&5
    76677670   if (exit $ac_status) && test -s "$ac_outfile"; then
    76687671     # The compiler can only warn and ignore the option if not recognized
     
    77647767   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    77657768   -e 's:$: $lt_compiler_flag:'`
    7766    (eval echo "\"\$as_me:7766: $lt_compile\"" >&5)
     7769   (eval echo "\"\$as_me:7769: $lt_compile\"" >&5)
    77677770   (eval "$lt_compile" 2>out/conftest.err)
    77687771   ac_status=$?
    77697772   cat out/conftest.err >&5
    7770    echo "$as_me:7770: \$? = $ac_status" >&5
     7773   echo "$as_me:7773: \$? = $ac_status" >&5
    77717774   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    77727775   then
     
    1010910112  lt_status=$lt_dlunknown
    1011010113  cat > conftest.$ac_ext <<EOF
    10111 #line 10111 "configure"
     10114#line 10114 "configure"
    1011210115#include "confdefs.h"
    1011310116
     
    1020910212  lt_status=$lt_dlunknown
    1021010213  cat > conftest.$ac_ext <<EOF
    10211 #line 10211 "configure"
     10214#line 10214 "configure"
    1021210215#include "confdefs.h"
    1021310216
     
    1255312556   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1255412557   -e 's:$: $lt_compiler_flag:'`
    12555    (eval echo "\"\$as_me:12555: $lt_compile\"" >&5)
     12558   (eval echo "\"\$as_me:12558: $lt_compile\"" >&5)
    1255612559   (eval "$lt_compile" 2>conftest.err)
    1255712560   ac_status=$?
    1255812561   cat conftest.err >&5
    12559    echo "$as_me:12559: \$? = $ac_status" >&5
     12562   echo "$as_me:12562: \$? = $ac_status" >&5
    1256012563   if (exit $ac_status) && test -s "$ac_outfile"; then
    1256112564     # The compiler can only warn and ignore the option if not recognized
     
    1265712660   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1265812661   -e 's:$: $lt_compiler_flag:'`
    12659    (eval echo "\"\$as_me:12659: $lt_compile\"" >&5)
     12662   (eval echo "\"\$as_me:12662: $lt_compile\"" >&5)
    1266012663   (eval "$lt_compile" 2>out/conftest.err)
    1266112664   ac_status=$?
    1266212665   cat out/conftest.err >&5
    12663    echo "$as_me:12663: \$? = $ac_status" >&5
     12666   echo "$as_me:12666: \$? = $ac_status" >&5
    1266412667   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1266512668   then
     
    1422714230   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1422814231   -e 's:$: $lt_compiler_flag:'`
    14229    (eval echo "\"\$as_me:14229: $lt_compile\"" >&5)
     14232   (eval echo "\"\$as_me:14232: $lt_compile\"" >&5)
    1423014233   (eval "$lt_compile" 2>conftest.err)
    1423114234   ac_status=$?
    1423214235   cat conftest.err >&5
    14233    echo "$as_me:14233: \$? = $ac_status" >&5
     14236   echo "$as_me:14236: \$? = $ac_status" >&5
    1423414237   if (exit $ac_status) && test -s "$ac_outfile"; then
    1423514238     # The compiler can only warn and ignore the option if not recognized
     
    1433114334   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1433214335   -e 's:$: $lt_compiler_flag:'`
    14333    (eval echo "\"\$as_me:14333: $lt_compile\"" >&5)
     14336   (eval echo "\"\$as_me:14336: $lt_compile\"" >&5)
    1433414337   (eval "$lt_compile" 2>out/conftest.err)
    1433514338   ac_status=$?
    1433614339   cat out/conftest.err >&5
    14337    echo "$as_me:14337: \$? = $ac_status" >&5
     14340   echo "$as_me:14340: \$? = $ac_status" >&5
    1433814341   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1433914342   then
     
    1653816541   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1653916542   -e 's:$: $lt_compiler_flag:'`
    16540    (eval echo "\"\$as_me:16540: $lt_compile\"" >&5)
     16543   (eval echo "\"\$as_me:16543: $lt_compile\"" >&5)
    1654116544   (eval "$lt_compile" 2>conftest.err)
    1654216545   ac_status=$?
    1654316546   cat conftest.err >&5
    16544    echo "$as_me:16544: \$? = $ac_status" >&5
     16547   echo "$as_me:16547: \$? = $ac_status" >&5
    1654516548   if (exit $ac_status) && test -s "$ac_outfile"; then
    1654616549     # The compiler can only warn and ignore the option if not recognized
     
    1680616809   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1680716810   -e 's:$: $lt_compiler_flag:'`
    16808    (eval echo "\"\$as_me:16808: $lt_compile\"" >&5)
     16811   (eval echo "\"\$as_me:16811: $lt_compile\"" >&5)
    1680916812   (eval "$lt_compile" 2>conftest.err)
    1681016813   ac_status=$?
    1681116814   cat conftest.err >&5
    16812    echo "$as_me:16812: \$? = $ac_status" >&5
     16815   echo "$as_me:16815: \$? = $ac_status" >&5
    1681316816   if (exit $ac_status) && test -s "$ac_outfile"; then
    1681416817     # The compiler can only warn and ignore the option if not recognized
     
    1691016913   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1691116914   -e 's:$: $lt_compiler_flag:'`
    16912    (eval echo "\"\$as_me:16912: $lt_compile\"" >&5)
     16915   (eval echo "\"\$as_me:16915: $lt_compile\"" >&5)
    1691316916   (eval "$lt_compile" 2>out/conftest.err)
    1691416917   ac_status=$?
    1691516918   cat out/conftest.err >&5
    16916    echo "$as_me:16916: \$? = $ac_status" >&5
     16919   echo "$as_me:16919: \$? = $ac_status" >&5
    1691716920   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1691816921   then
     
    1981319816
    1981419817# ## Check if Metis is already provided by user
    19815 # AC_COIN_HAS_METIS
     19818echo "$as_me:$LINENO: checking for COIN project Metis in " >&5
     19819echo $ECHO_N "checking for COIN project Metis in ... $ECHO_C" >&6
     19820# First check, if the sub-project is actually available (ToDo: allow
     19821# other locations)
     19822
     19823#replace backslashes by underscore
     19824#m4_define([escape], m4_bpatsubsts([Metis],[/],[_]))
     19825
     19826coin_has_metis=notGiven
     19827if test x"$COIN_SKIP_PROJECTS" != x; then
     19828  for dir in $COIN_SKIP_PROJECTS; do
     19829    if test $dir = Metis; then
     19830      coin_has_metis=skipping
     19831    fi
     19832  done
     19833fi
     19834
     19835
     19836
     19837
     19838
     19839
     19840METISSRCDIR=This_Variable_Is_Not_Set
     19841METISOBJDIR=This_Variable_Is_Not_Set
     19842METISDOCDIR=This_Variable_Is_Not_Set
     19843METISDATADIR=This_Variable_Is_Not_Set
     19844METISINSTDIR=This_Variable_Is_Not_Set
     19845
     19846if test $coin_has_metis != skipping; then
     19847  if test $PACKAGE_TARNAME = metis; then
     19848    coin_has_metis=.
     19849  else
     19850
     19851# Check whether --with-m4_tolower(Metis)-instdir or --without-m4_tolower(Metis)-instdir was given.
     19852if test "${with_metis_instdir+set}" = set; then
     19853  withval="$with_metis_instdir"
     19854  coin_has_metis=installed
     19855                 if test -d "$withval"; then : ; else
     19856                   { { echo "$as_me:$LINENO: error: argument for --with-metis-instdir not a directory" >&5
     19857echo "$as_me: error: argument for --with-metis-instdir not a directory" >&2;}
     19858   { (exit 1); exit 1; }; }
     19859                 fi
     19860                 METISINSTDIR=`cd $withval; pwd`
     19861fi;
     19862
     19863
     19864# Check whether --with-m4_tolower(Metis)-srcdir or --without-m4_tolower(Metis)-srcdir was given.
     19865if test "${with_metis_srcdir+set}" = set; then
     19866  withval="$with_metis_srcdir"
     19867  if test "$coin_has_metis" = installed; then
     19868                   { { echo "$as_me:$LINENO: error: --with-$metis-srcdir cannot be given together with --with-metis-instdir" >&5
     19869echo "$as_me: error: --with-$metis-srcdir cannot be given together with --with-metis-instdir" >&2;}
     19870   { (exit 1); exit 1; }; }
     19871                 fi
     19872                 if test -d "$withval"; then : ; else
     19873                   { { echo "$as_me:$LINENO: error: argument for --with-metis-srcdir not a directory" >&5
     19874echo "$as_me: error: argument for --with-metis-srcdir not a directory" >&2;}
     19875   { (exit 1); exit 1; }; }
     19876                 fi
     19877                 coin_has_metis=$withval
     19878                 METISSRCDIR=`cd $withval; pwd`
     19879fi;
     19880
     19881
     19882# Check whether --with-m4_tolower(Metis)-objdir or --without-m4_tolower(Metis)-objdir was given.
     19883if test "${with_metis_objdir+set}" = set; then
     19884  withval="$with_metis_objdir"
     19885  if test "$coin_has_metis" = installed; then
     19886                   { { echo "$as_me:$LINENO: error: --with-metis-objdir cannot be given together with --with-metis-instdir" >&5
     19887echo "$as_me: error: --with-metis-objdir cannot be given together with --with-metis-instdir" >&2;}
     19888   { (exit 1); exit 1; }; }
     19889                 fi
     19890                 if test "$coin_has_metis" = notGiven; then
     19891                   { { echo "$as_me:$LINENO: error: --with-metis-objdir must be accompanied by --with-metis-srcdir" >&5
     19892echo "$as_me: error: --with-metis-objdir must be accompanied by --with-metis-srcdir" >&2;}
     19893   { (exit 1); exit 1; }; }
     19894                 fi
     19895                 if test -d "$withval"; then : ; else
     19896                   { { echo "$as_me:$LINENO: error: argument for --with-metis-objdir not a directory" >&5
     19897echo "$as_me: error: argument for --with-metis-objdir not a directory" >&2;}
     19898   { (exit 1); exit 1; }; }
     19899                 fi
     19900                 METISOBJDIR=`cd $withval; pwd`
     19901else
     19902  METISOBJDIR="$METISSRCDIR"
     19903fi;
     19904
     19905    # if we still don't have a location, check for generic flag
     19906    if test "$coin_has_metis" = notGiven; then
     19907
     19908# Check whether --with-coin-instdir or --without-coin-instdir was given.
     19909if test "${with_coin_instdir+set}" = set; then
     19910  withval="$with_coin_instdir"
     19911  if test -d "$withval"; then : ; else
     19912                     { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     19913echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     19914   { (exit 1); exit 1; }; }
     19915                   fi
     19916                   if test -r $withval/share/doc/coin/Metis/README;
     19917
     19918                   then
     19919                     coin_has_metis=installed
     19920                     METISINSTDIR=`cd $withval; pwd`
     19921                   fi
     19922fi;
     19923    fi
     19924
     19925    # check if project can be found in /Metis
     19926    # this is for the classic setup when this macro is called from AC_COIN_MAIN_SUBDIR
     19927    fulldir=Metis
     19928
     19929    if test "$coin_has_metis" = notGiven; then
     19930      if test -d $srcdir/$fulldir; then
     19931         coin_has_metis=$fulldir
     19932
     19933
     19934      fi
     19935    fi
     19936
     19937    # check if project can be found in ..//Metis
     19938    # this is for the classic setup when this macro is called from the project main directory
     19939    fulldir=../Metis
     19940
     19941    if test "$coin_has_metis" = notGiven; then
     19942      if test -d $srcdir/$fulldir; then
     19943         coin_has_metis=$fulldir
     19944
     19945
     19946      fi
     19947    fi
     19948  fi
     19949fi
     19950
     19951if test $coin_has_metis != notGiven &&
     19952   test $coin_has_metis != skipping; then
     19953  # Set the #define if the component is available
     19954
     19955cat >>confdefs.h <<\_ACEOF
     19956#define COIN_HAS_METIS 1
     19957_ACEOF
     19958
     19959
     19960  if test $coin_has_metis = installed; then
     19961    METISDOCDIR=$METISINSTDIR/share/doc/coin/Metis
     19962       METISDATADIR=$METISINSTDIR/share/coin/Metis
     19963
     19964  else
     19965    if test "$METISOBJDIR" = This_Variable_Is_Not_Set; then
     19966      # Set the variables for source and object code location
     19967      METISSRCDIR=`cd $srcdir/$coin_has_metis; pwd`
     19968      METISOBJDIR=`pwd`/$coin_has_metis
     19969      METISDOCDIR=$abs_lib_dir/../share/doc/coin/Metis
     19970
     19971      METISDATADIR=$METISOBJDIR
     19972    else
     19973      # This is just a guess:
     19974      METISDOCDIR=$METISOBJDIR/../share/doc/coin/Metis
     19975         METISDATADIR=$METISOBJDIR/../share/coin/Metis
     19976
     19977    fi
     19978  fi
     19979fi
     19980
     19981# Define the Makefile conditional
     19982
     19983
     19984if test $coin_has_metis != notGiven &&
     19985                test $coin_has_metis != skipping; then
     19986  COIN_HAS_METIS_TRUE=
     19987  COIN_HAS_METIS_FALSE='#'
     19988else
     19989  COIN_HAS_METIS_TRUE='#'
     19990  COIN_HAS_METIS_FALSE=
     19991fi
     19992
     19993
     19994
     19995if test $coin_has_metis = installed; then
     19996  COIN_HAS_METIS_PREINSTALLED_TRUE=
     19997  COIN_HAS_METIS_PREINSTALLED_FALSE='#'
     19998else
     19999  COIN_HAS_METIS_PREINSTALLED_TRUE='#'
     20000  COIN_HAS_METIS_PREINSTALLED_FALSE=
     20001fi
     20002
     20003
     20004if test $coin_has_metis = installed; then
     20005  echo "$as_me:$LINENO: result: installed in $METISINSTDIR" >&5
     20006echo "${ECHO_T}installed in $METISINSTDIR" >&6
     20007  if test -r $METISINSTDIR/share/doc/coin/Metis/README; then
     20008
     20009  :
     20010else
     20011  { { echo "$as_me:$LINENO: error: $METISINSTDIR/share/doc/coin/Metis/README should be available if Metis is installed" >&5
     20012echo "$as_me: error: $METISINSTDIR/share/doc/coin/Metis/README should be available if Metis is installed" >&2;}
     20013   { (exit 1); exit 1; }; }
     20014  :
     20015fi
     20016
     20017
     20018
     20019else
     20020  echo "$as_me:$LINENO: result: $coin_has_metis" >&5
     20021echo "${ECHO_T}$coin_has_metis" >&6
     20022  if test $coin_has_metis != notGiven &&
     20023     test $coin_has_metis != skipping; then
     20024    echo "$as_me:$LINENO: checking for source code location of Metis" >&5
     20025echo $ECHO_N "checking for source code location of Metis... $ECHO_C" >&6
     20026    echo "$as_me:$LINENO: result: $METISSRCDIR" >&5
     20027echo "${ECHO_T}$METISSRCDIR" >&6
     20028    echo "$as_me:$LINENO: checking for object code location of Metis" >&5
     20029echo $ECHO_N "checking for object code location of Metis... $ECHO_C" >&6
     20030    echo "$as_me:$LINENO: result: $METISOBJDIR" >&5
     20031echo "${ECHO_T}$METISOBJDIR" >&6
     20032  fi
     20033fi
     20034
    1981620035
    1981720036#rm -f $MAKEOKFILE
     
    1993920158
    1994020159
    19941                     ac_config_files="$ac_config_files Makefile metis_addlibs.txt"
     20160                                        ac_config_files="$ac_config_files Makefile metis_addlibs.txt metis.pc metis-uninstalled.pc"
    1994220161
    1994320162
     
    2016020379Usually this means the macro was only invoked conditionally." >&5
    2016120380echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
     20381Usually this means the macro was only invoked conditionally." >&2;}
     20382   { (exit 1); exit 1; }; }
     20383fi
     20384if test -z "${COIN_HAS_METIS_TRUE}" && test -z "${COIN_HAS_METIS_FALSE}"; then
     20385  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS\" was never defined.
     20386Usually this means the macro was only invoked conditionally." >&5
     20387echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined.
     20388Usually this means the macro was only invoked conditionally." >&2;}
     20389   { (exit 1); exit 1; }; }
     20390fi
     20391if test -z "${COIN_HAS_METIS_PREINSTALLED_TRUE}" && test -z "${COIN_HAS_METIS_PREINSTALLED_FALSE}"; then
     20392  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS_PREINSTALLED\" was never defined.
     20393Usually this means the macro was only invoked conditionally." >&5
     20394echo "$as_me: error: conditional \"COIN_HAS_METIS_PREINSTALLED\" was never defined.
    2016220395Usually this means the macro was only invoked conditionally." >&2;}
    2016320396   { (exit 1); exit 1; }; }
     
    2060420837  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    2060520838  "metis_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES metis_addlibs.txt" ;;
     20839  "metis.pc" ) CONFIG_FILES="$CONFIG_FILES metis.pc" ;;
     20840  "metis-uninstalled.pc" ) CONFIG_FILES="$CONFIG_FILES metis-uninstalled.pc" ;;
    2060620841  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    2060720842  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     
    2078321018s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2078421019s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
     21020s,@METISSRCDIR@,$METISSRCDIR,;t t
     21021s,@METISOBJDIR@,$METISOBJDIR,;t t
     21022s,@METISDOCDIR@,$METISDOCDIR,;t t
     21023s,@METISDATADIR@,$METISDATADIR,;t t
     21024s,@METISINSTDIR@,$METISINSTDIR,;t t
     21025s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t
     21026s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t
     21027s,@COIN_HAS_METIS_PREINSTALLED_TRUE@,$COIN_HAS_METIS_PREINSTALLED_TRUE,;t t
     21028s,@COIN_HAS_METIS_PREINSTALLED_FALSE@,$COIN_HAS_METIS_PREINSTALLED_FALSE,;t t
    2078521029s,@METISDIR@,$METISDIR,;t t
    2078621030s,@LIBEXT@,$LIBEXT,;t t
  • ThirdParty/Metis/branches/BSPsplit/configure.ac

    r1388 r1430  
    5555
    5656# ## Check if Metis is already provided by user
    57 # AC_COIN_HAS_METIS
     57AC_COIN_HAS_PROJECT(Metis)
    5858
    5959#rm -f $MAKEOKFILE
     
    8383AC_SUBST(METISDIR)
    8484
    85 AC_CONFIG_FILES([Makefile metis_addlibs.txt])
     85AC_CONFIG_FILES([Makefile metis_addlibs.txt metis.pc metis-uninstalled.pc])
    8686
    8787AC_COIN_FINALIZE
Note: See TracChangeset for help on using the changeset viewer.