Dist::...S::Conf(3pm)

okay bestie, this is the Dist::...S::Conf(3pm) page from User Contributed Perl Documentation, and the module it's actually serving is Dist::Build::XS::Conf πŸ’…

πŸŽ€ NAME πŸŽ€

Dist::Build::XS::Conf β€” configure-time utilities for Dist::Build when you're using C headers, libraries, or OS features ✨

✨ VERSION ✨

It's giving version 0.028, no cap.

πŸ¦‹ SYNOPSIS πŸ¦‹

Like, here's the whole vibe in code, bestie:

load_extension("Dist::Build::XS");
load_extension("Dist::Build::XS::Conf");

find_libraries_for(source => <<'EOF', libs => [ ['socket'], ['moonlaser'] ]);
#include <stdio.h>
#include <sys/socket.h>
int main(int argc, char *argv[]) {
  printf("PF_MOONLASER is %d\n", PF_MOONLASER);
  return 0;
}
EOF

add_xs(module_name => 'Socket::MoonLaser');

🌸 DESCRIPTION 🌸

So here's the tea: this module integrates ExtUtils::Builder::Conf into Dist::Build::XS. Any arguments found with any of the find_* or try_find_* functions get automatically added to the build when you call add_xs β€” automatic, iconic, periodt πŸ‘‘

πŸ‘‘ AUTHOR πŸ‘‘

This icon: Leon Timmermans <fawaka@gmail.com> πŸ’Œ

Copyright notice: this software is copyright (c) 2024 by Leon Timmermans.

License tea: this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Slay 🫢


Footer fairy sign-off: this was the Dist::...S::Conf(3pm) manual, perl v5.40.1, dated 2026-03-21 πŸ§šπŸ’–

πŸ“¦ where this page comes from