Improve configure for Solaris, by Ben Taylor.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2416 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
		
							parent
							
								
									e9420c4f6e
								
							
						
					
					
						commit
						c2b84fabaf
					
				
							
								
								
									
										18
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@ -134,6 +134,13 @@ OS_CFLAGS="-mdynamic-no-pic"
 | 
				
			|||||||
;;
 | 
					;;
 | 
				
			||||||
SunOS)
 | 
					SunOS)
 | 
				
			||||||
    solaris="yes"
 | 
					    solaris="yes"
 | 
				
			||||||
 | 
					    make="gmake"
 | 
				
			||||||
 | 
					    install="ginstall"
 | 
				
			||||||
 | 
					    solarisrev=`uname -r | cut -f2 -d.`
 | 
				
			||||||
 | 
					    if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
 | 
				
			||||||
 | 
					        if test "$solarisrev" -ge 10 ; then
 | 
				
			||||||
 | 
					            kqemu="yes"
 | 
				
			||||||
 | 
					        fi
 | 
				
			||||||
    ;;
 | 
					    ;;
 | 
				
			||||||
*)
 | 
					*)
 | 
				
			||||||
oss="yes"
 | 
					oss="yes"
 | 
				
			||||||
@ -151,17 +158,6 @@ if [ "$bsd" = "yes" ] ; then
 | 
				
			|||||||
  fi
 | 
					  fi
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ "$solaris" = "yes" ] ; then
 | 
					 | 
				
			||||||
    make="gmake"
 | 
					 | 
				
			||||||
    install="ginstall"
 | 
					 | 
				
			||||||
    solarisrev=`uname -r | cut -f2 -d.`
 | 
					 | 
				
			||||||
    if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
 | 
					 | 
				
			||||||
        if test "$solarisrev" -gt 10 ; then
 | 
					 | 
				
			||||||
            kqemu="yes"
 | 
					 | 
				
			||||||
        fi
 | 
					 | 
				
			||||||
    fi
 | 
					 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# find source path
 | 
					# find source path
 | 
				
			||||||
source_path=`dirname "$0"`
 | 
					source_path=`dirname "$0"`
 | 
				
			||||||
if [ -z "$source_path" ]; then
 | 
					if [ -z "$source_path" ]; then
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user