diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2014-07-13 00:55:11 +0100 |
---|---|---|
committer | Robert Savoye <rob.savoye@linaro.org> | 2014-07-22 12:27:18 +0000 |
commit | adc18d8ec328e86bc60766e1f7dacbfcf5ab6c9d (patch) | |
tree | e0e67fefc2cd4e55e7c9d36a5f04d6c017e84a61 /configure | |
parent | db161edcd0fa1604f5c3ff0a3ec0907276f64b9d (diff) |
Add configure option to choose compiler languages
Configure-time option --with-languages=<lang1,lang2,...> will configure
gcc to compile for given languages. Special value "default" will choose
appropriate default for the target.
Change-Id: I29ec8d8c3b90552424cfff27a86a0287dc9be28d
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -577,6 +577,7 @@ ENABLE_INSTALL ENABLE_ALLTESTS ENABLE_BOOTSTRAP ENABLE_SSH +WITH_LANGUAGES REMOTE_SNAPSHOTS LOCAL_BUILDS GIT_REFERENCE_DIR @@ -669,6 +670,7 @@ with_local_snapshots with_git_reference_dir with_local_builds with_remote_snapshots +with_languages enable_ssh enable_bootstrap enable_alltests @@ -1325,6 +1327,7 @@ Optional Packages: --reference --with-local-builds --with-remote-snapshots + --with-languages List of languages for the compiler Some influential environment variables: CC C compiler command @@ -3721,6 +3724,16 @@ $as_echo "$as_me: Sysroots will be installed in: ${SYSROOTS}" >&6;} $as_echo "$as_me: Remote snapshots will be fetched from: ${REMOTE_SNAPSHOTS}" >&6;} echo "" + +# Check whether --with-languages was given. +if test "${with_languages+set}" = set; then : + withval=$with_languages; WITH_LANGUAGES=${withval} +else + WITH_LANGUAGES='default' +fi + + + # Check whether --enable-ssh was given. if test "${enable_ssh+set}" = set; then : enableval=$enable_ssh; case "${enableval}" in |