X11-GUITest

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

# determine what actually works: prefer pkg-config when it knows about x11/
# xtst, otherwise probe candidate locations with a real compile+link and
# keep the first one that succeeds. Only if neither approach can confirm a
# working combination (e.g. no usable compiler available at configure time,
# or File::Temp is unavailable on a very old Perl) do we fall back to the
# previous directory-existence heuristic.
my ($X11_LIBS, $X11_INC) = DetermineX11Flags();

WriteMakefile(
    'NAME'          => 'X11::GUITest',
    ($] ge '5.005') ? (
        'AUTHOR'    => 'Dennis K. Paulsen <ctrondlp@cpan.org>',
    ) : (),
    'VERSION_FROM'  => 'GUITest.pm',
    'ABSTRACT_FROM' => 'GUITest.pm',
    ($] lt '5.008') ? (
        'INST_MAN3DIR' => './blib/man3',
        'MAN3EXT'      => '3pm'
    ) : (),
    'MAN3PODS'      => {'GUITest.pm' => '$(INST_MAN3DIR)/X11::GUITest.$(MAN3EXT)'},
    'LIBS'          => $X11_LIBS,
    # If the target X server has Xinerama active, XTestFakeMotionEvent() is
    # known to misbehave for MoveMouseAbs(). An alternate XWarpPointer()-based
    # implementation exists but isn't auto-detected -- see the DEPENDENCIES
    # section in GUITest.pm for how to opt in via X11_GUITEST_USING_XINERAMA.
    'DEFINE'        => '-DNDEBUG -DX11_GUITEST_ALT_L_FALLBACK_META_L',



( run in 1.372 second using v1.01-cache-2.11-cpan-8dfa8b56332 )