diff --git a/libvisual-plugins/configure.ac b/libvisual-plugins/configure.ac index e2af05843..9bc0e5306 100644 --- a/libvisual-plugins/configure.ac +++ b/libvisual-plugins/configure.ac @@ -51,8 +51,7 @@ dnl 'Standard' header files. AC_CHECK_HEADERS([fcntl.h unistd.h stdlib.h string.h sys/time.h]) dnl Library functions. -AC_FUNC_MALLOC -AC_CHECK_FUNCS([floor gettimeofday memmove memset pow sqrt]) +AC_CHECK_FUNCS([gettimeofday]) AC_CHECK_FUNC([munmap], lv_have_munmap=yes, lv_have_munmap=no) AC_FUNC_MMAP diff --git a/libvisual/configure.ac b/libvisual/configure.ac index 34406ae8f..4c7382e32 100644 --- a/libvisual/configure.ac +++ b/libvisual/configure.ac @@ -135,10 +135,8 @@ AC_MSG_RESULT($lv_have_gnuc_varargs) AC_C_BIGENDIAN(bigendian=yes, bigendian=no, ) # Checks for library functions. -AC_FUNC_MALLOC -AC_FUNC_REALLOC AC_FUNC_SELECT_ARGTYPES -AC_CHECK_FUNCS([gettimeofday usleep nanosleep select memset sqrt strdup strndup sysconf]) +AC_CHECK_FUNCS([gettimeofday usleep nanosleep select strdup strndup sysconf]) AC_CHECK_LIB([dl], [dlsym], [LIBS="-ldl $LIBS"], AC_MSG_WARN([*** You need dlsym() to make use of Libvisual.]))