diff options
| author | filliatr | 2003-01-13 10:43:20 +0000 |
|---|---|---|
| committer | filliatr | 2003-01-13 10:43:20 +0000 |
| commit | a70a5e4bddec01dc2dfa18180f3fd5f795618922 (patch) | |
| tree | d0f541ad33e0a10b8953650106b3e59bdeddbcd7 | |
| parent | 35d65aeb0c449a4fc0fcfd9bec162649596b09b0 (diff) | |
patch configure (V Aymeric)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3496 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rwxr-xr-x | configure | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -113,17 +113,19 @@ esac # Architecture case $arch_spec in - no) if test -f /bin/arch ; then + no) if test -x /bin/arch ; then ARCH=`/bin/arch` - elif test -f /usr/bin/arch ; then + elif test -x /usr/bin/arch ; then ARCH=`/usr/bin/arch` - elif test -f /usr/ucb/arch ; then + elif test -x /usr/ucb/arch ; then ARCH=`/usr/ucb/arch` - elif /bin/uname -s | grep -q -i CYGWIN ; then + elif test -x /bin/uname && (/bin/uname -s | grep -q -i CYGWIN) ; then ARCH=win32 # cygwin returns a name of the form \\cygdrive\\c\\... # that coqc does not understand; need to transform it COQTOP=`echo $COQTOP | sed -e "s#.*cygdrive.\(.\)#\1:#"` + elif test -x /usr/bin/uname ; then + ARCH=`/usr/bin/uname -s` else echo "I can not automatically find the name of your architecture" echo -n\ |
