--- embedaddon/libnet/libnet-config.in 2012/02/21 22:14:23 1.1.1.1 +++ embedaddon/libnet/libnet-config.in 2023/09/27 11:11:37 1.1.1.2 @@ -1,16 +1,24 @@ #!/bin/sh # -# $Id: libnet-config.in,v 1.1.1.1 2012/02/21 22:14:23 misho Exp $ -# # Libnet 1.1 libnet-config compilation script # (c) 1998 - 2004 Mike D. Schiffman # +# 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@ -libnet_defines="@LIBNET_CONFIG_DEFINES@" -libnet_cflags="@LIBNET_CONFIG_CFLAGS@" -libnet_libs="@LIBNET_CONFIG_LIBS@ -lnet" +prefix=@prefix@ +exec_prefix=@exec_prefix@ +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() { cat <