ObjFW  Check-in [b38b8623b4]

Overview
Comment:Add -lm if available.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b38b8623b400df78c5320c042323ceb8f027fa96de129b8913b4e17956156c80
User & Date: js 2010-05-24 11:20:55
Context
2010-05-27
15:39
Add environment to OFApplication. check-in: 62bef06751 user: js tags: trunk
2010-05-24
11:20
Add -lm if available. check-in: b38b8623b4 user: js tags: trunk
2010-05-16
19:24
objc_sync was still using the old threads API. Fixed. check-in: 42dedf0153 user: js tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to configure.ac.

181
182
183
184
185
186
187

188
189
190
191
192
193
194
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195






+







			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!)

AC_CHECK_LIB(m, fmod, LIBS="$LIBS -lm")
AC_CHECK_LIB(dl, dlopen, LIBS="$LIBS -ldl")

AC_ARG_ENABLE(threads,
	AS_HELP_STRING([--disable-threads], [disable thread support]))
if test x"$enable_threads" != x"no"; then
	case "$host_os" in
	mingw*)