From 35eca0e753a19a3c08f1b37097dba32b844fe296 Mon Sep 17 00:00:00 2001 From: David Levine Date: Wed, 4 Dec 2013 20:40:59 -0600 Subject: [PATCH] The buildbot is up, put in hacks to enable debug and print out hostname. --- configure.ac | 6 ++++-- test/format/test-myhost | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 38e2a58b..4d6e59dc 100644 --- a/configure.ac +++ b/configure.ac @@ -93,7 +93,8 @@ dnl ------------------ dnl We want these before the checks, dnl so the checks can modify their values. test -z "$CFLAGS" && CFLAGS= auto_cflags=1 -if test x"$enable_debug" = x"yes"; then +dnl TEMPORARILY ENABLE DEBUG +if test x"$enable_debug" = x""; then test -z "$LDFLAGS" && LDFLAGS=-g fi @@ -143,7 +144,8 @@ if test "$nmh_cv_has_wextra" = "yes"; then fi if test -n "$auto_cflags"; then - if test x"$enable_debug" = x"yes"; then + dnl TEMPORARILY ENABLE DEBUG + if test x"$enable_debug" = x""; then if test -n "$GCC"; then test -z "$CFLAGS" && CFLAGS="$nmh_gcc_warnflags -g" || CFLAGS="$CFLAGS $nmh_gcc_warnflags -g" else diff --git a/test/format/test-myhost b/test/format/test-myhost index 375f8ac5..5e6e25d1 100755 --- a/test/format/test-myhost +++ b/test/format/test-myhost @@ -13,6 +13,11 @@ fi setup_test +# TEMPORARY +echo getfqdn: +${MH_OBJ_DIR}/test/getfqdn +echo hostname: +uname -n host=`${MH_OBJ_DIR}/test/getfqdn` run_test "${MH_LIB_DIR}/ap -format %(myhost) ignore" "$host" \ "local hostname test" -- 2.56.0