Subject: libtoolize removes install-sh in 2.4.2.418
From: "Todd C. Miller" <[email-masked]>
To: [email-masked]
Date: Thu, 09 Jan 2014 15:21:54 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

If you are not using automake, libtoolize will remove install-sh.
It needs the same treatment as config.guess and config.sub.
See attached patch.

 - todd

Usage: /usr/local/libtool-2.4.2.418/bin/libtoolize [OPTION]...

Prepare a package to use libtool.

Options:
   -c, --copy          copy files rather than symlinking them
       --debug         enable verbose shell tracing
   -n, --dry-run       print commands rather than running them
   -f, --force         replace existing files
   -i, --install       copy missing auxiliary files
       --ltdl[=DIR]    install libltdl sources [default: libltdl]
       --no-warnings   equivalent to '-Wnone'
       --nonrecursive  prepare ltdl for non-recursive make
   -q, --quiet         work silently
       --recursive     prepare ltdl for recursive make
       --subproject    prepare ltdl to configure and build independently
   -v, --verbose       verbosely report processing
       --version       print version information and exit
   -W, --warnings=CATEGORY
                       report the warnings falling in CATEGORY [all]
   -h, --help          print short or long help message

Warning categories include:
       'all'          show all warnings
       'none'         turn off all the warnings
       'error'        warnings are treated as fatal errors
       'environment'   show warnings about LIBTOOLIZE_OPTIONS content
       'file'          show warnings about file copying and linking

The following space or comma delimited options can be passed to libtoolize
via the environment variable LIBTOOLIZE_OPTIONS, unknown environment
options are ignored:

       --debug         enable verbose shell tracing
       --no-warnings   don't display warning messages
       --quiet         work silently
       --verbose       verbosely report processing

You must 'cd' to the top directory of your package before you run
'libtoolize'.

When reporting a bug, please describe a test case to reproduce it and
include the following information:

       host-triplet:   x86_64-unknown-openbsd5.4
       version:        libtoolize (GNU libtool) 2.4.2.418
       automake:       
       autoconf:       autoconf (GNU Autoconf) 2.69

Report bugs to <[email-masked]>.
GNU libtool home page: <http://www.gnu.org/software/libtool/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.

--- libtoolize.in.orig	Thu Aug 22 23:06:01 2013
+++ libtoolize.in	Thu Jan  9 15:11:31 2014
@@ -1894,9 +1894,9 @@
   # Lists of all files libtoolize has ever installed.  These are removed
   # before installing the latest files when --force was passed to help
   # ensure a clean upgrade.
-  # Do not remove config.guess nor config.sub, we don't install them
-  # without --install, and the project may not be using Automake.
-  all_pkgaux_files="compile install-sh depcomp missing ltmain.sh snippet/_Noreturn.h snippet/arg-nonnull.h snippet/c++defs.h snippet/warn-on-use.h"
+  # Do not remove config.guess, config.sub or install-sh, we don't install
+  # them without --install, and the project may not be using Automake.
+  all_pkgaux_files="compile depcomp missing ltmain.sh snippet/_Noreturn.h snippet/arg-nonnull.h snippet/c++defs.h snippet/warn-on-use.h"
   all_pkgmacro_files="argz.m4 libtool.m4 ltdl.m4 ltoptions.m4 ltsugar.m4 ltversion.in ltversion.m4 lt~obsolete.m4"
   all_pkgltdl_files="COPYING.LIB Makefile Makefile.in Makefile.inc Makefile.am README acinclude.m4 aclocal.m4 argz_.h argz.c config.h.in config-h.in configure configure.ac configure.in libltdl/lt__alloc.h libltdl/lt__dirent.h libltdl/lt__glibc.h libltdl/lt__private.h libltdl/lt__strl.h libltdl/lt_dlloader.h libltdl/lt_error.h libltdl/lt_system.h libltdl/slist.h loaders/dld_link.c loaders/dlopen.c loaders/dyld.c loaders/load_add_on.c loaders/loadlibrary.c loaders/preopen.c loaders/shl_load.c lt__alloc.c lt__dirent.c lt__strl.c lt_dlloader.c lt_error.c ltdl.c ltdl.h ltdl.mk slist.c"