XAPIAN-CONFIG(1)

πŸ’… XAPIAN-CONFIG(1) β€” like, the user commands era πŸŽ€

okay so real talk, bestie β€” this is xapian-config, and it lives in section 1 of the manual (the "User Commands" girlies ✨). She's not a whole program you run for fun, she's a little info desk. You ask her questions about the xapian that's installed on your machine, and she tells you. That's the whole gig. Iconic, honestly.


✨ NAME ✨

xapian-config β€” report information about the installed version of xapian πŸ¦‹

Like, she reports. She does not compile. She does not link. She just tells you stuff so you can do those things. she's giving helpful best friend energy fr fr.


🌸 SYNOPSIS 🌸

xapian-config OPTION...

that's it. that's the whole synopsis. you give her OPTION... (one or more options, she's flexible like that πŸ’…) and she outputs information. no cap.


🫢 DESCRIPTION 🫢

xapian-config β€” report information about the installed version of xapian

okay so she's literally just here to spill the tea about the xapian install currently living on your system. what flags do you need? what version is it? is it even there? she knows. ask her nicely with an option and she'll answer. main character energy from a utility that's like 4 lines of shell script, and honestly? we respect it. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

pick your fighter, bestie β€” every single one of these is real and none of them are optional to mention:

  • --cxxflags β€” outputs all preprocessor and C++ compiler flags πŸ”₯ like, everything you'd need to actually compile against xapian. hand these to your compiler and watch it slay.
  • --libs β€” outputs all linker flags. the "please link me to xapian" starter pack, no libtool involved πŸ’œ
  • --ltlibs β€” outputs linker flags for linking using GNU libtool. same vibe as --libs but dressed for the libtool occasion πŸŽ€
  • --static β€” makes the other options report values for static linking. it's a modifier, not a solo act β€” it changes what the other options say 🧚
  • --swigflags β€” outputs preprocessor flags for use with SWIG. for when you're doing the SWIG bindings thing. iykyk 🌈
  • --help β€” outputs this help and exits. the "hello?? what do i do" option 🫢
  • --version β€” outputs version information and exits. for the nosy girlies (me, i'm the nosy girlies) who need to know exactly which version they're dealing with πŸ“Œ
lowkey important: --static is a modifier. it doesn't print anything on its own β€” it makes the other options report static-linking values instead. so pair it up, don't leave it hanging πŸ’€

πŸ’€ REPORTING BUGS πŸ’€

found a bug? don't suffer in silence, bestie β€” report it to <https://xapian.org/bugs>. the maintainers wanna know, fr fr. πŸ™ˆ


⭐ cute little sign-off ⭐

this gorgeous little page comes to you courtesy of xapian-core 2.0.0, dated March 2026 β€” and yes she's still serving XAPIAN-CONFIG(1) realness in the footer, periodt. πŸ’–

now go compile something and make her proud 🌸✨

πŸ“¦ where this page comes from