config root man

Current Path : /compat/linux/proc/68247/root/usr/local/bin/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/68247/root/usr/local/bin/libnet11-config

#!/bin/sh
#
#   $Id: libnet-config.in,v 1.3 2004/01/03 20:31:00 mike Exp $
#
#   Libnet 1.1 libnet-config compilation script
#   (c) 1998 - 2004  Mike D. Schiffman <mike@infonexus.com>
#
#   libnet-config.  Generated from libnet-config.in by configure.

libnet_defines="-DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN"
libnet_cflags=" -I/usr/local/include/libnet11"
libnet_libs=" -L/usr/local/lib/libnet11 -lnet"

usage()
{
        cat <<EOF
Usage: libnet-config [OPTIONS]
Options:
        [--libs]
        [--cflags]
        [--defines]
EOF
        exit
}

while test $# -gt 0; do
    case "$1" in
    -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
    *) optarg= ;;
    esac 

    case $1 in
        --libs)
            echo_libs=yes
            ;;

        --cflags)
            echo_cflags=yes
            ;;

        --defines)
            echo_defines=yes
            ;;
        *)
            usage 1
        esac
    shift
done

if test "$echo_libs" = "yes"; then
    echo $libnet_libs
fi

if test "$echo_cflags" = "yes"; then
    echo $libnet_cflags
fi

if test "$echo_defines" = "yes"; then
    echo $libnet_defines
fi

# EOF

Man Man