[enable_maintainer_mode="yes"])
AM_MAINTAINER_MODE
+dnl
+dnl Deprecated options
+dnl to notify packagers that stuff has changed
+dnl
+AC_ARG_ENABLE(python-bindings,
+ [ --enable-python-bindings Always fails for historical reasons)],,
+ [enable_python_bindings="no"])
+AS_IF([test "${enable_python_bindings}" != "no"], [
+ AC_MSG_ERROR([Python bindings are now built from a separate source package])
+])
+
+AC_ARG_ENABLE(java-bindings,
+ [ --enable-java-bindings Always fails for historical reasons],,
+ [enable_java_bindings="no"])
+AS_IF([test "${enable_java_bindings}" != "no"], [
+ AC_MSG_ERROR([Java bindings are now built from a separate source package])
+])
+
dnl
dnl Save *FLAGS
dnl
need_libc=false
dnl Check for usual libc functions
-AC_CHECK_FUNCS([gettimeofday strtod strtol strtof strtoll strtoull strsep isatty vasprintf asprintf swab sigrelse getpwuid_r memalign posix_memalign if_nametoindex atoll getenv putenv setenv gmtime_r ctime_r localtime_r lrintf daemon scandir fork bsearch lstat strlcpy strdup strndup strnlen atof lldiv posix_fadvise posix_madvise])
+AC_CHECK_FUNCS([gettimeofday strtod strtol strtof strtoll strtoull strsep isatty vasprintf asprintf swab sigrelse getpwuid_r memalign posix_memalign if_nametoindex atoll getenv putenv setenv gmtime_r ctime_r localtime_r lrintf daemon scandir fork bsearch lstat strlcpy strdup strndup strnlen atof lldiv posix_fadvise posix_madvise uselocale])
AC_CHECK_FUNCS(strcasecmp,,[AC_CHECK_FUNCS(stricmp)])
AC_CHECK_FUNCS(strncasecmp,,[AC_CHECK_FUNCS(strnicmp)])
AC_CHECK_FUNCS(strcasestr,,[AC_CHECK_FUNCS(stristr)])
VLC_ADD_LIBS([x11 xvideo xvmc glx],[-lXsp])
])
-dnl
-dnl Mediacontrol Python bindings
-dnl
-AC_ARG_ENABLE(python-bindings,
- [ --enable-python-bindings Enable Python bindings (default disabled)])
-
-if test "${enable_python_bindings}" = "yes"; then
- AC_PATH_PROG(PYTHON_CONFIG, python-config, no)
- CFLAGS="${CFLAGS_save} `${PYTHON_CONFIG} --cflags`"
- AC_CHECK_HEADER([Python.h],
- PLUGINS_BINDINGS="${PLUGINS_BINDINGS} python",
- AC_MSG_ERROR([You have to install python-dev to build the bindings]),
- []
- )
- CFLAGS="${CFLAGS_save}"
-fi
-AM_CONDITIONAL(BUILD_PYTHON, [test "${enable_python_bindings}" = "yes"])
-
-dnl
-dnl Java bindings
-dnl
-AC_ARG_ENABLE(java-bindings,
- [ --enable-java-bindings Enable Java bindings (default disabled)])
-if test "${enable_java_bindings}" = "yes"
-then
- echo ""
- echo "****** WARNING **** WARNING ***** WARNING *************"
- echo "*** To compile the java bindings go to the "
- echo "*** bindings/java folder and run mvn install. "
- echo "*** You need maven2 installed. "
- echo "*** This configuration will continue, so you will be "
- echo "*** able to compile VideoLAN as usual. "
- echo "*******************************************************"
- echo ""
-fi
-
dnl
dnl test plugins
dnl
VLC_ADD_LDFLAGS([qte_main],[${LDFLAGS_qte} ${LDFLAGS_qt_video}])
fi
-
dnl
dnl Plugin and builtin checks
dnl
Makefile
projects/activex/Makefile
projects/activex/axvlc.inf
- bindings/python/Makefile
doc/Makefile
extras/package/ipkg/Makefile
libs/loader/Makefile