ObjFW  Check-in [5ebb07a3e4]

Overview
Comment:Fix broken snprintf test.
This was broken by 60aa070105ac.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5ebb07a3e4ad47abf297a6f75c2b2a1312fb6a1e8200d7225ce9b91f7ee0bd84
User & Date: js on 2010-12-25 14:48:24
Other Links: manifest | tags
Context
2010-12-25
19:31
Add OFDate. check-in: 39cb19595d user: js tags: trunk
14:48
Fix broken snprintf test.
This was broken by 60aa070105ac.
check-in: 5ebb07a3e4 user: js tags: trunk
13:20
Adjust OFString and OFDataArray to OFComparing protocol. check-in: 43c60ede3c user: js tags: trunk
Changes

Modified configure.ac from [6b24bd807a] to [b48af55818].

230
231
232
233
234
235
236
237

238

239
240
241
242
243
244
245

			int
			main()
			{
				return (snprintf(NULL, 0, "asd") == 3 ? 0 : 1);
			}
		], [
			ac_cv_snprintf_useful_ret="yes",

			ac_cv_snprintf_useful_ret="no",

			ac_cv_snprintf_useful_ret="no"
		])
	])
	AC_MSG_RESULT($ac_cv_snprintf_useful_ret)
])
test x"$have_asprintf" != x"yes" -a x"$ac_cv_snprintf_useful_ret" != x"yes" && \
	AC_MSG_ERROR(No asprintf and no snprintf returning required space!)







|
>
|
>







230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247

			int
			main()
			{
				return (snprintf(NULL, 0, "asd") == 3 ? 0 : 1);
			}
		], [
			ac_cv_snprintf_useful_ret="yes"
		], [
			ac_cv_snprintf_useful_ret="no"
		], [
			ac_cv_snprintf_useful_ret="no"
		])
	])
	AC_MSG_RESULT($ac_cv_snprintf_useful_ret)
])
test x"$have_asprintf" != x"yes" -a x"$ac_cv_snprintf_useful_ret" != x"yes" && \
	AC_MSG_ERROR(No asprintf and no snprintf returning required space!)