search for: am_cppflag

Displaying 20 results from an estimated 76 matches for "am_cppflag".

Did you mean: am_cppflags
2012 Apr 07
1
[PATCH 2/2] Update and improve autotools build
- INCLUDES is deprecated, and CPPFLAGS is an user-defined variable, use the proper AM_CPPFLAGS instead - Remove FLAC__INLINE definition, providing proper replacement for MSVC compilers. - Detect if we have C99 's lround and provide a replacement for windows... --- configure.ac | 32 ++++++++-------------------- examples/c/decode/file/Makefile.am...
2017 Jan 15
0
[PATCH 2/2] Only compile and run tests when running 'make check'
...(+), 6 deletions(-) diff --git a/src/test_grabbag/cuesheet/Makefile.am b/src/test_grabbag/cuesheet/Makefile.am index 96030407..59ae71f4 100644 --- a/src/test_grabbag/cuesheet/Makefile.am +++ b/src/test_grabbag/cuesheet/Makefile.am @@ -23,7 +23,7 @@ EXTRA_DIST = \ test_cuesheet.vcxproj.filters AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include -noinst_PROGRAMS = test_cuesheet +check_PROGRAMS = test_cuesheet test_cuesheet_SOURCES = \ main.c test_cuesheet_LDADD = \ diff --git a/src/test_grabbag/picture/Makefile.am b/src/test_grabbag/picture/Makefile.am index b1a949e5..0ee...
2014 May 24
2
make dllimport/dllexport attributes work with mingw (and others)
...- @LIBICONV@ + $(win_utf8_lib) @LIBICONV@ CLEANFILES = metaflac.exe diff --git a/src/test_grabbag/cuesheet/Makefile.am b/src/test_grabbag/cuesheet/Makefile.am index a7fc5c5..134afb2 100644 --- a/src/test_grabbag/cuesheet/Makefile.am +++ b/src/test_grabbag/cuesheet/Makefile.am @@ -24,8 +24,13 @@ AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include noinst_PROGRAMS = test_cuesheet test_cuesheet_SOURCES = \ main.c + +if OS_IS_WINDOWS +win_utf8_lib = $(top_builddir)/src/share/win_utf8_io/libwin_utf8_io.la +endif test_cuesheet_LDADD = \ $(top_builddir)/src/share/grabbag/libgr...
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 --------------
2012 Dec 12
0
[PATCH 2/5] autogen.sh: replace this by a simple call to autoreconf
...557fd..270416a 100644 --- a/src/plugin_common/Makefile.am +++ b/src/plugin_common/Makefile.am @@ -15,8 +15,6 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -AUTOMAKE_OPTIONS = foreign - AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include noinst_LTLIBRARIES = libplugin_common.la diff --git a/src/share/getopt/Makefile.am b/src/share/getopt/Makefile.am index 70ea506..f9a6fa3 100644 --- a/src/share/getopt/Makefile.am +++ b/src/share/getopt/Makefile.am @@ -1,7 +1,5 @@...
2017 Jan 06
8
[PATCH 0/5] Allow multiple targets to be disabled
Hi, This patchet allows a few targets to be disabled when unrequired. The rational is coming from VLC's contrib buildsystem, so far we use make -C to select only some subparts of the available targets. It would be easier and cleaner to use autoconf to do so IMHO. There's an additional patch which fixes the build when building for WinRT/UWP platform, upstreamed from VLC. We have a couple
2017 Jan 15
4
Updated CFLAGS patches and make test compilation conditional
Hi Erik, I've found a middleground for the problem of setting default CFLAGS. I've gone back to setting them if {C,CXX,CPP,LD}FLAGS are unset at the onset of the configure script (i.e., the user hasn't specified anything) and then proceed to set them to the defaults as before. This has been suggested before: https://lists.gnu.org/archive/html/autoconf/2006-04/msg00022.html In
2008 Mar 30
1
[PATCH 1/2] Add SECRET_TEST_CODE to AM_CONDITIONAL in configure.ac
Otherwise, automake will fail to process vivified/code/Makefile.am --- configure.ac | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index a3e186b..0e28374 100644 --- a/configure.ac +++ b/configure.ac @@ -300,6 +300,7 @@ else AC_MSG_NOTICE([Vivified was not enabled.]) fi AM_CONDITIONAL(HAVE_VIVI, [test "x$HAVE_VIVI" = xyes])
2013 Apr 06
0
[PATCH 2/2] Only link against libogg (and libm) if needed
...| 4 +--- 7 files changed, 5 insertions(+), 17 deletions(-) diff --git a/examples/c/decode/file/Makefile.am b/examples/c/decode/file/Makefile.am index 7926e48..d3b2b0e 100644 --- a/examples/c/decode/file/Makefile.am +++ b/examples/c/decode/file/Makefile.am @@ -22,8 +22,6 @@ EXTRA_DIST = \ AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include noinst_PROGRAMS = example_c_decode_file example_c_decode_file_LDADD = \ - $(top_builddir)/src/libFLAC/libFLAC.la \ - @OGG_LIBS@ \ - -lm + $(top_builddir)/src/libFLAC/libFLAC.la example_c_decode_file_SOURCES = main.c diff --git a/...
2012 Dec 12
8
[PATCH 0/5] update build system
This patch series modernizes various aspects of the autotools based build system. There is a lot more that could and should be done, but I tried to stay conservative for now and just resolve some of the most obvious issues. Max Horn (5): configure: replace XIPH_C_FIND_ENDIAN by AC_C_BIGENDIAN autogen.sh: replace this by a simple call to autoreconf configure: always print
2011 Apr 03
6
[Bug 713] New: CPPFLAGS are mishandled which breaks non-shared targets
...t, static-only systems break when the NO_SHARED_LIBS define is used in files that don't have it explicitly in the Makefile. Rather than propagate these flags to the specific files that are failing, redo the whole thing at the global level. All the cpp flags are moved out of AM_CFLAGS and into AM_CPPFLAGS, and NO_SHARED_LIBS is appended to that variable. This lets us drop the manual setting of library-specific CFLAGS in a bunch of places while making sure it shouldn't break again in the future. patch attached -- Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email -----...
2012 Jan 18
4
[PATCH 1/4] ocaml: Add -Wno-missing-field-initializers to avoid a warning.
From: "Richard W.M. Jones" <rjones at redhat.com> --- configure.ac | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index fa97479..6e42423 100644 --- a/configure.ac +++ b/configure.ac @@ -141,6 +141,10 @@ if test "$gl_gcc_warnings" = yes; then # Work around warning in src/inspect.c. This seems to be a bug in gcc
2011 May 09
1
[PATCH] Don't rely on OCaml native compiler for tests
...89809). --- ocaml/Makefile.am | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index b3f5e14..b9451e3 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -46,7 +46,7 @@ hivex_c.o: hivex_c.c $(CC) $(AM_CPPFLAGS) $(CFLAGS) -fPIC -Wall -c $< TESTS_ENVIRONMENT = \ - LD_LIBRARY_PATH=$(top_builddir)/lib/.libs \ + LD_LIBRARY_PATH=$(top_builddir)/lib/.libs:$(top_builddir)/ocaml \ $(VG) TESTS = \ @@ -59,33 +59,33 @@ TESTS = \ t/hivex_300_fold noinst_DATA += $(TESTS) -t/hivex_005_load: t/hivex_005...
2014 May 04
0
Building FLAC with LTO
...c/libFLAC/libFLAC.la + $(top_builddir)/src/libFLAC/libFLAC.la \ + $(win_utf8_lib) CLEANFILES = test_picture.exe --- flac-1.3.0/src/test_seeking/Makefile.am.orig 2013-05-26 09:30:33.944201400 +0000 +++ flac-1.3.0/src/test_seeking/Makefile.am 2014-05-03 09:50:20.531097100 +0000 @@ -25,8 +25,14 @@ AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include noinst_PROGRAMS = test_seeking + +if OS_IS_WINDOWS +win_utf8_lib = $(top_builddir)/src/share/win_utf8_io/libwin_utf8_io.la +endif + test_seeking_LDADD = \ - $(top_builddir)/src/libFLAC/libFLAC.la + $(top_builddir)/src/libFLAC/libF...
2009 Aug 05
2
using gnulib from daemon/
...ze, and it will then be trivial to add a few more gnulib modules. >From 21c185b04a41f61c06a64d1d4076aff4a98d0d40 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Wed, 5 Aug 2009 05:59:19 -0400 Subject: [PATCH] daemon: use gnulib * Makefile.am (SUBDIRS): Define. (AM_CPPFLAGS): Define, to include from gnulib's lib/ (LDADD): Define, to link with gnulib's libgnu.a. * configure.ac: Use AC_CONFIG_AUX_DIR([build-aux]), gl_EARLY, gl_INIT. (AC_CONFIG_FILES): Add lib/Makefile and tests/Makefile * m4/gnulib-cache.m4: New file, generated by running ../.gnulib/gnulib-tool...
2011 Aug 14
6
[PATCH 1/6] out-of-tree build: fix documentation generation
--- cat/Makefile.am | 6 +++--- df/Makefile.am | 2 +- edit/Makefile.am | 2 +- examples/Makefile.am | 12 ++++++------ fish/Makefile.am | 18 +++++++++--------- fuse/Makefile.am | 2 +- inspector/Makefile.am | 2 +- java/examples/Makefile.am | 6 +++--- ocaml/examples/Makefile.am | 6 +++---
2012 Feb 24
3
Dovecot 2.1 with custom OpenSSL fails to build
Hello Dovecot users! There seems to be a new dependency in some modules (eg, lib-storage, libdovecot-lda, libdovecot-ssl) on OpenSSL. In Dovecot 2.0, those modules didn't require OpenSSL, but 2.1 does. For the linking process the path to the OpenSSL library isn't specified properly (SSL_LIBS). Dovecot fails to build if OpenSSL is in a non-standard path. (Haven't checked if SSL_CFLAGS
2015 May 01
0
[ANNOUNCE] libxkbfile 1.0.9
...B configuration data files. This minor maintenance release provides the usual recent collection of build configuration improvements and janitorial cleanups. Adam Jackson (1): configure: Remove AM_MAINTAINER_MODE Alan Coopersmith (8): Replace deprecated Automake INCLUDES variable with AM_CPPFLAGS Convert to X.Org standard indentation style unifdef -UXKB_IN_SERVER Don't dereference xkb pointer until after checking it for NULL Convert sprintf calls to snprintf Constify atom name argument to XkbInternAtom Remove check to see if SEEK_SET is defined befor...
2017 Oct 11
0
[ANNOUNCE] libXRes 1.2.0
...he client library never saw a corresponding release, so let's fix that. Adam Jackson (2): configure: Remove AM_MAINTAINER_MODE libXRes 1.2.0 Alan Coopersmith (6): Bump version to 1.1.99.0 to reflect addition of 1.2 API Replace deprecated Automake INCLUDES variable with AM_CPPFLAGS Use _XEatDataWords to avoid overflow of rep.length shifting integer overflow in XResQueryClients() [CVE-2013-1988 1/2] integer overflow in XResQueryClientResources() [CVE-2013-1988 2/2] Remove fallback for _XEatDataWords, require libX11 1.6 for it Colin Walters (1):...
2019 Mar 11
0
[ANNOUNCE] libXdamage 1.1.5
This package contains the Xlib-based library for the X Damage extension. Adam Jackson (1): configure: Remove AM_MAINTAINER_MODE Alan Coopersmith (3): Replace deprecated Automake INCLUDES variable with AM_CPPFLAGS Update README for gitlab migration libXdamage 1.1.5 Colin Walters (1): autogen.sh: Implement GNOME Build API Emil Velikov (1): autogen.sh: use quoted string variables Jeremy Huddleston Sequoia (1): Use Xfree rather than XFree for consistency Mihail Konev (1):...