diff --git a/configure.ac b/configure.ac index 3a1f19a..875ff04 100644 --- a/configure.ac +++ b/configure.ac @@ -241,6 +241,7 @@ const char *p = program_invocation_short_name; AC_MSG_CHECKING([for __progname]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ +#include extern char *__progname; ]], [[ printf("%s", __progname);