ObjFW  Check-in [83afc487f8]

Overview
Comment:Link against -lnetwork if available.
Haiku requires this.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 83afc487f8f6473c1e10f23e588baccc11acab1a7f85bfee35fc61ab318d365c
User & Date: js on 2011-03-25 01:56:25
Other Links: manifest | tags
Context
2011-03-25
02:51
Work around a bug in gcc 4.4.4 (possibly only in Haiku). check-in: 8ba403b013 user: js tags: trunk
01:56
Link against -lnetwork if available.
Haiku requires this.
check-in: 83afc487f8 user: js tags: trunk
2011-03-24
21:29
Pass the parser for OFMalformedXMLExceptions. check-in: 3a9a5001cf user: js tags: trunk
Changes

Modified configure.ac from [eecfd2fde2] to [18edb13d66].

379
380
381
382
383
384
385

386

387
388
389
390
391
392
393
379
380
381
382
383
384
385
386

387
388
389
390
391
392
393
394







+
-
+







AS_IF([test x"$atomic_ops" != x"none"], [
	AC_DEFINE(OF_ATOMIC_OPS, 1, [Whether we have atomic operations])
	AC_SUBST(ATOMIC_H, "atomic.h")
])
AC_MSG_RESULT($atomic_ops)

AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket")
AC_CHECK_LIB(network, socket, LIBS="$LIBS -lnetwork")
AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32")
AC_CHECK_LIB(ws2_32, socket, LIBS="$LIBS -lws2_32")

AC_CHECK_FUNC(gmtime_r, [
	AC_DEFINE(HAVE_GMTIME_R, 1, [Whether we have gmtime_r])
])
AC_CHECK_FUNC(localtime_r, [
	AC_DEFINE(HAVE_LOCALTIME_R, 1, [Whether we have localtime_r])
])