]> diplodocus.org Git - nmh/commitdiff
The buildbot is up, put in hacks to enable debug and print out hostname.
authorDavid Levine <levinedl@acm.org>
Thu, 5 Dec 2013 02:40:59 +0000 (20:40 -0600)
committerDavid Levine <levinedl@acm.org>
Thu, 5 Dec 2013 02:40:59 +0000 (20:40 -0600)
configure.ac
test/format/test-myhost

index 38e2a58bf5fd16498cba625ef805e4bfe1e72e22..4d6e59dcb065b6d305cdda3fe5d3828a503f95cf 100644 (file)
@@ -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
 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
 
   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
 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
     if test -n "$GCC"; then
       test -z "$CFLAGS" && CFLAGS="$nmh_gcc_warnflags -g" || CFLAGS="$CFLAGS $nmh_gcc_warnflags -g"
     else
index 375f8ac511f5954faf10a9a85df3d128b2a5e213..5e6e25d196d69d8d5c5b2735ac2cb99a1d276186 100755 (executable)
@@ -13,6 +13,11 @@ fi
 
 setup_test
 
 
 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"
 host=`${MH_OBJ_DIR}/test/getfqdn`
 run_test "${MH_LIB_DIR}/ap -format %(myhost) ignore" "$host" \
          "local hostname test"