fu/Makefile.PL
Yorhel 166744dd51 pg: Rework txn implementation + statement config API
I liked the Perl implementation of transactions, but managing state
between Perl and C is a bit cumbersome, so I've moved the whole thing
into C.

Also added a few statement configuration methods that currently don't do
anything yet.
2025-02-07 18:30:36 +01:00

20 lines
614 B
Perl

use ExtUtils::MakeMaker;
use Config;
os_unsupported if $^O eq 'MSWin32'; # I don't know on which OS'es the code will work exactly, but this one I can easily rule out.
os_unsupported if $Config{ivsize} < 8;
os_unsupported if $Config{byteorder} != 12345678; # pgtypes.c assumes we're little-endian
os_unsupported if $Config{usequadmath};
WriteMakefile(
NAME => 'FU',
VERSION_FROM => 'FU.pm',
LICENSE => 'mit',
NO_MYMETA => 1,
MIN_PERL_VERSION => 'v5.36',
META_MERGE => {
dynamic_config => 0,
},
OPTIMIZE => '-g -O2 -Wall -Wextra',
depend => { '$(OBJECT)', 'c/*.c' },
);