Changeset 1389 for stable


Ignore:
Timestamp:
Jul 8, 2009 11:03:05 AM (10 years ago)
Author:
andreasw
Message:

a few bugfixes for instdir

Location:
stable/BSPsplit/Clp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable/BSPsplit/Clp/configure

    r1386 r1389  
    2049720497   { (exit 1); exit 1; }; }
    2049820498                   fi
    20499                    if test -r $withval/include/coin/CoinTime.hpp; then
    20500                         coin_has_coinutils=installed
    20501                         COINUTILSINSTDIR=`cd $withval; pwd`
    20502                       fi
    20503 
     20499                   if test -r $withval/share/doc/coin/CoinUtils/README; then
     20500                     coin_has_coinutils=installed
     20501                     COINUTILSINSTDIR=`cd $withval; pwd`
     20502                   fi
    2050420503fi;
    2050520504    fi
     
    2056320562  echo "$as_me:$LINENO: result: installed in $COINUTILSINSTDIR" >&5
    2056420563echo "${ECHO_T}installed in $COINUTILSINSTDIR" >&6
    20565   # Check for header
    20566   tmp=$COINUTILSINSTDIR/include/coin
    20567                   echo "$as_me:$LINENO: checking whether header CoinTime.hpp is available in $tmp" >&5
    20568 echo $ECHO_N "checking whether header CoinTime.hpp is available in $tmp... $ECHO_C" >&6
    20569                   if test -r $tmp/CoinTime.hpp; then
    20570                     echo "$as_me:$LINENO: result: yes" >&5
    20571 echo "${ECHO_T}yes" >&6
    20572                   else
    20573                     echo "$as_me:$LINENO: result: no" >&5
    20574 echo "${ECHO_T}no" >&6
    20575                     { { echo "$as_me:$LINENO: error: Header CoinTime.hpp not available in CoinUtils installation directory" >&5
    20576 echo "$as_me: error: Header CoinTime.hpp not available in CoinUtils installation directory" >&2;}
     20564  if test -r $COINUTILSINSTDIR/share/doc/coin/CoinUtils/README; then
     20565
     20566  :
     20567else
     20568  { { echo "$as_me:$LINENO: error: $COINUTILSINSTDIR/share/doc/coin/CoinUtils/README should be available if CoinUtils is installed" >&5
     20569echo "$as_me: error: $COINUTILSINSTDIR/share/doc/coin/CoinUtils/README should be available if CoinUtils is installed" >&2;}
    2057720570   { (exit 1); exit 1; }; }
    20578                   fi
    20579 
    20580   # Check for library (this is not qo reliable)
    20581   tmp=$COINUTILSINSTDIR/lib
    20582                   echo "$as_me:$LINENO: checking whether library libCoinUtils.* is available in $tmp" >&5
    20583 echo $ECHO_N "checking whether library libCoinUtils.* is available in $tmp... $ECHO_C" >&6
    20584                   bla=`ls $tmp/libCoinUtils.* 2>/dev/null | head -n 1`
    20585                   if test x"$bla" = x; then
    20586                     echo "$as_me:$LINENO: result: no" >&5
    20587 echo "${ECHO_T}no" >&6
    20588                     { { echo "$as_me:$LINENO: error: Library libCoinUtils.* not available in CoinUtils installation directory" >&5
    20589 echo "$as_me: error: Library libCoinUtils.* not available in CoinUtils installation directory" >&2;}
    20590    { (exit 1); exit 1; }; }
    20591                   else
    20592                     echo "$as_me:$LINENO: result: found $bla" >&5
    20593 echo "${ECHO_T}found $bla" >&6
    20594                   fi
     20571  :
     20572fi
    2059520573
    2059620574else
    2059720575  echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5
    2059820576echo "${ECHO_T}$coin_has_coinutils" >&6
     20577  if test $coin_has_coinutils != notGiven &&
     20578     test $coin_has_coinutils != skipping; then
     20579    echo "$as_me:$LINENO: checking for source code location of CoinUtils" >&5
     20580echo $ECHO_N "checking for source code location of CoinUtils... $ECHO_C" >&6
     20581    echo "$as_me:$LINENO: result: $COINUTILSSRCDIR" >&5
     20582echo "${ECHO_T}$COINUTILSSRCDIR" >&6
     20583    echo "$as_me:$LINENO: checking for object code location of CoinUtils" >&5
     20584echo $ECHO_N "checking for object code location of CoinUtils... $ECHO_C" >&6
     20585    echo "$as_me:$LINENO: result: $COINUTILSOBJDIR" >&5
     20586echo "${ECHO_T}$COINUTILSOBJDIR" >&6
     20587  fi
    2059920588fi
    2060020589
     
    2069220681   { (exit 1); exit 1; }; }
    2069320682                   fi
    20694                    { echo "$as_me:$LINENO: WARNING: Cannot verify availability of Clp with --with-coin-instdir flag.  Project manager needs to provide name of header to look for" >&5
    20695 echo "$as_me: WARNING: Cannot verify availability of Clp with --with-coin-instdir flag.  Project manager needs to provide name of header to look for" >&2;}
    20696 
     20683                   if test -r $withval/share/doc/coin/Clp/README; then
     20684                     coin_has_clp=installed
     20685                     CLPINSTDIR=`cd $withval; pwd`
     20686                   fi
    2069720687fi;
    2069820688    fi
     
    2075620746  echo "$as_me:$LINENO: result: installed in $CLPINSTDIR" >&5
    2075720747echo "${ECHO_T}installed in $CLPINSTDIR" >&6
    20758   # Check for header
    20759 
    20760   # Check for library (this is not qo reliable)
     20748  if test -r $CLPINSTDIR/share/doc/coin/Clp/README; then
     20749
     20750  :
     20751else
     20752  { { echo "$as_me:$LINENO: error: $CLPINSTDIR/share/doc/coin/Clp/README should be available if Clp is installed" >&5
     20753echo "$as_me: error: $CLPINSTDIR/share/doc/coin/Clp/README should be available if Clp is installed" >&2;}
     20754   { (exit 1); exit 1; }; }
     20755  :
     20756fi
    2076120757
    2076220758else
    2076320759  echo "$as_me:$LINENO: result: $coin_has_clp" >&5
    2076420760echo "${ECHO_T}$coin_has_clp" >&6
     20761  if test $coin_has_clp != notGiven &&
     20762     test $coin_has_clp != skipping; then
     20763    echo "$as_me:$LINENO: checking for source code location of Clp" >&5
     20764echo $ECHO_N "checking for source code location of Clp... $ECHO_C" >&6
     20765    echo "$as_me:$LINENO: result: $CLPSRCDIR" >&5
     20766echo "${ECHO_T}$CLPSRCDIR" >&6
     20767    echo "$as_me:$LINENO: checking for object code location of Clp" >&5
     20768echo $ECHO_N "checking for object code location of Clp... $ECHO_C" >&6
     20769    echo "$as_me:$LINENO: result: $CLPOBJDIR" >&5
     20770echo "${ECHO_T}$CLPOBJDIR" >&6
     20771  fi
    2076520772fi
    2076620773
  • stable/BSPsplit/Clp/configure.ac

    r1386 r1389  
    5757#############################################################################
    5858
    59 AC_COIN_HAS_PROJECT(CoinUtils, CoinTime.hpp, libCoinUtils)
     59AC_COIN_HAS_PROJECT(CoinUtils)
    6060AC_COIN_HAS_PROJECT(Clp)
    6161
Note: See TracChangeset for help on using the changeset viewer.