From af04ed630f18e9003756317cc627a11084d0d59a Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 12 Oct 2009 21:14:00 +0300 Subject: Do not require Mailutils. Provide missing functions. * Makefile.am (ACLOCAL_AMFLAGS): Add grecs/am * bootstrap.conf: Skip po. Initialize submodule. * configure.ac: Mailutils no longer needed. (AC_CONFIG_FILES): Add new subdirs. * gnulib.modules: Add more modules. Arrange entries alphabetically. * lib/Makefile.am: Rename library to libpies. * lib/libpies.h (mf_privs) (switch_to_privs, get_user_groups) (mf_priv_setup, mf_epriv_setup): Move to src/pies.h (config_array_to_argv, config_array_to_string) (config_cb_timeout): Remove. (tokendef): New struct. (strtotok_len, strtotok_len_ci) (strtotok, strtotok_ci, toktostr): New prototypes. * lib/nls.c: Remove call to mu_init_nls. * src/acl.c: New file. * src/addrfmt.c: New file. * src/diag.c: New file. * src/meta.c: New file. * src/url.c: New file. * src/userprivs.c: New file. * src/acl.h: New file. * src/pp-setup: New file. * src/Makefile.am (pies_SOURCES): Add acl.c, addrfmt.c, diag.c, meta.c, url.c, userprivs.c. (noinst_HEADERS): Add acl.h. (inc_DATA): Add pp-setup. * src/limits.c, src/meta1gram.y, src/meta1lex.h, src/meta1lex.l, src/pies.c, src/pies.h, src/progman.c, src/socket.c, src/userprivs.c: Remove calls to functions from Mailutils. --- lib/Makefile.am | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'lib/Makefile.am') diff --git a/lib/Makefile.am b/lib/Makefile.am index f83e7e3..a3ffed2 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,31 +1,30 @@ -# This file is part of Mailfromd. +# This file is part of Pies. # Copyright (C) 2005, 2006, 2007, 2008 Sergey Poznyakoff # -# This program is free software; you can redistribute it and/or modify +# Pies is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # -# This program is distributed in the hope that it will be useful, +# Pies is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# along with Pies. If not, see . */ -noinst_LIBRARIES=libmf.a +noinst_LIBRARIES=libpies.a noinst_HEADERS = libpies.h -libmf_a_SOURCES=\ - config.c\ +libpies_a_SOURCES=\ nls.c\ parsetime.c\ proctitle.c\ - userprivs.c + strtotok.c -libmf_a_LIBADD=$(LIBOBJS) +libpies_a_LIBADD=$(LIBOBJS) INCLUDES = -I$(top_srcdir)/gnu -I../gnu -- cgit v1.2.1