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
485da4d6
...
485da4d61f26468b8e15ef4433433dccd508cdad
authored
2003-03-03 08:19:15 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
New option --with-included-argp
1 parent
a2ae8f79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
13 deletions
configure.ac
configure.ac
View file @
485da4d
...
...
@@ -337,19 +337,25 @@ MU_CHECK_FUNCS(strtok_r getline strndup strnlen strchrnul)
MU_CHECK_UTMP
dnl Check for libraries
AC_CHECK_FUNCS(argp_parse, :,
[
MU_LIBOBJ(argp-ba)
MU_LIBOBJ(argp-eexst)
MU_LIBOBJ(argp-fmtstream)
MU_LIBOBJ(argp-fs-xinl)
MU_LIBOBJ(argp-help)
MU_LIBOBJ(argp-parse)
MU_LIBOBJ(argp-pv)
MU_LIBOBJ(argp-pvh)
MU_LIBOBJ(argp-xinl)
MU_LIBOBJ(pin)
])
USE_INCLUDED_ARGP=
AC_ARG_WITH([included-argp],
AC_HELP_STRING([--with-included-argp],
[Use included argp library]),
[USE_INCLUDED_ARGP=${withval}],
[AC_CHECK_FUNCS(argp_parse, :, [USE_INCLUDED_ARGP=yes])])
if test $USE_INCLUDED_ARGP = yes; then
MU_LIBOBJ(argp-ba)
MU_LIBOBJ(argp-eexst)
MU_LIBOBJ(argp-fmtstream)
MU_LIBOBJ(argp-fs-xinl)
MU_LIBOBJ(argp-help)
MU_LIBOBJ(argp-parse)
MU_LIBOBJ(argp-pv)
MU_LIBOBJ(argp-pvh)
MU_LIBOBJ(argp-xinl)
MU_LIBOBJ(pin)
fi
AC_MSG_CHECKING(whether extern program_invocation_name is present)
AC_TRY_COMPILE([#include <argp.h>
...
...
Please
register
or
sign in
to post a comment