1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#! /bin/sh # # Script to give the appropriate compiler flags and linker flags # to use when building code that uses libpcap. # case "$1" in --cflags) echo "-I @includedir@" ;; --libs) echo "-L @libdir@ -lpcap @DEPLIBS@" ;; esac