diff options
author | Ryan S. Arnold <ryan.arnold@linaro.org> | 2015-03-06 13:06:28 -0600 |
---|---|---|
committer | Ryan S. Arnold <ryan.arnold@linaro.org> | 2015-03-06 13:06:28 -0600 |
commit | bbfd25e049f65461b3a5cc4452f422bf7b02522b (patch) | |
tree | 647b4804085c194a9333260db52ffa964169bc63 /configure | |
parent | 685a3e7cfd2b6b0d90dfd74bf9ede3fdf646c7c8 (diff) |
script/fedora_lsb_install.sh: New helper script to install LSB dependencies on Fedora systems.
Note: This commit regenerated abe/configure so existing build
directories will need to have configure re-run.
This commit adds a helper script that will install Linux Foundation
LSB dependencies on RPM based systems, since they're not packaged
by default.
This change required an update to configure since it changed
abe/configure.ac. The Linux Foundation LSB packages for Fedora
are installed in /opt/lsb, whereas the Ubuntu distribution will
install them in standard library locations.
abe/configure.ac was changed to allow it to find/detect lsbcc and
lsbc++ in the directories where the Linux Foundation LSB executables
will be installed.
Change-Id: I53155a79ccd8a61d9735dac44344e711860de5e3
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -3203,6 +3203,8 @@ fi +# Linux Foundation installs them in /opt/lsb. Ubuntu will install them +# in the default system library path. # Extract the first word of "lsbcc", so it can be a program name with args. set dummy lsbcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 @@ -3216,7 +3218,8 @@ else ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH +as_dummy="/opt/lsb/bin:${PATH}" +for as_dir in $as_dummy do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. @@ -3256,7 +3259,8 @@ else ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH +as_dummy="/opt/lsb/bin:${PATH}" +for as_dir in $as_dummy do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. @@ -3284,8 +3288,14 @@ fi if test x"${LSBCC}" = x; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You need 'lsbcc' and 'lsbc++' to produce binary releases!" >&5 -$as_echo "$as_me: WARNING: You need 'lsbcc' and 'lsbc++' to produce binary releases!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You need 'lsbcc' and 'lsbc++' to produce binary releases! + If your system is running the Fedora Linux distribution + running: sudo abe/scripts/fedora_lsb_install.sh will + install the LSB dependencies." >&5 +$as_echo "$as_me: WARNING: You need 'lsbcc' and 'lsbc++' to produce binary releases! + If your system is running the Fedora Linux distribution + running: sudo abe/scripts/fedora_lsb_install.sh will + install the LSB dependencies." >&2;} # missing="${missing} lsbcc" fi |