mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* configure.in: do not override CC if set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									b141ac70ce
								
							
						
					
					
						commit
						2284d8b89b
					
				
					 2 changed files with 7 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,7 @@
 | 
			
		|||
Tue Nov 13 19:50:30 2001  WATANABE Hirofumi  <eban@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* configure.in: do not override CC if set.
 | 
			
		||||
 | 
			
		||||
Tue Nov 13 17:25:44 2001  Usaku Nakamura <usa@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* hash.c (envix): merge from 1.7: use GET_ENVIRON and FREE_ENVIRON to
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,14 +11,14 @@ AC_SUBST(TEENY)
 | 
			
		|||
dnl checks for alternative programs
 | 
			
		||||
AC_ARG_WITH(gcc, [--without-gcc             never use gcc], [
 | 
			
		||||
	case $withval in
 | 
			
		||||
	no)	CC=cc
 | 
			
		||||
	no)	: ${CC=cc}
 | 
			
		||||
		without_gcc=yes;;
 | 
			
		||||
	yes)	CC=gcc
 | 
			
		||||
	yes)	: ${CC=gcc}
 | 
			
		||||
		without_gcc=no;;
 | 
			
		||||
	*)	CC=$withval
 | 
			
		||||
		without_gcc=$withval;;
 | 
			
		||||
	esac], [
 | 
			
		||||
	  CC=gcc
 | 
			
		||||
	  : ${CC=gcc}
 | 
			
		||||
	  without_gcc=no])
 | 
			
		||||
dnl If the user switches compilers, we can't believe the cache
 | 
			
		||||
if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue