Skip to content
Snippets Groups Projects
Commit 60a37b54 authored by Danny Auble's avatar Danny Auble
Browse files

better fix

parent ba991542
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,8 @@ AC_DEFUN([X_AC_SLURM_PROGRAM_INVOCATION_NAME],
[
AC_MSG_CHECKING([for program_invocation_name])
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h> extern char *program_invocation_name;]], [[char *p; p = program_invocation_name; printf("%s\n", p);]])],[got_program_invocation_name=yes],[
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
extern char *program_invocation_name;]], [[char *p; p = program_invocation_name; printf("%s\n", p);]])],[got_program_invocation_name=yes],[
])
AC_MSG_RESULT(${got_program_invocation_name=no})
......
......@@ -18361,7 +18361,8 @@ $as_echo_n "checking for program_invocation_name... " >&6; }
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h> extern char *program_invocation_name;
#include <stdio.h>
extern char *program_invocation_name;
int
main ()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment