#! /bin/sh # Make sure we're POSIX if [ "$PKG_CONFIG_SHELL_IS_POSIX" != "1" ]; then PKG_CONFIG_SHELL_IS_POSIX=1 PATH=`getconf PATH` exec sh $0 "$@" fi set -e . ${srcdir}/common # expect cflags from whitespace ARGS="--cflags whitespace" RESULT='-Dlala=misc -I/usr/white\ space/include -I$(top_builddir) -Iinclude\ dir -Iother\ include\ dir' run_test # expect libs from whitespace ARGS="--libs whitespace" RESULT="-r:foo -L/usr/white\\ space/lib -lfoo\\ bar -lbar\\ baz" run_test