ObjFW  Check-in [37e4b2edc0]

Overview
Comment:Oops. Broke the check for asprintf. Fixed.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 37e4b2edc0a75c5ee1de30106f84430f94aa9f9cfebd68f681b8ebdcb2d8b679
User & Date: js on 2011-02-10 22:32:49
Other Links: manifest | tags
Context
2011-02-17
17:12
Add more -W flags. check-in: 797e00a919 user: js tags: trunk
2011-02-10
22:32
Oops. Broke the check for asprintf. Fixed. check-in: 37e4b2edc0 user: js tags: trunk
22:07
Fix a typo in tests. check-in: 7d4f42ca34 user: js tags: trunk
Changes

Modified configure.ac from [6e5af35735] to [97930c093e].

227
228
229
230
231
232
233

234
235
236
237
238
239
240
		*-psp-*)
			dnl asprintf is broken on the PSP, but snprintf works.
			have_asprintf="no"
			AC_SUBST(ASPRINTF_M, "asprintf.m")
			ac_cv_snprintf_useful_ret="yes"
			;;
		*)

			AC_DEFINE(OF_HAVE_ASPRINTF, 1,
				[Whether we have asprintf])
			AC_SUBST(ASPRINTF_DEF, "-DOF_HAVE_ASPRINTF")
		;;
	esac
], [
	have_asprintf="no"







>







227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
		*-psp-*)
			dnl asprintf is broken on the PSP, but snprintf works.
			have_asprintf="no"
			AC_SUBST(ASPRINTF_M, "asprintf.m")
			ac_cv_snprintf_useful_ret="yes"
			;;
		*)
			have_asprintf="yes"
			AC_DEFINE(OF_HAVE_ASPRINTF, 1,
				[Whether we have asprintf])
			AC_SUBST(ASPRINTF_DEF, "-DOF_HAVE_ASPRINTF")
		;;
	esac
], [
	have_asprintf="no"