diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-08-24 07:05:35 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-08-24 07:05:35 +0100 |
| commit | d209b03915e4d12ce445d72ac09bb4fe664ba664 (patch) | |
| tree | cdffabf2b248ac1bf8f35b9ad9f075ecd11da17f | |
| parent | 12c051d5c673d79c16a3a1478c0977799484ca95 (diff) | |
configure: Add guards for os.h redefines
os.h redefines a few common libc functions, so check if the host
provides them first and inform os.h if that is the case.
Suggested-by: Zdenek Kabelac <zkabelac@redhat.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
| -rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9146d074..4f1cff71 100644 --- a/configure.ac +++ b/configure.ac @@ -62,6 +62,9 @@ AC_DISABLE_STATIC AC_PROG_LIBTOOL AC_SYS_LARGEFILE +# Check for common libc routines redefined by os.h +AC_CHECK_FUNCS([strlcpy strlcat strndup], [], []) + # Platform specific settings case $host_os in *linux*) |
