[vlc-devel] commit: Sort/factor function checks ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Jan 16 11:19:55 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 16 12:14:11 2010 +0200| [865e4ddcd6511649059cab19da62ec9f574e6d2a] | committer: Rémi Denis-Courmont
Sort/factor function checks
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=865e4ddcd6511649059cab19da62ec9f574e6d2a
---
configure.ac | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/configure.ac b/configure.ac
index b73734f..0c769d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -568,16 +568,14 @@ dnl Check for system libs needed
need_libc=false
dnl Check for usual libc functions
-AC_CHECK_FUNCS([gettimeofday isatty getpwuid_r memalign posix_memalign getenv putenv setenv ctime_r daemon fork lstat posix_fadvise posix_madvise uselocale tdestroy])
-AC_CHECK_FUNCS(fcntl)
-AC_REPLACE_FUNCS([asprintf atof atoll getcwd getpid gmtime_r lldiv localtime_r rewind strcasecmp strcasestr strdup strlcpy strncasecmp strndup strnlen strsep strtof strtok_r strtoll vasprintf swab])
-AC_CHECK_FUNCS([stricmp strnicmp])
+AC_CHECK_FUNCS([ctime_r daemon fcntl fork getenv getpwuid_r gettimeofday isatty lstat memalign posix_fadvise posix_madvise posix_memalign putenv setenv stricmp strnicmp tdestroy uselocale])
+AC_REPLACE_FUNCS([asprintf atof atoll getcwd getpid gmtime_r lldiv localtime_r rewind strcasecmp strcasestr strdup strlcpy strncasecmp strndup strnlen strsep strtof strtok_r strtoll swab vasprintf])
AC_CHECK_FUNCS(fdatasync,,
[AC_DEFINE(fdatasync, fsync, [Alias fdatasync() to fsync() if missing.])
])
dnl Check for non-standard system calls
-AC_CHECK_FUNCS([vmsplice eventfd fstatfs accept4])
+AC_CHECK_FUNCS([accept4 eventfd fstatfs vmsplice])
AH_BOTTOM([#include <vlc_fixups.h>])
More information about the vlc-devel
mailing list