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
@@ -560,9 +560,10 @@ find "$m4_base" -name '*.m4' -depth -type l -xtype l -delete > /dev/null 2>&1 | |||
560 | 560 | ||
561 | # Reconfigure, getting other files. | 561 | # Reconfigure, getting other files. |
562 | 562 | ||
563 | aclocal_flags=`sed -n 's/ACLOCAL_AMFLAGS *=//p' Makefile.am` | ||
563 | for command in \ | 564 | for command in \ |
564 | libtool \ | 565 | libtool \ |
565 | 'aclocal --force -I m4' \ | 566 | "aclocal --force $aclocal_flags" \ |
566 | 'autoconf --force' \ | 567 | 'autoconf --force' \ |
567 | 'autoheader --force' \ | 568 | 'autoheader --force' \ |
568 | 'automake --add-missing --copy --force-missing'; | 569 | 'automake --add-missing --copy --force-missing'; |