337 |
MU_CHECK_UTMP |
MU_CHECK_UTMP |
338 |
|
|
339 |
dnl Check for libraries |
dnl Check for libraries |
340 |
AC_CHECK_FUNCS(argp_parse, :, |
USE_INCLUDED_ARGP= |
341 |
[ |
AC_ARG_WITH([included-argp], |
342 |
MU_LIBOBJ(argp-ba) |
AC_HELP_STRING([--with-included-argp], |
343 |
MU_LIBOBJ(argp-eexst) |
[Use included argp library]), |
344 |
MU_LIBOBJ(argp-fmtstream) |
[USE_INCLUDED_ARGP=${withval}], |
345 |
MU_LIBOBJ(argp-fs-xinl) |
[AC_CHECK_FUNCS(argp_parse, :, [USE_INCLUDED_ARGP=yes])]) |
346 |
MU_LIBOBJ(argp-help) |
|
347 |
MU_LIBOBJ(argp-parse) |
if test $USE_INCLUDED_ARGP = yes; then |
348 |
MU_LIBOBJ(argp-pv) |
MU_LIBOBJ(argp-ba) |
349 |
MU_LIBOBJ(argp-pvh) |
MU_LIBOBJ(argp-eexst) |
350 |
MU_LIBOBJ(argp-xinl) |
MU_LIBOBJ(argp-fmtstream) |
351 |
MU_LIBOBJ(pin) |
MU_LIBOBJ(argp-fs-xinl) |
352 |
]) |
MU_LIBOBJ(argp-help) |
353 |
|
MU_LIBOBJ(argp-parse) |
354 |
|
MU_LIBOBJ(argp-pv) |
355 |
|
MU_LIBOBJ(argp-pvh) |
356 |
|
MU_LIBOBJ(argp-xinl) |
357 |
|
MU_LIBOBJ(pin) |
358 |
|
fi |
359 |
|
|
360 |
AC_MSG_CHECKING(whether extern program_invocation_name is present) |
AC_MSG_CHECKING(whether extern program_invocation_name is present) |
361 |
AC_TRY_COMPILE([#include <argp.h> |
AC_TRY_COMPILE([#include <argp.h> |