1NEON-CONFIG(1)                       neon                       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
13

DESCRIPTION

15       The  neon-config script provides information about an installed copy of
16       the neon library. The --cflags and --libs options instruct how to  com‐
17       pile  and  link  an  application against the library; the --version and
18       --support options can help determine whether the library meets the  ap‐
19       plications requirements.
20
21

OPTIONS

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

EXAMPLE

59       Below is a Makefile fragment which could be used to build  an  applica‐
60       tion against an installed neon library, when the neon-config script can
61       be found in $PATH.
62
63       CFLAGS = `neon-config --cflags`
64       LIBS = `neon-config --libs`
65       OBJECTS = myapp.o
66       TARGET = myapp
67
68       $(TARGET): $(OBJECTS)
69            $(CC) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS)
70
71       myapp.o: myapp.c
72            $(CC) $(CFLAGS) -c myapp.c -o myapp.o
73
74

AUTHOR

76       Joe Orton <neon@webdav.org>.
77
78
79
80neon 0.25.5                     20 January 2006                 NEON-CONFIG(1)
Impressum