bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/4] Windows: MSYS Autotools doc disabling hack


From: Ray Donnelly
Subject: Re: [PATCH 4/4] Windows: MSYS Autotools doc disabling hack
Date: Sat, 20 Apr 2013 15:52:03 +0100

I tried with various autoconf versions, including 2.65, and also with three different versions of m4.exe ( all from http://sourceforge.net/projects/mingw/files/MSYS/Extension/m4/ ) with both dos and unix line-endings and each time ran into the same problem.

Eli, would it be possible to describe your environment?

I tar.xz'ed (hopefully all of) the pertinent files via the following:

git clean -dxf; autoconf -v -i -d > autoconf.log 2>&1; tar -cJf gnumake-autoconf.tar.xz autom4te.cache configure.ac acinclude.m4 configure autoconf.log

I'm not sure if attachments work, or are frowned up, so here's my archive on Dropbox:

https://www.dropbox.com/s/uo16sugl70rk60n/gnumake-autoconf.tar.xz

Cheers,

Ray.


On Sat, Apr 20, 2013 at 1:54 PM, Eli Zaretskii <address@hidden> wrote:
> Date: Tue, 16 Apr 2013 17:24:42 +0100
> From: Ray Donnelly <address@hidden>
> Cc: address@hidden
>
> This is all, of course, with sources from git.
>
> If configure contains the line continuation ('\') in AC_CONFIG_FILES,
> then we end up with this lovely construct in configure:
>     "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
>     "\") CONFIG_FILES="$CONFIG_FILES \" ;;
>     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;

I cannot reproduce this, with today's git head, which still has the
backslash:

  # Specify what files are to be created.
  AC_CONFIG_FILES([Makefile glob/Makefile po/Makefile.in config/Makefile \
                   doc/Makefile w32/Makefile])

After running "autoreconf -i", I get this:

  # Handling of arguments.
  for ac_config_target in $ac_config_targets
  do
    case $ac_config_target in
      "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
      "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
      "glob/Makefile") CONFIG_FILES="$CONFIG_FILES glob/Makefile" ;;
      "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
      "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
      "w32/Makefile") CONFIG_FILES="$CONFIG_FILES w32/Makefile" ;;

    *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;

Which looks perfectly fine.  Could it be that you have an old version
of Autoconf?  (I use 2.65, which is also not new.)  Perhaps that bug
was already fixed in Autotools?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]