]> Savannah Git Hosting - gnulib.git/commitdiff
argp: Trim module dependencies.
authorBruno Haible <bruno@clisp.org>
Sun, 5 Jul 2020 19:05:21 +0000 (21:05 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 5 Jul 2020 19:05:21 +0000 (21:05 +0200)
* lib/argp-namefrob.h: Include basename-lgpl.h instead of dirname.h.
* modules/argp (Depends-on): Remove dirname-lgpl. Add basename-lgpl.

ChangeLog
lib/argp-namefrob.h
modules/argp

index 1396c94f50527510a90e2d8c7848dcd8ffb32e82..5b3170787e8108af5c0c607d96e3beb06004566d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-07-05  Bruno Haible  <bruno@clisp.org>
+
+       argp: Trim module dependencies.
+       * lib/argp-namefrob.h: Include basename-lgpl.h instead of dirname.h.
+       * modules/argp (Depends-on): Remove dirname-lgpl. Add basename-lgpl.
+
 2020-07-05  Bruno Haible  <bruno@clisp.org>
 
        basename-lgpl: New module.
index 022b8800ec369459c1d32a7e4e82688667344c00..50c62e9d8a2bc5d01d904c37f7d3ce742e0f6e81 100644 (file)
 #elif defined GNULIB_ARGP_EXTERN_BASENAME
 extern char *__argp_base_name (const char *arg);
 #else
-# include "dirname.h"
+# include "basename-lgpl.h"
 # define __argp_base_name last_component
 #endif
 
index 125046ad89bd77af32f8c5d121f0e233986fbcb4..50fde1190479616eca8a0925d6d12df49c2085e1 100644 (file)
@@ -24,7 +24,7 @@ m4/argp.m4
 
 Depends-on:
 alloca
-dirname-lgpl
+basename-lgpl
 extern-inline
 getopt-gnu
 strchrnul