summaryrefslogtreecommitdiff
path: root/check/check-define-variable
blob: bf8aebefdcea2a960c315df7289337ea97271c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /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

ARGS="--define-variable=includedir=/includedir/ --cflags simple"
RESULT="-I/includedir/"

run_test