This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Ping: [PATCH] Set $ac_aux_dir before use in libdecnumber/configure


Ping.


On 20 June 2013 20:19, Simon Baldwin <simonb@google.com> wrote:
> Set $ac_aux_dir before use in libdecnumber/configure.
>
> libdecnumber/configure uses $ac_aux_dir before it is set, causing incorrect
> MISSING value.  Fix with explicit AC_CONFIG_AUX_DIR.
>
> Bootstrapped for c/c++.  Okay for trunk?
>
>
> libdecnumber/ChangeLog
> 2013-06-20  Simon Baldwin  <simonb@google.com>
>
>         * configure.ac: Add AC_CONFIG_AUX_DIR.
>         * configure: Regenerated.
>
>
> Index: libdecnumber/configure.ac
> ===================================================================
> --- libdecnumber/configure.ac   (revision 200246)
> +++ libdecnumber/configure.ac   (working copy)
> @@ -23,6 +23,7 @@ AC_PREREQ(2.64)
>  AC_INIT(libdecnumber, [ ], gcc-bugs@gcc.gnu.org, libdecnumber)
>  AC_CONFIG_SRCDIR(decNumber.h)
>  AC_CONFIG_MACRO_DIR(../config)
> +AC_CONFIG_AUX_DIR(..)
>
>  # Checks for programs.
>  AC_PROG_MAKE_SET
> Index: libdecnumber/configure
> ===================================================================
> --- libdecnumber/configure      (revision 200246)
> +++ libdecnumber/configure      (working copy)
> @@ -2220,6 +2220,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
>
>
>
> +ac_aux_dir=
> +for ac_dir in .. "$srcdir"/..; do
> +  for ac_t in install-sh install.sh shtool; do
> +    if test -f "$ac_dir/$ac_t"; then
> +      ac_aux_dir=$ac_dir
> +      ac_install_sh="$ac_aux_dir/$ac_t -c"
> +      break 2
> +    fi
> +  done
> +done
> +if test -z "$ac_aux_dir"; then
> +  as_fn_error "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
> +fi
> +
> +# These three variables are undocumented and unsupported,
> +# and are intended to be withdrawn in a future Autoconf release.
> +# They can cause serious problems if a builder's source tree is in a directory
> +# whose full name contains unusual characters.
> +ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
> +ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
> +ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
> +
> +
>
>  # Checks for programs.
>  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
> @@ -4458,29 +4481,6 @@ else
>  fi
>
>
> -ac_aux_dir=
> -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
> -  for ac_t in install-sh install.sh shtool; do
> -    if test -f "$ac_dir/$ac_t"; then
> -      ac_aux_dir=$ac_dir
> -      ac_install_sh="$ac_aux_dir/$ac_t -c"
> -      break 2
> -    fi
> -  done
> -done
> -if test -z "$ac_aux_dir"; then
> -  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
> -fi
> -
> -# These three variables are undocumented and unsupported,
> -# and are intended to be withdrawn in a future Autoconf release.
> -# They can cause serious problems if a builder's source tree is in a directory
> -# whose full name contains unusual characters.
> -ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
> -ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
> -ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
> -
> -
>  # Make sure we can run config.sub.
>  $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
>    as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5



--
Google UK Limited | Registered Office: Belgrave House, 76 Buckingham
Palace Road, London SW1W 9TQ | Registered in England Number: 3977902


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]