Changeset 1314


Ignore:
Timestamp:
Jul 7, 2009 11:03:01 PM (11 years ago)
Author:
andreasw
Message:

final instdir commits for tonight

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/BSPsplit/coin.m4

    r1313 r1314  
    24212421                  AC_HELP_STRING([--with-coin-instdir],
    24222422                                 [prefix of installation directory for precompiled COIN packages]),
    2423                   [m4_tolower(coin_has_$1)=installed
    2424                    if test -d "$withval"; then : ; else
     2423                  [if test -d "$withval"; then : ; else
    24252424                     AC_MSG_ERROR([argument for --with-coin-instdir not a directory])
    24262425                   fi
    2427                    m4_toupper($1INSTDIR)=`cd $withval; pwd`], [])
     2426                   m4_ifvaln([$2],
     2427                     [if test -r $withval/include/coin/$2; then
     2428                        m4_tolower(coin_has_$1)=installed
     2429                        m4_toupper($1INSTDIR)=`cd $withval; pwd`
     2430                      fi],
     2431                     [AC_MSG_WARN([Cannot verify availability of $1 with --with-coin-instdir flag.  Project manager needs to provide name of header to look for])])],
     2432                   [])
    24282433    fi
    24292434
Note: See TracChangeset for help on using the changeset viewer.