24 lines
		
	
	
		
			746 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			746 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| dnl -*-autoconf-*-
 | |
| dnl bcm2835: Autoconf script
 | |
| dnl 
 | |
| dnl $Id: configure.in,v 1.1 2012/12/01 22:56:52 mikem Exp mikem $
 | |
| dnl (C) 2012 Mike McCauley (mikem@airspayce.com)
 | |
| 
 | |
| dnl Dont forget to update  BCM2835_VERSION and .tar.gz in bcm2835.h
 | |
| dnl and the zip file.
 | |
| AC_INIT([bcm2835], [1.68], [mikem@airspayce.com])
 | |
| 
 | |
| AM_CONFIG_HEADER(config.h)
 | |
| AM_INIT_AUTOMAKE()
 | |
| AC_CHECK_LIB([rt], [clock_gettime])
 | |
| AC_CHECK_PROGS([DOXYGEN], [doxygen])
 | |
| if test -z "$DOXYGEN";
 | |
|    then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
 | |
| fi
 | |
| AC_PROG_RANLIB
 | |
| AC_PROG_CC
 | |
| AC_CONFIG_MACRO_DIR([m4])
 | |
| AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
 | |
| AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([doc/Doxyfile])])
 | |
| AC_OUTPUT(Makefile src/Makefile doc/Makefile)
 |