2012-12-11 09:00:37 +00:00
|
|
|
|
|
|
|
Make generated php_config.h constant across rebuilds.
|
|
|
|
|
|
|
|
--- php-5.4.9/configure.in.fixheader
|
|
|
|
+++ php-5.4.9/configure.in
|
2014-10-31 06:25:04 +00:00
|
|
|
@@ -1275,7 +1275,7 @@ fi
|
2012-12-11 09:00:37 +00:00
|
|
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
|
|
|
|
EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $PHP_LDFLAGS"
|
|
|
|
|
|
|
|
-PHP_BUILD_DATE=`date '+%Y-%m-%d'`
|
2012-12-11 10:28:19 +00:00
|
|
|
+PHP_BUILD_DATE=`date '+%Y-%m-%d' -r $srcdir/NEWS`
|
2012-12-11 09:00:37 +00:00
|
|
|
AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PHP build date])
|
|
|
|
|
|
|
|
case $host_alias in
|
2014-10-31 06:25:04 +00:00
|
|
|
@@ -1286,7 +1286,7 @@ case $host_alias in
|
2012-12-11 09:00:37 +00:00
|
|
|
AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[hardcode for each of the cross compiler host])
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
- PHP_UNAME=`uname -a | xargs`
|
|
|
|
+ PHP_UNAME=`uname | xargs`
|
|
|
|
AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a output])
|
|
|
|
PHP_OS=`uname | xargs`
|
|
|
|
AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])
|