Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-07 14:18:55 +0300
committerMike Frysinger <vapier@gentoo.org>2022-03-02 04:29:07 +0300
commit89f643e87b919aa3a20ef81429f5712a2879b6de (patch)
tree50301d8c218bf09561b7385f922ddc075bcb1608 /libgloss/configure
parent020fa7ed7b0a4e5e0cbc048b44697df8762c7e08 (diff)
libgloss: use m4_foreach_w to simplify the logic a bit
It's functionally the same, but the configure.ac code is simpler and less boiler plate duplicated.
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-xlibgloss/configure34
1 files changed, 17 insertions, 17 deletions
diff --git a/libgloss/configure b/libgloss/configure
index 5b5146f3e..b50c9065a 100755
--- a/libgloss/configure
+++ b/libgloss/configure
@@ -629,10 +629,10 @@ CPPFLAGS
LDFLAGS
CFLAGS
CC
-CONFIG_LIBNOSYS_FALSE
-CONFIG_LIBNOSYS_TRUE
CONFIG_WINCE_FALSE
CONFIG_WINCE_TRUE
+CONFIG_LIBNOSYS_FALSE
+CONFIG_LIBNOSYS_TRUE
CONFIG_IQ2000_FALSE
CONFIG_IQ2000_TRUE
CONFIG_BFIN_FALSE
@@ -2958,7 +2958,7 @@ subdirs="$subdirs aarch64"
;;
esac
- if test x$config_bfin = xtrue; then
+ if test x$config_bfin = xtrue; then
CONFIG_BFIN_TRUE=
CONFIG_BFIN_FALSE='#'
else
@@ -2966,7 +2966,7 @@ else
CONFIG_BFIN_FALSE=
fi
- if test x$config_iq2000 = xtrue; then
+ if test x$config_iq2000 = xtrue; then
CONFIG_IQ2000_TRUE=
CONFIG_IQ2000_FALSE='#'
else
@@ -2974,7 +2974,15 @@ else
CONFIG_IQ2000_FALSE=
fi
- if test x$config_wince = xtrue; then
+ if test x$config_libnosys = xtrue; then
+ CONFIG_LIBNOSYS_TRUE=
+ CONFIG_LIBNOSYS_FALSE='#'
+else
+ CONFIG_LIBNOSYS_TRUE='#'
+ CONFIG_LIBNOSYS_FALSE=
+fi
+
+ if test x$config_wince = xtrue; then
CONFIG_WINCE_TRUE=
CONFIG_WINCE_FALSE='#'
else
@@ -2984,14 +2992,6 @@ fi
- if test x$config_libnosys = xtrue; then
- CONFIG_LIBNOSYS_TRUE=
- CONFIG_LIBNOSYS_FALSE='#'
-else
- CONFIG_LIBNOSYS_TRUE='#'
- CONFIG_LIBNOSYS_FALSE=
-fi
-
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
@@ -5195,14 +5195,14 @@ 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
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 "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
as_fn_error $? "conditional \"AMDEP\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5