summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-07-23 01:58:52 +0000
committerfoobar <sniper@php.net>2002-07-23 01:58:52 +0000
commit6a088a2e3cf9dde62345ea49550bd67520f6db7f (patch)
treee78e52b7e794ac684156c712f25f1e6c221b93e7 /configure.in
parent2fcd5025228b6bc21b17cd2cae3fa11c195e7290 (diff)
downloadphp-git-6a088a2e3cf9dde62345ea49550bd67520f6db7f.tar.gz
Fix bug: #18308. (uname -a sometimes has extra linefeeds)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 0febc5dfb1..7809ed3614 100644
--- a/configure.in
+++ b/configure.in
@@ -898,9 +898,9 @@ EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
PHP_BUILD_DATE=`date '+%Y-%m-%d'`
AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PHP build date])
-PHP_UNAME=`uname -a`
+PHP_UNAME=`uname -a | xargs`
AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a output])
-PHP_OS=`uname`
+PHP_OS=`uname | xargs`
AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])
if test "$disable_cli" != "1"; then