Changeset 2094


Ignore:
Timestamp:
Jan 19, 2011 5:56:44 AM (9 years ago)
Author:
stefan
Message:

add /share/pkgconfig as additional search path for .pc files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r2089 r2094  
    27392739# unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}...
    27402740if test "x${prefix}" = xNONE ; then
    2741   COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     2741  COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    27422742else
    2743   COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     2743  COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    27442744fi
    27452745
     
    27502750     AC_MSG_ERROR([argument for --with-coin-instdir not a directory])
    27512751   fi
    2752    COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     2752   COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:$withval/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    27532753  ],[])
    27542754
Note: See TracChangeset for help on using the changeset viewer.