ObjFW  Check-in [93363f455e]

Overview
Comment:configure: Define _GNU_SOURCE on MorphOS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 93363f455e760edbaac8279e1bf651a3cbfaeda75a270f22abf9c7c571d3152e
User & Date: js on 2019-07-27 11:40:05
Other Links: manifest | tags
Context
2019-07-27
11:44
Update to Unicode 12.1 check-in: 18abd9e427 user: js tags: trunk
11:40
configure: Define _GNU_SOURCE on MorphOS check-in: 93363f455e user: js tags: trunk
10:15
OFEpollKernelEventObserver: Minor cleanup check-in: aa5b44f36e user: js tags: trunk
Changes

Modified configure.ac from [0badaab9a9] to [ba253a6964].

415
416
417
418
419
420
421
422

423
424
425
426
427
428
429
	AC_SUBST(TESTPLUGIN_LIBS)
])

AC_MSG_CHECKING(whether we need -D_GNU_SOURCE)
AC_EGREP_CPP(egrep_cpp_yes, [
	#include <stdlib.h>

	#if defined(__GLIBC__) || defined(__MINGW32__) || defined(__NEWLIB__)

	egrep_cpp_yes
	#endif
], [
	CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
	AC_MSG_RESULT(yes)
], [
	AC_MSG_RESULT(no)







|
>







415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
	AC_SUBST(TESTPLUGIN_LIBS)
])

AC_MSG_CHECKING(whether we need -D_GNU_SOURCE)
AC_EGREP_CPP(egrep_cpp_yes, [
	#include <stdlib.h>

	#if defined(__GLIBC__) || defined(__MINGW32__) || \
	    defined(__NEWLIB__) || defined(__MORPHOS__)
	egrep_cpp_yes
	#endif
], [
	CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
	AC_MSG_RESULT(yes)
], [
	AC_MSG_RESULT(no)