mirror of https://github.com/nirenjan/libx52.git
				
				
				
			Make inih a mandatory package.
AC_CHECK_HEADERS and AC_SEARCH_LIBS do not abort when the header or library respectively are not found. Since inih is a hard requirement, make sure that the action-if-not-found fields call AC_MSG_ERROR. Fixes #32reverse-scroll
							parent
							
								
									874c46705a
								
							
						
					
					
						commit
						ff10525028
					
				|  | @ -49,8 +49,8 @@ AC_SUBST([LIBUSB_PC], [libusb-1.0]) | ||||||
| PKG_CHECK_MODULES([INIH], [inih], [], | PKG_CHECK_MODULES([INIH], [inih], [], | ||||||
|                   [ |                   [ | ||||||
|                     # Older versions of Ubuntu don't provide a .pc file |                     # Older versions of Ubuntu don't provide a .pc file | ||||||
|                     AC_CHECK_HEADERS([ini.h]) |                     AC_SEARCH_LIBS([ini_parse], [inih],, [AC_MSG_ERROR([Unable to find libinih, is it installed?])]) | ||||||
|                     AC_SEARCH_LIBS([ini_parse], [inih]) |                     AC_CHECK_HEADERS([ini.h],, [AC_MSG_ERROR([Unable to find ini.h, do you have libinih headers installed?])]) | ||||||
|                   ]) |                   ]) | ||||||
| 
 | 
 | ||||||
| # systemd support | # systemd support | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue