1
0
mirror of https://github.com/tmux/tmux.git synced 2025-03-22 04:48:48 +00:00

Tweak test for program_invocation_short_name.

This commit is contained in:
Nicholas Marriott 2017-03-18 14:37:37 +00:00
parent 4eec3270ec
commit 792455ce87

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);