]> err.no Git - varnish/commitdiff
Use #include "config.h" instead of -include config.h
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 13 Feb 2008 13:55:39 +0000 (13:55 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 13 Feb 2008 13:55:39 +0000 (13:55 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2455 d4fa192b-c00b-0410-8231-f00ffab90ce4

99 files changed:
varnish-cache/bin/varnishadm/Makefile.am
varnish-cache/bin/varnishadm/varnishadm.c
varnish-cache/bin/varnishd/Makefile.am
varnish-cache/bin/varnishd/cache_acceptor.c
varnish-cache/bin/varnishd/cache_acceptor_epoll.c
varnish-cache/bin/varnishd/cache_acceptor_kqueue.c
varnish-cache/bin/varnishd/cache_acceptor_poll.c
varnish-cache/bin/varnishd/cache_backend.c
varnish-cache/bin/varnishd/cache_ban.c
varnish-cache/bin/varnishd/cache_center.c
varnish-cache/bin/varnishd/cache_cli.c
varnish-cache/bin/varnishd/cache_dir_random.c
varnish-cache/bin/varnishd/cache_dir_simple.c
varnish-cache/bin/varnishd/cache_expire.c
varnish-cache/bin/varnishd/cache_fetch.c
varnish-cache/bin/varnishd/cache_hash.c
varnish-cache/bin/varnishd/cache_http.c
varnish-cache/bin/varnishd/cache_httpconn.c
varnish-cache/bin/varnishd/cache_main.c
varnish-cache/bin/varnishd/cache_panic.c
varnish-cache/bin/varnishd/cache_pipe.c
varnish-cache/bin/varnishd/cache_pool.c
varnish-cache/bin/varnishd/cache_response.c
varnish-cache/bin/varnishd/cache_session.c
varnish-cache/bin/varnishd/cache_synthetic.c
varnish-cache/bin/varnishd/cache_vary.c
varnish-cache/bin/varnishd/cache_vcl.c
varnish-cache/bin/varnishd/cache_vrt.c
varnish-cache/bin/varnishd/cache_vrt_acl.c
varnish-cache/bin/varnishd/cache_vrt_esi.c
varnish-cache/bin/varnishd/cache_vrt_re.c
varnish-cache/bin/varnishd/cache_ws.c
varnish-cache/bin/varnishd/hash_classic.c
varnish-cache/bin/varnishd/hash_simple_list.c
varnish-cache/bin/varnishd/mgt_child.c
varnish-cache/bin/varnishd/mgt_cli.c
varnish-cache/bin/varnishd/mgt_event.c
varnish-cache/bin/varnishd/mgt_param.c
varnish-cache/bin/varnishd/mgt_vcc.c
varnish-cache/bin/varnishd/rfc2616.c
varnish-cache/bin/varnishd/shmlog.c
varnish-cache/bin/varnishd/stevedore.c
varnish-cache/bin/varnishd/storage_file.c
varnish-cache/bin/varnishd/storage_malloc.c
varnish-cache/bin/varnishd/tcp.c
varnish-cache/bin/varnishd/varnishd.c
varnish-cache/bin/varnishhist/Makefile.am
varnish-cache/bin/varnishhist/varnishhist.c
varnish-cache/bin/varnishlog/Makefile.am
varnish-cache/bin/varnishlog/varnishlog.c
varnish-cache/bin/varnishncsa/Makefile.am
varnish-cache/bin/varnishncsa/varnishncsa.c
varnish-cache/bin/varnishreplay/Makefile.am
varnish-cache/bin/varnishreplay/varnishreplay.c
varnish-cache/bin/varnishstat/Makefile.am
varnish-cache/bin/varnishstat/varnishstat.c
varnish-cache/bin/varnishtop/Makefile.am
varnish-cache/bin/varnishtop/varnishtop.c
varnish-cache/lib/libvarnish/Makefile.am
varnish-cache/lib/libvarnish/argv.c
varnish-cache/lib/libvarnish/assert.c
varnish-cache/lib/libvarnish/binary_heap.c
varnish-cache/lib/libvarnish/cli.c
varnish-cache/lib/libvarnish/cli_common.c
varnish-cache/lib/libvarnish/crc32.c
varnish-cache/lib/libvarnish/flopen.c
varnish-cache/lib/libvarnish/num.c
varnish-cache/lib/libvarnish/time.c
varnish-cache/lib/libvarnish/version.c
varnish-cache/lib/libvarnish/vpf.c
varnish-cache/lib/libvarnish/vsb.c
varnish-cache/lib/libvarnish/vss.c
varnish-cache/lib/libvarnish/vtmpfile.c
varnish-cache/lib/libvarnishapi/Makefile.am
varnish-cache/lib/libvarnishapi/base64.c
varnish-cache/lib/libvarnishapi/instance.c
varnish-cache/lib/libvarnishapi/shmlog.c
varnish-cache/lib/libvarnishcompat/Makefile.am
varnish-cache/lib/libvarnishcompat/asprintf.c
varnish-cache/lib/libvarnishcompat/daemon.c
varnish-cache/lib/libvarnishcompat/setproctitle.c
varnish-cache/lib/libvarnishcompat/srandomdev.c
varnish-cache/lib/libvarnishcompat/strlcat.c
varnish-cache/lib/libvarnishcompat/strlcpy.c
varnish-cache/lib/libvarnishcompat/strndup.c
varnish-cache/lib/libvarnishcompat/vasprintf.c
varnish-cache/lib/libvarnishcompat/vis.c
varnish-cache/lib/libvcl/Makefile.am
varnish-cache/lib/libvcl/vcc_acl.c
varnish-cache/lib/libvcl/vcc_action.c
varnish-cache/lib/libvcl/vcc_backend.c
varnish-cache/lib/libvcl/vcc_compile.c
varnish-cache/lib/libvcl/vcc_fixed_token.c
varnish-cache/lib/libvcl/vcc_gen_obj.tcl
varnish-cache/lib/libvcl/vcc_parse.c
varnish-cache/lib/libvcl/vcc_string.c
varnish-cache/lib/libvcl/vcc_token.c
varnish-cache/lib/libvcl/vcc_var.c
varnish-cache/lib/libvcl/vcc_xref.c

index 0efdd23c181a60e65d333930da5a29815355441d..f410a0799507d3d9a3d071d61866b731661db041 100644 (file)
@@ -8,8 +8,6 @@ dist_man_MANS = varnishadm.1
 
 varnishadm_SOURCES = \
        varnishadm.c
-       
-varnishadm_CFLAGS = -include config.h
 
 varnishadm_LDADD = \
        $(top_builddir)/lib/libvarnish/libvarnish.la \
index 000564e5acc0cbaba61ced5516db99493ad6da42..1031170b3c34e0f2e1fdd4f119312dff8ee94fd8 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
index 4e4bbede2c37effff64ab9279f3200df2cf375c9..fae571db2119994b8b8ce571b1cf36006fbbe3f9 100644 (file)
@@ -64,7 +64,7 @@ noinst_HEADERS = \
        steps.h \
        stevedore.h
 
-varnishd_CFLAGS = -include config.h \
+varnishd_CFLAGS = \
         -DVARNISH_STATE_DIR='"${VARNISH_STATE_DIR}"'
 
 varnishd_LDFLAGS = -export-dynamic
index 71bb015e0073d6bd8cb28232c18537f3d6dcebaa..a6b778f470336468b20b6341f8d6638614a6d9e1 100644 (file)
@@ -33,6 +33,8 @@
  * write the session pointer to a pipe which the event engine monitors.
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <errno.h>
 #include <poll.h>
index b09200d0b5ab3225ca38e4898dee490c677ee5fc..395a44748bc72610073ca7667bc758e645a1e441 100644 (file)
@@ -31,6 +31,8 @@
  * write the session pointer to a pipe which the event engine monitors.
  */
 
+#include "config.h"
+
 #if defined(HAVE_EPOLL_CTL)
 
 #include <stdio.h>
index ea5808d0740305ea32cc7b010db4ba05646510f3..41933a20a0e1df6acc1361923a2b1aa3058d2af9 100644 (file)
@@ -33,6 +33,8 @@
  * write the session pointer to a pipe which the event engine monitors.
  */
 
+#include "config.h"
+
 #if defined(HAVE_KQUEUE)
 
 #include <stdio.h>
index de2fd511aae2a711a89bf1fba928f30ea6884798..2fdf2a97a3dd212e998e1534b7424bb8e3f2eb35 100644 (file)
@@ -30,6 +30,8 @@
  *
  */
 
+#include "config.h"
+
 #if defined(HAVE_POLL)
 
 #include <stdio.h>
index a84931709858e772793f99507331e0cc3b7313e3..81820e58549de5ca1499061065ba2fe7c9c1d6e0 100644 (file)
@@ -66,6 +66,8 @@
  *
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 5cf25474dfd54255de69806d54df897bf28391fe..f88075e9b89f85d8b2cf8b572b45949d0f3393d5 100644 (file)
@@ -31,6 +31,8 @@
  * Ban processing
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 
 #include <stdlib.h>
index 8a1929a1ea1b2f940348b7bc8b83a7642c9fcd2e..a30d2dea8d2f8a338a61380b137871cf4aac3f32 100644 (file)
@@ -56,6 +56,8 @@ DOT ERROR [shape=plaintext]
 DOT acceptor -> start [style=bold,color=green,weight=4]
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <errno.h>
 #include <math.h>
index 0da5737ba484c00204ab6368f9198b2b31259827..12762920bd30c3f6884199ea5197235be112e5f0 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <errno.h>
 #include <stdlib.h>
index 9904231994d4c9a12eb8549a98bcfa3b1b1749d8..25abe586ef7e14800f9769067c22bb60a65aad98 100644 (file)
@@ -30,6 +30,8 @@
  *
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/socket.h>
 
index 227f7cdc28f24302daa8682c3182190b67cc3a74..5cc5131309619fcd9534dd9141149fe05fe8f30a 100644 (file)
@@ -30,6 +30,8 @@
  *
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/socket.h>
 
index 5bb3aa8e5a33368b7e196bb901754c22852310fa..186188e28e5f94af39b7ef3fc0a6720b452bda80 100644 (file)
@@ -38,6 +38,8 @@
  * XXX: are ready.
  */
 
+#include "config.h"
+
 #include <unistd.h>
 #include <stdio.h>
 #include <string.h>
index 929fe773fef75c5a9c8b812df11e66701eea03c7..0928ef94b7f72ee80dbff52b0d010f6b0011a09d 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <inttypes.h>
 #include <string.h>
index 85a9da146e9a82fe85a2028b2222b7396cd304dd..a1ff391b72cc35344a46ac48cf2b83277076915a 100644 (file)
@@ -52,6 +52,8 @@
  * not busy only once.
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 78c260857a400ef8744d4171eb5d7c2d6df660c8..ea7e4db705de6ba7295033c261385a61f55f9848 100644 (file)
@@ -31,6 +31,8 @@
  * HTTP request storage and manipulation
  */
 
+#include "config.h"
+
 #include <ctype.h>
 #include <errno.h>
 #include <unistd.h>
index 7b410c60dfcfd74cc1683e899a6037c3e5a115c4..dae3f49533e2b15316b221c90456183224954c85 100644 (file)
@@ -31,6 +31,8 @@
  * HTTP protocol requests
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
index b3cb169465d01b177faa171e13b6e489a2280291..d7c86289d5448bb3d70532075d614515ad69fee5 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <unistd.h>
 #include <stdlib.h>
index 83d10bb52b8df2dc931e3c193575075a043a6ea2..f2c6d97ce804d132bfdd9bbde86e059cc4faa5f3 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <signal.h>
 #include <stdarg.h>
 #include <stdio.h>
index ea95123be7d982b77e13a2b3c9e5d754af38f91d..c5d02033636a798a85cbc941a47bc59bf44631af 100644 (file)
@@ -31,6 +31,8 @@
  * XXX: charge bytes to srcaddr
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>
index 90edfe2ea5956159efadf84b45a19b7644828417..2e569c5788a80bf0333fd518adb4b437c49c3633 100644 (file)
@@ -31,6 +31,8 @@
  * XXX: automatic thread-pool size adaptation.
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/uio.h>
 
index aa4021f80d1c7f8e4350465064f0e13cf125e348..b341ef166c93a0c0a8531f23452d5ac75d584117 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/time.h>
 
index 42dd94bbffeed19596ad87aec657a81a519ffc86..2a085f3a79b1d1433d115ace5758a645f0bc15cf 100644 (file)
@@ -48,6 +48,8 @@
  * XXX: we still have to do the source-addr lookup.
  */
 
+#include "config.h"
+
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>
index 0585de569e800dd5e0bfa2715f7629c82c43bee8..0b177a12ee4056d0c37bf9ac783c5a7b1729a1f3 100644 (file)
@@ -28,6 +28,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/time.h>
 
index 398a2911110a7da2771356cb3ebbe3fe3c22c9e4..94eea72176a2c1d0e2c0fbd1bd40f315cc8f9fee 100644 (file)
@@ -54,6 +54,8 @@
  *      '\0'
  */
 
+#include "config.h"
+
 #include <ctype.h>
 #include <string.h>
 #include <stdlib.h>
index a2ae4b9d4a02be1a643fcde2d3f6653082be0323..b0cf289f95c27b39b8ca01f8ffaa2f07b2d67589 100644 (file)
@@ -33,6 +33,8 @@
  * The interface *from* the compiled VCL code is in cache_vrt.c.
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>
index 503b7a788f14dfdd974b1dfdf609001c3fc53fa6..1a40b34d44bed8c0ef4dffc20a8d889e6fcf043a 100644 (file)
@@ -31,6 +31,8 @@
  * Runtime support for compiled VCL programs
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/socket.h>
 
index a5db45d305ba097d701df788acef46edba869710..55dab36ac044cf2a124c72b8929bcd5501032eeb 100644 (file)
@@ -34,6 +34,8 @@
  * XXX: a refresh facility.
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 
 #include <stdio.h>
index 5e26a6d106a30775c1fd13b8147f72064d666482..6c4234cdf88413a31b00768a3ca5c1dfa2b551a2 100644 (file)
@@ -40,6 +40,8 @@
  * hanging, esi:include
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <unistd.h>
 #include <ctype.h>
index 37a3a193a7cc76500a1d4f5f8e272e93cdc3ccfa..c3c84d462028de892f05e001fad7d83d63e7a1eb 100644 (file)
@@ -31,6 +31,8 @@
  * Runtime support for compiled VCL programs, regexps
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 
 #include <stdio.h>
index 46a0d0c97341cec50d0595fd0ebdb92afe1ea6e4..728b5e75a72d999e94c2149b32e3bbf6a88db023 100644 (file)
@@ -30,6 +30,8 @@
  *
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/uio.h>
 
index 25ee408a971d5b00de44746c72af48ef2ec12e5c..fac93f8c7527e6ad9acf5c51f805ab94e62087c4 100644 (file)
@@ -31,6 +31,8 @@
  * A classic bucketed hash
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 8faf2127f27907daae99940b402c2de703a01296..7d13cb27f631f92e59e25e99118d63251f2ca884 100644 (file)
@@ -31,6 +31,8 @@
  * This is the reference hash(/lookup) implementation
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 
 #include <stdio.h>
index 335df6d80b05b17ff5143bd69447b98fa24f5fce..1c2f437581cd6fb3fae12e045f949ee9441a2157 100644 (file)
@@ -31,6 +31,8 @@
  * The mechanics of handling the child process
  */
 
+#include "config.h"
+
 #include <unistd.h>
 #include <stdio.h>
 #include <string.h>
index c607f40e666a015d49e2af4ae594b6ef13ae0686..a68e7b9c4ec8e4142286a5f638b85fb2a94856c7 100644 (file)
@@ -31,6 +31,8 @@
  * The management process' CLI handling
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 
 #include <stdarg.h>
index aee8b5713235219c7e1b09ad4bb4bdfeae8d07a5..f1264fa8bf5a660ba439b5c672c0a145e6a20811 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <errno.h>
 #include <poll.h>
index b4873886eb415e61234ff48636d9dc09654b6964..5d99c1cfae5e3d191b57a7c62e33210e647b3805 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/stat.h>
 
index 321715b74f87b3719813539a17717dd35f574467..199edc8c8586d9595d0d4bce54ceb9508567f756 100644 (file)
@@ -31,6 +31,8 @@
  * VCL compiler stuff
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/wait.h>
 
index 31ddc1026f26beeec4c7e6b7dcdc77ff9ae53845..4ab8c5d2d7bd7e480e30f8f2c933470460ea510f 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 
 #include <stdio.h>
index 9a42c7c23c333a67ee92a72edbd66f097d9280d8..821ed8d1e9915237dff3753e0f67fc536e4ab3f5 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
index ce67f5312e8bf05c6cbcffa3ae9f1ef803ca786f..ed25af275b5c5a77be5c2af40551a5efb650fc25 100644 (file)
@@ -28,6 +28,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 834ebb992507ad4dbb447ff953d7b11db1f33bd7..ce772374413878381ec856bd0a8dfcd1f1fb82e4 100644 (file)
@@ -31,6 +31,8 @@
  * Storage method based on mmap'ed file
  */
 
+#include "config.h"
+
 #include <sys/param.h>
 #include <sys/mman.h>
 #include <sys/socket.h>
index df2e263ff4a23534aea3f1725b4c53be6abc65ad..db4a808027146d878ecbf9a2aefd60c90f3ae73c 100644 (file)
@@ -31,6 +31,8 @@
  * Storage method based on malloc(3)
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 
 #include <stdlib.h>
index 52d557fa04663f670ff94c677ce1637115363bd2..b8526b511b13bd01ed38c5510496ae494582e24e 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/socket.h>
 
index 3dc8e7f4af9e3647b423aa073d833c1dd35758e3..2ebd122a0c33718b1c281922159a559e9815bab5 100644 (file)
@@ -31,6 +31,8 @@
  * The management process and CLI handling
  */
 
+#include "config.h"
+
 #include <sys/stat.h>
 
 #include <ctype.h>
index 6f65f7e84bbef61e0f2bee1702a95b8a233aeca6..1f421959fb62f98a0b20f755e25490e7375ac7ca 100644 (file)
@@ -8,8 +8,6 @@ dist_man_MANS = varnishhist.1
 
 varnishhist_SOURCES = varnishhist.c
 
-varnishhist_CFLAGS = -include config.h
-
 varnishhist_LDADD = \
        $(top_builddir)/lib/libvarnish/libvarnish.la \
        $(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
index 6d589c7fd687b9ab4fe517f29d9ede4e345c933f..838f8d34b34aa15bf697488d7fb063142de25974 100644 (file)
@@ -32,6 +32,8 @@
  * Log tailer for Varnish
  */
 
+#include "config.h"
+
 #include <curses.h>
 #include <errno.h>
 #include <limits.h>
index 6901cf7cba021959f930f90eb9ac48cd2f8e2caf..11d025e3a9512df0fae79bbda59c149a0b617ee4 100644 (file)
@@ -8,8 +8,6 @@ dist_man_MANS = varnishlog.1
 
 varnishlog_SOURCES = varnishlog.c
 
-varnishlog_CFLAGS = -include config.h
-
 varnishlog_LDADD = \
        $(top_builddir)/lib/libvarnish/libvarnish.la \
        $(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
index f906fe70c8f2deeabc65b91c31925286c42dcd23..3152dd4fc3067f3e8815e5ba49bd5c02f8d575c3 100644 (file)
@@ -31,6 +31,8 @@
  * Log tailer for Varnish
  */
 
+#include "config.h"
+
 #include <errno.h>
 #include <fcntl.h>
 #include <regex.h>
index 2103090fdf15c7f1d3b61beda0c1c000bba294fd..48366b4874c1e5c09f156e4c4077253ed157b114 100644 (file)
@@ -8,8 +8,6 @@ dist_man_MANS = varnishncsa.1
 
 varnishncsa_SOURCES = varnishncsa.c
 
-varnishncsa_CFLAGS = -include config.h
-
 varnishncsa_LDADD = \
        $(top_builddir)/lib/libvarnish/libvarnish.la \
        $(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
index 905c061ddf82bd3a0a4f82641139c04f8b322fac..39993135eec4bcf4b6766288b303d63226b6d038 100644 (file)
@@ -59,6 +59,8 @@
  *             - Maybe rotate/compress log
  */
 
+#include "config.h"
+
 #include <ctype.h>
 #include <errno.h>
 #include <signal.h>
index bef4a6fb2f04bf1b67dccae681737055c6a5e77e..a7e4b8a0306483749f7a1a9e0e944e3ec9a8997a 100644 (file)
@@ -8,8 +8,6 @@ dist_man_MANS = varnishreplay.1
 
 varnishreplay_SOURCES = \
        varnishreplay.c
-       
-varnishreplay_CFLAGS = -include config.h
 
 varnishreplay_LDADD = \
        $(top_builddir)/lib/libvarnish/libvarnish.la \
index 09fe44869b2a52ec600985f96c2c68c10eb54b1d..043de39c4eee6976a9f374c25b4aa5e12ea0996e 100644 (file)
@@ -28,6 +28,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <ctype.h>
 #include <errno.h>
 #include <fcntl.h>
index 647ecb462626c5c9f00e15177916b7d33acbaa31..7bc1c964b1e369636cb2b9a5d2ada96b0dfc5577 100644 (file)
@@ -8,8 +8,6 @@ dist_man_MANS = varnishstat.1
 
 varnishstat_SOURCES = varnishstat.c
 
-varnishstat_CFLAGS = -include config.h
-
 varnishstat_LDADD = \
        $(top_builddir)/lib/libvarnish/libvarnish.la \
        $(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
index 9c95ab4c88cd61ff85c687b353422e919577346c..71e493729f05d354bf5863f777c8cc018905e763 100644 (file)
@@ -32,6 +32,8 @@
  * Log tailer for Varnish
  */
 
+#include "config.h"
+
 #include <sys/time.h>
 
 #include <curses.h>
index 618892ae74247d71d11bd8043cecae3e09e86b20..8d0291a0651e8fec6f3a52b3d6273fcdfaf625a5 100644 (file)
@@ -8,8 +8,6 @@ dist_man_MANS = varnishtop.1
 
 varnishtop_SOURCES = varnishtop.c
 
-varnishtop_CFLAGS = -include config.h
-
 varnishtop_LDADD = \
        $(top_builddir)/lib/libvarnish/libvarnish.la \
        $(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
index 56d8c8197a1326361c18d02c471b77ec2a7212fa..bcc45be2c8a814202de149dc198e2607d763ef62 100644 (file)
@@ -32,6 +32,8 @@
  * Log tailer for Varnish
  */
 
+#include "config.h"
+
 #include <ctype.h>
 #include <curses.h>
 #include <errno.h>
index b035203ff6fbe1363f377add590585410fc17122..692a485c6fdd66d0477b268e1e26d9ea0d0247ce 100644 (file)
@@ -20,8 +20,6 @@ libvarnish_la_SOURCES = \
        vss.c \
        vtmpfile.c
 
-libvarnish_la_CFLAGS = -include config.h
-
 libvarnish_la_LIBADD = ${RT_LIBS} ${NET_LIBS}
 
 TESTS = num_c_test
index 8cac45bdc3a7fdd7f7e6fad9551cdf8881cb4d1e..f5b6ea8bbac64a2b903bbbf9c6a6436a847f37e9 100644 (file)
@@ -38,6 +38,8 @@
  *
  */
 
+#include "config.h"
+
 #include <ctype.h>
 #include <stdlib.h>
 #include <stdio.h>
index f715cc74653714fa376fc119c9b93da6e59dc25c..b9ea7399b03a3e88464a4b9ca8283885ae3c079d 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 3ec0f9ccc94e42fccf84e0cebfdee2851ba450de..1b0a63224ddfa774b8e3a00dfb6e87aa792689db 100644 (file)
@@ -36,6 +36,8 @@
  * XXX: the array is not scaled back when items are deleted.
  */
 
+#include "config.h"
+
 #include <unistd.h>
 #include <stdlib.h>
 
index 3f6f8c004324626f7b0d9316bbd4399b7a5415c1..7827d34a60a33e07aac35531d00675419b0d54a3 100644 (file)
@@ -31,6 +31,8 @@
  * Stuff for handling the CLI protocol
  */
 
+#include "config.h"
+
 #include <ctype.h>
 #include <string.h>
 #include <stdio.h>
index f921013785f252a38a4754f3eaaf18e3c51519be..d375428d465407aa0f9e8897df1d1e012aabfc9c 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/uio.h>
 
index 358349682800a33672fc8d7fdfe347f8273f0df3..883439d6338b883ef0d3ba6c8f9f4b99f8105926 100644 (file)
@@ -31,6 +31,8 @@
  * This CRC32 implementation is in the public domain.
  */
 
+#include "config.h"
+
 #include "libvarnish.h"
 
 /*--------------------------------------------------------------------*/
index f180b999d6f516afb3a102ab24f1505fd2d3eaf9..98eb95ae881af5e1f22d810c2954bdf03bc510ca 100644 (file)
@@ -29,6 +29,8 @@
  * $FreeBSD: src/lib/libutil/flopen.c,v 1.7 2007/05/23 12:09:33 des Exp $
  */
 
+#include "config.h"
+
 #include <sys/file.h>
 #include <sys/stat.h>
 
index bf16f0c868d6045b4d849c14970ab37dbed8ae04..517619a13d73f025526b5202217c0085e500ccbe 100644 (file)
@@ -30,6 +30,8 @@
  * Deal with numbers with data storage suffix scaling
  */
 
+#include "config.h"
+
 #include <math.h>
 #include <stdio.h>
 #include <stdlib.h>
index c8cbb24019aef44ad9233ab8be89ae2ed9c3fde8..8061c8c8511ddbc16516296afccae1c11aeaa3f9 100644 (file)
@@ -46,6 +46,8 @@
  *
  */
 
+#include "config.h"
+
 #include <sys/time.h>
 
 #include <stdio.h>
index 1530b743d2af8bcc482609e9d5ac72a916dae762..f1ffa47d7635eb765a98927c83e300826c97a917 100644 (file)
@@ -31,6 +31,8 @@
  * Display a standardized version message.
  */
 
+#include "config.h"
+
 #include <stdio.h>
 
 #include "libvarnish.h"
index 17e245724642a7b9dfce6003818630a85f1303e2..72e9bed9b43a3ee1e1216e6af68cc0a4f8a837db 100644 (file)
@@ -28,6 +28,8 @@
  * $FreeBSD: src/lib/libutil/pidfile.c,v 1.5 2007/05/11 11:10:05 des Exp $
  */
 
+#include "config.h"
+
 #include <sys/param.h>
 #include <sys/file.h>
 #include <sys/stat.h>
index 998b80ff8cb261f5f96e220c9e02f8bdd9d1bdfe..8c96f1e66bacd010eba7a057d17c9ee299a4b651 100644 (file)
@@ -29,6 +29,8 @@
  * $FreeBSD: src/sys/kern/subr_sbuf.c,v 1.30 2005/12/23 11:49:53 phk Exp $
  */
 
+#include "config.h"
+
 #include <ctype.h>
 #include <stdarg.h>
 #include <stdio.h>
index 03d96ead9977036de5cf57bb0686b8fa762cdbe5..2bfff35e8929721126e1399b53914f78a573930e 100644 (file)
@@ -30,6 +30,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/socket.h>
 
index ec0aa530f57fd11c2620c49ef1b75d02e36c916c..ae64be32bbb029aa33931e0bb7f9194acc282a4a 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
index 5a6114a44e3c8bef89c45a818a7edf7a1c4faae9..6973fcdaf26f4c3659107bbdd059f7e76c1b5c91 100644 (file)
@@ -9,5 +9,5 @@ libvarnishapi_la_SOURCES = \
        instance.c \
        shmlog.c
 
-libvarnishapi_la_CFLAGS = -include config.h \
+libvarnishapi_la_CFLAGS = \
        -DVARNISH_STATE_DIR='"${VARNISH_STATE_DIR}"'
index b4d3a90644b14d7624e0d0a74703f7cd198d51af..4506ba48feeb83b7f9c1896f958c646b142121da 100644 (file)
@@ -6,6 +6,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <stdint.h>
 #include "varnishapi.h"
index 93906ba6ccec77fedc2228047f89d2dff1c700eb..f75d20f44670c9f0ef227ed2647050a8e779b1ab 100644 (file)
@@ -28,6 +28,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <errno.h>
 #include <stdio.h>
 #include <unistd.h>
index ce6f6e75bbe79d8cb242bc5468c29898886c1489..7311aa9ba8675f5ed35033b9baa4a98dddc0a7a9 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/mman.h>
 
index 07a4ebdae2ba0a9c43c18c9a8a95d0c2d09cd0a0..83390a6333fb4002512ac275e409ba6f9830624f 100644 (file)
@@ -14,5 +14,3 @@ libvarnishcompat_la_SOURCES = \
        strlcpy.c \
        strndup.c \
        vis.c
-
-libvarnishcompat_la_CFLAGS = -include config.h
index eb41ce8b1c3f344036206de577e82b47ef37b5f6..551bebe848e9529fe4144c74bffa9b3ef5e29e90 100644 (file)
@@ -30,6 +30,8 @@
  *
  */
 
+#include "config.h"
+
 #ifndef HAVE_ASPRINTF
 
 #include <stdarg.h>
index a1c5f3b44521575bb0cb3257fd7f54684857b981..cac5d6e17d13003465f9d8b5fcb1ccf82c475cd5 100644 (file)
@@ -31,6 +31,8 @@
  * $FreeBSD: src/lib/libc/gen/daemon.c,v 1.8 2007/01/09 00:27:53 imp Exp $
  */
 
+#include "config.h"
+
 #ifndef HAVE_DAEMON
 
 #include <errno.h>
index f863f977363d162daba7d2cd0c24102e2e882114..6fdda48e8481e1ba6ecb530ea4e63152a1d9288c 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #ifndef HAVE_SETPROCTITLE
 
 #include <stdarg.h>
index c21bf6ec70a6963c45041c87b8a384effe464cbe..b1d3ecc99aba7576bd6b0bc2da399c06cba4ba3a 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #ifndef HAVE_SRANDOMDEV
 
 #include <sys/time.h>
index 3dd45f877b44ae246fadbea3b2a6ba9f9516b9fa..c68767d93a3391d6d518f76b23cdb05404406201 100644 (file)
@@ -17,6 +17,8 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "config.h"
+
 #ifndef HAVE_STRLCAT
 
 #include <sys/types.h>
index c8c5109b4a51855fdf24bfb9f8a9c645423d7218..d7903eb49d30b036808e55e02872afa6d46bb33b 100644 (file)
@@ -17,6 +17,8 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "config.h"
+
 #ifndef HAVE_STRLCPY
 
 #include <sys/types.h>
index 219cc00c033f53341018d61585d4d691896a4f98..f5c2bc73e3d96722a0988a3bb757fc9dded8b1e2 100644 (file)
@@ -30,6 +30,8 @@
  *
  */
 
+#include "config.h"
+
 #ifndef HAVE_STRNDUP
 
 #include <stdlib.h>
index b86971c0fdb909e33310696acc77dbed859ec51a..12cd215ece766b0a1a03ae8ad33fb6560f26d825 100644 (file)
@@ -30,6 +30,8 @@
  *
  */
 
+#include "config.h"
+
 #ifndef HAVE_VASPRINTF
 
 #include <stdarg.h>
index 82303bc3b408d4461199429de9059cca2fd99472..4668dfba9f917d371cef0158b542b01e5902b964 100644 (file)
@@ -31,6 +31,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #if !defined(HAVE_VIS) || !defined(HAVE_STRVIS) || !defined(HAVE_STRVISX)
 
 #include <sys/types.h>
index 4c0a42572b1761608e7a6d7db24be2b43b1b0300..140ab27d77a7495af1e025afbfac32b986b64773 100644 (file)
@@ -20,5 +20,3 @@ libvcl_la_SOURCES = \
        vcc_token.c \
        vcc_var.c \
        vcc_xref.c
-
-libvcl_la_CFLAGS = -include config.h
index 7cf0acdd11840bded8b28c0fcf835b2ab2ab4506..00d4d13ec2440712f732cf5fb2d5f6a46ad515b7 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 29062e42553eb63031720ee52f6ff584d7c2b3ea..ebe8f447c73e1d40ded2cab4614bc8e04e93b666 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <stdio.h>
 
 #include "vsb.h"
index 84cef5cc93417924a117996e7d3cc605aa5d0f5f..7c5f11878f4d843fbc84993adc25ab190b915c2e 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/socket.h>
 
index 9416452c90b4134d6671c17a93aea4f6a8166c63..e4f8dbd62c0661f680f89909ad5305856f290aee 100644 (file)
@@ -60,6 +60,8 @@
  *     and all the rest...
  */
 
+#include "config.h"
+
 #include <sys/stat.h>
 
 #include <ctype.h>
index e69da52a502e4d8d64bc2e5361dce6b4e8053b24..aa1d974d60408aaab515f881aa3279af799c72f0 100644 (file)
@@ -6,6 +6,8 @@
  * Edit vcc_gen_fixed_token.tcl instead
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <ctype.h>
 #include "vcc_priv.h"
index 45c8d4eee3275ca26a2f325baba6ea28768a6ae7..3a77f59734c23f84fc8743fce9f6644e2f0b6e95 100755 (executable)
@@ -305,6 +305,7 @@ proc vars {v pa} {
        puts $fo "\t{ NULL }"
 }
 
+puts $fo "#include \"config.h\""
 puts $fo "#include <stdio.h>"
 puts $fo "#include \"vcc_compile.h\""
 puts $fo ""
index 0954ad98204072623ddc9d53cc3532f34e3910b6..09cd6c492a7f2ee995307b5344fbf54ea0c6bd4b 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <string.h>
 
index 7fe4efbf44a06a4353c135e05952cd5411e6aa16..25d3c53db98745b6d423b1a552a93c42a4c0628e 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <string.h>
 
index b04b460d55fad690af93aac322b140d90ea94e6e..68e4bbd39d3b194fb013f77c7b1f78495a8b228c 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
index 32b0393f60da80a29e76faff49faa273f18338a3..66a4f211c760caf75050a3193385357dd1da48df 100644 (file)
@@ -29,6 +29,8 @@
  * $Id$
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <string.h>
 
index f935d114d8746292ec891f1201ee438c229543db..ab2be5ac37c758481728649de2a8189a9d97711e 100644 (file)
@@ -39,6 +39,8 @@
  * they are called.
  */
 
+#include "config.h"
+
 #include <stdio.h>
 
 #include "vsb.h"