build: Check non-standard C functions at configure time
* configure.ac: Check 'argp_parse' and 'asprintf' presence.
This commit is contained in:
parent
426f5d7b38
commit
cae2270fd7
1 changed files with 6 additions and 0 deletions
|
|
@ -43,6 +43,12 @@ GUILE_PKG([2.2 2.0])
|
|||
# 'config.rpath' script.
|
||||
PKG_CHECK_MODULES(GUILE, [guile-$GUILE_EFFECTIVE_VERSION])
|
||||
|
||||
# Check for 'argp' program arguments parser.
|
||||
AC_CHECK_FUNC(argp_parse, [], AC_MSG_ERROR([argp not found]))
|
||||
|
||||
# Check for non-POSIX string formatting function.
|
||||
AC_CHECK_FUNC(asprintf, [], AC_MSG_ERROR([asprintf not found]))
|
||||
|
||||
# Checks for programs.
|
||||
|
||||
GUILE_PROGS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue