Changeset 1730


Ignore:
Timestamp:
Nov 3, 2010 2:10:25 AM (9 years ago)
Author:
stefan
Message:

merged chgsets 1727,1728 from trunk: fix setting of COIN_PKG_CONFIG_PATH for the case where prefix was not specified by user

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/0.6/coin.m4

    r1713 r1730  
    36363636# best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig,
    36373637# unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}...
    3638 COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     3638if test "x${prefix}" = xNONE ; then
     3639  COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     3640else
     3641  COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     3642fi
    36393643
    36403644AC_ARG_WITH([coin-instdir],
Note: See TracChangeset for help on using the changeset viewer.