Always define program_name to program_invocation_name
Showing
1 changed file
with
5 additions
and
0 deletions
... | @@ -452,6 +452,11 @@ AC_TRY_COMPILE([#include <argp.h> | ... | @@ -452,6 +452,11 @@ AC_TRY_COMPILE([#include <argp.h> |
452 | AC_MSG_RESULT(yes)], | 452 | AC_MSG_RESULT(yes)], |
453 | [AC_MSG_RESULT(no)]) | 453 | [AC_MSG_RESULT(no)]) |
454 | 454 | ||
455 | AH_BOTTOM([ | ||
456 | /* program_name is used by lib/error.c */ | ||
457 | #define program_name program_invocation_name | ||
458 | ]) | ||
459 | |||
455 | if test "$ac_use_included_regex" = yes; then | 460 | if test "$ac_use_included_regex" = yes; then |
456 | MU_HEADER(regex.h) | 461 | MU_HEADER(regex.h) |
457 | fi | 462 | fi | ... | ... |
-
Please register or sign in to post a comment