Commit 9e90130c authored by Niels Möller's avatar Niels Möller
Browse files

Use AH_TEMPLATE for

PROGRAM_INVOCATION_NAME and PROGRAM_INVOCATION_SHORT_NAME. The
third arg to AC_DEFINE_UNQUOTED seems not to work here.

Rev: src/argp/configure.ac:1.4
parent 7718d019
......@@ -47,6 +47,11 @@ AC_CHECK_FUNCS(fputs_unlocked fwrite_unlocked)
dnl Used only by argp-test.c, so don't use AC_REPLACE_FUNCS.
AC_CHECK_FUNCS(strdup asprintf)
AH_TEMPLATE([HAVE_PROGRAM_INVOCATION_NAME],
[Define if the variable exists (usually provided by the linker).])
AH_TEMPLATE([HAVE_PROGRAM_INVOCATION_SHORT_NAME],
[Define if the variable exists (usually provided by the linker).])
ARGP_CHECK_VAR(program_invocation_name, [#include <errno.h>])
ARGP_CHECK_VAR(program_invocation_short_name, [#include <errno.h>])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment