Crypt-OTR

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

use 5.008008;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

sub libOtrIsInstalled(){
	if(-f('/usr/include/libotr/version.h')){
		return 1;
	} elsif (-f('/usr/local/include/libotr/version.h')){
		return 1;
	} else {
		return 0;
	}
}

sub libGcryptIsInstalled(){
	if(-f('/usr/include/gcrypt.h')){
		return 1;
	} elsif (-f('/usr/local/include/gcrypt.h')){
		return 1;
	} else {
		return 0;
	}
}




( run in 1.957 second using v1.01-cache-2.11-cpan-65fba6d93b7 )