Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

neon-config(1) [centos man page]

NEON-CONFIG(1)							neon API reference						    NEON-CONFIG(1)

NAME
neon-config - script providing information about installed copy of neon library SYNOPSIS
neon-config [--prefix] [[--cflags] | [--libs] | [--la-file] | [--support feature] | [--help] | [--version]] DESCRIPTION
The neon-config script provides information about an installed copy of the neon library. The --cflags and --libs options instruct how to compile and link an application against the library; the --version and --support options can help determine whether the library meets the applications requirements. OPTIONS
--cflags Print the flags which should be passed to the C compiler when compiling object files, when the object files use neon header files. --libs Print the flags which should be passed to the linker when linking an application which uses the neon library --la-file Print the location of the libtool library script, libneon.la, which can be used to link against neon by applications using libtool. --version Print the version of the library --prefix dir If dir is given; relocate output of --cflags and --libs as if neon was installed in given prefix directory. Otherwise, print the installation prefix of the library. --support feature The script exits with success if feature is supported by the library. --help Print help message; includes list of known features and whether they are supported or not. EXAMPLE
Below is a Makefile fragment which could be used to build an application against an installed neon library, when the neon-config script can be found in $PATH. CFLAGS = `neon-config --cflags` LIBS = `neon-config --libs` OBJECTS = myapp.o TARGET = myapp $(TARGET): $(OBJECTS) $(CC) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) myapp.o: myapp.c $(CC) $(CFLAGS) -c myapp.c -o myapp.o AUTHOR
Joe Orton <neon@lists.manyfish.co.uk> Author. COPYRIGHT
neon 0.30.0 31 July 2013 NEON-CONFIG(1)

Check Out this Related Man Page

libgcrypt-config(1)						   User Commands					       libgcrypt-config(1)

NAME
libgcrypt-config - helper script for building with libgcrypt SYNOPSIS
libgcrypt-config [--version] [--prefix=dir] [--cflags] [--libs] [--exec-prefix=dir] [--api-version] [--algorithms] DESCRIPTION
The libgcrypt-config tool is used to determine the compiler and linker flags that should be used to compile and link programs that use the libgcrypt library. OPTIONS
The following options are supported: --cflags Print the compiler flags that are necessary to compile a program using the specified library. --exec-prefix=dir If specified, use dir instead of the exec installation prefix that the library was built with, when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. --libs Print the linker flags that are necessary to link with the specified library. --prefix=dir If specified, use dir instead of the installation prefix that the library was built with, when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. This option is also used for the exec prefix if the --exec-prefix option is not specified. --version Print the currently installed version of the library on the standard output. --api-version Print the currently installed version of the api on the standard output. --algorithms Print the currently installed algorithms the library contains on the standard output. EXAMPLES
Example 1: Getting the libgcrypt library version example% libgcrypt-config --version Example 2: Determining the libraries required to link with the libgcrypt library example% libgcrypt-config --libs EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/libgcrypt-config Executable for libgcrypt helper script ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWlibgcrypt-devel | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
libgcrypt(3), pkg-config(1), attributes(5) Written by Jeff Cai, Sun Microsystems Inc., 2008. SunOS 5.11 10 Jan 2008 libgcrypt-config(1)
Man Page