diff options
-rw-r--r-- | libnet-config.in | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/libnet-config.in b/libnet-config.in index da86f12..5596e31 100644 --- a/libnet-config.in +++ b/libnet-config.in @@ -1,15 +1,23 @@ #!/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> # +# 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}" +libnet_libs="-L${libdir} @PKG_CONFIG_LIBS@ -lnet" usage() { @@ -58,5 +66,3 @@ fi if test "$echo_defines" = "yes"; then echo $libnet_defines fi - -# EOF |