File: threadsforks

package info (click to toggle)
libthread-queue-any-perl 1.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 144 kB
  • sloc: perl: 101; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 921 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#-------------------------------------------------------------------------------
# This file was auto-generated by Devel::ThreadsForks 0.06 on
# Tue Jun 12 23:02:16 2012.

# mark that we've run this (for testing mostly)
$Devel::ThreadsForks::SIZE=   921;

# get configuration information
require Config;
Config->import;

# no ithreads and no forks
if ( !$Config{useithreads} and !eval { require forks; 1 } ) {
    print STDERR <<"TEXT";

************************************************************************
* This distribution requires a version of Perl that has threads enabled
* or which has the forks.pm module installed.  Unfortunately, this does
* not appear to be the case for $^X.
* 
* Please install a threaded version of Perl, or the "forks" module
* before trying to install this distribution again.
************************************************************************

TEXT

    # byebye
    exit 1;
}