From: David Levine Date: Thu, 5 Dec 2013 02:40:59 +0000 (-0600) Subject: The buildbot is up, put in hacks to enable debug and print out hostname. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/35eca0e753a19a3c08f1b37097dba32b844fe296?ds=sidebyside;hp=-c The buildbot is up, put in hacks to enable debug and print out hostname. --- 35eca0e753a19a3c08f1b37097dba32b844fe296 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"