]> granicus.if.org Git - php/commitdiff
MFH: Feature request #46595. Use cc as default compiler and fallback to gcc.
authorDavid Soria Parra <dsp@php.net>
Mon, 17 Nov 2008 15:17:49 +0000 (15:17 +0000)
committerDavid Soria Parra <dsp@php.net>
Mon, 17 Nov 2008 15:17:49 +0000 (15:17 +0000)
NEWS
configure.in

diff --git a/NEWS b/NEWS
index af977ae4319a629523f9f7528401f8dad0c2ecf1..4bbe7ef96e7f237415f834b5ad64fc0df648fad3 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,7 @@ PHP                                                                        NEWS
 - Added concatenation option to bz2.decompress stream filter.
   (Keisial at gmail dot com, Greg)
 - Added support for using compressed connections with PDO_mysql. (Johannes)
+- Implemented FR #46595 (Use cc as the default compiler). (David Soria Parra)
 - Implemented FR #46513 (Missing compiler flags for suncc). 
   (David Soria Parra)
 
index 1a3aada3f93bbbfc609e98c318e2954a1d35b928..dc5658ece4a00bad3a38a228640675666df090a7 100644 (file)
@@ -140,7 +140,7 @@ esac
 dnl Checks for programs.
 dnl -------------------------------------------------------------------------
 
-AC_PROG_CC
+AC_PROG_CC([cc gcc])
 PHP_DETECT_ICC
 PHP_DETECT_SUNCC
 AC_PROG_CC_C_O