diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-02-12 12:58:24 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-02-18 04:35:32 +0300 |
commit | f9dc151186d4e3a3e323ccc978f1cc962e8667ec (patch) | |
tree | 8844e3e58683e7256f5a83af1d133af9e4cda4cf /libgloss/configure | |
parent | bf9f6a0984c0eefd3f4d218cd7260030c5f689a2 (diff) |
libgloss: merge wince configure script up a level
Move the minor wince-specific logic to a dedicated file & namespace
them so we can merge its configure logic up a level. The makefile
is a bit tricky, but maybe it still works.
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-x | libgloss/configure | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/libgloss/configure b/libgloss/configure index 215a5c7a5..9d8da6574 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -626,6 +626,8 @@ DEPDIR CC CONFIG_LIBNOSYS_FALSE CONFIG_LIBNOSYS_TRUE +CONFIG_WINCE_FALSE +CONFIG_WINCE_TRUE CONFIG_IQ2000_FALSE CONFIG_IQ2000_TRUE CONFIG_BFIN_FALSE @@ -733,7 +735,6 @@ CCASFLAGS CPP' ac_subdirs_all='aarch64 sparc -wince mips arm' @@ -2743,8 +2744,7 @@ subdirs="$subdirs aarch64" ;; sh*-*-pe | mips*-*-pe | *arm*-wince-pe) - subdirs="$subdirs wince" - + config_wince=true ;; mips*-*-*) subdirs="$subdirs mips" @@ -2938,6 +2938,14 @@ else CONFIG_IQ2000_FALSE= fi + if test x$config_wince = xtrue; then + CONFIG_WINCE_TRUE= + CONFIG_WINCE_FALSE='#' +else + CONFIG_WINCE_TRUE='#' + CONFIG_WINCE_FALSE= +fi + if test x$config_libnosys = xtrue; then @@ -5315,6 +5323,10 @@ if test -z "${CONFIG_IQ2000_TRUE}" && test -z "${CONFIG_IQ2000_FALSE}"; then as_fn_error $? "conditional \"CONFIG_IQ2000\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${CONFIG_WINCE_TRUE}" && test -z "${CONFIG_WINCE_FALSE}"; then + as_fn_error $? "conditional \"CONFIG_WINCE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${CONFIG_LIBNOSYS_TRUE}" && test -z "${CONFIG_LIBNOSYS_FALSE}"; then as_fn_error $? "conditional \"CONFIG_LIBNOSYS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 |