Changeset 1741


Ignore:
Timestamp:
Nov 26, 2010 5:12:13 PM (9 years ago)
Author:
stefan
Message:

change order of projects to respect project dependencies

Location:
branches/split
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/split/configure

    r1735 r1741  
    476476ac_subdirs_all="$ac_subdirs_all ThirdParty/Blas"
    477477ac_subdirs_all="$ac_subdirs_all ThirdParty/Lapack"
    478 ac_subdirs_all="$ac_subdirs_all ThirdParty/HSL"
    479478ac_subdirs_all="$ac_subdirs_all ThirdParty/ASL"
    480479ac_subdirs_all="$ac_subdirs_all ThirdParty/FilterSQP"
    481480ac_subdirs_all="$ac_subdirs_all ThirdParty/Metis"
    482481ac_subdirs_all="$ac_subdirs_all ThirdParty/Mumps"
     482ac_subdirs_all="$ac_subdirs_all ThirdParty/HSL"
     483ac_subdirs_all="$ac_subdirs_all Data/Sample"
    483484ac_subdirs_all="$ac_subdirs_all CoinUtils"
    484485ac_subdirs_all="$ac_subdirs_all Osi"
     
    489490ac_subdirs_all="$ac_subdirs_all Ipopt"
    490491ac_subdirs_all="$ac_subdirs_all Bonmin"
    491 ac_subdirs_all="$ac_subdirs_all Data/Sample"
    492492ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 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 CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_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 CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED COIN_SKIP_PROJECTS subdirs LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    493493ac_subst_files=''
     
    11531153  --with-lapack-datadir directory with data files for using project Lapack
    11541154  --with-lapack           specify LAPACK library (or BUILD for compilation)
    1155   --with-hsl-lib linker flags for using project HSL
    1156   --with-hsl-incdir directory with header files for using project HSL
    1157   --with-hsl-datadir directory with data files for using project HSL
    11581155  --with-asl-lib linker flags for using project ASL
    11591156  --with-asl-incdir directory with header files for using project ASL
     
    11711168  --with-mumps-incdir directory with header files for using project Mumps
    11721169  --with-mumps-datadir directory with data files for using project Mumps
     1170  --with-hsl-lib linker flags for using project HSL
     1171  --with-hsl-incdir directory with header files for using project HSL
     1172  --with-hsl-datadir directory with data files for using project HSL
     1173  --with-sample-lib linker flags for using project Sample
     1174  --with-sample-incdir directory with header files for using project Sample
     1175  --with-sample-datadir directory with data files for using project Sample
    11731176  --with-coinutils-lib linker flags for using project CoinUtils
    11741177  --with-coinutils-incdir directory with header files for using project
     
    11981201  --with-bonmin-incdir directory with header files for using project Bonmin
    11991202  --with-bonmin-datadir directory with data files for using project Bonmin
    1200   --with-sample-lib linker flags for using project Sample
    1201   --with-sample-incdir directory with header files for using project Sample
    1202   --with-sample-datadir directory with data files for using project Sample
    12031203
    12041204Some influential environment variables:
     
    2088320883
    2088420884#############################################################################
    20885 #             Check which ThirdParty sources are available                  #
     20885#                  Check which subprojects are there                        #
    2088620886#############################################################################
    2088720887
     
    2134021340
    2134121341
     21342echo "$as_me:$LINENO: checking whether project ASL is available" >&5
     21343echo $ECHO_N "checking whether project ASL is available... $ECHO_C" >&6
     21344
     21345coin_has_asl=notGiven
     21346coin_have_project_dir=no
     21347
     21348# check if user wants to skip project in any case
     21349
     21350if test x"$COIN_SKIP_PROJECTS" != x; then
     21351  for dir in $COIN_SKIP_PROJECTS; do
     21352    if test $dir = "ASL"; then
     21353      coin_has_asl=skipping
     21354    fi
     21355    if test $dir = "ThirdParty/ASL"; then
     21356      coin_has_asl=skipping
     21357    fi
     21358  done
     21359fi
     21360
     21361if test $coin_has_asl != skipping; then
     21362  if test $PACKAGE_TARNAME = asl; then
     21363    coin_has_asl=.
     21364    coin_have_project_dir=yes
     21365  fi
     21366
     21367
     21368# Check whether --with-m4_tolower(ASL)-lib or --without-m4_tolower(ASL)-lib was given.
     21369if test "${with_asl_lib+set}" = set; then
     21370  withval="$with_asl_lib"
     21371  coin_has_asl=installed
     21372fi;
     21373
     21374
     21375# Check whether --with-m4_tolower(ASL)-incdir or --without-m4_tolower(ASL)-incdir was given.
     21376if test "${with_asl_incdir+set}" = set; then
     21377  withval="$with_asl_incdir"
     21378  coin_has_asl=installed
     21379fi;
     21380
     21381
     21382# Check whether --with-m4_tolower(ASL)-datadir or --without-m4_tolower(ASL)-datadir was given.
     21383if test "${with_asl_datadir+set}" = set; then
     21384  withval="$with_asl_datadir"
     21385  coin_has_asl=installed
     21386fi;
     21387
     21388
     21389
     21390
     21391
     21392fi
     21393
     21394# check if project is available in present directory
     21395if test "$coin_has_asl" = notGiven; then
     21396  if test -d $srcdir/ThirdParty/ASL; then
     21397    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
     21398    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     21399    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
     21400    for i in $srcdir/ThirdParty/ASL/solvers/asl.h; do
     21401         if test -r $i; then
     21402           coin_have_project_dir=yes
     21403         fi
     21404       done
     21405
     21406    if test $coin_have_project_dir = yes; then
     21407      coin_has_asl=ThirdParty/ASL
     21408    fi
     21409  fi
     21410fi
     21411
     21412# check for project by using pkg-config, if pkg-config is available
     21413if test $coin_has_asl = notGiven; then
     21414  #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
     21415  if test -n "$PKG_CONFIG" ; then
     21416    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21417    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
     21418
     21419if test -n "$PKG_CONFIG" ; then
     21420  if $PKG_CONFIG --exists "coinasl"; then
     21421    COINASL_VERSION=`$PKG_CONFIG --modversion "coinasl" 2>/dev/null`
     21422    coin_has_asl="$COINASL_VERSION"
     21423  else
     21424    COINASL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinasl"`
     21425
     21426  fi
     21427else
     21428  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinasl without pkg-config\"" >&5
     21429echo "$as_me: error: \"Cannot check for existance of module coinasl without pkg-config\"" >&2;}
     21430   { (exit 1); exit 1; }; }
     21431fi
     21432
     21433    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21434    export PKG_CONFIG_PATH
     21435  fi
     21436fi
     21437
     21438echo "$as_me:$LINENO: result: $coin_has_asl" >&5
     21439echo "${ECHO_T}$coin_has_asl" >&6
     21440
     21441echo "$as_me:$LINENO: checking whether project ASL needs to be configured" >&5
     21442echo $ECHO_N "checking whether project ASL needs to be configured... $ECHO_C" >&6
     21443if test "$coin_have_project_dir" = yes ; then
     21444
     21445  if test -r $srcdir/ThirdParty/ASL/configure; then
     21446    coin_subdirs="$coin_subdirs ThirdParty/ASL"
     21447    echo "$as_me:$LINENO: result: yes" >&5
     21448echo "${ECHO_T}yes" >&6
     21449
     21450
     21451subdirs="$subdirs ThirdParty/ASL"
     21452
     21453  else
     21454    echo "$as_me:$LINENO: result: no" >&5
     21455echo "${ECHO_T}no" >&6
     21456  fi
     21457else
     21458  echo "$as_me:$LINENO: result: no" >&5
     21459echo "${ECHO_T}no" >&6
     21460fi
     21461
     21462
     21463echo "$as_me:$LINENO: checking whether project FilterSQP is available" >&5
     21464echo $ECHO_N "checking whether project FilterSQP is available... $ECHO_C" >&6
     21465
     21466coin_has_filtersqp=notGiven
     21467coin_have_project_dir=no
     21468
     21469# check if user wants to skip project in any case
     21470
     21471if test x"$COIN_SKIP_PROJECTS" != x; then
     21472  for dir in $COIN_SKIP_PROJECTS; do
     21473    if test $dir = "FilterSQP"; then
     21474      coin_has_filtersqp=skipping
     21475    fi
     21476    if test $dir = "ThirdParty/FilterSQP"; then
     21477      coin_has_filtersqp=skipping
     21478    fi
     21479  done
     21480fi
     21481
     21482if test $coin_has_filtersqp != skipping; then
     21483  if test $PACKAGE_TARNAME = filtersqp; then
     21484    coin_has_filtersqp=.
     21485    coin_have_project_dir=yes
     21486  fi
     21487
     21488
     21489# Check whether --with-m4_tolower(FilterSQP)-lib or --without-m4_tolower(FilterSQP)-lib was given.
     21490if test "${with_filtersqp_lib+set}" = set; then
     21491  withval="$with_filtersqp_lib"
     21492  coin_has_filtersqp=installed
     21493fi;
     21494
     21495
     21496# Check whether --with-m4_tolower(FilterSQP)-incdir or --without-m4_tolower(FilterSQP)-incdir was given.
     21497if test "${with_filtersqp_incdir+set}" = set; then
     21498  withval="$with_filtersqp_incdir"
     21499  coin_has_filtersqp=installed
     21500fi;
     21501
     21502
     21503# Check whether --with-m4_tolower(FilterSQP)-datadir or --without-m4_tolower(FilterSQP)-datadir was given.
     21504if test "${with_filtersqp_datadir+set}" = set; then
     21505  withval="$with_filtersqp_datadir"
     21506  coin_has_filtersqp=installed
     21507fi;
     21508
     21509
     21510
     21511
     21512
     21513fi
     21514
     21515# check if project is available in present directory
     21516if test "$coin_has_filtersqp" = notGiven; then
     21517  if test -d $srcdir/ThirdParty/FilterSQP; then
     21518    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
     21519    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     21520    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
     21521    for i in $srcdir/ThirdParty/FilterSQP/source/src/filter.f; do
     21522         if test -r $i; then
     21523           coin_have_project_dir=yes
     21524         fi
     21525       done
     21526
     21527    if test $coin_have_project_dir = yes; then
     21528      coin_has_filtersqp=ThirdParty/FilterSQP
     21529    fi
     21530  fi
     21531fi
     21532
     21533# check for project by using pkg-config, if pkg-config is available
     21534if test $coin_has_filtersqp = notGiven; then
     21535  #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
     21536  if test -n "$PKG_CONFIG" ; then
     21537    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21538    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
     21539
     21540if test -n "$PKG_CONFIG" ; then
     21541  if $PKG_CONFIG --exists "coinfiltersqp"; then
     21542    COINFILTERSQP_VERSION=`$PKG_CONFIG --modversion "coinfiltersqp" 2>/dev/null`
     21543    coin_has_filtersqp="$COINFILTERSQP_VERSION"
     21544  else
     21545    COINFILTERSQP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinfiltersqp"`
     21546
     21547  fi
     21548else
     21549  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinfiltersqp without pkg-config\"" >&5
     21550echo "$as_me: error: \"Cannot check for existance of module coinfiltersqp without pkg-config\"" >&2;}
     21551   { (exit 1); exit 1; }; }
     21552fi
     21553
     21554    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21555    export PKG_CONFIG_PATH
     21556  fi
     21557fi
     21558
     21559echo "$as_me:$LINENO: result: $coin_has_filtersqp" >&5
     21560echo "${ECHO_T}$coin_has_filtersqp" >&6
     21561
     21562echo "$as_me:$LINENO: checking whether project FilterSQP needs to be configured" >&5
     21563echo $ECHO_N "checking whether project FilterSQP needs to be configured... $ECHO_C" >&6
     21564if test "$coin_have_project_dir" = yes ; then
     21565
     21566  if test -r $srcdir/ThirdParty/FilterSQP/configure; then
     21567    coin_subdirs="$coin_subdirs ThirdParty/FilterSQP"
     21568    echo "$as_me:$LINENO: result: yes" >&5
     21569echo "${ECHO_T}yes" >&6
     21570
     21571
     21572subdirs="$subdirs ThirdParty/FilterSQP"
     21573
     21574  else
     21575    echo "$as_me:$LINENO: result: no" >&5
     21576echo "${ECHO_T}no" >&6
     21577  fi
     21578else
     21579  echo "$as_me:$LINENO: result: no" >&5
     21580echo "${ECHO_T}no" >&6
     21581fi
     21582
     21583
     21584echo "$as_me:$LINENO: checking whether project Metis is available" >&5
     21585echo $ECHO_N "checking whether project Metis is available... $ECHO_C" >&6
     21586
     21587coin_has_metis=notGiven
     21588coin_have_project_dir=no
     21589
     21590# check if user wants to skip project in any case
     21591
     21592if test x"$COIN_SKIP_PROJECTS" != x; then
     21593  for dir in $COIN_SKIP_PROJECTS; do
     21594    if test $dir = "Metis"; then
     21595      coin_has_metis=skipping
     21596    fi
     21597    if test $dir = "ThirdParty/Metis"; then
     21598      coin_has_metis=skipping
     21599    fi
     21600  done
     21601fi
     21602
     21603if test $coin_has_metis != skipping; then
     21604  if test $PACKAGE_TARNAME = metis; then
     21605    coin_has_metis=.
     21606    coin_have_project_dir=yes
     21607  fi
     21608
     21609
     21610# Check whether --with-m4_tolower(Metis)-lib or --without-m4_tolower(Metis)-lib was given.
     21611if test "${with_metis_lib+set}" = set; then
     21612  withval="$with_metis_lib"
     21613  coin_has_metis=installed
     21614fi;
     21615
     21616
     21617# Check whether --with-m4_tolower(Metis)-incdir or --without-m4_tolower(Metis)-incdir was given.
     21618if test "${with_metis_incdir+set}" = set; then
     21619  withval="$with_metis_incdir"
     21620  coin_has_metis=installed
     21621fi;
     21622
     21623
     21624# Check whether --with-m4_tolower(Metis)-datadir or --without-m4_tolower(Metis)-datadir was given.
     21625if test "${with_metis_datadir+set}" = set; then
     21626  withval="$with_metis_datadir"
     21627  coin_has_metis=installed
     21628fi;
     21629
     21630
     21631
     21632
     21633
     21634fi
     21635
     21636# check if project is available in present directory
     21637if test "$coin_has_metis" = notGiven; then
     21638  if test -d $srcdir/ThirdParty/Metis; then
     21639    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
     21640    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     21641    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
     21642    for i in $srcdir/ThirdParty/Metis/metis-4.0/Lib/balance.c; do
     21643         if test -r $i; then
     21644           coin_have_project_dir=yes
     21645         fi
     21646       done
     21647
     21648    if test $coin_have_project_dir = yes; then
     21649      coin_has_metis=ThirdParty/Metis
     21650    fi
     21651  fi
     21652fi
     21653
     21654# check for project by using pkg-config, if pkg-config is available
     21655if test $coin_has_metis = notGiven; then
     21656  #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
     21657  if test -n "$PKG_CONFIG" ; then
     21658    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21659    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
     21660
     21661if test -n "$PKG_CONFIG" ; then
     21662  if $PKG_CONFIG --exists "coinmetis"; then
     21663    COINMETIS_VERSION=`$PKG_CONFIG --modversion "coinmetis" 2>/dev/null`
     21664    coin_has_metis="$COINMETIS_VERSION"
     21665  else
     21666    COINMETIS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinmetis"`
     21667
     21668  fi
     21669else
     21670  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinmetis without pkg-config\"" >&5
     21671echo "$as_me: error: \"Cannot check for existance of module coinmetis without pkg-config\"" >&2;}
     21672   { (exit 1); exit 1; }; }
     21673fi
     21674
     21675    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21676    export PKG_CONFIG_PATH
     21677  fi
     21678fi
     21679
     21680echo "$as_me:$LINENO: result: $coin_has_metis" >&5
     21681echo "${ECHO_T}$coin_has_metis" >&6
     21682
     21683echo "$as_me:$LINENO: checking whether project Metis needs to be configured" >&5
     21684echo $ECHO_N "checking whether project Metis needs to be configured... $ECHO_C" >&6
     21685if test "$coin_have_project_dir" = yes ; then
     21686
     21687  if test -r $srcdir/ThirdParty/Metis/configure; then
     21688    coin_subdirs="$coin_subdirs ThirdParty/Metis"
     21689    echo "$as_me:$LINENO: result: yes" >&5
     21690echo "${ECHO_T}yes" >&6
     21691
     21692
     21693subdirs="$subdirs ThirdParty/Metis"
     21694
     21695  else
     21696    echo "$as_me:$LINENO: result: no" >&5
     21697echo "${ECHO_T}no" >&6
     21698  fi
     21699else
     21700  echo "$as_me:$LINENO: result: no" >&5
     21701echo "${ECHO_T}no" >&6
     21702fi
     21703
     21704
     21705echo "$as_me:$LINENO: checking whether project Mumps is available" >&5
     21706echo $ECHO_N "checking whether project Mumps is available... $ECHO_C" >&6
     21707
     21708coin_has_mumps=notGiven
     21709coin_have_project_dir=no
     21710
     21711# check if user wants to skip project in any case
     21712
     21713if test x"$COIN_SKIP_PROJECTS" != x; then
     21714  for dir in $COIN_SKIP_PROJECTS; do
     21715    if test $dir = "Mumps"; then
     21716      coin_has_mumps=skipping
     21717    fi
     21718    if test $dir = "ThirdParty/Mumps"; then
     21719      coin_has_mumps=skipping
     21720    fi
     21721  done
     21722fi
     21723
     21724if test $coin_has_mumps != skipping; then
     21725  if test $PACKAGE_TARNAME = mumps; then
     21726    coin_has_mumps=.
     21727    coin_have_project_dir=yes
     21728  fi
     21729
     21730
     21731# Check whether --with-m4_tolower(Mumps)-lib or --without-m4_tolower(Mumps)-lib was given.
     21732if test "${with_mumps_lib+set}" = set; then
     21733  withval="$with_mumps_lib"
     21734  coin_has_mumps=installed
     21735fi;
     21736
     21737
     21738# Check whether --with-m4_tolower(Mumps)-incdir or --without-m4_tolower(Mumps)-incdir was given.
     21739if test "${with_mumps_incdir+set}" = set; then
     21740  withval="$with_mumps_incdir"
     21741  coin_has_mumps=installed
     21742fi;
     21743
     21744
     21745# Check whether --with-m4_tolower(Mumps)-datadir or --without-m4_tolower(Mumps)-datadir was given.
     21746if test "${with_mumps_datadir+set}" = set; then
     21747  withval="$with_mumps_datadir"
     21748  coin_has_mumps=installed
     21749fi;
     21750
     21751
     21752
     21753
     21754
     21755fi
     21756
     21757# check if project is available in present directory
     21758if test "$coin_has_mumps" = notGiven; then
     21759  if test -d $srcdir/ThirdParty/Mumps; then
     21760    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
     21761    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     21762    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
     21763    for i in $srcdir/ThirdParty/Mumps/MUMPS/src/dmumps_part1.F; do
     21764         if test -r $i; then
     21765           coin_have_project_dir=yes
     21766         fi
     21767       done
     21768
     21769    if test $coin_have_project_dir = yes; then
     21770      coin_has_mumps=ThirdParty/Mumps
     21771    fi
     21772  fi
     21773fi
     21774
     21775# check for project by using pkg-config, if pkg-config is available
     21776if test $coin_has_mumps = notGiven; then
     21777  #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
     21778  if test -n "$PKG_CONFIG" ; then
     21779    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21780    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
     21781
     21782if test -n "$PKG_CONFIG" ; then
     21783  if $PKG_CONFIG --exists "coinmumps"; then
     21784    COINMUMPS_VERSION=`$PKG_CONFIG --modversion "coinmumps" 2>/dev/null`
     21785    coin_has_mumps="$COINMUMPS_VERSION"
     21786  else
     21787    COINMUMPS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinmumps"`
     21788
     21789  fi
     21790else
     21791  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinmumps without pkg-config\"" >&5
     21792echo "$as_me: error: \"Cannot check for existance of module coinmumps without pkg-config\"" >&2;}
     21793   { (exit 1); exit 1; }; }
     21794fi
     21795
     21796    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21797    export PKG_CONFIG_PATH
     21798  fi
     21799fi
     21800
     21801echo "$as_me:$LINENO: result: $coin_has_mumps" >&5
     21802echo "${ECHO_T}$coin_has_mumps" >&6
     21803
     21804echo "$as_me:$LINENO: checking whether project Mumps needs to be configured" >&5
     21805echo $ECHO_N "checking whether project Mumps needs to be configured... $ECHO_C" >&6
     21806if test "$coin_have_project_dir" = yes ; then
     21807
     21808  if test -r $srcdir/ThirdParty/Mumps/configure; then
     21809    coin_subdirs="$coin_subdirs ThirdParty/Mumps"
     21810    echo "$as_me:$LINENO: result: yes" >&5
     21811echo "${ECHO_T}yes" >&6
     21812
     21813
     21814subdirs="$subdirs ThirdParty/Mumps"
     21815
     21816  else
     21817    echo "$as_me:$LINENO: result: no" >&5
     21818echo "${ECHO_T}no" >&6
     21819  fi
     21820else
     21821  echo "$as_me:$LINENO: result: no" >&5
     21822echo "${ECHO_T}no" >&6
     21823fi
     21824
     21825
    2134221826echo "$as_me:$LINENO: checking whether project HSL is available" >&5
    2134321827echo $ECHO_N "checking whether project HSL is available... $ECHO_C" >&6
     
    2146121945
    2146221946
    21463 echo "$as_me:$LINENO: checking whether project ASL is available" >&5
    21464 echo $ECHO_N "checking whether project ASL is available... $ECHO_C" >&6
    21465 
    21466 coin_has_asl=notGiven
     21947echo "$as_me:$LINENO: checking whether project Sample is available" >&5
     21948echo $ECHO_N "checking whether project Sample is available... $ECHO_C" >&6
     21949
     21950coin_has_sample=notGiven
    2146721951coin_have_project_dir=no
    2146821952
     
    2147121955if test x"$COIN_SKIP_PROJECTS" != x; then
    2147221956  for dir in $COIN_SKIP_PROJECTS; do
    21473     if test $dir = "ASL"; then
    21474       coin_has_asl=skipping
     21957    if test $dir = "Sample"; then
     21958      coin_has_sample=skipping
    2147521959    fi
    21476     if test $dir = "ThirdParty/ASL"; then
    21477       coin_has_asl=skipping
     21960    if test $dir = "Data/Sample"; then
     21961      coin_has_sample=skipping
    2147821962    fi
    2147921963  done
    2148021964fi
    2148121965
    21482 if test $coin_has_asl != skipping; then
    21483   if test $PACKAGE_TARNAME = asl; then
    21484     coin_has_asl=.
     21966if test $coin_has_sample != skipping; then
     21967  if test $PACKAGE_TARNAME = sample; then
     21968    coin_has_sample=.
    2148521969    coin_have_project_dir=yes
    2148621970  fi
    2148721971
    2148821972
    21489 # Check whether --with-m4_tolower(ASL)-lib or --without-m4_tolower(ASL)-lib was given.
    21490 if test "${with_asl_lib+set}" = set; then
    21491   withval="$with_asl_lib"
    21492   coin_has_asl=installed
     21973# Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given.
     21974if test "${with_sample_lib+set}" = set; then
     21975  withval="$with_sample_lib"
     21976  coin_has_sample=installed
    2149321977fi;
    2149421978
    2149521979
    21496 # Check whether --with-m4_tolower(ASL)-incdir or --without-m4_tolower(ASL)-incdir was given.
    21497 if test "${with_asl_incdir+set}" = set; then
    21498   withval="$with_asl_incdir"
    21499   coin_has_asl=installed
     21980# Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given.
     21981if test "${with_sample_incdir+set}" = set; then
     21982  withval="$with_sample_incdir"
     21983  coin_has_sample=installed
    2150021984fi;
    2150121985
    2150221986
    21503 # Check whether --with-m4_tolower(ASL)-datadir or --without-m4_tolower(ASL)-datadir was given.
    21504 if test "${with_asl_datadir+set}" = set; then
    21505   withval="$with_asl_datadir"
    21506   coin_has_asl=installed
     21987# Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given.
     21988if test "${with_sample_datadir+set}" = set; then
     21989  withval="$with_sample_datadir"
     21990  coin_has_sample=installed
    2150721991fi;
    2150821992
     
    2151421998
    2151521999# check if project is available in present directory
    21516 if test "$coin_has_asl" = notGiven; then
    21517   if test -d $srcdir/ThirdParty/ASL; then
     22000if test "$coin_has_sample" = notGiven; then
     22001  if test -d $srcdir/Data/Sample; then
    2151822002    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2151922003    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2152022004    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    21521     for i in $srcdir/ThirdParty/ASL/solvers/asl.h; do
    21522          if test -r $i; then
    21523            coin_have_project_dir=yes
    21524          fi
    21525        done
     22005     coin_have_project_dir=yes
    2152622006
    2152722007    if test $coin_have_project_dir = yes; then
    21528       coin_has_asl=ThirdParty/ASL
     22008      coin_has_sample=Data/Sample
    2152922009    fi
    2153022010  fi
     
    2153222012
    2153322013# check for project by using pkg-config, if pkg-config is available
    21534 if test $coin_has_asl = notGiven; then
     22014if test $coin_has_sample = notGiven; then
    2153522015  #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    2153622016  if test -n "$PKG_CONFIG" ; then
     
    2153922019
    2154022020if test -n "$PKG_CONFIG" ; then
    21541   if $PKG_CONFIG --exists "coinasl"; then
    21542     COINASL_VERSION=`$PKG_CONFIG --modversion "coinasl" 2>/dev/null`
    21543     coin_has_asl="$COINASL_VERSION"
     22021  if $PKG_CONFIG --exists "coindatasample"; then
     22022    COINDATASAMPLE_VERSION=`$PKG_CONFIG --modversion "coindatasample" 2>/dev/null`
     22023    coin_has_sample="$COINDATASAMPLE_VERSION"
    2154422024  else
    21545     COINASL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinasl"`
    21546 
    21547   fi
    21548 else
    21549   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinasl without pkg-config\"" >&5
    21550 echo "$as_me: error: \"Cannot check for existance of module coinasl without pkg-config\"" >&2;}
     22025    COINDATASAMPLE_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coindatasample"`
     22026
     22027  fi
     22028else
     22029  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coindatasample without pkg-config\"" >&5
     22030echo "$as_me: error: \"Cannot check for existance of module coindatasample without pkg-config\"" >&2;}
    2155122031   { (exit 1); exit 1; }; }
    2155222032fi
     
    2155722037fi
    2155822038
    21559 echo "$as_me:$LINENO: result: $coin_has_asl" >&5
    21560 echo "${ECHO_T}$coin_has_asl" >&6
    21561 
    21562 echo "$as_me:$LINENO: checking whether project ASL needs to be configured" >&5
    21563 echo $ECHO_N "checking whether project ASL needs to be configured... $ECHO_C" >&6
     22039echo "$as_me:$LINENO: result: $coin_has_sample" >&5
     22040echo "${ECHO_T}$coin_has_sample" >&6
     22041
     22042echo "$as_me:$LINENO: checking whether project Sample needs to be configured" >&5
     22043echo $ECHO_N "checking whether project Sample needs to be configured... $ECHO_C" >&6
    2156422044if test "$coin_have_project_dir" = yes ; then
    2156522045
    21566   if test -r $srcdir/ThirdParty/ASL/configure; then
    21567     coin_subdirs="$coin_subdirs ThirdParty/ASL"
     22046  if test -r $srcdir/Data/Sample/configure; then
     22047    coin_subdirs="$coin_subdirs Data/Sample"
    2156822048    echo "$as_me:$LINENO: result: yes" >&5
    2156922049echo "${ECHO_T}yes" >&6
    2157022050
    2157122051
    21572 subdirs="$subdirs ThirdParty/ASL"
     22052subdirs="$subdirs Data/Sample"
    2157322053
    2157422054  else
     
    2158022060echo "${ECHO_T}no" >&6
    2158122061fi
    21582 
    21583 
    21584 echo "$as_me:$LINENO: checking whether project FilterSQP is available" >&5
    21585 echo $ECHO_N "checking whether project FilterSQP is available... $ECHO_C" >&6
    21586 
    21587 coin_has_filtersqp=notGiven
    21588 coin_have_project_dir=no
    21589 
    21590 # check if user wants to skip project in any case
    21591 
    21592 if test x"$COIN_SKIP_PROJECTS" != x; then
    21593   for dir in $COIN_SKIP_PROJECTS; do
    21594     if test $dir = "FilterSQP"; then
    21595       coin_has_filtersqp=skipping
    21596     fi
    21597     if test $dir = "ThirdParty/FilterSQP"; then
    21598       coin_has_filtersqp=skipping
    21599     fi
    21600   done
    21601 fi
    21602 
    21603 if test $coin_has_filtersqp != skipping; then
    21604   if test $PACKAGE_TARNAME = filtersqp; then
    21605     coin_has_filtersqp=.
    21606     coin_have_project_dir=yes
    21607   fi
    21608 
    21609 
    21610 # Check whether --with-m4_tolower(FilterSQP)-lib or --without-m4_tolower(FilterSQP)-lib was given.
    21611 if test "${with_filtersqp_lib+set}" = set; then
    21612   withval="$with_filtersqp_lib"
    21613   coin_has_filtersqp=installed
    21614 fi;
    21615 
    21616 
    21617 # Check whether --with-m4_tolower(FilterSQP)-incdir or --without-m4_tolower(FilterSQP)-incdir was given.
    21618 if test "${with_filtersqp_incdir+set}" = set; then
    21619   withval="$with_filtersqp_incdir"
    21620   coin_has_filtersqp=installed
    21621 fi;
    21622 
    21623 
    21624 # Check whether --with-m4_tolower(FilterSQP)-datadir or --without-m4_tolower(FilterSQP)-datadir was given.
    21625 if test "${with_filtersqp_datadir+set}" = set; then
    21626   withval="$with_filtersqp_datadir"
    21627   coin_has_filtersqp=installed
    21628 fi;
    21629 
    21630 
    21631 
    21632 
    21633 
    21634 fi
    21635 
    21636 # check if project is available in present directory
    21637 if test "$coin_has_filtersqp" = notGiven; then
    21638   if test -d $srcdir/ThirdParty/FilterSQP; then
    21639     # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    21640     # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    21641     # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    21642     for i in $srcdir/ThirdParty/FilterSQP/source/src/filter.f; do
    21643          if test -r $i; then
    21644            coin_have_project_dir=yes
    21645          fi
    21646        done
    21647 
    21648     if test $coin_have_project_dir = yes; then
    21649       coin_has_filtersqp=ThirdParty/FilterSQP
    21650     fi
    21651   fi
    21652 fi
    21653 
    21654 # check for project by using pkg-config, if pkg-config is available
    21655 if test $coin_has_filtersqp = notGiven; then
    21656   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21657   if test -n "$PKG_CONFIG" ; then
    21658     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21659     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21660 
    21661 if test -n "$PKG_CONFIG" ; then
    21662   if $PKG_CONFIG --exists "coinfiltersqp"; then
    21663     COINFILTERSQP_VERSION=`$PKG_CONFIG --modversion "coinfiltersqp" 2>/dev/null`
    21664     coin_has_filtersqp="$COINFILTERSQP_VERSION"
    21665   else
    21666     COINFILTERSQP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinfiltersqp"`
    21667 
    21668   fi
    21669 else
    21670   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinfiltersqp without pkg-config\"" >&5
    21671 echo "$as_me: error: \"Cannot check for existance of module coinfiltersqp without pkg-config\"" >&2;}
    21672    { (exit 1); exit 1; }; }
    21673 fi
    21674 
    21675     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21676     export PKG_CONFIG_PATH
    21677   fi
    21678 fi
    21679 
    21680 echo "$as_me:$LINENO: result: $coin_has_filtersqp" >&5
    21681 echo "${ECHO_T}$coin_has_filtersqp" >&6
    21682 
    21683 echo "$as_me:$LINENO: checking whether project FilterSQP needs to be configured" >&5
    21684 echo $ECHO_N "checking whether project FilterSQP needs to be configured... $ECHO_C" >&6
    21685 if test "$coin_have_project_dir" = yes ; then
    21686 
    21687   if test -r $srcdir/ThirdParty/FilterSQP/configure; then
    21688     coin_subdirs="$coin_subdirs ThirdParty/FilterSQP"
    21689     echo "$as_me:$LINENO: result: yes" >&5
    21690 echo "${ECHO_T}yes" >&6
    21691 
    21692 
    21693 subdirs="$subdirs ThirdParty/FilterSQP"
    21694 
    21695   else
    21696     echo "$as_me:$LINENO: result: no" >&5
    21697 echo "${ECHO_T}no" >&6
    21698   fi
    21699 else
    21700   echo "$as_me:$LINENO: result: no" >&5
    21701 echo "${ECHO_T}no" >&6
    21702 fi
    21703 
    21704 
    21705 echo "$as_me:$LINENO: checking whether project Metis is available" >&5
    21706 echo $ECHO_N "checking whether project Metis is available... $ECHO_C" >&6
    21707 
    21708 coin_has_metis=notGiven
    21709 coin_have_project_dir=no
    21710 
    21711 # check if user wants to skip project in any case
    21712 
    21713 if test x"$COIN_SKIP_PROJECTS" != x; then
    21714   for dir in $COIN_SKIP_PROJECTS; do
    21715     if test $dir = "Metis"; then
    21716       coin_has_metis=skipping
    21717     fi
    21718     if test $dir = "ThirdParty/Metis"; then
    21719       coin_has_metis=skipping
    21720     fi
    21721   done
    21722 fi
    21723 
    21724 if test $coin_has_metis != skipping; then
    21725   if test $PACKAGE_TARNAME = metis; then
    21726     coin_has_metis=.
    21727     coin_have_project_dir=yes
    21728   fi
    21729 
    21730 
    21731 # Check whether --with-m4_tolower(Metis)-lib or --without-m4_tolower(Metis)-lib was given.
    21732 if test "${with_metis_lib+set}" = set; then
    21733   withval="$with_metis_lib"
    21734   coin_has_metis=installed
    21735 fi;
    21736 
    21737 
    21738 # Check whether --with-m4_tolower(Metis)-incdir or --without-m4_tolower(Metis)-incdir was given.
    21739 if test "${with_metis_incdir+set}" = set; then
    21740   withval="$with_metis_incdir"
    21741   coin_has_metis=installed
    21742 fi;
    21743 
    21744 
    21745 # Check whether --with-m4_tolower(Metis)-datadir or --without-m4_tolower(Metis)-datadir was given.
    21746 if test "${with_metis_datadir+set}" = set; then
    21747   withval="$with_metis_datadir"
    21748   coin_has_metis=installed
    21749 fi;
    21750 
    21751 
    21752 
    21753 
    21754 
    21755 fi
    21756 
    21757 # check if project is available in present directory
    21758 if test "$coin_has_metis" = notGiven; then
    21759   if test -d $srcdir/ThirdParty/Metis; then
    21760     # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    21761     # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    21762     # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    21763     for i in $srcdir/ThirdParty/Metis/metis-4.0/Lib/balance.c; do
    21764          if test -r $i; then
    21765            coin_have_project_dir=yes
    21766          fi
    21767        done
    21768 
    21769     if test $coin_have_project_dir = yes; then
    21770       coin_has_metis=ThirdParty/Metis
    21771     fi
    21772   fi
    21773 fi
    21774 
    21775 # check for project by using pkg-config, if pkg-config is available
    21776 if test $coin_has_metis = notGiven; then
    21777   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21778   if test -n "$PKG_CONFIG" ; then
    21779     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21780     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21781 
    21782 if test -n "$PKG_CONFIG" ; then
    21783   if $PKG_CONFIG --exists "coinmetis"; then
    21784     COINMETIS_VERSION=`$PKG_CONFIG --modversion "coinmetis" 2>/dev/null`
    21785     coin_has_metis="$COINMETIS_VERSION"
    21786   else
    21787     COINMETIS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinmetis"`
    21788 
    21789   fi
    21790 else
    21791   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinmetis without pkg-config\"" >&5
    21792 echo "$as_me: error: \"Cannot check for existance of module coinmetis without pkg-config\"" >&2;}
    21793    { (exit 1); exit 1; }; }
    21794 fi
    21795 
    21796     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21797     export PKG_CONFIG_PATH
    21798   fi
    21799 fi
    21800 
    21801 echo "$as_me:$LINENO: result: $coin_has_metis" >&5
    21802 echo "${ECHO_T}$coin_has_metis" >&6
    21803 
    21804 echo "$as_me:$LINENO: checking whether project Metis needs to be configured" >&5
    21805 echo $ECHO_N "checking whether project Metis needs to be configured... $ECHO_C" >&6
    21806 if test "$coin_have_project_dir" = yes ; then
    21807 
    21808   if test -r $srcdir/ThirdParty/Metis/configure; then
    21809     coin_subdirs="$coin_subdirs ThirdParty/Metis"
    21810     echo "$as_me:$LINENO: result: yes" >&5
    21811 echo "${ECHO_T}yes" >&6
    21812 
    21813 
    21814 subdirs="$subdirs ThirdParty/Metis"
    21815 
    21816   else
    21817     echo "$as_me:$LINENO: result: no" >&5
    21818 echo "${ECHO_T}no" >&6
    21819   fi
    21820 else
    21821   echo "$as_me:$LINENO: result: no" >&5
    21822 echo "${ECHO_T}no" >&6
    21823 fi
    21824 
    21825 
    21826 echo "$as_me:$LINENO: checking whether project Mumps is available" >&5
    21827 echo $ECHO_N "checking whether project Mumps is available... $ECHO_C" >&6
    21828 
    21829 coin_has_mumps=notGiven
    21830 coin_have_project_dir=no
    21831 
    21832 # check if user wants to skip project in any case
    21833 
    21834 if test x"$COIN_SKIP_PROJECTS" != x; then
    21835   for dir in $COIN_SKIP_PROJECTS; do
    21836     if test $dir = "Mumps"; then
    21837       coin_has_mumps=skipping
    21838     fi
    21839     if test $dir = "ThirdParty/Mumps"; then
    21840       coin_has_mumps=skipping
    21841     fi
    21842   done
    21843 fi
    21844 
    21845 if test $coin_has_mumps != skipping; then
    21846   if test $PACKAGE_TARNAME = mumps; then
    21847     coin_has_mumps=.
    21848     coin_have_project_dir=yes
    21849   fi
    21850 
    21851 
    21852 # Check whether --with-m4_tolower(Mumps)-lib or --without-m4_tolower(Mumps)-lib was given.
    21853 if test "${with_mumps_lib+set}" = set; then
    21854   withval="$with_mumps_lib"
    21855   coin_has_mumps=installed
    21856 fi;
    21857 
    21858 
    21859 # Check whether --with-m4_tolower(Mumps)-incdir or --without-m4_tolower(Mumps)-incdir was given.
    21860 if test "${with_mumps_incdir+set}" = set; then
    21861   withval="$with_mumps_incdir"
    21862   coin_has_mumps=installed
    21863 fi;
    21864 
    21865 
    21866 # Check whether --with-m4_tolower(Mumps)-datadir or --without-m4_tolower(Mumps)-datadir was given.
    21867 if test "${with_mumps_datadir+set}" = set; then
    21868   withval="$with_mumps_datadir"
    21869   coin_has_mumps=installed
    21870 fi;
    21871 
    21872 
    21873 
    21874 
    21875 
    21876 fi
    21877 
    21878 # check if project is available in present directory
    21879 if test "$coin_has_mumps" = notGiven; then
    21880   if test -d $srcdir/ThirdParty/Mumps; then
    21881     # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    21882     # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    21883     # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    21884     for i in $srcdir/ThirdParty/Mumps/MUMPS/src/dmumps_part1.F; do
    21885          if test -r $i; then
    21886            coin_have_project_dir=yes
    21887          fi
    21888        done
    21889 
    21890     if test $coin_have_project_dir = yes; then
    21891       coin_has_mumps=ThirdParty/Mumps
    21892     fi
    21893   fi
    21894 fi
    21895 
    21896 # check for project by using pkg-config, if pkg-config is available
    21897 if test $coin_has_mumps = notGiven; then
    21898   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21899   if test -n "$PKG_CONFIG" ; then
    21900     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21901     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21902 
    21903 if test -n "$PKG_CONFIG" ; then
    21904   if $PKG_CONFIG --exists "coinmumps"; then
    21905     COINMUMPS_VERSION=`$PKG_CONFIG --modversion "coinmumps" 2>/dev/null`
    21906     coin_has_mumps="$COINMUMPS_VERSION"
    21907   else
    21908     COINMUMPS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinmumps"`
    21909 
    21910   fi
    21911 else
    21912   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinmumps without pkg-config\"" >&5
    21913 echo "$as_me: error: \"Cannot check for existance of module coinmumps without pkg-config\"" >&2;}
    21914    { (exit 1); exit 1; }; }
    21915 fi
    21916 
    21917     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21918     export PKG_CONFIG_PATH
    21919   fi
    21920 fi
    21921 
    21922 echo "$as_me:$LINENO: result: $coin_has_mumps" >&5
    21923 echo "${ECHO_T}$coin_has_mumps" >&6
    21924 
    21925 echo "$as_me:$LINENO: checking whether project Mumps needs to be configured" >&5
    21926 echo $ECHO_N "checking whether project Mumps needs to be configured... $ECHO_C" >&6
    21927 if test "$coin_have_project_dir" = yes ; then
    21928 
    21929   if test -r $srcdir/ThirdParty/Mumps/configure; then
    21930     coin_subdirs="$coin_subdirs ThirdParty/Mumps"
    21931     echo "$as_me:$LINENO: result: yes" >&5
    21932 echo "${ECHO_T}yes" >&6
    21933 
    21934 
    21935 subdirs="$subdirs ThirdParty/Mumps"
    21936 
    21937   else
    21938     echo "$as_me:$LINENO: result: no" >&5
    21939 echo "${ECHO_T}no" >&6
    21940   fi
    21941 else
    21942   echo "$as_me:$LINENO: result: no" >&5
    21943 echo "${ECHO_T}no" >&6
    21944 fi
    21945 
    21946 
    21947 #############################################################################
    21948 #                  Check which subprojects are there                        #
    21949 #############################################################################
    2195022062
    2195122063
     
    2287522987
    2287622988subdirs="$subdirs Bonmin"
    22877 
    22878   else
    22879     echo "$as_me:$LINENO: result: no" >&5
    22880 echo "${ECHO_T}no" >&6
    22881   fi
    22882 else
    22883   echo "$as_me:$LINENO: result: no" >&5
    22884 echo "${ECHO_T}no" >&6
    22885 fi
    22886 
    22887 
    22888 echo "$as_me:$LINENO: checking whether project Sample is available" >&5
    22889 echo $ECHO_N "checking whether project Sample is available... $ECHO_C" >&6
    22890 
    22891 coin_has_sample=notGiven
    22892 coin_have_project_dir=no
    22893 
    22894 # check if user wants to skip project in any case
    22895 
    22896 if test x"$COIN_SKIP_PROJECTS" != x; then
    22897   for dir in $COIN_SKIP_PROJECTS; do
    22898     if test $dir = "Sample"; then
    22899       coin_has_sample=skipping
    22900     fi
    22901     if test $dir = "Data/Sample"; then
    22902       coin_has_sample=skipping
    22903     fi
    22904   done
    22905 fi
    22906 
    22907 if test $coin_has_sample != skipping; then
    22908   if test $PACKAGE_TARNAME = sample; then
    22909     coin_has_sample=.
    22910     coin_have_project_dir=yes
    22911   fi
    22912 
    22913 
    22914 # Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given.
    22915 if test "${with_sample_lib+set}" = set; then
    22916   withval="$with_sample_lib"
    22917   coin_has_sample=installed
    22918 fi;
    22919 
    22920 
    22921 # Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given.
    22922 if test "${with_sample_incdir+set}" = set; then
    22923   withval="$with_sample_incdir"
    22924   coin_has_sample=installed
    22925 fi;
    22926 
    22927 
    22928 # Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given.
    22929 if test "${with_sample_datadir+set}" = set; then
    22930   withval="$with_sample_datadir"
    22931   coin_has_sample=installed
    22932 fi;
    22933 
    22934 
    22935 
    22936 
    22937 
    22938 fi
    22939 
    22940 # check if project is available in present directory
    22941 if test "$coin_has_sample" = notGiven; then
    22942   if test -d $srcdir/Data/Sample; then
    22943     # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    22944     # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    22945     # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    22946      coin_have_project_dir=yes
    22947 
    22948     if test $coin_have_project_dir = yes; then
    22949       coin_has_sample=Data/Sample
    22950     fi
    22951   fi
    22952 fi
    22953 
    22954 # check for project by using pkg-config, if pkg-config is available
    22955 if test $coin_has_sample = notGiven; then
    22956   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    22957   if test -n "$PKG_CONFIG" ; then
    22958     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    22959     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    22960 
    22961 if test -n "$PKG_CONFIG" ; then
    22962   if $PKG_CONFIG --exists "coindatasample"; then
    22963     COINDATASAMPLE_VERSION=`$PKG_CONFIG --modversion "coindatasample" 2>/dev/null`
    22964     coin_has_sample="$COINDATASAMPLE_VERSION"
    22965   else
    22966     COINDATASAMPLE_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coindatasample"`
    22967 
    22968   fi
    22969 else
    22970   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coindatasample without pkg-config\"" >&5
    22971 echo "$as_me: error: \"Cannot check for existance of module coindatasample without pkg-config\"" >&2;}
    22972    { (exit 1); exit 1; }; }
    22973 fi
    22974 
    22975     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    22976     export PKG_CONFIG_PATH
    22977   fi
    22978 fi
    22979 
    22980 echo "$as_me:$LINENO: result: $coin_has_sample" >&5
    22981 echo "${ECHO_T}$coin_has_sample" >&6
    22982 
    22983 echo "$as_me:$LINENO: checking whether project Sample needs to be configured" >&5
    22984 echo $ECHO_N "checking whether project Sample needs to be configured... $ECHO_C" >&6
    22985 if test "$coin_have_project_dir" = yes ; then
    22986 
    22987   if test -r $srcdir/Data/Sample/configure; then
    22988     coin_subdirs="$coin_subdirs Data/Sample"
    22989     echo "$as_me:$LINENO: result: yes" >&5
    22990 echo "${ECHO_T}yes" >&6
    22991 
    22992 
    22993 subdirs="$subdirs Data/Sample"
    2299422989
    2299522990  else
  • branches/split/configure.ac

    r1735 r1741  
    4040
    4141#############################################################################
    42 #             Check which ThirdParty sources are available                  #
    43 #############################################################################
    44 
    45 AC_COIN_MAIN_PACKAGEDIR([Blas],     [ThirdParty],[daxpy.f],                 coinblas)
    46 AC_COIN_MAIN_PACKAGEDIR([Lapack],   [ThirdParty],[LAPACK/SRC/dlarf.f],      coinlapack)
    47 AC_COIN_MAIN_PACKAGEDIR([HSL],      [ThirdParty],[configure.ac],            coinhsl)
    48 AC_COIN_MAIN_PACKAGEDIR([ASL],      [ThirdParty],[solvers/asl.h],           coinasl)
    49 AC_COIN_MAIN_PACKAGEDIR([FilterSQP],[ThirdParty],[source/src/filter.f],     coinfiltersqp)
    50 AC_COIN_MAIN_PACKAGEDIR([Metis],    [ThirdParty],[metis-4.0/Lib/balance.c], coinmetis)
    51 AC_COIN_MAIN_PACKAGEDIR([Mumps],    [ThirdParty],[MUMPS/src/dmumps_part1.F],coinmumps)
    52 
    53 #############################################################################
    5442#                  Check which subprojects are there                        #
    5543#############################################################################
    5644
     45AC_COIN_MAIN_PACKAGEDIR(Blas,     ThirdParty,[daxpy.f],                 coinblas)
     46AC_COIN_MAIN_PACKAGEDIR(Lapack,   ThirdParty,[LAPACK/SRC/dlarf.f],      coinlapack)
     47AC_COIN_MAIN_PACKAGEDIR(ASL,      ThirdParty,[solvers/asl.h],           coinasl)
     48AC_COIN_MAIN_PACKAGEDIR(FilterSQP,ThirdParty,[source/src/filter.f],     coinfiltersqp)
     49AC_COIN_MAIN_PACKAGEDIR(Metis,    ThirdParty,[metis-4.0/Lib/balance.c], coinmetis)
     50AC_COIN_MAIN_PACKAGEDIR(Mumps,    ThirdParty,[MUMPS/src/dmumps_part1.F],coinmumps)
     51AC_COIN_MAIN_PACKAGEDIR(HSL,      ThirdParty,[configure.ac],            coinhsl)
     52AC_COIN_MAIN_PACKAGEDIR(Sample,   Data,,                                coindatasample)
    5753AC_COIN_MAIN_PACKAGEDIR(CoinUtils)
    5854AC_COIN_MAIN_PACKAGEDIR(Osi)
     
    6359AC_COIN_MAIN_PACKAGEDIR(Ipopt)
    6460AC_COIN_MAIN_PACKAGEDIR(Bonmin)
    65 AC_COIN_MAIN_PACKAGEDIR(Sample,Data,,coindatasample)
    6661
    6762##############################################################################
Note: See TracChangeset for help on using the changeset viewer.