Commit 0688ada2 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

TAF-Kit: link with gnulib.la and call set_program_name()

parent d2726eff
2008-11-05 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* taf-kit/src/Makefile.am (LDADD): Link with gnulib/gnulib.la.
(AM_CPPFLAGS): Use headers from gnulib/.
* taf-kit/src/main.cc (main): Call set_program_name() so that
gnulib's error reporting system print the right program name in
the output.
2008-11-05 Alexandre Duret-Lutz <adl@lrde.epita.fr>
 
Update gnulib and include module "progname".
......
......@@ -174,3 +174,7 @@ vcsn_int_int_b_CPPFLAGS = $(AM_CPPFLAGS) -DCONTEXT=int_int_boolean_automaton \
vcsn_int_int_b_LDADD = $(LDADD) \
$(top_builddir)/lib/libkrat_exp.la \
$(top_builddir)/lib/libvcsn-int-int-b.la
LDADD = $(top_builddir)/gnulib/libgnu.la
AM_CPPFLAGS += -I$(top_srcdir)/gnulib
......@@ -30,6 +30,7 @@
#include <stdexcept>
#include "argp.h"
#include "progname.h"
#include "common.hh"
#include "predefined_alphabets.hh"
......@@ -37,6 +38,7 @@
#include "interface.hh"
#include "parser_options.hh"
/**
* Base info for the program.
*/
......@@ -270,6 +272,8 @@ using namespace vcsn::misc;
int main (int argc, char* argv[])
{
set_program_name(argv[0]);
std::list<pipe_command> command_list;
// Cut the command line
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment