ObjFW  Check-in [d1bcf6f643]

Overview
Comment:configure: Include pthread.h before pthread_np.h
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d1bcf6f6432f8c47faad857688b8b852b651857e0a3e5dd972e6816deb156a68
User & Date: js on 2015-05-03 11:49:49
Other Links: manifest | tags
Context
2015-05-03
12:44
configure: Don't force -no-integrated-as anymore check-in: a079453537 user: js tags: trunk
11:49
configure: Include pthread.h before pthread_np.h check-in: d1bcf6f643 user: js tags: trunk
11:46
OFAddressTranslationFailedException: Fix #ifdefs check-in: 050b7af83a user: js tags: trunk
Changes

Modified configure.ac from [f0cf12e7a4] to [2418d89907].

570
571
572
573
574
575
576
577

578
579
580
581
582
583
584
570
571
572
573
574
575
576

577
578
579
580
581
582
583
584







-
+







		])

		AC_CHECK_FUNC(sched_yield, [
			AC_DEFINE(OF_HAVE_SCHED_YIELD, 1,
				[Whether we have sched_yield()])
		])

		AC_CHECK_HEADERS(pthread_np.h)
		AC_CHECK_HEADERS(pthread_np.h, [], [], [#include <pthread.h>])
		AC_CHECK_FUNCS(pthread_set_name_np pthread_setname_np, break)
		;;
	esac

	AC_DEFINE(OF_HAVE_THREADS, 1, [Whether we have threads])
	AC_SUBST(USE_SRCS_THREADS, '${SRCS_THREADS}')