ObjFW  Check-in [b8a90c1477]

Overview
Comment:Check whether we need -Wno-strict-prototypes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b8a90c14770b852eaf1c8f7d5a6da327a374ce679128a250b6e559b66a32f413
User & Date: js on 2023-04-23 10:00:28
Other Links: manifest | tags
Context
2023-04-23
11:42
OFSystemInfo: Fix shadowed variable on illumos check-in: 915525194c user: js tags: trunk
10:00
Check whether we need -Wno-strict-prototypes check-in: b8a90c1477 user: js tags: trunk
2023-04-22
20:22
Rename x86_64 to AMD64 check-in: b7a4e61b88 user: js tags: trunk
Changes

Modified configure.ac from [c9359fab1e] to [9cfe88cc27].

2245
2246
2247
2248
2249
2250
2251














2252
2253
2254
2255
2256
2257
2258
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272







+
+
+
+
+
+
+
+
+
+
+
+
+
+







		], [
			AC_MSG_RESULT(no)
		], [
			AC_MSG_RESULT(yes)
			OBJCFLAGS="$old_OBJCFLAGS"
		])
	])

	AC_MSG_CHECKING(whether we need -Wno-strict-prototypes)
	AC_COMPILE_IFELSE([
		AC_LANG_PROGRAM([
			#include <signal.h>
		], [
			signal(SIGINT, SIG_DFL);
		])
	], [
		AC_MSG_RESULT(no)
	], [
		AC_MSG_RESULT(yes)
		OBJCFLAGS="$OBJCFLAGS -Wno-strict-prototypes"
	])

	AS_IF([test x"$ac_cv_header_complex_h" = x"yes"], [
		AC_MSG_CHECKING(whether we need -Wno-gnu-imaginary-constant)
		AC_COMPILE_IFELSE([
			AC_LANG_PROGRAM([
				#include <complex.h>
			], [