On Tue, Sep 6, 2016 at 6:49 AM, Pino Toscano <ptosc...@redhat.com> wrote: > Hi Jeremy, > > On Tuesday, 6 September 2016 13:13:52 CEST T J wrote: >> Anyway, it appears that this has not been tested on Windows/MinGW as >> it currently does not work. Everything worked fine with the old >> progname module. >> >> A sample build log is here: >> https://ci.appveyor.com/project/fontforge/fontforge/build/1.0.32 > > I don't have a mingw toolchain myself, so sorry it broke. OTOH, I read > that mingw had the program_invocation_name and > program_invocation_short_name variables (specific to GNU libc) > implemented as well few years ago. > > I guess this needs help from somebody with mingw experience.
>From the output of that mingw configure run, it appears they are not declared -- at least not in any header included by this particular test program: checking whether program_invocation_name is declared... no checking whether program_invocation_short_name is declared... no Searched myself and found this fine summary from 2010 by Bruno Haible: https://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00249.html That implies that (at least in 2010), one would have to invoke the get_program_canonicalized_name function on mingw.