ObjFW  Check-in [4ed4d32f48]

Overview
Comment:configure.ac: Move h_errno / hstrerror check.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4ed4d32f48e365ccf1d30ef097e8624c3c726febdcb861b5efd8fb15bb92d10a
User & Date: js on 2013-07-14 23:12:44
Other Links: manifest | tags
Context
2013-07-15
00:10
OFConstantString: _cStringLength -> unsigned int. check-in: 5171307598 user: js tags: trunk
2013-07-14
23:12
configure.ac: Move h_errno / hstrerror check. check-in: 4ed4d32f48 user: js tags: trunk
2013-07-11
12:48
Improve file name consistency. check-in: 8417e06951 user: js tags: trunk
Changes

Modified configure.ac from [ee43b4e13c] to [d327b0c044].

677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693


694
695
696
697
698
699
700
					have_threadsafe_getaddrinfo="no"
				])
			])

			AS_IF([test x"$have_threadsafe_getaddrinfo" = x"yes"], [
				AC_DEFINE(HAVE_THREADSAFE_GETADDRINFO, 1,
					[Whether getaddrinfo is thread-safe])
			], [
				AC_CHECK_FUNCS([h_errno hstrerror])
			])

			AC_MSG_RESULT($have_threadsafe_getaddrinfo)
		])
	], [
		AC_MSG_RESULT(no)
		AC_CHECK_FUNCS([h_errno hstrerror])
	])


])

AS_IF([test x"$enable_sockets" != x"no" -a x"$enable_threads" != x"no"], [
	AC_SUBST(OFHTTPCLIENTTESTS_M, "OFHTTPClientTests.m")
])

case "$host" in







<
<






<

>
>







677
678
679
680
681
682
683


684
685
686
687
688
689

690
691
692
693
694
695
696
697
698
699
					have_threadsafe_getaddrinfo="no"
				])
			])

			AS_IF([test x"$have_threadsafe_getaddrinfo" = x"yes"], [
				AC_DEFINE(HAVE_THREADSAFE_GETADDRINFO, 1,
					[Whether getaddrinfo is thread-safe])


			])

			AC_MSG_RESULT($have_threadsafe_getaddrinfo)
		])
	], [
		AC_MSG_RESULT(no)

	])

	AC_CHECK_FUNCS([h_errno hstrerror])
])

AS_IF([test x"$enable_sockets" != x"no" -a x"$enable_threads" != x"no"], [
	AC_SUBST(OFHTTPCLIENTTESTS_M, "OFHTTPClientTests.m")
])

case "$host" in