]> git.sesse.net Git - vlc/commitdiff
Remove duplicated checks
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 9 Feb 2008 08:12:28 +0000 (08:12 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 9 Feb 2008 08:12:28 +0000 (08:12 +0000)
extras/buildsystem/cmake/include/config.cmake

index e11357adda0e0b8ddd0fb2c1b46bd45bcb9fe090..9ed60fe3ff4d1fa501672f715941a50a61595f39 100644 (file)
@@ -114,7 +114,7 @@ vlc_check_functions_exist(lstat fstat stat)
 set(CMAKE_EXTRA_INCLUDE_FILES)
 
 set(CMAKE_EXTRA_INCLUDE_FILES arpa/inet.h)
-vlc_check_functions_exist(inet_pton inet_aton inet_ntop inet_pton)
+vlc_check_functions_exist(inet_aton inet_ntop inet_pton)
 set(CMAKE_EXTRA_INCLUDE_FILES)
 
 set(CMAKE_REQUIRED_LIBRARIES)
@@ -139,7 +139,6 @@ check_c_source_compiles (
 
 check_symbol_exists(ntohl "sys/param.h"  NTOHL_IN_SYS_PARAM_H)
 check_symbol_exists(scandir "dirent.h"   HAVE_SCANDIR)
-check_symbol_exists(scandir "dirent.h"   HAVE_SCANDIR)
 check_symbol_exists(localtime_r "time.h" HAVE_LOCALTIME_R)
 check_symbol_exists(alloca "alloca.h"    HAVE_ALLOCA)