]> git.sesse.net Git - vlc/blobdiff - configure.ac
Use ifdef's to guard against setlocale() in vlc-cache-gen
[vlc] / configure.ac
index c9be584ba493ea247f7a894ada60e279833ed156..b40e2367274800639f6f381fa871530f8e0fef5b 100644 (file)
@@ -562,7 +562,7 @@ dnl Check for system libs needed
 need_libc=false
 
 dnl Check for usual libc functions
-AC_CHECK_FUNCS([ctime_r daemon fcntl fdopendir fork getenv getpwuid_r gettimeofday isatty lstat memalign posix_fadvise posix_madvise posix_memalign putenv setenv stricmp strnicmp tdestroy uselocale])
+AC_CHECK_FUNCS([ctime_r daemon fcntl fdopendir fork getenv getpwuid_r gettimeofday isatty lstat memalign posix_fadvise posix_madvise posix_memalign putenv setenv setlocale 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.])
@@ -2360,6 +2360,7 @@ then
                [VLC_ADD_LIBS([vcdx],[$LIBVCDINFO_LIBS])
                 VLC_ADD_CFLAGS([vcdx],[$LIBVCDINFO_CFLAGS])],
          [AC_MSG_ERROR([vcdx plugin requires libvcdinfo library >= 0.7.22])])
+        VLC_ADD_PLUGIN([vcdx])
 fi
 
 dnl