Changeset 1467
- Timestamp:
- Feb 6, 2010 2:51:57 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/BSPsplit/coin.m4
r1466 r1467 3483 3483 # If $2/$1 or $1 is in COIN_SKIP_PROJECTS, do nothing. 3484 3484 # If --with-$1-lib, --with-$1-incdir, or --with-$1-datadir is given, then assume that the package is installed. 3485 # Otherwise, if pkg-config is available, use it to check whether package is available. 3486 # Otherwise, if the directory subdir/package and the file subdir/package/file exist, check whether subdir/package/configure exists. 3485 # Otherwise, if pkg-config is available, use it to check whether the package is available. 3486 # If $4 is given, then pkg-config is asked for the existance of $4, otherwise tolower($1) is used. 3487 # Otherwise, if the directory $2/$1 and the file $2/$1/$3 exist, check whether $2/$1/configure exists. 3487 3488 # If so, include this directory into the list of directories where configure and make recourse into. 3488 # tolower(coin_has_$1) is set to notGiven, skipping, installed, or the projects main directory (if uninstalled).3489 # tolower(coin_has_$1) is set to notGiven, skipping, installed, the version of an installed project, or the projects main directory (if uninstalled). 3489 3490 3490 3491 AC_DEFUN([AC_COIN_MAIN_PACKAGEDIR], … … 3556 3557 # need to export variable to be sure that the following pkg-config call gets these values 3557 3558 export PKG_CONFIG_PATH 3558 AC_COIN_PKG_CHECK_PROJECT_EXISTS( [$1], [m4_tolower(coin_has_$1)="$m4_toupper($1)_VERSION"])3559 AC_COIN_PKG_CHECK_PROJECT_EXISTS(m4_ifval([$4],[$4],[$1]), [m4_tolower(coin_has_$1)="$m4_toupper(m4_ifval([$4],[$4],[$1]))_VERSION"]) 3559 3560 3560 3561 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
Note: See TracChangeset
for help on using the changeset viewer.