bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* dfa: use AC_C_INLINE
@ 2020-07-03 10:20 Bruno Haible
  0 siblings, 0 replies; only message in thread
From: Bruno Haible @ 2020-07-03 10:20 UTC (permalink / raw)
  To: bug-gnulib

lib/dfa.c uses 'static inline'. Therefore it needs AC_C_INLINE.


2020-07-03  Bruno Haible  <bruno@clisp.org>

	dfa: Make sure the compiler does not barf on 'inline'.
	* modules/dfa (configure.ac): Require AC_C_INLINE.

diff --git a/modules/dfa b/modules/dfa
index ade4b5a..303957f 100644
--- a/modules/dfa
+++ b/modules/dfa
@@ -28,6 +28,7 @@ xalloc
 xalloc-die
 
 configure.ac:
+AC_REQUIRE([AC_C_INLINE])
 
 Makefile.am:
 lib_SOURCES += dfa.c localeinfo.c



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-03 10:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03 10:20 dfa: use AC_C_INLINE Bruno Haible

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).