- Timestamp:
- Jul 21, 2010 8:49:04 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Clp/configure
r1573 r1576 20635 20635 20636 20636 20637 # assemble search path for pkg-config, if we are in a project setup 20638 if test x$coin_projectdir = xyes ; then 20639 COIN_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 20640 20641 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 20642 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 20643 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 20644 if test -d "${prefix}"; then 20645 COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}" 20646 fi 20637 # assemble search path for pkg-config 20638 COIN_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 20639 20640 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 20641 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 20642 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 20643 if test -d "${prefix}"; then 20644 COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}" 20645 fi 20647 20646 20648 20647 … … 20651 20650 withval="$with_coin_instdir" 20652 20651 if test -d "$withval"; then : ; else 20653 20652 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 20654 20653 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 20655 20654 { (exit 1); exit 1; }; } 20656 20657 20655 fi 20656 COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}" 20658 20657 20659 20658 fi; 20660 20659 20661 # in a classic setup, we want to find uninstalled projects 20660 if test x$coin_projectdir = xyes ; then 20661 # if we are in a project setup, then in a classic setup, we want to find uninstalled projects 20662 20662 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 20663 20663 # unfortunately, if the user set prefix, then we do not know where the project base directory is located … … 20679 20679 fi 20680 20680 20681 20682 fi 20681 fi 20682 20683 20683 20684 20684 … … 22425 22425 22426 22426 if test $coin_vpath_config = yes; then 22427 coin_vpath_link_files="$coin_vpath_link_files examples/hello.mps" 22427 # echo converts newlines in parameter to spaces 22428 coin_vpath_link_files="$coin_vpath_link_files `echo examples/hello.mps`" 22428 22429 fi 22429 22430 22430 22431 22431 22432 if test $coin_vpath_config = yes; then 22432 coin_vpath_link_files="$coin_vpath_link_files examples/input.130" 22433 # echo converts newlines in parameter to spaces 22434 coin_vpath_link_files="$coin_vpath_link_files `echo examples/input.130`" 22433 22435 fi 22434 22436
Note: See TracChangeset
for help on using the changeset viewer.