bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

threadlib: Avoid autoconf warning "was expanded before it was required"


From: Bruno Haible
Subject: threadlib: Avoid autoconf warning "was expanded before it was required"
Date: Wed, 26 Jun 2019 03:35:51 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-151-generic; KDE/5.18.0; x86_64; ; )

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  <address@hidden>

        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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]