On Tuesday 11 December 2007, Stepan Kasal wrote:
> +dnl UTIL_PKG_STATIC(VARIABLE, MODULES)
> +dnl ----------------------------------
> +AC_DEFUN([UTIL_PKG_STATIC], [
> +  if AC_RUN_LOG([pkg-config --exists --print-errors "$2"]); then
> +    $1=`pkg-config --libs --static "$2"`

executing `pkg-config` is not friendly to cross-setups.  you should use 
AC_PATH_TOOL to setup the PKG_CONFIG environment variable and then use that 
later on

>  # These default values should work in most cases:
>  : ${BLKID_LIBS='-lblkid'}
>  : ${VOLUMEID_LIBS='-lvolume_id'}

why only go half way ?  i'd use pkg-config for everything.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to