ObjFW  Check-in [5fd57313ec]

Overview
Comment:objfw-config: Always print all flags in one line.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5fd57313ec41c30866342c24cff7c9e318db7ca6a49ed9ff78c74f818b4c8789
User & Date: js on 2010-09-24 15:52:49
Other Links: manifest | tags
Context
2010-09-26
14:40
Add -[stringByXMLUnescapingWithBlock:]. check-in: 76903ee63f user: js tags: trunk
2010-09-24
15:52
objfw-config: Always print all flags in one line. check-in: 5fd57313ec user: js tags: trunk
2010-09-23
22:53
Add -[objectsFromIndex:toIndex:] to OFArray. check-in: 14e949de94 user: js tags: trunk
Changes

Modified utils/objfw-config.in from [9ae51844d3] to [252ff61b48].

35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88


}

test -z "$1" && show_help

while test ! -z "$1"; do
	case "$1" in
		--all)
			echo "$CFLAGS"
			echo "$CPPFLAGS"
			echo "$CXXFLAGS"
			echo "$OBJCFLAGS"
			echo "$LDFLAGS"
			echo "$LDFLAGS_REEXPORT"
			echo "$LDFLAGS_RPATH"
			echo "$LIBS"
			;;
		--cflags)
			echo "$CFLAGS"
			;;
		--cppflags)
			echo "$CPPFLAGS"
			;;
		--cxxflags)
			echo "$CXXFLAGS"
			;;
		--objc)
			echo "$OBJC"
			;;
		--objcflags)
			echo "$OBJCFLAGS"
			;;
		--libs)
			echo "$LIBS"
			;;
		--ldflags)
			echo "$LDFLAGS"
			;;
		--reexport)
			echo "$LDFLAGS_REEXPORT"
			;;
		--rpath)
			echo "$LDFLAGS_RPATH"
			;;
		--version)
			echo "$VERSION"
			;;
		*)
			echo "Invalid option: $1" 1>&2
			exit 1
			;;
	esac

	shift
done









<
|
<
|
<
|
<
|


|


|


|


|


|


|


|


|


|


|









>
>
35
36
37
38
39
40
41

42

43

44

45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
}

test -z "$1" && show_help

while test ! -z "$1"; do
	case "$1" in
		--all)

			printf "%s %s %s" "$CFLAGS" "$CPPFLAGS" "$CXXFLAGS"

			printf "%s %s" "$OBJCFLAGS" "$LDFLAGS"

			printf "%s %s" "$LDFLAGS_REEXPORT" "$LDFLAGS_RPATH"

			printf "%s" "$LIBS"
			;;
		--cflags)
			printf "%s" "$CFLAGS"
			;;
		--cppflags)
			printf "%s" "$CPPFLAGS"
			;;
		--cxxflags)
			printf "%s" "$CXXFLAGS"
			;;
		--objc)
			printf "%s" "$OBJC"
			;;
		--objcflags)
			printf "%s" "$OBJCFLAGS"
			;;
		--libs)
			printf "%s" "$LIBS"
			;;
		--ldflags)
			printf "%s" "$LDFLAGS"
			;;
		--reexport)
			printf "%s" "$LDFLAGS_REEXPORT"
			;;
		--rpath)
			printf "%s" "$LDFLAGS_RPATH"
			;;
		--version)
			printf "%s" "$VERSION"
			;;
		*)
			echo "Invalid option: $1" 1>&2
			exit 1
			;;
	esac

	shift
done

echo