mirror of
				https://github.com/stedolan/jq.git
				synced 2024-05-11 05:55:39 +00:00 
			
		
		
		
	Make Oniguruma/regexp optional
Tests won't pass if built without Oniguruma. We don't have a way to make a test optional yet. That will come later. For now the ability to reduce build-time dependencies could really help some users.
This commit is contained in:
		@@ -76,7 +76,8 @@ AC_CHECK_HEADER("oniguruma.h",
 | 
			
		||||
if test $HAVE_ONIGURUMA != 1; then
 | 
			
		||||
    AC_MSG_NOTICE([Oniguruma was not found.])
 | 
			
		||||
    AC_MSG_NOTICE([ Try setting the location using '--with-oniguruma=PREFIX' ])
 | 
			
		||||
    AC_MSG_ERROR([ oniguruma is required to build jq.])
 | 
			
		||||
else
 | 
			
		||||
    AC_DEFINE([HAVE_ONIGURUMA],1,[Define to 1 if Oniguruma is installed])
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user