Changeset 2048


Ignore:
Timestamp:
Jan 1, 2011 9:33:35 AM (9 years ago)
Author:
stefan
Message:

search also in pkgconfig subdir of uninstalled projects for .pc files, if existing; will be needed to find cppad

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r2040 r2048  
    27182718# --coin-instdir, and the directory named in a file ../coin_subdirs.txt
    27192719# or ../../coin_subdirs.txt in a variable COIN_PKG_CONFIG_PATH, which is
    2720 # also AC_SUBST'ed.
     2720# also AC_SUBST'ed. For a path xxx given in the coin-subdirs.txt, also
     2721# the directory xxx/pkgconfig is added, if existing.
    27212722
    27222723AC_DEFUN([AC_COIN_HAS_PKGCONFIG],
     
    27902791        COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../$i; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
    27912792      fi
     2793      if test -d ../$i/pkgconfig ; then
     2794        COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../$i/pkgconfig; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
     2795      fi
    27922796    done
    27932797  fi
     
    27972801      if test -d ../../$i ; then
    27982802        COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../../$i; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
     2803      fi
     2804      if test -d ../../$i/pkgconfig ; then
     2805        COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../../$i/pkgconfig; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
    27992806      fi
    28002807    done
Note: See TracChangeset for help on using the changeset viewer.