Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
24581a12
...
24581a1282b8efcf83f2b2921690fe5c7bdd336f
authored
2002-04-15 11:09:51 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Check if program_invocation_.*name are declared and/or defined.
1 parent
439c107f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
3 deletions
configure.in
configure.in
View file @
24581a1
...
...
@@ -187,7 +187,29 @@ dnl Check for libraries
AC_CHECK_FUNCS(argp_parse, :,
[LIBOBJS="$LIBOBJS argp-ba.o argp-eexst.o argp-fmtstream.o \
argp-fs-xinl.o argp-help.o argp-parse.o argp-pv.o \
argp-pvh.o argp-xinl.o pin.o"])
argp-pvh.o argp-xinl.o"])
AC_MSG_CHECKING(whether extern program_invocation_name is present)
AC_TRY_COMPILE([#include <argp.h>
#include <errno.h>],
[ program_invocation_name = "test"; ],
[AC_DEFINE(PROGRAM_INVOCATION_NAME_DECLARED)
AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)])
AC_MSG_CHECKING(whether program_invocation_name is declared)
AC_TRY_COMPILE([#include <argp.h>
#include <errno.h>],
[
#ifndef PROGRAM_INVOCATION_NAME_DECLARED
extern char *program_invocation_name;
#endif
program_invocation_name = "test";
],
[AC_DEFINE(HAVE_PROGRAM_INVOCATION_NAME)
AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)])
AC_CHECK_FUNCS(_obstack_begin,
[AC_DEFINE(HAVE_OBSTACK)],
...
...
@@ -387,5 +409,5 @@ AC_OUTPUT(Makefile mailutils.spec
MySql/Makefile
comsat/Makefile
mail.local/Makefile
mh
/Makefile
dotlock/Makefile
)
dotlock
/Makefile
)
...
...
Please
register
or
sign in
to post a comment