Lines Matching refs:php_version
21 AC_CONFIG_SRCDIR([main/php_version.h])
136 echo "/* automatically generated by configure */" > php_version.h.new
137 echo "/* edit configure.ac to change version number */" >> php_version.h.new
138 echo "#define PHP_MAJOR_VERSION $PHP_MAJOR_VERSION" >> php_version.h.new
139 echo "#define PHP_MINOR_VERSION $PHP_MINOR_VERSION" >> php_version.h.new
140 echo "#define PHP_RELEASE_VERSION $PHP_RELEASE_VERSION" >> php_version.h.new
141 echo "#define PHP_EXTRA_VERSION \"$PHP_EXTRA_VERSION\"" >> php_version.h.new
142 echo "#define PHP_VERSION \"$PHP_VERSION\"" >> php_version.h.new
143 echo "#define PHP_VERSION_ID $PHP_VERSION_ID" >> php_version.h.new
144 cmp php_version.h.new $srcdir/main/php_version.h >/dev/null 2>&1
146 rm -f $srcdir/main/php_version.h && mv php_version.h.new $srcdir/main/php_version.h && \
147 echo 'Updated main/php_version.h'
149 rm -f php_version.h.new