pkg-config/check/check-define-variable
Tollef Fog Heen 145dba778d Add solaris workaround for tests
/bin/sh on solaris isn't POSIX compliant, so we just exec a POSIX
shell on Solaris.
2005-08-22 10:41:08 +00:00

15 lines
228 B
Bash
Executable file

#! /bin/sh
# Do the Solaris Dance:
if [ ! -d ~root ] ; then
exec /usr/xpg4/bin/sh $0 "$@"
fi
set -e
. ${srcdir}/common
ARGS="--define-variable=includedir=/includedir/ --cflags simple"
RESULT="-I/includedir/"
run_test