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: Eli Zaretskii
Subject: Re: [PATCH 4/4] Windows: MSYS Autotools doc disabling hack
Date: Sat, 20 Apr 2013 15:54:26 +0300

> 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]