commit:     a4cdcedcc3dd7eba9b0e8e6dc392b047971ca6c5
Author:     Michael Haubenwallner <michael.haubenwallner <AT> ssi-schaefer 
<DOT> com>
AuthorDate: Tue Mar 14 13:44:34 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Sep 18 09:26:52 2017 +0000
URL:        https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=a4cdcedc

autogen.sh: add gnulib modules for Solaris

Need gnulib modules stpcpy, euidaccess for Solaris 10, where euidaccess
uses eaccess when available, probably via LIB_EACCESS.

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 Makefile.am | 2 +-
 autogen.sh  | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index a2c02d9..79e5ed1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,7 +15,7 @@ libpaxutils_la_SOURCES = \
        paxmacho.c \
        security.c \
        xfuncs.c
-LDADD = libpaxutils.la $(top_builddir)/autotools/gnulib/libgnu.a
+LDADD = libpaxutils.la $(top_builddir)/autotools/gnulib/libgnu.a $(LIB_EACCESS)
 
 bin_SCRIPTS = lddtree symtree
 bin_PROGRAMS = scanelf dumpelf pspax scanmacho

diff --git a/autogen.sh b/autogen.sh
index f552d22..42e8a8c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -13,6 +13,7 @@ fi
 PATH=/usr/local/src/gnu/gnulib:${PATH}
 mods="
        alloca
+       euidaccess
        faccessat
        fdopendir
        fstatat
@@ -25,6 +26,7 @@ mods="
        readlinkat
        renameat
        stat-time
+       stpcpy
        strcasestr-simple
        strncat
        symlinkat

Reply via email to