[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch 02/19] 284-gary-report-macro-files-for-aclocal.diff Queue
From: |
Ralf Wildenhues |
Subject: |
Re: [patch 02/19] 284-gary-report-macro-files-for-aclocal.diff Queue |
Date: |
Tue, 11 Oct 2005 14:26:45 +0200 |
User-agent: |
Mutt/1.5.11 |
Hi Gary,
* Gary V. Vaughan wrote on Mon, Oct 10, 2005 at 12:26:26PM CEST:
> libtoolize.m4sh | 24 ++++++++++++++++++------
> 1 files changed, 18 insertions(+), 6 deletions(-)
>
> Index: libtool--devo--1.0/ChangeLog
> from Gary V. Vaughan <address@hidden>
> * libtoolize.m4sh: Copying just libtool.m4 for hand maintained
> aclocal.m4 doesn't work. List all required files in that case.
> Also, list the additional files required when using libltdl.
> Reported by Patrick Welche <address@hidden>.
OK with one nit, see below.
I'm also afraid we may have to undo part of this when we're through with
the `make dist' problem. But that will be dealt with in due course then.
Let's get the stack worked through first.
Cheers,
Ralf
> Index: libtool--devo--1.0/libtoolize.m4sh
> ===================================================================
> --- libtool--devo--1.0.orig/libtoolize.m4sh
> +++ libtool--devo--1.0/libtoolize.m4sh
> @@ -995,17 +995,29 @@ func_nonemptydir_p ()
>
> func_copy_some_files "$pkgmacro_files" "$aclocaldir" \
> "$m4dir" func_serial_update
> - else
> - $opt_quiet || func_echo "You should add the contents of
> \`$aclocaldir/libtool.m4' to \`aclocal.m4'."
> fi
>
> # Suggest modern idioms for storing autoconf macros:
> $opt_quiet || \
> - if test -z "$macrodir$ltdldir" && $seen_autoconf; then
> - if test x"$m4dir" = x.; then
> - func_echo "add \`AC_CONFIG_MACRO_DIR([m4])' to $configure_ac to
> store autoconf macros"
> + if $seen_autoconf; then
> + if test -z "$macrodir$ltdldir"; then
> + if test x"$m4dir" = x.; then
> + func_echo "add \`AC_CONFIG_MACRO_DIR([m4])' to $configure_ac and
> rerun libtoolize,"
> + func_echo "to keep the correct libtool macros in-tree."
> + else
> + func_echo "consider adding \`AC_CONFIG_MACRO_DIR([$m4dir])'to
> $configure.ac,"
> + func_echo "and rerunning libtoolize."
> + fi
> else
> - func_echo "consider adding \`AC_CONFIG_MACRO_DIR([$m4dir])'to
> $configure.ac"
> + func_echo "You should add the contents of the following files to
> \`aclocal.m4':"
> + for need in libtool.m4 ltoptions.m4 ltversion.m4 ltsugar.m4; do
> + func_echo "\`$aclocaldir/$need'"
> + done
> + if $seen_ltdl || $opt_ltdl; then
> + for need in argz.m4 ltdl.m4; do
> + func_echo "\`$aclocaldir/$need'"
> + done
What I meant in the other thread we were discussing this: add right here
something like this:
func_echo "or instead follow the advice about \`AC_CONFIG_MACRO_DIR'
below."
since the macros exist below $ltdldir/m4 anyway..
Clear now?
> + fi
> fi
> fi
[patch 03/19] 285-gary-diagnose-missing-LT_WITH_LTDL.diff Queue, Gary V. Vaughan, 2005/10/10
[patch 05/19] 288-gary-ltdl-nonrecursive-tests.diff Queue, Gary V. Vaughan, 2005/10/10