osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/33677 )

Change subject: Cosmetic: configure: move if … then to same line
......................................................................

Cosmetic: configure: move if … then to same line

Make it consistent throughout the file.

Change-Id: I13b98ef63c6fcbb98fb32311404fa5821f7bce58
---
M configure.ac
1 file changed, 15 insertions(+), 8 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved




diff --git a/configure.ac b/configure.ac
index ebcb839..297d2cd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,8 +77,7 @@
                [Compile with address sanitizer enabled],
        )],
        [sanitize=$enableval], [sanitize="no"])
-if test x"$sanitize" = x"yes"
-then
+if test x"$sanitize" = x"yes"; then
        CFLAGS="$CFLAGS -fsanitize=address -fsanitize=undefined"
        CPPFLAGS="$CPPFLAGS -fsanitize=address -fsanitize=undefined"
 fi
@@ -92,8 +91,7 @@
                ]
        )],
        [werror=$enableval], [werror="no"])
-if test x"$werror" = x"yes"
-then
+if test x"$werror" = x"yes"; then
        WERROR_FLAGS="-Werror"
        WERROR_FLAGS+=" -Wno-error=deprecated 
-Wno-error=deprecated-declarations"
        WERROR_FLAGS+=" -Wno-error=cpp" # "#warning"
@@ -129,8 +127,7 @@
 AC_ARG_ENABLE(profile,
                [AS_HELP_STRING([--enable-profile], [Compile with profiling 
support enabled], )],
                [profile=$enableval], [profile="no"])
-if test x"$profile" = x"yes"
-then
+if test x"$profile" = x"yes"; then
        CFLAGS="$CFLAGS -pg"
        CPPFLAGS="$CPPFLAGS -pg"
 fi
@@ -163,8 +160,7 @@
 AM_CONDITIONAL([BUILD_MANUALS], [test x"$osmo_ac_build_manuals" = x"yes"])
 AC_ARG_VAR(OSMO_GSM_MANUALS_DIR, [path to common osmo-gsm-manuals files, 
overriding pkg-config and "../osmo-gsm-manuals"
        fallback])
-if test x"$osmo_ac_build_manuals" = x"yes"
-then
+if test x"$osmo_ac_build_manuals" = x"yes"; then
        # Find OSMO_GSM_MANUALS_DIR (env, pkg-conf, fallback)
        if test -n "$OSMO_GSM_MANUALS_DIR"; then
                echo "checking for OSMO_GSM_MANUALS_DIR... 
$OSMO_GSM_MANUALS_DIR (from env)"

--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/33677
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I13b98ef63c6fcbb98fb32311404fa5821f7bce58
Gerrit-Change-Number: 33677
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-MessageType: merged

Reply via email to