aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorEugene Sandulenko2006-02-22 12:05:19 +0000
committerEugene Sandulenko2006-02-22 12:05:19 +0000
commit53ce2ca464df49d1f8f425849b869bc08f583574 (patch)
treea3283f6f0a891cd4b39c2a360788a4fd1c0381c4 /configure
parentfcd9c0905910ccb6485b3f16810acab944a48517 (diff)
downloadscummvm-rg350-53ce2ca464df49d1f8f425849b869bc08f583574.tar.gz
scummvm-rg350-53ce2ca464df49d1f8f425849b869bc08f583574.tar.bz2
scummvm-rg350-53ce2ca464df49d1f8f425849b869bc08f583574.zip
Patch #1436165: "configure fixes for Solaris compatibility"
svn-id: r20810
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index 55aedb9421..a99cacb022 100755
--- a/configure
+++ b/configure
@@ -29,7 +29,8 @@ if test "$ac_emxsupport" != "no" -a "$ac_emxsupport" != "NO"; then
ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
fi
done
- export PATH="$ac_TEMP_PATH"
+ PATH="$ac_TEMP_PATH"
+ export PATH
unset ac_TEMP_PATH
fi
@@ -557,7 +558,7 @@ fi
echocheck "compiler version"
-cxx_name=`( $cc -v ) 2>&1 | tail -n 1 | cut -d ' ' -f 1`
+cxx_name=`( $cc -v ) 2>&1 | tail -1l | cut -d ' ' -f 1`
cxx_version=`( $CXX -dumpversion ) 2>&1`
if test "$?" -gt 0; then
cxx_version="not found"
@@ -749,7 +750,7 @@ else
echo_n "Checking hosttype... "
echo $_host_os
case $_host_os in
- linux* | openbsd* | freebsd* | netbsd* | bsd* | sunos* | hpux* | beos*)
+ linux* | openbsd* | freebsd* | netbsd* | bsd* | sunos* | solaris* | hpux* | beos*)
DEFINES="$DEFINES -DUNIX"
;;
irix*)