Tweak test for program_invocation_short_name.

pull/672/merge
Nicholas Marriott 2017-03-18 14:37:37 +00:00
parent 4eec3270ec
commit 792455ce87
1 changed files with 1 additions and 1 deletions

View File

@ -615,9 +615,9 @@ AC_LINK_IFELSE([AC_LANG_SOURCE(
AC_MSG_CHECKING(for program_invocation_short_name)
AC_LINK_IFELSE([AC_LANG_SOURCE(
[
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
extern char *program_invocation_short_name;
int main(void) {
const char *cp = program_invocation_short_name;
printf("%s\n", cp);