From 9c7817e9ee0c6d8909a168ba9e12e87d9e7d6caf Mon Sep 17 00:00:00 2001 From: "doko@ubuntu.com" Date: Sat, 30 Jun 2012 17:05:13 +0200 Subject: [PATCH] - Issue #3754: Some unrelated configure.ac cleanups. --- configure | 13 +++++++++---- configure.ac | 10 +++++++--- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 9d247ae0c57..afbc986d990 100755 --- a/configure +++ b/configure @@ -9860,13 +9860,13 @@ fi if test -z "$with_pymalloc" then with_pymalloc="yes" - ABIFLAGS="${ABIFLAGS}m" fi if test "$with_pymalloc" != "no" then $as_echo "#define WITH_PYMALLOC 1" >>confdefs.h + ABIFLAGS="${ABIFLAGS}m" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_pymalloc" >&5 $as_echo "$with_pymalloc" >&6; } @@ -9964,8 +9964,13 @@ then else MACHDEP_OBJS="$MACHDEP_OBJS $extra_machdep_objs" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: MACHDEP_OBJS" >&5 -$as_echo "MACHDEP_OBJS" >&6; } +if test -z "$MACHDEP_OBJS"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 +$as_echo "none" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MACHDEP_OBJS" >&5 +$as_echo "$MACHDEP_OBJS" >&6; } +fi # checks for library functions for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \ @@ -11497,7 +11502,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_buggy_getaddrinfo" >&5 $as_echo "$ac_cv_buggy_getaddrinfo" >&6; } -if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes +if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes then if test $ipv6 = yes then diff --git a/configure.ac b/configure.ac index 60f8541d0bd..3ad7f49cc6f 100644 --- a/configure.ac +++ b/configure.ac @@ -2594,12 +2594,12 @@ AC_ARG_WITH(pymalloc, if test -z "$with_pymalloc" then with_pymalloc="yes" - ABIFLAGS="${ABIFLAGS}m" fi if test "$with_pymalloc" != "no" then AC_DEFINE(WITH_PYMALLOC, 1, [Define if you want to compile in Python-specific mallocs]) + ABIFLAGS="${ABIFLAGS}m" fi AC_MSG_RESULT($with_pymalloc) @@ -2668,7 +2668,11 @@ then else MACHDEP_OBJS="$MACHDEP_OBJS $extra_machdep_objs" fi -AC_MSG_RESULT(MACHDEP_OBJS) +if test -z "$MACHDEP_OBJS"; then + AC_MSG_RESULT([none]) +else + AC_MSG_RESULT([$MACHDEP_OBJS]) +fi # checks for library functions AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \ @@ -3128,7 +3132,7 @@ fi AC_MSG_RESULT($ac_cv_buggy_getaddrinfo) -if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes +if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes then if test $ipv6 = yes then