1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-16 01:22:18 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Pavel Raiskup
f8fe25fab6 gnulib-common.m4: fix gl_PROG_AR_RANLIB/AM_PROG_AR clash
The gl_PROG_AR_RANLIB (it is always called by gl_EARLY) sets AR
and ARFLAGS variables.  Doing this unconditionally could break
later Automake's AM_PROG_AR invocation (at least it's
AC_CHECK_TOOLS call to detect correct 'ar' binary).

Original purpose of the gl_PROG_AR_RANLIB was only to handle the
Amsterdam Compiler Kit, so make the previous code to have effects
only on ACK, and rather automatically call the Automake's
AM_PROG_AR as soon as possible to decide other cases.

References:
http://lists.gnu.org/archive/html/bug-gnulib/2015-07/msg00001.html

* m4/gnulib-common.m4 (gl_PROG_AR_RANLIB): AC_BEFORE AM_PROG_AR.
Set the AR/ARFLAGS to ACK defaults OR call AM_PROG_AR.  If neither
is possible, keep setting AR/ARFLAGS to reasonable defaults.
* gnulib-tool (func_import): Put the gl_USE_SYSTEM_EXTENSIONS
right before gl_PROG_AR_RANLIB into gnulib-comp.m4 (if the
'extensions' module is used.
* modules/extensions (configure.ac-early): Remove as this snippet
is added to gnulib-comp.m4 earlier anyway.
2015-09-25 11:25:29 -07:00
Bruno Haible
89861a8be8 Use the synonymous term LGPLv2. 2007-07-16 10:45:26 +00:00
Bruno Haible
5dd46c7b77 New module description section 'configure.ac-early'. 2007-02-04 19:09:25 +00:00
Paul Eggert
662b577148 (License): Change to LGPL. 2005-05-09 19:45:20 +00:00
Bruno Haible
5143f4e91f Add a license tag to every module. 2004-09-22 15:11:04 +00:00
Bruno Haible
d81551a184 Avoid autoconf/autoheader warning
"AC_COMPILE_IFELSE was called before gl_USE_SYSTEM_EXTENSIONS"
2003-08-17 15:25:00 +00:00
Paul Eggert
6544b9e91b New module 'extensions', used by timespec and unlocked-io
for portability to Solaris.
2003-08-08 20:15:52 +00:00