blob: 033cf25d355aa1a57228b5cb3943acf0560dd595 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#! /bin/sh
set -e
. ${srcdir}/common
RESULT=""
run_test --cflags simple
RESULT=""
run_test --cflags fields-blank
RESULT="-DOTHER -I/other/include"
run_test --cflags other
RESULT="-I/other/include"
run_test --cflags-only-I other
RESULT="-DOTHER"
run_test --cflags-only-other other
# Try various mixed combinations
RESULT="-DOTHER -I/other/include"
run_test --cflags-only-I --cflags-only-other other
run_test --cflags-only-other --cflags-only-I other
run_test --cflags --cflags-only-I --cflags-only-other other
run_test --cflags --cflags-only-I other
run_test --cflags --cflags-only-other other
|