NEON-CONFIG(1)
Welcome to the NEON-CONFIG(1) glow-up, bestie β this is the neon API reference page for neon-config π
β¨
πΈ NAME πΈ
neon-config β script providing information about installed copy of neon library. No cap, thatβs the whole vibe π«Ά
π¦ SYNOPSIS π¦
Run it like this, bb:
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 requirements of the applications. Basically: compile lore, link lore, version lore, feature lore π
π 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. Compiler drip check β--libsβ print the flags which should be passed to the linker when linking an application which uses the neon library. Linker slay π--la-fileβ print the location of the libtool library script,libneon.la, which can be used to link against neon by applications using libtool. Libtool besties, this one is for you π§--versionβ print the version of the library. Version reveal, periodt π--prefixdir β ifdiris given, relocate output of--cflagsand--libsas if neon was installed in the given prefix directory. Otherwise, print the installation prefix of the library. Prefix relocation? Iconic π--supportfeature β the script exits with success iffeatureis supported by the library. Vibe check passed? β--helpβ print help message; includes list of known features and whether they are supported or not. The lore drop you need π
π 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
π COPYRIGHT π
This page is served by neon, dated 03/20/2026, and itβs NEON-CONFIG(1) β mwah, bestie πβ¨
π¦ where this page comes from
- arch rolling: neon 0.37.1-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms