CONFIGURE: fix configure when gtk+ is not installed
AM_PATH_GTK_2_0 would be an undefined macro then
This commit is contained in:
		
							parent
							
								
									f317076cb2
								
							
						
					
					
						commit
						212adf63ce
					
				
					 1 changed files with 9 additions and 7 deletions
				
			
		
							
								
								
									
										16
									
								
								configure.ac
									
										
									
									
									
								
							
							
						
						
									
										16
									
								
								configure.ac
									
										
									
									
									
								
							| 
						 | 
					@ -199,14 +199,16 @@ dnl *********************************************************************
 | 
				
			||||||
dnl ** GTK **************************************************************
 | 
					dnl ** GTK **************************************************************
 | 
				
			||||||
dnl *********************************************************************
 | 
					dnl *********************************************************************
 | 
				
			||||||
 | 
					
 | 
				
			||||||
AM_PATH_GTK_2_0(2.10.0, havegtk=yes, havegtk=no)
 | 
					# we might get undefined macro without this test
 | 
				
			||||||
 | 
					if test "$gtkfe" = yes ; then
 | 
				
			||||||
 | 
						AM_PATH_GTK_2_0(2.10.0, havegtk=yes, havegtk=no)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if test "$havegtk" = no; then
 | 
						if test "$havegtk" = no; then
 | 
				
			||||||
	gtkfe=no
 | 
							gtkfe=no
 | 
				
			||||||
	echo
 | 
							echo
 | 
				
			||||||
	echo Cannot find GTK\! Not building GTK FrontEnd.
 | 
							echo Cannot find GTK\! Not building GTK FrontEnd.
 | 
				
			||||||
	echo
 | 
							echo
 | 
				
			||||||
fi
 | 
						fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if test "$gtkfe" != yes; then
 | 
					if test "$gtkfe" != yes; then
 | 
				
			||||||
	gnome=no
 | 
						gnome=no
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue