`ethercatctl` calls some utilites actually hardcoded in the script.
Provide a way to customize them from configure.
The default values are choosen to be backward compatible with the old
behavior, but more sensible values would be preferred, e.g.:
OPTION ACTUAL DEFAULT PREFERRED DEFAULT
kmod-dir /sbin $sbindir
ip-cmd /bin/ip $sbindir/ip
In a major future release this can be changed.
* Move default values from comments to help strings
* Use the "... [default=...]" convention everywhere
* Change "Enable ... driver" to more correct "Build ... driver"
* Fix --enable-dwmac-intel help string
* Fix --enable-fakeuserlib help string
* Change --disable-initd to --enable-initd to avoid confusion with
`--disable-initd [default=yes]`.
Without this patch, `./bootstrap` fails with the following error if
pkgconf/pkg-config is not installed:
lib/Makefile.am:76: error: 'pkgconfig_DATA' is used but 'pkgconfigdir' is undefined
This can be triggered by disinstalling `pkgconf/pkg-config`. The problem
here is that the check for `pkg-config` is done at configure level but
`automake` fails at bootstrap level because of the above error.
This basically "fixes" the issue by changing the way in which
`./bootstrap` fails.
From 9567f460411d9a832c24b3ef65252f6f4f902fef Mon Sep 17 00:00:00 2001
Xenomai version 3 has different RTDM interface with version 2 and has
Alchemy interface instead of native API. This supports RTDM of Xenomai
version 3 and to use Alchemy interface.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Try to reuse the configured paths as much as possible. Unfortunately, to
be able to fully expand some variable (e.g. `bindir`), these files must
be expanded by make, not by configure. This adds some complexity:
https://www.gnu.org/software/automake/manual/html_node/Scripts.html