From a67e7814ced4e76c448686cb14cec5bf099b3930 Mon Sep 17 00:00:00 2001 From: dequis Date: Mon, 23 Feb 2015 02:03:44 -0300 Subject: configure: Indentation fixes --- configure | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 7b23e182..734c69ba 100755 --- a/configure +++ b/configure @@ -449,9 +449,9 @@ detect_resolv_ns_dynamic() TMPFILE=$(mktemp /tmp/bitlbee-configure.XXXXXX) ret=1 echo "$RESOLV_NS_TESTCODE" | $CC -o $TMPFILE -x c - $LIBRESOLV >/dev/null 2>/dev/null - if [ "$?" = "0" ]; then - ret=0 - fi + if [ "$?" = "0" ]; then + ret=0 + fi rm -f $TMPFILE return $ret @@ -464,9 +464,9 @@ detect_resolv_ns_static() for i in $systemlibdirs; do if [ -f $i/libresolv.a ]; then echo "$RESOLV_NS_TESTCODE" | $CC -o $TMPFILE -x c - -Wl,$i/libresolv.a >/dev/null 2>/dev/null - if [ "$?" = "0" ]; then - ret=0 - fi + if [ "$?" = "0" ]; then + ret=0 + fi fi done @@ -476,17 +476,17 @@ detect_resolv_ns_static() detect_nameser_has_ns_types() { - TMPFILE=$(mktemp /tmp/bitlbee-configure.XXXXXX) - ret=1 - # since we aren't actually linking with ns_* routines - # we can just compile the test code - echo "$RESOLV_NS_TYPES_TESTCODE" | $CC -o $TMPFILE -x c - >/dev/null 2>/dev/null - if [ "$?" = "0" ]; then - ret=0 - fi - - rm -f $TMPFILE - return $ret + TMPFILE=$(mktemp /tmp/bitlbee-configure.XXXXXX) + ret=1 + # since we aren't actually linking with ns_* routines + # we can just compile the test code + echo "$RESOLV_NS_TYPES_TESTCODE" | $CC -o $TMPFILE -x c - >/dev/null 2>/dev/null + if [ "$?" = "0" ]; then + ret=0 + fi + + rm -f $TMPFILE + return $ret } if [ "$ssl" = "auto" ]; then @@ -547,11 +547,11 @@ if detect_nameser_has_ns_types; then fi if detect_resolv_dynamic || detect_resolv_static; then echo '#define HAVE_RESOLV_A' >> config.h - if detect_resolv_ns_dynamic || detect_resolv_ns_static; then - echo '#define HAVE_RESOLV_A_WITH_NS' >> config.h - fi + if detect_resolv_ns_dynamic || detect_resolv_ns_static; then + echo '#define HAVE_RESOLV_A_WITH_NS' >> config.h + fi else - echo 'Insufficient resolv routines. Jabber server must be set explicitly' + echo 'Insufficient resolv routines. Jabber server must be set explicitly' fi -- cgit v1.2.3