diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e47ac0d..dc8b1d2 100644 --- a/configure.ac +++ b/configure.ac @@ -166,6 +166,9 @@ AC_CHECK_FUNCS([memset setlocale strchr strrchr fstat], , [ # glib defines G_OS_UNIX||G_OS_HAIKU instead... case $host in *-*-linux* | *-*-*bsd* | *-*-darwin* | *-*-cygwin* | *-*-haiku*) + AC_SEARCH_LIBS([dlsym], [dl], , [ + AC_MSG_ERROR([Required function dlsym() not found!]) + ]) AC_CHECK_FUNCS([realpath fchown dup dup2 dlsym], , [ AC_MSG_ERROR([Missing libc function]) ]) |