From: Bruno Haible Date: Sun, 22 Dec 2019 09:57:00 +0000 (+0100) Subject: Prefer lib_SOURCES to unconditional AC_LIBOBJ. X-Git-Tag: v1.0~4436 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=129087dbb4f8721d750d2ec58261c56b2bda2536;p=gnulib.git Prefer lib_SOURCES to unconditional AC_LIBOBJ. * modules/at-internal: Prefer a lib_SOURCES augmentation to an unconditional AC_LIBOBJ. * modules/selinux-at: Likewise. * modules/xmemdup0: Likewise. * modules/xstrtoll: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 89f7ad9a00..7fe9897a3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2019-12-22 Bruno Haible + + Prefer lib_SOURCES to unconditional AC_LIBOBJ. + * modules/at-internal: Prefer a lib_SOURCES augmentation to an + unconditional AC_LIBOBJ. + * modules/selinux-at: Likewise. + * modules/xmemdup0: Likewise. + * modules/xstrtoll: Likewise. + 2019-12-22 Bruno Haible longlong: Mark module obsolete. diff --git a/modules/at-internal b/modules/at-internal index 524750b655..d58c9b0b4b 100644 --- a/modules/at-internal +++ b/modules/at-internal @@ -14,9 +14,9 @@ sys_stat unistd configure.ac: -AC_LIBOBJ([openat-proc]) Makefile.am: +lib_SOURCES += openat-priv.h openat-proc.c Include: "openat-priv.h" diff --git a/modules/selinux-at b/modules/selinux-at index 62dd6e6824..29d188e1aa 100644 --- a/modules/selinux-at +++ b/modules/selinux-at @@ -21,9 +21,9 @@ unistd configure.ac: AC_CHECK_HEADERS([selinux/flask.h]) -AC_LIBOBJ([selinux-at]) Makefile.am: +lib_SOURCES += selinux-at.h selinux-at.c Include: "selinux-at.h" diff --git a/modules/xmemdup0 b/modules/xmemdup0 index d7ea438d7f..a82609a9df 100644 --- a/modules/xmemdup0 +++ b/modules/xmemdup0 @@ -9,9 +9,9 @@ Depends-on: xalloc configure.ac: -AC_LIBOBJ([xmemdup0]) Makefile.am: +lib_SOURCES += xmemdup0.h xmemdup0.c Include: "xmemdup0.h" diff --git a/modules/xstrtoll b/modules/xstrtoll index ccff7f1acc..b36db460c6 100644 --- a/modules/xstrtoll +++ b/modules/xstrtoll @@ -12,10 +12,9 @@ strtoull xstrtol configure.ac: -AC_LIBOBJ([xstrtoll]) -AC_LIBOBJ([xstrtoull]) Makefile.am: +lib_SOURCES += xstrtoll.c xstrtoull.c Include: "xstrtol.h"