[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnulib-bug
Subject:    threadlib: Avoid autoconf warning "was expanded before it was required"
From:       Bruno Haible <bruno () clisp ! org>
Date:       2019-06-26 1:35:51
Message-ID: 2037282.zXHHRM4xTn () omega
[Download RAW message or body]

Creating a testdir for the module 'tls', I got an autoconf warning that
gl_THREADLIB was expanded before it was required.

This patch fixes it.


2019-06-25  Bruno Haible  <bruno@clisp.org>

	threadlib: Avoid autoconf warning "was expanded before it was required".
	* modules/threadlib (configure.ac): Require gl_THREADLIB.

diff --git a/modules/threadlib b/modules/threadlib
index 740f62f..0a582c2 100644
--- a/modules/threadlib
+++ b/modules/threadlib
@@ -13,7 +13,7 @@ configure.ac-early:
 gl_THREADLIB_EARLY
 
 configure.ac:
-gl_THREADLIB
+AC_REQUIRE([gl_THREADLIB])
 
 Makefile.am:
 lib_SOURCES += glthread/threadlib.c


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic