diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-11-13 19:02:54 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-11-13 19:02:54 +0000 |
commit | 20bec15fe6bc356b8ed3e8ee8469b5f10f34b04b (patch) | |
tree | dbe37e84739cbdd57c7ffc6cb4c59ea6d2f6830e /bootstrap | |
parent | 2f82db82c0a25c310ef25d0ea761a97e706293ea (diff) | |
download | pies-20bec15fe6bc356b8ed3e8ee8469b5f10f34b04b.tar.gz pies-20bec15fe6bc356b8ed3e8ee8469b5f10f34b04b.tar.bz2 |
Implement file output redirection.
* pies/pies.h (enum retr_type): New constants.
(struct retranslator): New type.
(struct component): Change type of retr to struct retranslator.
All uses updated.
* pies/pies.c (_cb_retr): Takes two arguments:
redirection type and file name or syslog priority.
(make_full_name): New function.
(component_verify): Check retr file names.
* pies/progman.c (redirect_to_file): New function.
(open_retranslator): Handle file redirects.
(prog_start): Open /dev/null in wronly mode.
* pies/meta1gram.y (create_retr_node): New function.
(translate_node_list): Create default "stderr" statement.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -557,15 +557,16 @@ fi # unusual case in which a symlinked-to .m4 file is git-removed from gnulib # between successive runs of this script. find "$m4_base" -name '*.m4' -depth -type l -xtype l -delete > /dev/null 2>&1 # Reconfigure, getting other files. +aclocal_flags=`sed -n 's/ACLOCAL_AMFLAGS *=//p' Makefile.am` for command in \ libtool \ - 'aclocal --force -I m4' \ + "aclocal --force $aclocal_flags" \ 'autoconf --force' \ 'autoheader --force' \ 'automake --add-missing --copy --force-missing'; do if test "$command" = libtool; then grep '^[ ]*AM_PROG_LIBTOOL\>' configure.ac >/dev/null || |