dect
/
libpcap
Archived
13
0
Fork 0

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.
This commit is contained in:
Guy Harris 2009-06-07 17:54:01 -07:00
parent af3676461d
commit 8fb603979c
1 changed files with 8 additions and 8 deletions

View File

@ -37,16 +37,16 @@ then
# #
if [ "$show_cflags" = 1 -a "$show_libs" = 1 ] if [ "$show_cflags" = 1 -a "$show_libs" = 1 ]
then then
echo "-I @includedir@ -L @libdir@ -lpcap @LIBS@" echo "-I@includedir@ -L@libdir@ -lpcap @LIBS@"
elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ] elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ]
then then
echo "-I @includedir@ -L @libdir@ @LIBS@" echo "-I@includedir@ -L@libdir@ @LIBS@"
elif [ "$show_cflags" = 1 ] elif [ "$show_cflags" = 1 ]
then then
echo "-I @includedir@" echo "-I@includedir@"
elif [ "$show_libs" = 1 ] elif [ "$show_libs" = 1 ]
then then
echo "-L @libdir@ -lpcap @LIBS@" echo "-L@libdir@ -lpcap @LIBS@"
elif [ "$show_additional_libs" = 1 ] elif [ "$show_additional_libs" = 1 ]
then then
echo "@LIBS@" echo "@LIBS@"
@ -58,15 +58,15 @@ else
# #
if [ "$show_cflags" = 1 -a "$show_libs" = 1 ] if [ "$show_cflags" = 1 -a "$show_libs" = 1 ]
then then
echo "-I @includedir@ -L @libdir@ -lpcap" echo "-I@includedir@ -L@libdir@ -lpcap"
elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ] elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ]
then then
echo "-I @includedir@" echo "-I@includedir@"
elif [ "$show_cflags" = 1 ] elif [ "$show_cflags" = 1 ]
then then
echo "-I @includedir@" echo "-I@includedir@"
elif [ "$show_libs" = 1 ] elif [ "$show_libs" = 1 ]
then then
echo "-L @libdir@ -lpcap" echo "-L@libdir@ -lpcap"
fi fi
fi fi