From: David Levine Date: Thu, 5 Dec 2013 01:24:57 +0000 (-0600) Subject: Temporarily added a few hacks to diagnose problems found by buildbot. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/05d9a73fbd782d140b3a41f410ab4a56dce46d51?ds=inline;hp=-c Temporarily added a few hacks to diagnose problems found by buildbot. --- 05d9a73fbd782d140b3a41f410ab4a56dce46d51 diff --git a/configure.ac b/configure.ac index 38e2a58b..86c7c376 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 @@ -663,3 +665,6 @@ dnl --------------- AC_CONFIG_FILES([Makefile test/common.sh]) AC_CONFIG_FILES([uip/spost], [chmod +x uip/spost]) AC_OUTPUT + +dnl TEMPORARY +cat /usr/include/iconv.h 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"