From 7bf5c4827f3d7edc7e139915690ce3a495410a07 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 9 Feb 2010 06:22:59 -0700 Subject: [PATCH] Avoid $U if it is not initialized. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Ensure $U is set if automake did not define it. * THANKS: Update. Reported by Julien Élie. Signed-off-by: Eric Blake --- ChangeLog | 8 ++++++++ lib/autoconf/general.m4 | 2 ++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 43a7101..c1b74f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-02-09 Eric Blake + + Avoid $U if it is not initialized. + * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Ensure $U is + set if automake did not define it. + * THANKS: Update. + Reported by Julien Élie. + 2009-09-16 Eric Blake Optimize AC_REPLACE_FUNCS. diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 28fd972..15640c8 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -2919,6 +2919,8 @@ AC_DEFUN([AC_LIBOBJ], AC_DEFUN([_AC_LIBOBJS_NORMALIZE], [ac_libobjs= ac_ltlibobjs= +m4_ifndef([AM_C_PROTOTYPES], [U= +])dnl for ac_i in : $LIB@&address@hidden; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' -- 1.6.6.1