AC_CHECK_FUNCS_ONCE([wcwidth])
AM_CONDITIONAL([HAVE_WCWIDTH], [test x"$ac_cv_func_wcwidth" = x"yes"])
-AC_CONFIG_TESTDIR([.])
+AC_CONFIG_TESTDIR([.], [t:$srcdir/t])
DX_PROG_AUTOTEST_AM
AC_CACHE_CHECK([for struct option in <getopt.h>], [dx_cv_have_struct_option],