MFH: Added support for .cc files in extensions.
authorBrian France <bfrance@php.net>
Wed, 20 Apr 2005 20:51:45 +0000 (20:51 +0000)
committerBrian France <bfrance@php.net>
Wed, 20 Apr 2005 20:51:45 +0000 (20:51 +0000)
NEWS
acinclude.m4

diff --git a/NEWS b/NEWS
index ff756318c7e4a22bbf07d1a3cb9bb0f96548747c..3d140c3243e10137fb433756778df60658bc443b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
 PHP 4                                                                      NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 20??, Version 4.?.?
+- Added support for .cc files in extensions. (Brian)
 - Added the sorting flag SORT_LOCALE_STRING to the sort() functions which makes
   them sort based on the current locale. (Derick)
 - Changed sha1_file() and md5_file() functions to use streams instead of 
index 383ade5414e71da7da583b0715a2bf9b2f176780..8f6be70fec4470e80023353979909540f8865a9c 100644 (file)
@@ -143,7 +143,7 @@ dnl append to the array which has been dynamically chosen at m4 time
 dnl choose the right compiler/flags/etc. for the source-file
       case $ac_src in
          *.c[)] ac_comp="$b_c_pre $3 $ac_inc $b_c_meta -c $ac_srcdir$ac_src -o $ac_bdir$ac_obj.$b_lo $6$b_c_post" ;;
-         *.cpp[)] ac_comp="$b_cxx_pre $3 $ac_inc $b_cxx_meta -c $ac_srcdir$ac_src -o $ac_bdir$ac_obj.$b_lo $6$b_cxx_post" ;;
+         *.cpp|*.cc[)] ac_comp="$b_cxx_pre $3 $ac_inc $b_cxx_meta -c $ac_srcdir$ac_src -o $ac_bdir$ac_obj.$b_lo $6$b_cxx_post" ;;
       esac
 
 dnl create a rule for the object/source combo