• Jim Meyering's avatar
    getprogname: port to OpenBSD 5.1 · 9a8bf3b5
    Jim Meyering authored
    * lib/getprogname.c (__progname) [HAVE_DECL___PROGNAME]: Declare.
    (getprogname) [HAVE_DECL___PROGNAME]: Return __progname or "?".
    * modules/getprogname (configure.ac): Move most of this code...
    * m4/getprogname.m4 (gl_FUNC_GETPROGNAME): ... to this function,
    increment serial number, and add a test for __progname.
    https://bugs.gnu.org/24562
    Reported by Nelson H. F. Beebe.
    9a8bf3b5