emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#15593: closed (unnecessarily created autom4ate.cac


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#15593: closed (unnecessarily created autom4ate.cache directory)
Date: Fri, 11 Oct 2013 23:23:02 +0000

Your message dated Fri, 11 Oct 2013 17:22:12 -0600
with message-id <address@hidden>
and subject line Re: bug#15593: unnecessarily created autom4ate.cache directory
has caused the debbugs.gnu.org bug report #15593,
regarding unnecessarily created autom4ate.cache directory
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
15593: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15593
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: unnecessarily created autom4ate.cache directory Date: Fri, 11 Oct 2013 18:24:43 +0200 User-agent: Mutt/1.5.20 (2009-06-14)
Hi, A glibc supports builds only from separate build directory than source
directory. In source directory a autom4ate.cache is created.

See following bug entry.
https://sourceware.org/bugzilla/show_bug.cgi?id=14120



--- End Message ---
--- Begin Message --- Subject: Re: bug#15593: unnecessarily created autom4ate.cache directory Date: Fri, 11 Oct 2013 17:22:12 -0600 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0
tag 15593 notabug
thanks

On 10/11/2013 10:24 AM, Ondřej Bílka wrote:
> Hi, A glibc supports builds only from separate build directory than source
> directory. In source directory a autom4ate.cache is created.
> 
> See following bug entry.
> https://sourceware.org/bugzilla/show_bug.cgi?id=14120

How is this an automake bug?  Automake doesn't create autom4te.cache;
that's autoconf (via the autom4te program shipped as part of the
autoconf package).  But such a directory is only created if you are
actually running one or more of the autotools; you should be figuring
out what in glibc's configure script is running autotools during
configure (the normal configure script is intentionally independent of
autotools, where only the maintainer has a cache file when they ran
autoreconf, but where end users do NOT get a cache file by just running
path/to/configure).

Looking at glibc's configure.in (eww, outdated name; these days
autotools prefer configure.ac), I see:

AC_CHECK_PROGS(AUTOCONF, autoconf, no)
case "x$AUTOCONF" in
xno|x|x:) AUTOCONF=no ;;
*)
  AC_CACHE_CHECK(dnl
whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works, libc_cv_autoconf_works, [dnl
  if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then
    libc_cv_autoconf_works=yes
  else
    libc_cv_autoconf_works=no
  fi])
  test $libc_cv_autoconf_works = yes || AUTOCONF=no
  ;;
esac
if test "x$AUTOCONF" = xno; then
  aux_missing="$aux_missing autoconf"
fi

That's your culprit.

It is also possible to create a ./.autom4te.cfg file to explicitly
request that autom4te always use the --no-cache option to avoid creating
a cache directory (this is documented in the autoconf manual [1]).

[1]
https://www.gnu.org/software/autoconf/manual/autoconf.html#Customizing-autom4te

I'm closing this as not an automake bug, although do feel free to
continue asking questions in this thread.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

reply via email to

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