mirror of
https://github.com/tmux/tmux.git
synced 2025-03-23 14:19:04 +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_MSG_CHECKING(for program_invocation_short_name)
|
||||||
AC_LINK_IFELSE([AC_LANG_SOURCE(
|
AC_LINK_IFELSE([AC_LANG_SOURCE(
|
||||||
[
|
[
|
||||||
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
extern char *program_invocation_short_name;
|
|
||||||
int main(void) {
|
int main(void) {
|
||||||
const char *cp = program_invocation_short_name;
|
const char *cp = program_invocation_short_name;
|
||||||
printf("%s\n", cp);
|
printf("%s\n", cp);
|
||||||
|
Loading…
Reference in New Issue
Block a user