Mercurial > mxe-octave
view src/xine-lib-1-configure_ac.patch @ 3853:58935b4de51f
Enable build cross mkoctfile and compile of-XXXX package files
* Makefile.in
Add ENABLE_BINARY_PACKAGES, MXE_MKOCTFILE variable.
Add OCTAVE_FORGE_PKG_COMPILE, OCTAVE_FORGE_PKG_BUILD_NOCOMPILE macros
* configure.ac: add --enable-binary-packages option
* src/default-octave.mk:
if mingw, enable cross compile of mkoctfile, install the cross built mkoctfile to usr/bin
* src/of-communications.mk:
use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule
* src/of-control.mk:
use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule
* src/of-dicom.mk:
use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule
* src/of-fits.mk:
use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule
* src/of-fl-core.mk:
use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule
* src/of-image.mk:
use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule
* src/of-linear-algebra.mk:
use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule
* src/of-ltfat.mk:
use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule
* src/of-linear-algebra.mk:
use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule
* src/of-miscellaneous.mk:
use OCTAVE_FORGE_PKG_BUILD with UNITS_AVAILABLE=yes arg
* src/of-netcdf.mk:
use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule
* src/of-odepkg.mk:
use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule
* src/of-sockets.mk:
use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule
* src/of-windows.mk:
use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule
author | John Donoghue |
---|---|
date | Thu, 19 Mar 2015 14:03:28 -0400 |
parents | 5aba05f2226e |
children |
line wrap: on
line source
This file is part of MXE. See index.html for further information. diff -urN xine-lib-1.2.4/configure.ac xine-lib-1.2.4-patch/configure.ac --- xine-lib-1.2.4/configure.ac 2013-09-20 16:04:44.000000000 +0300 +++ xine-lib-1.2.4-patch/configure.ac 2013-12-17 11:45:43.657189416 +0200 @@ -343,7 +343,7 @@ AC_CHECK_HEADERS([alloca.h]) AC_CHECK_HEADERS([assert.h byteswap.h dirent.h errno.h execinfo.h fcntl.h glob.h]) AC_CHECK_HEADERS([libgen.h malloc.h netdb.h stdbool.h ucontext.h]) -AC_CHECK_HEADERS([sys/ioctl.h sys/mixer.h sys/mman.h sys/param.h sys/times.h sys/wait.h]) +AC_CHECK_HEADERS([sys/mixer.h sys/mman-win32.h sys/param.h sys/times.h sys/wait.h]) dnl This is duplicative due to AC_HEADER_STDC, but src/input/vcd stuff needs to dnl have HAVE_STDIO_H defined, or it won't compile. @@ -378,7 +378,7 @@ AC_CACHE_CHECK([type of request parameter for ioctl()], [ac_cv_ioctl_request], [ for ac_ioctl_request_type in "unsigned long" "int"; do - AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <sys/ioctl.h> + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <windows.h> int ioctl(int fd, $ac_ioctl_request_type request, ...);]], [[]])], [ac_cv_ioctl_request=$ac_ioctl_request_type], []) done