Result:
found 86 distributions and 110 files matching your query ! ( run in 0.571 )


PDL-SVDLIBC

 view release on metacpan or  search on metacpan

Config.PL  view on Meta::CPAN

cprompt('SVD_LONGLONG', "SVDLIBC long long integer datatype", "$LONGLONG");
cprompt('SVD_DEFS', "Additional defines for SVDLIBC", "-D__SVDLIBC_LONG=$cconfig{SVD_LONG} -D__SVDLIBC_LONG_LONG=$cconfig{SVD_LONGLONG}");

## $SVD_CFLAGS : additional compiler flags for SVDLIBC
# + do *NOT* use -ffast-math !
#my $SVD_CFLAGS = $ENV{CFLAGS};
#my $SVD_CFLAGS = "-O2 -pipe";
#my $SVD_CFLAGS = "-O3 -pipe -march=native -mtune=native -mfpmath=sse";
#cprompt('SVD_CFLAGS', "SVDLIBC compiler flags", $SVD_CFLAGS);

## $SVD_LDFLAGS : linker flags for SVDLIBC

 view all matches for this distribution


PDLA-Core

 view release on metacpan or  search on metacpan

debian/f77conf.pl  view on Meta::CPAN

sub runtime {
  my $libpath = `gfortran -print-libgcc-file-name`;
  $libpath =~ s/libgcc[.]a$//;
  chomp $libpath;
  my $ldflags = '';
  $ldflags .= $ENV{LDFLAGS} if (defined $ENV{LDFLAGS});
  $ldflags .= " -L$libpath -lgcc -lgfortran";
  return($ldflags);
}

sub trail_ {

debian/f77conf.pl  view on Meta::CPAN

  return 'gfortran';
}

sub cflags {
  my $fflags = '';
  $fflags = $ENV{FFLAGS} if (defined $ENV{FFLAGS});
  $fflags.=' -fPIC';
  return($fflags);
}

sub testcompiler {

 view all matches for this distribution


PDLA-Rest

 view release on metacpan or  search on metacpan

debian/f77conf.pl  view on Meta::CPAN

sub runtime {
  my $libpath = `gfortran -print-libgcc-file-name`;
  $libpath =~ s/libgcc[.]a$//;
  chomp $libpath;
  my $ldflags = '';
  $ldflags .= $ENV{LDFLAGS} if (defined $ENV{LDFLAGS});
  $ldflags .= " -L$libpath -lgcc -lgfortran";
  return($ldflags);
}

sub trail_ {

debian/f77conf.pl  view on Meta::CPAN

  return 'gfortran';
}

sub cflags {
  my $fflags = '';
  $fflags = $ENV{FFLAGS} if (defined $ENV{FFLAGS});
  $fflags.=' -fPIC';
  return($fflags);
}

sub testcompiler {

 view all matches for this distribution


PDLA

 view release on metacpan or  search on metacpan

debian/f77conf.pl  view on Meta::CPAN

sub runtime {
  my $libpath = `gfortran -print-libgcc-file-name`;
  $libpath =~ s/libgcc[.]a$//;
  chomp $libpath;
  my $ldflags = '';
  $ldflags .= $ENV{LDFLAGS} if (defined $ENV{LDFLAGS});
  $ldflags .= " -L$libpath -lgcc -lgfortran";
  return($ldflags);
}

sub trail_ {

debian/f77conf.pl  view on Meta::CPAN

  return 'gfortran';
}

sub cflags {
  my $fflags = '';
  $fflags = $ENV{FFLAGS} if (defined $ENV{FFLAGS});
  $fflags.=' -fPIC';
  return($fflags);
}

sub testcompiler {

 view all matches for this distribution


PGPLOT

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

    #
    if ($is_osx) {
	my $pgplot_dir = defined $ENV{PGPLOT_DIR} ? $ENV{PGPLOT_DIR} : "/usr/lib";
	my $dir = -d 'pgplot_tmp' ? 'pgplot_tmp' : $pgplot_dir;
	$items{LIBS}[0] .= " -lobjc " .
	    (defined $ENV{LDFLAGS} ? $ENV{LDFLAGS} : "-L/sw/lib") .
	    find_required_driver_libs($pgplot_dir);
    }

    # The following is needed for PGPLOT compiled on OS-X, at least
    # for both the version used from FINK and a hand-compiled version.

 view all matches for this distribution


POSIX-strftime-GNU

 view release on metacpan or  search on metacpan

inc/Module/Build/My.pm  view on Meta::CPAN

    my ($class, @args) = @_;
    my $self = $class->SUPER::new(@args);
    $self->config(cc   => $ENV{CC}) if defined $ENV{CC};
    $self->config(ld   => $ENV{LD}) if defined $ENV{LD};
    $self->config(lddl => $ENV{LD}) if defined $ENV{LD};
    $self->extra_compiler_flags(grep { $_ ne '' } split /\s/, $ENV{CFLAGS})  if defined $ENV{CFLAGS};
    $self->extra_linker_flags(  grep { $_ ne '' } split /\s/, $ENV{LDFLAGS}) if defined $ENV{LDFLAGS};
    return $self;
};

sub ACTION_xs_config {
    my $self = shift;

 view all matches for this distribution


Parse-Pidl

 view release on metacpan or  search on metacpan

tests/Util.pm  view on Meta::CPAN

	skip "no sane C compiler, skipping compilation", 3
		if not $sanecc;

	my $outfile = "test-$name";

	#my $cflags = $ENV{CFLAGS};
	my $cflags = "-Iinclude -Ilib -I.";

	if ($insamba and $link) {
		open CC, "|cc -x c -o $outfile $cflags -";
	} elsif ($insamba) {

 view all matches for this distribution


Qstruct

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

    dist => {
      PREOP => 'pod2text lib/Qstruct.pm > $(DISTVNAME)/README',
    },
    OBJECT                => '$(O_FILES)', # link all the C files too
    LIBS                => $LIBS,
    CCFLAGS => $ENV{XCFLAGS} || '',
    ($myextlib ? (
        MYEXTLIB        => $myextlib,
        INC                => '-I./libqstruct',
        ) : (
        INC                => $INC

 view all matches for this distribution


Redland

 view release on metacpan or  search on metacpan

perl/Makefile.PL  view on Meta::CPAN

# 

use ExtUtils::MakeMaker;

$REDLAND_CONFIG=$ENV{REDLAND_CONFIG} || 'redland-config';
$CFLAGS=$ENV{CFLAGS} || "";
$LIBS=$ENV{LIBS} || "";

$CORE_PACKAGE="CORE";

my $objects="${CORE_PACKAGE}_wrap.o ";

 view all matches for this distribution


SOOT

 view release on metacpan or  search on metacpan

inc/inc_ExtUtils-CBuilder/ExtUtils/CBuilder/Base.pm  view on Meta::CPAN


  while (my ($k,$v) = each %Config) {
    $self->{config}{$k} = $v unless exists $self->{config}{$k};
  }
  $self->{config}{cc} = $ENV{CC} if defined $ENV{CC};
  $self->{config}{ccflags} = $ENV{CFLAGS} if defined $ENV{CFLAGS};
  $self->{config}{cxx} = $ENV{CXX} if defined $ENV{CXX};
  $self->{config}{cxxflags} = $ENV{CXXFLAGS} if defined $ENV{CXXFLAGS};
  $self->{config}{ld} = $ENV{LD} if defined $ENV{LD};
  $self->{config}{ldflags} = $ENV{LDFLAGS} if defined $ENV{LDFLAGS};

  unless ( exists $self->{config}{cxx} ) {
    my ($ccpath, $ccbase, $ccsfx ) = fileparse($self->{config}{cc}, qr/\.[^.]*/);
    foreach my $cxx (@{$cc2cxx{$ccbase}}) {
      if( can_run( File::Spec->catfile( $ccpath, $cxx, $ccsfx ) ) ) {

 view all matches for this distribution


Search-Xapian

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

# if Perl was built with -Wall.
$CCFLAGS =~ s/(^|\s+)-Wall(\s+|$)/$1-Wall -Wno-uninitialized$2/;

if (exists $var{CPPFLAGS}) {
    $CCFLAGS .= ' ' . $var{CPPFLAGS};
} elsif (exists $ENV{CPPFLAGS}) {
    $CCFLAGS .= ' ' . $ENV{CPPFLAGS};
}
if (exists $var{CXXFLAGS}) {
    $CCFLAGS .= ' ' . $var{CXXFLAGS};
} elsif (exists $ENV{CXXFLAGS}) {
    $CCFLAGS .= ' ' . $ENV{CXXFLAGS};
}

# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
push @writemakefile_args, (

 view all matches for this distribution


Shipwright

 view release on metacpan or  search on metacpan

share/bin/shipwright-builder  view on Meta::CPAN

                catdir( $args{'install-base'}, 'sbin' ) . ':'
              . catdir( $args{'install-base'}, 'bin' ) . ':'
              . catdir( $args{'install-base'}, 'usr', 'sbin' ) . ':'
              . catdir( $args{'install-base'}, 'usr', 'bin' ) . ':'
              . $ENV{PATH};
            $ENV{LDFLAGS} .= ' -L' . catdir( $args{'install-base'}, 'lib' );
            $ENV{CFLAGS}  .= ' -I' . catdir( $args{'install-base'}, 'include' );
        }

        mkpath $args{'install-base'} unless -e $args{'install-base'};

        mkdir catdir( $args{'install-base'}, 'etc' )

 view all matches for this distribution


Statistics-NiceR

 view release on metacpan or  search on metacpan

inc/Inline/C.pm  view on Meta::CPAN

}
sub make {
    my ($o) = @_;
    my $make = $o->{ILSM}{MAKE} || $Config::Config{make}
        or croak "Can't locate your make binary";
    local $ENV{MAKEFLAGS} = $ENV{MAKEFLAGS} =~ s/(--jobserver-fds=[\d,]+)//
        if $ENV{MAKEFLAGS};
    $o->system_call("$make", 'out.make');
}
sub make_install {
    my ($o) = @_;
    my $make = $o->{ILSM}{MAKE} || $Config::Config{make}
        or croak "Can't locate your make binary";
    if ($ENV{MAKEFLAGS}) { # Avoid uninitialized warnings
        local $ENV{MAKEFLAGS} = $ENV{MAKEFLAGS} =~
            s/(--jobserver-fds=[\d,]+)//;
    }
    $o->system_call("$make pure_install", 'out.make_install');
}
sub cleanup {

 view all matches for this distribution


Storable

 view release on metacpan or  search on metacpan

stacksize  view on Meta::CPAN

use strict;

my $ptrsize = $Config{ptrsize};
my ($bad1, $bad2) = (65001, 25000);
sub QUIET () {
    (defined $ENV{MAKEFLAGS} and $ENV{MAKEFLAGS} =~ /\b(s|silent|quiet)\b/
     and !defined($ENV{TRAVIS})) || @ARGV && $ARGV[0] eq "-q"
      ? 1 : 0
}
sub PARALLEL () {
    if (defined $ENV{MAKEFLAGS}
        and $ENV{MAKEFLAGS} =~ /\bj\s*(\d+)\b/
        and $1 > 1) {
        return 1;
    } else {
        return 0;
    }

 view all matches for this distribution


String-Slice

 view release on metacpan or  search on metacpan

inc/Inline/C.pm  view on Meta::CPAN

}
sub make {
    my ($o) = @_;
    my $make = $o->{ILSM}{MAKE} || $Config::Config{make}
        or croak "Can't locate your make binary";
    local $ENV{MAKEFLAGS} = $ENV{MAKEFLAGS} =~ s/(--jobserver-fds=[\d,]+)//
        if $ENV{MAKEFLAGS};
    $o->system_call("$make", 'out.make');
}
sub make_install {
    my ($o) = @_;
    my $make = $o->{ILSM}{MAKE} || $Config::Config{make}
        or croak "Can't locate your make binary";
    if ($ENV{MAKEFLAGS}) { # Avoid uninitialized warnings
        local $ENV{MAKEFLAGS} = $ENV{MAKEFLAGS} =~
            s/(--jobserver-fds=[\d,]+)//;
    }
    $o->system_call("$make pure_install", 'out.make_install');
}
sub cleanup {

 view all matches for this distribution


Systemd-Daemon

 view release on metacpan or  search on metacpan

inc/Inline/C.pm  view on Meta::CPAN

}
sub make {
    my ($o) = @_;
    my $make = $o->{ILSM}{MAKE} || $Config::Config{make}
        or croak "Can't locate your make binary";
    local $ENV{MAKEFLAGS} = $ENV{MAKEFLAGS} =~ s/(--jobserver-fds=[\d,]+)//
        if $ENV{MAKEFLAGS};
    $o->system_call("$make", 'out.make');
}
sub make_install {
    my ($o) = @_;
    my $make = $o->{ILSM}{MAKE} || $Config::Config{make}
        or croak "Can't locate your make binary";
    if ($ENV{MAKEFLAGS}) { # Avoid uninitialized warnings
        local $ENV{MAKEFLAGS} = $ENV{MAKEFLAGS} =~
            s/(--jobserver-fds=[\d,]+)//;
    }
    $o->system_call("$make pure_install", 'out.make_install');
}
sub cleanup {

 view all matches for this distribution


TermReadKey

 view release on metacpan or  search on metacpan

genchars.pl  view on Meta::CPAN

use Config;

BEGIN { push @INC, "."; }
use Configure;
use constant SILENT =>
  (defined $ENV{MAKEFLAGS} and $ENV{MAKEFLAGS} =~ /\b(s|silent|quiet)\b/ ? 1 : 0);

#sub report {
#	my($prog)=join(" ",@_);
#
#  my($ccflags, $ldflags, $cc, $rm) = @Config{'ccflags', 'ldflags', 'cc', 'rm'};

 view all matches for this distribution


Text-ClearSilver

 view release on metacpan or  search on metacpan

tool/build_cs.pl  view on Meta::CPAN


chdir $cs_dir;

# for configure
$ENV{CC}      = $Config{cc};
$ENV{CFLAGS}  = $Config{ccflags} . ' ' . $Config{optimize};
$ENV{LDFLAGS} = $Config{ldflags};
#$ENV{LIBS}    = $Config{libs};

eval {
    xsystem('./configure', @configure_args);
} or do {

 view all matches for this distribution


Tk

 view release on metacpan or  search on metacpan

JPEG/Makefile.jpeg.maybe  view on Meta::CPAN

   || die "Cannot copy $file to Makefile:$!";
 }
else
 {
  $ENV{CC} = $Config{cc};
  local $ENV{CFLAGS} = "$Config{ccflags} $Config{cccdlflags}";
  local $ENV{LDFLAGS} = "$Config{ccflags} $Config{ldflags}";
  system(sh => "./configure");
 }

my $seen_empty_rule;
open my $fh, '<', 'Makefile' or die "Error opening Makefile: $!";

 view all matches for this distribution


Verilog-Perl

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

    my $out="";
    # Note OPTIMIZE is passed from upper makefile, so this code needed there too.
    # -O2 optimization seems unreasonably slow on nearly every platform.  I give up.
    my $optimize = $Config{optimize};  $optimize =~ s/(^| )-O2( |$)/\1-O\2/g;
    # pass hardening flags
    $optimize .= " $ENV{CFLAGS} $ENV{CPPFLAGS}";
    $out .= "OPTIMIZE = $optimize\n";
    if ($Config{osname} =~ /cygwin/i || $Config{archname} =~ /cygwin/i) {
	# Cygwin ExtUtils::MakeMaker ignores our LIBS declaration and says
	# "No library found for -lstdc++".  Force it.
	$out .= "LDLOADLIBS += -lstdc++\n";

 view all matches for this distribution


cppAdaptive2

 view release on metacpan or  search on metacpan

inc/Inline/C.pm  view on Meta::CPAN

}
sub make {
    my ($o) = @_;
    my $make = $o->{ILSM}{MAKE} || $Config::Config{make}
        or croak "Can't locate your make binary";
    local $ENV{MAKEFLAGS} = $ENV{MAKEFLAGS} =~ s/(--jobserver-fds=[\d,]+)//
        if $ENV{MAKEFLAGS};
    $o->system_call("$make", 'out.make');
}
sub make_install {
    my ($o) = @_;
    my $make = $o->{ILSM}{MAKE} || $Config::Config{make}
        or croak "Can't locate your make binary";
    if ($ENV{MAKEFLAGS}) { # Avoid uninitialized warnings
        local $ENV{MAKEFLAGS} = $ENV{MAKEFLAGS} =~
            s/(--jobserver-fds=[\d,]+)//;
    }
    $o->system_call("$make pure_install", 'out.make_install');
}
sub cleanup {

 view all matches for this distribution


dta-tokwrap

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

## - thanks to Slaven Rezić for spotting the problem
$ENV{PERL}      = $^X;

##-- shamelessly lift compiler flags used for perl itself
## - this gets us e.g. -I/usr/local/include on freebsd
$ENV{CPPFLAGS} .= " ".$Config{cppflags};
$ENV{LDFLAGS}  .= " ".$Config{ldflags};

##-- guts
-e "./configure"
  or system(qw(autoreconf --install --verbose --force .))==0
  or die("$0: ERROR: autoreconf failed: $!");

 view all matches for this distribution


makepp

 view release on metacpan or  search on metacpan

t/run_tests.pl  view on Meta::CPAN

my $cc_hint1 = 'This test needs a C compiler that accepts options in common order.
';
my $cc_hint = $cc_hint1 .
  ($ENV{CC} ? 'Please check your value of $CC' :
   'Old makes use CC=cc, but makepp may choose another compiler in $PATH') . ".\n" .
  ($ENV{CFLAGS} ?
  'Make sure that your CFLAGS are understood by the chosen compiler!
' : '');
sub have_cc() {
  $want_cc = 1;
  unless( defined $have_cc ) {

 view all matches for this distribution


mod_perl

 view release on metacpan or  search on metacpan

Apache-Test/lib/Apache/TestBuild.pm  view on Meta::CPAN

        }
    }

    my $build = $self->merge_build('httpd-2.0', $builds, $configs);

    $ENV{CFLAGS} = $build->{cflags};
    info "CFLAGS=$ENV{CFLAGS}";

    my $prefix = "$self->{install}/$name";

    rmtree($prefix) if $self->{fresh};

 view all matches for this distribution


perl

 view release on metacpan or  search on metacpan

cpan/CPAN/lib/CPAN/Distribution.pm  view on Meta::CPAN

                           ? $ENV{PERL5LIB}
                           : ($ENV{PERLLIB} || "");
    local $ENV{PERL5OPT} = defined $ENV{PERL5OPT} ? $ENV{PERL5OPT} : "";
    # local $ENV{PERL_USE_UNSAFE_INC} = exists $ENV{PERL_USE_UNSAFE_INC} ? $ENV{PERL_USE_UNSAFE_INC} : 1; # get
    $CPAN::META->set_perl5lib;
    local $ENV{MAKEFLAGS}; # protect us from outer make calls

    my $sub_wd = CPAN::anycwd(); # for cleaning up as good as possible

    my($local_file);
    # XXX I don't think this check needs to be here, as it

cpan/CPAN/lib/CPAN/Distribution.pm  view on Meta::CPAN

                : ($ENV{PERLLIB} || "");

        local $ENV{PERL5OPT} = defined $ENV{PERL5OPT} ? $ENV{PERL5OPT} : "";
        # local $ENV{PERL_USE_UNSAFE_INC} = exists $ENV{PERL_USE_UNSAFE_INC} ? $ENV{PERL_USE_UNSAFE_INC} : 1; # look
        $CPAN::META->set_perl5lib;
        local $ENV{MAKEFLAGS}; # protect us from outer make calls

        unless (system($shell) == 0) {
            my $code = $? >> 8;
            $CPAN::Frontend->mywarn("Subprocess shell exit code $code\n");
        }

cpan/CPAN/lib/CPAN/Distribution.pm  view on Meta::CPAN

    local $ENV{PERL5OPT} = defined $ENV{PERL5OPT} ? $ENV{PERL5OPT} : "";
    local $ENV{PERL_USE_UNSAFE_INC} =
        exists $ENV{PERL_USE_UNSAFE_INC} && defined $ENV{PERL_USE_UNSAFE_INC}
        ? $ENV{PERL_USE_UNSAFE_INC} : 1; # prepare
    $CPAN::META->set_perl5lib;
    local $ENV{MAKEFLAGS}; # protect us from outer make calls

    if ($CPAN::Signal) {
        delete $self->{force_update};
        return;
    }

cpan/CPAN/lib/CPAN/Distribution.pm  view on Meta::CPAN

    local $ENV{PERL5OPT} = defined $ENV{PERL5OPT} ? $ENV{PERL5OPT} : "";
    local $ENV{PERL_USE_UNSAFE_INC} =
        exists $ENV{PERL_USE_UNSAFE_INC} && defined $ENV{PERL_USE_UNSAFE_INC}
        ? $ENV{PERL_USE_UNSAFE_INC} : 1; # make
    $CPAN::META->set_perl5lib;
    local $ENV{MAKEFLAGS}; # protect us from outer make calls

    if ($CPAN::Signal) {
        delete $self->{force_update};
        $self->post_make();
        return;

cpan/CPAN/lib/CPAN/Distribution.pm  view on Meta::CPAN

    local $ENV{PERL5OPT} = defined $ENV{PERL5OPT} ? $ENV{PERL5OPT} : "";
    local $ENV{PERL_USE_UNSAFE_INC} =
        exists $ENV{PERL_USE_UNSAFE_INC} && defined $ENV{PERL_USE_UNSAFE_INC}
        ? $ENV{PERL_USE_UNSAFE_INC} : 1; # test
    $CPAN::META->set_perl5lib;
    local $ENV{MAKEFLAGS}; # protect us from outer make calls
    local $ENV{PERL_MM_USE_DEFAULT} = 1 if $CPAN::Config->{use_prompt_default};
    local $ENV{NONINTERACTIVE_TESTING} = 1 if $CPAN::Config->{use_prompt_default};

    if ($run_allow_installing_within_test) {
        my($allow_installing, $why) = $self->_allow_installing;

 view all matches for this distribution


triceps

 view release on metacpan or  search on metacpan

perl/Triceps/Makefile.PL  view on Meta::CPAN

use 5.008000;
use ExtUtils::MakeMaker;

# Read the parameters from Triceps Makefiles
delete $ENV{MAKEFLAGS}; # these cause spurious messages from make
delete $ENV{MAKELEVEL};

# Some broken Perl builds return the non-0 code, this handles them.
my $xxx = `echo xxx`;
die "The shell calling does not seem to work: $!\n(got '$xxx')" unless ($xxx eq "xxx\n");

 view all matches for this distribution


( run in 0.571 second using v1.01-cache-2.11-cpan-8d75d55dd25 )