From 8fb603979ccdd25e373c15e4bcd58c8a1d383d61 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 7 Jun 2009 17:54:01 -0700 Subject: [PATCH] At least with some C compilers, "-Lfoo" is not the same as "-L foo" - the former works, the latter doesn't. Close up the space between "-L" and the directory argument; do the same with "-I" while we're at it. --- pcap-config.in | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pcap-config.in b/pcap-config.in index a3c6e99..e560513 100644 --- a/pcap-config.in +++ b/pcap-config.in @@ -37,16 +37,16 @@ then # if [ "$show_cflags" = 1 -a "$show_libs" = 1 ] then - echo "-I @includedir@ -L @libdir@ -lpcap @LIBS@" + echo "-I@includedir@ -L@libdir@ -lpcap @LIBS@" elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ] then - echo "-I @includedir@ -L @libdir@ @LIBS@" + echo "-I@includedir@ -L@libdir@ @LIBS@" elif [ "$show_cflags" = 1 ] then - echo "-I @includedir@" + echo "-I@includedir@" elif [ "$show_libs" = 1 ] then - echo "-L @libdir@ -lpcap @LIBS@" + echo "-L@libdir@ -lpcap @LIBS@" elif [ "$show_additional_libs" = 1 ] then echo "@LIBS@" @@ -58,15 +58,15 @@ else # if [ "$show_cflags" = 1 -a "$show_libs" = 1 ] then - echo "-I @includedir@ -L @libdir@ -lpcap" + echo "-I@includedir@ -L@libdir@ -lpcap" elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ] then - echo "-I @includedir@" + echo "-I@includedir@" elif [ "$show_cflags" = 1 ] then - echo "-I @includedir@" + echo "-I@includedir@" elif [ "$show_libs" = 1 ] then - echo "-L @libdir@ -lpcap" + echo "-L@libdir@ -lpcap" fi fi