ObjFW  Check-in [7bb4a942fb]

Overview
Comment:utils/objfw-config.in: Use -n instead of ! -z
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7bb4a942fb28fb1b0087d963603a65f24f7d5c5931408c27d08a2892e72eee9a
User & Date: js on 2015-06-14 12:37:40
Other Links: manifest | tags
Context
2015-06-14
12:43
Minor interface fixes check-in: f62c04e5d8 user: js tags: trunk
12:37
utils/objfw-config.in: Use -n instead of ! -z check-in: 7bb4a942fb user: js tags: trunk
10:45
Add OF_NONNULL / OF_NULLABLE and use that instead check-in: b7097a67b6 user: js tags: trunk
Changes

Modified utils/objfw-config.in from [6ed1b48fa6] to [8b34782ddf].

64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
	--version	Outputs the installed version
__EOF__
	exit $1
}

test -z "$1" && show_help 1

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"
			;;







|







64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
	--version	Outputs the installed version
__EOF__
	exit $1
}

test -z "$1" && show_help 1

while test -n "$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"
			;;
164
165
166
167
168
169
170
171
172
173
174
		*)
			echo "Invalid option: $1" 1>&2
			exit 1
			;;
	esac
	shift

	test ! -z "$1" && printf " "
done

echo







|



164
165
166
167
168
169
170
171
172
173
174
		*)
			echo "Invalid option: $1" 1>&2
			exit 1
			;;
	esac
	shift

	test -n "$1" && printf " "
done

echo