summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian France <bfrance@php.net>2005-04-20 20:51:45 +0000
committerBrian France <bfrance@php.net>2005-04-20 20:51:45 +0000
commita9c0b4eaa6e6cbe5a172601692d649503031635e (patch)
treef41e4169fdadadc20e37e0ab9139dcd90b44003c
parentcd387e3f9af5177a28e2d2613661ddef20cee09b (diff)
downloadphp-git-a9c0b4eaa6e6cbe5a172601692d649503031635e.tar.gz
MFH: Added support for .cc files in extensions.
-rw-r--r--NEWS1
-rw-r--r--acinclude.m42
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index ff756318c7..3d140c3243 100644
--- 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
diff --git a/acinclude.m4 b/acinclude.m4
index 383ade5414..8f6be70fec 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -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