search for: os_is_window

Displaying 12 results from an estimated 12 matches for "os_is_window".

Did you mean: os_is_windows
2014 May 24
2
make dllimport/dllexport attributes work with mingw (and others)
...ne FLACPP_API __declspec(dllimport) #endif #elif defined(FLAC__USE_VISIBILITY_ATTR) diff --git a/src/flac/Makefile.am b/src/flac/Makefile.am index 389215e..a4929ab 100644 --- a/src/flac/Makefile.am +++ b/src/flac/Makefile.am @@ -44,6 +44,9 @@ flac_SOURCES = \ utils.h \ vorbiscomment.h +if OS_IS_WINDOWS +win_utf8_lib = $(top_builddir)/src/share/win_utf8_io/libwin_utf8_io.la +endif flac_LDADD = \ $(top_builddir)/src/share/utf8/libutf8.la \ $(top_builddir)/src/share/grabbag/libgrabbag.la \ @@ -51,7 +54,7 @@ flac_LDADD = \ $(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.l...
2014 May 24
2
make dllimport/dllexport attributes work with mingw (and others)
The following patch changes export.h so that the dllimport/dllexport attributes work with mingw/mingw-w64 and others: - changes _declspec keyword to __declspec: the former may not be defined by some toolchains. - changes the _MSC_VER condition to universally _WIN32: MSVC, as well as GCC supports this. Attached patch: declspec.diff Regards. -- O.S. -------------- next part --------------
2014 May 04
0
Building FLAC with LTO
...t;x42" ; then XIPH_ADD_CFLAGS([-fgnu89-inline]) -------------- next part -------------- --- flac-1.3.0/src/flac/Makefile.am.orig 2013-05-26 09:30:33.924201900 +0000 +++ flac-1.3.0/src/flac/Makefile.am 2014-05-03 09:44:59.262301200 +0000 @@ -44,6 +44,10 @@ utils.h \ vorbiscomment.h +if OS_IS_WINDOWS +win_utf8_lib = $(top_builddir)/src/share/win_utf8_io/libwin_utf8_io.la +endif + flac_LDADD = \ $(top_builddir)/src/share/utf8/libutf8.la \ $(top_builddir)/src/share/grabbag/libgrabbag.la \ @@ -51,6 +55,7 @@ $(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \ $(top_b...
2013 Jul 21
1
[PATCH] Link with -no-undefined regardless of the OS
...am | 2 +- src/libFLAC/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac index 50ef80e..ba46caf 100644 --- a/configure.ac +++ b/configure.ac @@ -129,19 +129,11 @@ AM_CONDITIONAL(FLaC__CPU_PPC_SPE, test "x$abi_spe" = xtrue) os_is_windows=no case "$host" in *-*-cygwin|*mingw*) - # define this variable for enabling strict exports with libtool; for now, it's supported by Win32 and OS/2 - LT_NO_UNDEFINED="-no-undefined" CPPFLAGS="-D__MSVCRT_VERSION__=0x0601 $CPPFLAGS" os_is_windows=yes ;...
2017 Jan 09
1
[PATCH] configure.ac: relax linux OS detection
...-uclibc .. Signed-off-by: Peter Korsgaard <peter at korsgaard.com> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 070ab357..235d2717 100644 --- a/configure.ac +++ b/configure.ac @@ -186,7 +186,7 @@ esac AM_CONDITIONAL(OS_IS_WINDOWS, test "x$os_is_windows" = xyes) case "$host" in - *-pc-linux-gnu) + *-linux-*) sys_linux=true AC_DEFINE(FLAC__SYS_LINUX) AH_TEMPLATE(FLAC__SYS_LINUX, [define if building for Linux]) -- 2.11.0
2017 Jan 09
0
[PATCH] configure.ac: relax linux OS detection
...-uclibc .. Signed-off-by: Peter Korsgaard <peter at korsgaard.com> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 070ab357..235d2717 100644 --- a/configure.ac +++ b/configure.ac @@ -186,7 +186,7 @@ esac AM_CONDITIONAL(OS_IS_WINDOWS, test "x$os_is_windows" = xyes) case "$host" in - *-pc-linux-gnu) + *-linux-*) sys_linux=true AC_DEFINE(FLAC__SYS_LINUX) AH_TEMPLATE(FLAC__SYS_LINUX, [define if building for Linux]) -- 2.11.0
2017 Feb 09
1
[PATCH] Fix compile with cygwin
...-- src/share/grabbag/file.c | 8 +------- 5 files changed, 3 insertions(+), 15 deletions(-) diff --git a/configure.ac b/configure.ac index c5b6337..9a1570c 100644 --- a/configure.ac +++ b/configure.ac @@ -185,7 +185,7 @@ AM_CONDITIONAL(FLaC__CPU_PPC_SPE, test "x$abi_spe" = xtrue) os_is_windows=no case "$host" in - *-*-cygwin|*mingw*) + *mingw*) CPPFLAGS="-D__MSVCRT_VERSION__=0x0601 $CPPFLAGS" os_is_windows=yes ;; diff --git a/include/share/compat.h b/include/share/compat.h index f74a5c1..2ad40fb 100644 --- a/include/share/compat.h +++ b/include/share/compat...
2014 May 25
1
make dllimport/dllexport attributes work with mingw (and others)
...# Names of this library. library_names='libFLAC.dll.a' # The name of the static archive. old_library='' So libFLAC.la can point either to dynamic or to static library. ********* Also: your patch adds the following lines to several Makefile.am files: if OS_IS_WINDOWS win_utf8_lib = $(top_builddir)/src/share/win_utf8_io/libwin_utf8_io.la endif zzz_LDADD = ... $(win_utf8_lib) ... On my system win_utf8_io is always a static library and is statically linked to the libFLAC library, so it's not necessary to explicitly link flac.exe with libwin_utf8...
2013 Apr 01
1
flac 1.3.0pre3 pre-release
...c 2013-04-01 17:10:21 +0400 @@ -129,6 +129,7 @@ *-*-cygwin|*mingw*|*emx*) # define this variable for enabling strict exports with libtool; for now, it's supported by Win32 and OS/2 LT_NO_UNDEFINED="-no-undefined" + CPPFLAGS="-D__MSVCRT_VERSION__=0x0601 $CPPFLAGS" os_is_windows=yes ;; *) -------------- next part -------------- --- flac-1.3.0pre3/include/share/compat.h.orig 2013-04-01 16:24:18 +0400 +++ flac-1.3.0pre3/include/share/compat.h 2013-04-01 16:38:23 +0400 @@ -175,7 +175,7 @@ #endif #ifdef _WIN32 -#define flac_stat_s _stat64 /* stat struct */ +#define f...
2014 May 25
2
make dllimport/dllexport attributes work with mingw (and others)
Erik de Castro Lopo wrote: > Ozkan Sezer wrote: > >> My apologies, obviously sent an old testing patch. Correct one is >> attached (declspec2.diff). Compilation tested using MinGW (gcc-3.4.5, >> binutils-2.20), and MinGW-w64 (gcc-4.5.4, binutils-2.21.90.) > > lvqcl, > > Can you please validate this new patch? It works, but only if i call ./configure without
2013 Apr 01
17
flac 1.3.0pre3 pre-release
Hi all, The latest pre-release is here: http://downloads.xiph.org/releases/flac/beta/flac-1.3.0pre3.tar.xz but there will probably need to be at least one more. I've tested this on x86_64-linux powerpc-linux i386-openbsd5.2 i386-freebsd9 The majority of changes since the last pre-release is the addition of Janne Hyv?rinen's utf8 I/O functionality. Janne's
2018 Jul 10
9
[PATCH 0/7] PowerPC64 performance improvements
The following series adds initial vector support for PowerPC64. On POWER9, flac --best is about 3.3x faster. Amitay Isaacs (2): Add m4 macro to check for C __attribute__ features Check if compiler supports target attribute on ppc64 Anton Blanchard (5): configure.ac: Remove SPE detection code configure.ac: Add VSX enable/disable configure.ac: Fix FLAC__CPU_PPC on little endian, and add