Hello, and adding bug-automake, * Eric Blake wrote on Tue, Sep 14, 2010 at 11:42:15PM CEST: > On 09/14/2010 03:32 PM, Jan Engelhardt wrote: > >using a configure.ac file with just four lines: > > > >AC_INIT([foo], [1]) > >AC_PROG_INSTALL > >I can produce a configure script by running `autoreconf -fi`, however, > >running the then-created ./configure leads to: > > > >configure: error: cannot find install-sh, install.sh, or shtool in "." > >"./.." "./../.." > > > >On IRC it was suggested to add in AM_INIT_AUTOMAKE; however, I am not > >planning on using automake for this sample. > >Why did autoreconf not copy install-sh? This looks a little like a bug. > > By design, autoconf itself does NOT copy install-sh directly, but > assumes that it will be installed externally. One way to install it > externally is to use automake, the other way is to do it manually. > Autoreconf, in turn, calls autoconf and conditionally calls > automake; but if you aren't using automake, then autoreconf won't > re-implement any of the actions that automake would have given you. > Therefore, ifou are not going to use automake, then you are manually > responsible for putting install-sh in the right place. This is > already documented under AC_PROG_INSTALL in the autoconf manual, > although patches to clarify the wording and make it more obvious > would be welcome. This long-standing issue is (related to) PR automake/546 in http://sourceware.org/cgi-bin/gnatsweb.pl?database=automake The issues with letting plain 'automake --add-missing' do the job without AM_INIT_AUTOMAKE present is that we actually have less information available as to what files are needed (but we can guess good enough probably), and that we lose a bit of typo error detection. So my latest thinking on this was to maybe add an --no-am switch to explicitly allow copying without requiring AM_INIT_AUTOMAKE. autoreconf could then use that. WDYT? Overkill? Thanks, Ralf _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf