parent
							
								
									3c89de48a8
								
							
						
					
					
						commit
						9fb4eb5107
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -255,8 +255,11 @@ if test "$perl" = yes; then
 | 
			
		|||
				original_ldflags="$LDFLAGS"
 | 
			
		||||
				CFLAGS="$PERL_CFLAGS"
 | 
			
		||||
				LDFLAGS="$PERL_LDFLAGS"
 | 
			
		||||
				AC_TRY_LINK([#include <EXTERN.h>
 | 
			
		||||
	#include <perl.h>], [], perl_is_usable=yes, perl_is_usable=no)
 | 
			
		||||
				AC_TRY_LINK([
 | 
			
		||||
						#define PERL_NO_INLINE_FUNCTIONS
 | 
			
		||||
						#include <EXTERN.h>
 | 
			
		||||
						#include <perl.h>
 | 
			
		||||
					], [], perl_is_usable=yes, perl_is_usable=no)
 | 
			
		||||
				CFLAGS="$original_cflags"
 | 
			
		||||
				LDFLAGS="$original_ldflags"
 | 
			
		||||
				if test x$perl_is_usable = xno ; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue