AC_PROG_LN_S
-AC_ARG_ENABLE(
- debug,
- [AS_HELP_STRING([--enable-debug],
- [Turn on diagnostic features in the program])])
-if test x"$enable_debug" = x"yes" ; then
- AC_DEFINE(DEBUGGING, 1, [Define to 1 if debugging is enabled.])
-fi
-
# iconv is required
AM_ICONV
if test "$am_cv_func_iconv" != "yes"; then
void pool_mark (struct pool *, struct pool_mark *);
void pool_release (struct pool *, const struct pool_mark *);
-#if DEBUGGING
-void pool_dump (const struct pool *, const char *title);
-#endif
-
#endif /* pool.h */
return dict_get_weight (dict->dict);
}
-
-
-#if DEBUGGING
-void
-psppire_dict_dump (const PsppireDict *dict)
-{
- gint i;
- const struct dictionary *d = dict->dict;
-
- for (i = 0; i < dict_get_var_cnt (d); ++i)
- {
- const struct variable *v = psppire_dict_get_variable (dict, i);
- int di = var_get_dict_index (v);
- g_print ("`%s' idx=%d, fv=%d\n",
- var_get_name(v),
- di,
- var_get_case_index(v));
-
- }
-}
-#endif
-
-
const gchar *
psppire_dict_encoding (const PsppireDict *dict)
{
struct variable * psppire_dict_get_weight_variable (const PsppireDict *);
-#if DEBUGGING
-void psppire_dict_dump (const PsppireDict *);
-#endif
-
const gchar *psppire_dict_encoding (const PsppireDict *);
G_END_DECLS