view src/libmpcdec-1-configure_ac.patch @ 4449:1933a9113e65

of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235) * src/of-actuarial.mk, src/of-communications.mk, src/of-control.mk, src/of-data-smoothing.mk, src/of-database.mk, src/of-dataframe.mk, src/of-dicom.mk, src/of-financial.mk, src/of-fits.mk, src/of-fl-core.mk, src/of-fuzzy-logic-toolkit.mk, src/of-ga.mk, src/of-general.mk, src/of-generate_html.mk, src/of-geometry.mk, src/of-gsl.mk, src/of-image.mk, src/of-instrument-control.mk, src/of-interval.mk, src/of-io.mk, src/of-linear-algebra.mk, src/of-lssa.mk, src/of-ltfat.mk, src/of-mapping.mk, src/of-miscellaneous.mk, src/of-nan.mk, src/of-netcdf.mk, src/of-nurbs.mk, src/of-ocs.mk, src/of-octcdf.mk, src/of-odepkg.mk, src/of-optim.mk, src/of-quaternion.mk, src/of-queueing.mk, src/of-signal.mk, src/of-sockets.mk, src/of-sparsersb.mk, src/of-specfun.mk, src/of-splines.mk, src/of-statistics.mk, src/of-stk.mk, src/of-strings.mk, src/of-struct.mk, src/of-tisean.mk, src/of-tsa.mk, src/of-video.mk, src/of-windows.mk, src/of-zenity.mk, src/of-zeromq.mk: add $(PKG)_DEPS += $(OCTAVE_TARGET) if ENABLE_BINARY_PACKAGES = yes
author John D
date Mon, 14 Aug 2017 09:12:34 -0400
parents 4e78b4a9e87c
children
line wrap: on
line source

This file is part of MXE.
See index.html for further information.

diff -urN libmpcdec-1.2.6/configure.ac libmpcdec-1.2.6-patch/configure.ac
--- libmpcdec-1.2.6/configure.ac	2007-04-17 22:05:32.000000000 +0300
+++ libmpcdec-1.2.6-patch/configure.ac	2013-12-17 15:45:49.892190871 +0200
@@ -5,6 +5,7 @@
 AM_CONFIG_HEADER(include/config.h)
 
 AM_PROG_LIBTOOL
+AC_PROG_CXX
 
 CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -fPIC"
 
@@ -58,14 +59,14 @@
 	ac_cv_c_int64_t=int64_t
 fi
 
-AC_FUNC_MEMCMP
-if test "x$ac_cv_func_memcmp_working" = "xno" ; then
-	AC_MSG_ERROR([working memcmp is not available.])
-fi
-
-AC_CHECK_FUNCS([memmove memset], [],
-        AC_MSG_ERROR([memset or memmove is missing.]))
-
+dnl AC_FUNC_MEMCMP
+dnl if test "x$ac_cv_func_memcmp_working" = "xno" ; then
+dnl 	AC_MSG_ERROR([working memcmp is not available.])
+dnl fi
+
+dnl AC_CHECK_FUNCS([memmove memset], [],
+dnl         AC_MSG_ERROR([memset or memmove is missing.]))
+dnl
 dnl Make substitutions
 
 AC_SUBST(VERSION)
diff -urN libmpcdec-1.2.6/include/Makefile.am libmpcdec-1.2.6-patch/include/Makefile.am
--- libmpcdec-1.2.6/include/Makefile.am	2007-01-09 22:22:14.000000000 +0200
+++ libmpcdec-1.2.6-patch/include/Makefile.am	2013-12-17 15:49:30.054396946 +0200
@@ -10,7 +10,8 @@
 	mpcdec/mpcdec.h \
 	mpcdec/reader.h \
 	mpcdec/requant.h \
-	mpcdec/streaminfo.h
+	mpcdec/streaminfo.h \
+	mpcdec/config_win32.h
 
 EXTRA_DIST = \
 	mpcdec/internal.h