196963
196963
Make generated php_config.h constant across rebuilds.
196963
196963
--- php-5.4.9/configure.in.fixheader
196963
+++ php-5.4.9/configure.in
196963
@@ -1258,7 +1258,7 @@ fi
196963
 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
196963
 EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $PHP_LDFLAGS"
196963
 
196963
-PHP_BUILD_DATE=`date '+%Y-%m-%d'`
196963
+PHP_BUILD_DATE=`date '+%Y-%m-%d' -r $srcdir/NEWS`
196963
 AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PHP build date])
196963
 
196963
 case $host_alias in
196963
@@ -1269,7 +1269,7 @@ case $host_alias in
196963
   AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[hardcode for each of the cross compiler host])
196963
   ;;
196963
 *)
196963
-  PHP_UNAME=`uname -a | xargs`
196963
+  PHP_UNAME=`uname | xargs`
196963
   AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a output])
196963
   PHP_OS=`uname | xargs`
196963
   AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])