search for: have_config_h

Displaying 20 results from an estimated 206 matches for "have_config_h".

Did you mean: dhave_config_h
2006 Jul 13
0
[vorbis-tools] Some patches coming from Debian bugs
...---------------------------------------------- Index: vcut/vcut.c =================================================================== --- vcut/vcut.c (revision 11702) +++ vcut/vcut.c (working copy) @@ -10,6 +10,10 @@ * last modified: $Id: vcut.c,v 1.9 2003/09/03 07:58:05 calc Exp $ */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <ogg/ogg.h> Index: vorbiscomment/vcedit.c =================================================================== --- vorbiscomment/vcedit.c (revision 11702) +++ vorbiscomment/vcedit.c (working cop...
2006 Jul 13
0
[vorbis-tools] Some patches coming from Debian bugs
...---------------------------------------------- Index: vcut/vcut.c =================================================================== --- vcut/vcut.c (revision 11702) +++ vcut/vcut.c (working copy) @@ -10,6 +10,10 @@ * last modified: $Id: vcut.c,v 1.9 2003/09/03 07:58:05 calc Exp $ */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <ogg/ogg.h> Index: vorbiscomment/vcedit.c =================================================================== --- vorbiscomment/vcedit.c (revision 11702) +++ vorbiscomment/vcedit.c (working cop...
2014 Mar 23
2
#410 Incorrect HAVE_CONFIG_H checks
Copying my report from sf.net: The source uses a mixture of "#ifdef HAVE_CONFIG_H" and "#if HAVE_CONFIG_H" checks. Judging from DEFS=-DHAVE_CONFIG_H in the configure I supposed it should be "#ifdef" in all cases. These incorrect checks cause build errors since it tries to include the config.h on a custom configuration, that doesn't provide one. I c...
2013 Jun 01
1
[PATCH] Add missing config.h includes
...ed, 60 insertions(+) diff --git a/src/libFLAC++/metadata.cpp b/src/libFLAC++/metadata.cpp index e03acf3..d6fff06 100644 --- a/src/libFLAC++/metadata.cpp +++ b/src/libFLAC++/metadata.cpp @@ -31,6 +31,10 @@ */ #define __STDC_LIMIT_MACROS 1 /* otherwise SIZE_MAX is not defined for c++ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "share/alloc.h" #include "FLAC++/metadata.h" #include "FLAC/assert.h" diff --git a/src/libFLAC++/stream_decoder.cpp b/src/libFLAC++/stream_decoder.cpp index 5d68c28..73c5608 100644 --- a/src/libFLAC++/stream_decoder....
2020 Jan 09
1
[common/libguestfs PATCH] utils: conditionally include config.h on HAVE_CONFIG_H
autotools define HAVE_CONFIG_H to signal a config.h was generated; since this file is built directly also in bindings without the use of config.h, make sure config.h is not requested in those cases. This file uses only POSIX functions anyway, so it should not be a problem. --- utils/stringlists-utils.c | 2 ++ 1 file changed,...
2017 Jan 28
2
[PATCH] Add missing HAVE_CONFIG_H guards
Hi, Attached patch adds some missing HAVE_CONFIG_H guards to some places in celt/arm. Please review. Thanks, --Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/opus/attachments/20170127/a56493d8/attachment.html> -------------- next part -------------- A non-text attachm...
2007 May 05
1
inline in Visual Studio 8
Actually, it looks like this is already done in Speex as of revision 7150 in SVN (7/15/2004). As long as HAVE_CONFIG_H is defined in the project settings (which it is in all of the project files in SVN), win32\config.h should be included, and this has #define inline __inline in it. Oleg - you should make sure HAVE_CONFIG_H is defined in your project settings. And, you didn't say which source file you were...
2014 Mar 24
2
#410 Incorrect HAVE_CONFIG_H checks
> Oliver St?neberg wrote: > > > Copying my report from sf.net: > > > > The source uses a mixture of "#ifdef HAVE_CONFIG_H" and "#if HAVE_CONFIG_H" > > checks. Judging from > > > > DEFS=-DHAVE_CONFIG_H > > > > in the configure I supposed it should be "#ifdef" in all cases. These incorrect > > checks cause build errors since it tries to include the config.h...
2013 Feb 07
0
[PATCH 3/4] xmms - Fix inline linking problems with old glib
...changed, 14 insertions(+), 19 deletions(-) diff --git a/src/plugin_xmms/charset.c b/src/plugin_xmms/charset.c index d2d39e9..2c5167f 100644 --- a/src/plugin_xmms/charset.c +++ b/src/plugin_xmms/charset.c @@ -20,9 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#if HAVE_CONFIG_H -# include <config.h> -#endif +#include "plugin.h" #include <stdlib.h> #include <glib.h> diff --git a/src/plugin_xmms/configure.c b/src/plugin_xmms/configure.c index af57f52..6b83435 100644 --- a/src/plugin_xmms/configure.c +++ b/src/plugin_xmms/configure.c @@ -21,9...
2017 Feb 15
0
[PATCH] Add missing HAVE_CONFIG_H guards
On Fri, Jan 27, 2017 at 7:39 PM, Michael Bradshaw <mjbshaw at google.com> wrote: > Attached patch adds some missing HAVE_CONFIG_H guards to some places in > celt/arm. Please review. > Hi again. Just following up to see if there are any additional changes that I should make to this patch. Without it, using Ne10 fails to build without a config.h file present. --Michael -------------- next part -------------- An HTML att...
2017 Feb 15
2
[PATCH] Add missing HAVE_CONFIG_H guards
...t to fix that directly rather than adding ifdefs. Cheers, Jean-Marc On 15/02/17 01:21 PM, Michael Bradshaw wrote: > On Fri, Jan 27, 2017 at 7:39 PM, Michael Bradshaw <mjbshaw at google.com > <mailto:mjbshaw at google.com>> wrote: > > Attached patch adds some missing HAVE_CONFIG_H guards to some places > in celt/arm. Please review. > > > Hi again. Just following up to see if there are any additional changes > that I should make to this patch. Without it, using Ne10 fails to build > without a config.h file present. > > --Michael > > >...
2017 Feb 15
0
[PATCH] Add missing HAVE_CONFIG_H guards
On Wed, Feb 15, 2017 at 10:45 AM, Jean-Marc Valin <jmvalin at jmvalin.ca> wrote: > Hi Michael, > > I guess the main issue here is that config.h is never actually supposed > to be included from a header file in the first place. So it might be > best to fix that directly rather than adding ifdefs. Thanks for the response. Attached patch removes the config.h include. I tested
2012 Dec 04
0
[PATCH] Update FSF address.
...dation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if HAVE_CONFIG_H diff --git a/src/flac/analyze.h b/src/flac/analyze.h index a4b2096..d571ecd 100644 --- a/src/flac/analyze.h +++ b/src/flac/analyze.h @@ -11,9 +11,9 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received...
2020 Jan 14
1
Re: [PATCH 6/7] python: stop including config.h
...e majority of the visible cases of this issue, there are still > potential issues: config.h defines a series of macros (_GNU_SOURCE, > __EXTENSIONS__, etc) that change the way things are built, and strictly > depend on the platform. > > > Could we instead defend these with #ifdef HAVE_CONFIG_H? That way the > > header shouldn't be used for PyPi and shouldn't need to be bundled (so > > patch #7 would be OK). > > I'll reverse the question: if building the standalone tarball works fine > with no config.h, why shouldn't the build-in-libguestfs do the sa...
2006 Oct 04
2
Crash in cb_search.c, line 414
...--enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug Thread model: win32 gcc version 3.4.5 (mingw special) Compile flags: DEFINES += NDEBUG WIN32 _WINDOWS HAVE_CONFIG_H VAR_ARRAYS VORBIS_PSYCHO CFLAGS: -O3 -march=pentium3 -mtune=pentium4 -mmmx -msse -fomit-frame-pointer -ffast-math -g -Wall SSE technically enabled in the compiler, but not used by libspeex. As for the CPU and the values of best_ntarget[j], I have no way to find out. I almost had to bully the e...
2020 Jan 10
2
Re: [PATCH 6/7] python: stop including config.h
...the motivation is because we cannot create this header correctly from PyPi so it'll be wrong there? I still think we might need this header when compiling libguestfs Python bindings in the normal (not PyPi) case, even if it happens to work right now. Could we instead defend these with #ifdef HAVE_CONFIG_H? That way the header shouldn't be used for PyPi and shouldn't need to be bundled (so patch #7 would be OK). Rich. > diff --git a/generator/python.ml b/generator/python.ml > index 0e1ed20d8..fd297321e 100644 > --- a/generator/python.ml > +++ b/generator/python.ml > @@ -119,...
2006 Apr 04
1
Error in pcm_wrapper.c release 1.1.12
...h Microsoft compiler. The first problem is the one mentioned above, and the second is absence of keyword 'inline' when compiling as C code (__inline__ must be used instead, may be with some #ifdef's/#define's?). Your project file should be using the win32/config.h header and define HAVE_CONFIG_H Jean-Marc
2004 Sep 10
2
autoheader failing?
...swamped lately. Just check it in on the trunk. Done. I ran a full make distclean/configure/make check cycle and everything worked for me. I haven't tested all possible combinations, though, so I may have missed a thing or two. Basically, all that should be necessary is to add some: #ifdef HAVE_CONFIG_H #include <config.h> #endif at the top of any file which needs the config stuff. -- - mdz
2020 Jun 11
1
Misc patches
...master on Windows 64 debug > builds on my setup. As most improvements comes from change intrin.h > the impact on other platforms will not be that much. I'm having a bit of an issue with the change to debug.h. I'm not sure exactly what you're trying to do, but the #ifdef HAVE_CONFIG_H #include "config.h" #endif should always be there (unconditionally) at the top of C files. Any reason you want to move an include before it and make it conditional? Cheers, Jean-Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://list...
2007 Dec 11
0
[PATCH] update symbian build
...LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +TARGET speexdsp.lib +TARGETTYPE lib +UID 0 +MACRO HAVE_CONFIG_H +SOURCEPATH ..\libspeex +SOURCE buffer.c fftwrap.c filterbank.c +SOURCE jitter.c kiss_fft.c kiss_fftr.c +SOURCE mdf.c preprocess.c resample.c smallft.c +USERINCLUDE . ..\include\speex +SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\include Index: symbian/bld....