version 1.1.1.1, 2012/02/21 22:14:23
|
version 1.1.1.2, 2023/09/27 11:11:37
|
Line 1
|
Line 1
|
#!/bin/sh |
#!/bin/sh |
# |
# |
# $Id$ |
|
# |
|
# Libnet 1.1 libnet-config compilation script |
# Libnet 1.1 libnet-config compilation script |
# (c) 1998 - 2004 Mike D. Schiffman <mike@infonexus.com> |
# (c) 1998 - 2004 Mike D. Schiffman <mike@infonexus.com> |
# |
# |
|
# Kept for compatibility with existing projects. For new |
|
# projects, or those looking to upgrade, we recommend the |
|
# new pkg-config framework, libnet.pc. See the README.md |
|
# for details on how to use it. |
|
# |
# @configure_input@ |
# @configure_input@ |
|
|
libnet_defines="@LIBNET_CONFIG_DEFINES@" | prefix=@prefix@ |
libnet_cflags="@LIBNET_CONFIG_CFLAGS@" | exec_prefix=@exec_prefix@ |
libnet_libs="@LIBNET_CONFIG_LIBS@ -lnet" | libdir=@libdir@ |
| includedir=@includedir@ |
|
|
|
libnet_defines="@PKG_CONFIG_DEFINES@" |
|
libnet_cflags="-I${includedir} @PKG_CONFIG_CFLAGS@" |
|
libnet_libs="-L${libdir} @PKG_CONFIG_LIBS@ -lnet" |
|
|
usage() |
usage() |
{ |
{ |
cat <<EOF |
cat <<EOF |
Line 58 fi
|
Line 66 fi
|
if test "$echo_defines" = "yes"; then |
if test "$echo_defines" = "yes"; then |
echo $libnet_defines |
echo $libnet_defines |
fi |
fi |
|
|
# EOF |
|