Openwrt/include
Petr Štetiar 5cf897779e autotools.mk: autoreconf: fix missing install-sh
I'm trying to create a package for libgpiod, which uses
AC_CONFIG_AUX_DIR macro, which is probably leading to the following
configure error:

 autoreconf: running: /openwrt.git/staging_dir/host/bin/libtoolize --force
 OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autostuff'.
 OpenWrt-libtoolize: linking file `autostuff/ltmain.sh'
 OpenWrt-libtoolize: putting macros in `m4'.
 ...
 configure: error: cannot find install-sh, install.sh, or shtool in autostuff "."/autostuff

>From the build output it's clear, that libtoolize isn't installing
install-sh symlink, because libtoolize would install install-sh only if
it's being run with --install parameter. Corresponding part in
libtoolize:

 if $opt_install; then
   func_config_update config.guess \
     "$pkgdatadir/config" "$auxdir" pkgconfig_header
   func_config_update config.sub \
     "$pkgdatadir/config" "$auxdir" pkgconfig_header
   func_install_update install-sh \
     "$pkgdatadir/config" "$auxdir" pkgconfig_header
 fi
 func_ltmain_update ltmain.sh \
    "$pkgdatadir/config" "$auxdir" pkgconfig_header

Adding --install parameter to libtoolize fixes this build issue:

 autoreconf: running: /openwrt.git/staging_dir/host/bin/libtoolize --install --force
 OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autostuff'.
 OpenWrt-libtoolize: linking file `autostuff/config.guess'
 OpenWrt-libtoolize: linking file `autostuff/config.sub'
 OpenWrt-libtoolize: linking file `autostuff/install-sh'
 OpenWrt-libtoolize: linking file `autostuff/ltmain.sh'
 OpenWrt-libtoolize: putting macros in `m4'.

Cc: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-07-26 08:09:16 +02:00
..
site
autotools.mk autotools.mk: autoreconf: fix missing install-sh 2019-07-26 08:09:16 +02:00
cmake.mk
debug.mk
depends.mk
device_table.txt
download.mk build: remove sgid permission from tar 2019-04-06 19:14:06 +02:00
feeds.mk build: suppress error output in feeds.mk 2019-03-22 00:40:29 +01:00
hardened-ld-pie.specs
hardening.mk
host-build.mk
image-commands.mk build: image: add pad-to and pad-rootfs-squashfs helpers 2019-06-25 14:12:22 +00:00
image-legacy.mk
image.mk ath79: split DEVICE_TITLE in multiple variables 2019-07-04 15:50:17 +02:00
kernel-build.mk
kernel-defaults.mk
kernel-version.mk kernel: bump 4.19 to 4.19.57 2019-07-09 17:03:18 +02:00
kernel.mk build: skip kernel stack validation when building on macOS 2019-07-03 14:07:59 +02:00
netfilter.mk
nls.mk
package-bin.mk
package-defaults.mk
package-dumpinfo.mk
package-ipkg.mk build: warn when packages have no associated install section 2019-06-25 14:42:07 +02:00
package-seccomp.mk
package.mk include/package.mk: Add support for src-checkout/ folder 2019-07-10 14:00:19 +02:00
prereq-build.mk build: cleanup possibly dangling Python 2 host symlink 2019-07-26 08:09:16 +02:00
prereq.mk build: cleanup possibly dangling Python 2 host symlink 2019-07-26 08:09:16 +02:00
quilt.mk build: Use LINUX_DIR for Kernel/Patch 2019-01-30 13:20:14 +01:00
rootfs.mk imagebuilder: new DISABLED_SERVICES make variable 2019-05-15 13:34:24 +02:00
scan.awk
scan.mk build: Fix print without color 2019-02-17 19:30:34 +01:00
scons.mk
shell.sh
subdir.mk
target.mk build: add urandom-seed and urngd to default packages set 2019-06-11 08:06:28 +02:00
toolchain-build.mk
toplevel.mk build: fix kernel_*config targets on 4.19 2019-06-21 15:23:49 +02:00
u-boot.mk u-boot.mk: Fix building of recent U-Boot sources 2019-01-26 21:46:32 +01:00
uclibc++.mk
unpack.mk include: unpack.mk: remove CRLF_WORKAROUND 2019-04-18 12:06:47 +02:00
verbose.mk
version.mk version.mk: use https:// instead of http:// 2019-06-11 01:49:44 +02:00