Skip to content
Snippets Groups Projects
Commit 65c29958 authored by Fons Rademakers's avatar Fons Rademakers
Browse files

From Axel:

Write invocation info into config.log: host info, date, arguments
(one by one, so we can see problems due to quotes). State in
config.log if the architecture is unknown.


git-svn-id: http://root.cern.ch/svn/root/trunk@32891 27541ba8-7e3a-0410-8455-c3a389f83636
parent 77e9ae86
Branches
Tags
No related merge requests found
...@@ -1233,6 +1233,19 @@ Report bugs to <rootdev@root.cern.ch> ...@@ -1233,6 +1233,19 @@ Report bugs to <rootdev@root.cern.ch>
EOF EOF
} }
######################################################################
#
### echo %%% Store invocation and machine info in config.log
#
logmsg "Invoked on `hostname 2>/dev/null`"
logmsg " with `uname -a 2>/dev/null`"
logmsg " at `date 2>/dev/null`:"
logmsg " $0"
for argv in "$@"; do
logmsg " \"${argv}\""
done
###################################################################### ######################################################################
# #
### echo %%% See if we got the architecture ### echo %%% See if we got the architecture
...@@ -1264,6 +1277,7 @@ if `awk '{ print $1 }' $ARCHS | grep "^$arch$" > /dev/null 2>&1` ; then ...@@ -1264,6 +1277,7 @@ if `awk '{ print $1 }' $ARCHS | grep "^$arch$" > /dev/null 2>&1` ; then
echo "Configuring for $arch" echo "Configuring for $arch"
else else
echo "Invalid architecture. Try $0 --help" echo "Invalid architecture. Try $0 --help"
logmsg "Invalid architecture \"$arch\"."
exit 1 exit 1
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment