Re: EXEEXT for other languages

2014-01-12 Thread Peter Johansson
On 01/12/2014 08:31 AM, Gary V. Vaughan wrote: install-exec-hook: test -z "$(EXEEXT)" || { cd $(prefix)/bin; for f in $(bin_SCRIPTS); do mv -f $$f $$f.pl; done; } s,$(prefix)/bin,$(bindir), Cheers, -- Peter Johansson

Re: [PATCH] tests: factor st_ctime-comparison out of two headers

2011-11-20 Thread Peter Johansson
On 11/20/11 1:49 PM, Simon Josefsson wrote: > Another approach is to add -Werror last (this is what Eric Blake > suggested on the autoconf mailing list a long time ago), e.g.: > > AC_DEFUN([OVS_ENABLE_WERROR], > [AC_ARG_ENABLE( >[Werror], >[AC_HELP_STRING([--enable-Werror],

Re: using dirname module in C++

2010-08-17 Thread Peter Johansson
On 8/14/10 6:27 AM, Bruno Haible wrote: Or import the module 'progname' from gnulib, and start the main() function of your program with the statement set_program_name (argv[0]); That worked perfectly. Thanks. Peter

using dirname module in C++

2010-08-13 Thread Peter Johansson
Hi, I'm new to using gnulib so I'm probably making some trivial mistake. Anyway, I try to use the dirname module in a C++ context which results in: libtool: link: g++ -g -O2 -o bin/.libs/foo bin/foo.o -Wl,-bind_at_load -L/opt/local/lib -L/usr/lib ./lib/.libs/libyat-util.dylib -lcblas ./gnul