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:
parent
4eec3270ec
commit
792455ce87
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user