configure: move config.h to src/webp/config.h

this change has the side-effect of using directory names in the
include, silencing a lint warning.

Change-Id: Ib91cf63a90534e32fadfa5c2372bfdb29f854d02
This commit is contained in:
James Zern 2014-06-10 17:53:44 -07:00
parent 90090d99b5
commit 32b3137936
16 changed files with 17 additions and 15 deletions

2
.gitignore vendored
View File

@ -22,6 +22,8 @@ Makefile.in
examples/[cdv]webp
examples/gif2webp
examples/webpmux
src/webp/config.h*
src/webp/stamp-h1
/output
/doc/output
*.idb

View File

@ -459,7 +459,7 @@ AM_CONDITIONAL([BUILD_LIBWEBPDECODER], [test "$enable_libwebpdecoder" = "yes"])
dnl =========================
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_HEADERS([src/webp/config.h])
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile \
examples/Makefile src/dec/Makefile \
src/enc/Makefile src/dsp/Makefile \

View File

@ -1,4 +1,4 @@
AM_CPPFLAGS = -I$(top_srcdir)/src
AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
bin_PROGRAMS = dwebp cwebp
if BUILD_VWEBP

View File

@ -17,7 +17,7 @@
#include <string.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "webp/config.h"
#endif
#include "webp/encode.h"

View File

@ -17,7 +17,7 @@
#include <string.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "webp/config.h"
#endif
#ifdef WEBP_HAVE_PNG

View File

@ -17,7 +17,7 @@
#include <string.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "webp/config.h"
#endif
#ifdef WEBP_HAVE_GIF

View File

@ -12,7 +12,7 @@
#include "./jpegdec.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "webp/config.h"
#endif
#include <stdio.h>

View File

@ -12,7 +12,7 @@
#include "./pngdec.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "webp/config.h"
#endif
#include <stdio.h>

View File

@ -12,7 +12,7 @@
#include "./tiffdec.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "webp/config.h"
#endif
#include <stdio.h>

View File

@ -11,7 +11,7 @@
//
// Author: Skal (pascal.massimino@gmail.com)
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "webp/config.h"
#endif
#include <stdio.h>

View File

@ -46,7 +46,7 @@
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "webp/config.h"
#endif
#include <assert.h>

View File

@ -12,7 +12,7 @@
#include "./wicdec.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "webp/config.h"
#endif
#include <stdio.h>

View File

@ -11,7 +11,7 @@
//
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "../webp/config.h"
#endif
#include <assert.h>

View File

@ -15,7 +15,7 @@
#define WEBP_DSP_DSP_H_
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "../webp/config.h"
#endif
#include "../webp/types.h"

View File

@ -10,7 +10,7 @@
// Author: Jyrki Alakuijala (jyrki@google.com)
//
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "../webp/config.h"
#endif
#include <math.h>

View File

@ -15,7 +15,7 @@
#define WEBP_UTILS_THREAD_H_
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "../webp/config.h"
#endif
#ifdef __cplusplus