|
|
@@ -674,6 +674,29 @@ else
|
|
|
fi
|
|
|
|
|
|
|
|
|
+# Step 1: set the variable "system" to hold the name and version number
|
|
|
+# for the system. This can usually be done via the "uname" command, but
|
|
|
+# there are a few systems, like Next, where this doesn't work.
|
|
|
+
|
|
|
+echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6
|
|
|
+echo "configure:683: checking system version (for dynamic loading)" >&5
|
|
|
+if test -f /usr/lib/NextStep/software_version; then
|
|
|
+ system=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version`
|
|
|
+else
|
|
|
+ system=`uname -s`-`uname -r`
|
|
|
+ if test "$?" -ne 0 ; then
|
|
|
+ echo "$ac_t""unknown (can't find uname command)" 1>&6
|
|
|
+ system=unknown
|
|
|
+ else
|
|
|
+ # Special check for weird MP-RAS system (uname returns weird
|
|
|
+ # results, and the version is kept in special file).
|
|
|
+
|
|
|
+ if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
|
|
|
+ system=MP-RAS-`awk '{print $3}' /etc/.relid'`
|
|
|
+ fi
|
|
|
+ echo "$ac_t""$system" 1>&6
|
|
|
+ fi
|
|
|
+fi
|
|
|
|
|
|
# restore the flags specified by the user and get rid of any flags
|
|
|
# found by autoconf (we do not want -02 -g by default)
|
|
|
@@ -741,7 +764,7 @@ fi
|
|
|
# ansi stream files (without the .h)
|
|
|
if test $ac_cv_prog_gxx = no; then
|
|
|
echo $ac_n "checking ansi standard C++ stream headers ""... $ac_c" 1>&6
|
|
|
-echo "configure:745: checking ansi standard C++ stream headers " >&5
|
|
|
+echo "configure:768: checking ansi standard C++ stream headers " >&5
|
|
|
rm -rf conftest.*
|
|
|
cat > conftest.cc <<!
|
|
|
#include <iostream>
|
|
|
@@ -758,7 +781,7 @@ fi
|
|
|
# check to see if stl is in the std namespace
|
|
|
if test $ac_cv_prog_gxx = no; then
|
|
|
echo $ac_n "checking ansi standard namespace support ""... $ac_c" 1>&6
|
|
|
-echo "configure:762: checking ansi standard namespace support " >&5
|
|
|
+echo "configure:785: checking ansi standard namespace support " >&5
|
|
|
rm -rf conftest.*
|
|
|
cat > conftest.cc <<!
|
|
|
#include <list>
|
|
|
@@ -776,7 +799,7 @@ fi
|
|
|
# check to see if for scoping is supported
|
|
|
if test $ac_cv_prog_gxx = no; then
|
|
|
echo $ac_n "checking ansi for scope support ""... $ac_c" 1>&6
|
|
|
-echo "configure:780: checking ansi for scope support " >&5
|
|
|
+echo "configure:803: checking ansi for scope support " >&5
|
|
|
rm -rf conftest.*
|
|
|
cat > conftest.cc <<!
|
|
|
void foo() { for(int i;;); for(int i;;); }
|
|
|
@@ -797,7 +820,7 @@ do
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
|
set dummy $ac_prog; ac_word=$2
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
-echo "configure:801: checking for $ac_word" >&5
|
|
|
+echo "configure:824: checking for $ac_word" >&5
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_CMAKE_AR_TMP'+set}'`\" = set"; then
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
else
|