1NEON-CONFIG(1)                neon API reference                NEON-CONFIG(1)
2
3
4

NAME

6       neon-config - script providing information about installed copy of neon
7       library
8

SYNOPSIS

10       neon-config [--prefix] [[--cflags] | [--libs] | [--la-file] |
11                   [--support feature] | [--help] | [--version]]
12

DESCRIPTION

14       The neon-config script provides information about an installed copy of
15       the neon library. The --cflags and --libs options instruct how to
16       compile and link an application against the library; the --version and
17       --support options can help determine whether the library meets the
18       applications requirements.
19

OPTIONS

21       --cflags
22           Print the flags which should be passed to the C compiler when
23           compiling object files, when the object files use neon header
24           files.
25
26       --libs
27           Print the flags which should be passed to the linker when linking
28           an application which uses the neon library
29
30       --la-file
31           Print the location of the libtool library script, libneon.la, which
32           can be used to link against neon by applications using libtool.
33
34       --version
35           Print the version of the library
36
37       --prefix dir
38           If dir is given; relocate output of --cflags and --libs as if neon
39           was installed in given prefix directory. Otherwise, print the
40           installation prefix of the library.
41
42       --support feature
43           The script exits with success if feature is supported by the
44           library.
45
46       --help
47           Print help message; includes list of known features and whether
48           they are supported or not.
49

EXAMPLE

51       Below is a Makefile fragment which could be used to build an
52       application against an installed neon library, when the neon-config
53       script can be found in $PATH.
54
55           CFLAGS = `neon-config --cflags`
56           LIBS = `neon-config --libs`
57           OBJECTS = myapp.o
58           TARGET = myapp
59
60           $(TARGET): $(OBJECTS)
61                $(CC) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS)
62
63           myapp.o: myapp.c
64                $(CC) $(CFLAGS) -c myapp.c -o myapp.o
65

AUTHOR

67       Joe Orton <neon@lists.manyfish.co.uk>
68           Author.
69
71neon 0.31.2                      20 June 2020                   NEON-CONFIG(1)
Impressum