Skip to content

Commit ccee954

Browse files
committed
Autoconf: Avoid incorrectly include the libpcap's config.h
Fix the problem when configure like following is done: ./configure CFLAGS='-I../libpcap -I.' This gives: CCOPT = -I../libpcap -I. -W -Wall [...] See also the GitHub bug report #1313. In Makefile.in, there is: INCLS = -I. @V_INCLS@ Put $(INCLS) first in FULL_CFLAGS.
1 parent 9beea81 commit ccee954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ DEFS = @DEFS@ @CPPFLAGS@ @V_DEFS@
4949

5050
# Standard CFLAGS
5151
CFLAGS = @CFLAGS@
52-
FULL_CFLAGS = $(CCOPT) $(DEFS) $(INCLS) $(CFLAGS)
52+
FULL_CFLAGS = $(INCLS) $(CCOPT) $(DEFS) $(CFLAGS)
5353

5454
# Standard LDFLAGS
5555
LDFLAGS = @LDFLAGS@

0 commit comments

Comments
 (0)