OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [config-ml.in] - Diff between revs 157 and 225

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 133... Line 133...
        case "$option" in
        case "$option" in
        *=*)    ;;
        *=*)    ;;
        *)      optarg=yes ;;
        *)      optarg=yes ;;
        esac
        esac
        enableopt=`echo ${option} | sed 's:^--::;s:=.*$::;s:-:_:g'`
        enableopt=`echo ${option} | sed 's:^--::;s:=.*$::;s:-:_:g'`
        eval $enableopt="$optarg"
        # enable_shared and enable_static are handled by configure.
 
        # Don't undo its work.
 
        case $enableopt in
 
        enable_shared | enable_static) ;;
 
        *) eval $enableopt="$optarg" ;;
 
        esac
        ;;
        ;;
  --norecursion | --no-recursion)
  --norecursion | --no-recursion)
        ml_norecursion=yes
        ml_norecursion=yes
        ;;
        ;;
  --silent | --sil* | --quiet | --q*)
  --silent | --sil* | --quiet | --q*)
Line 380... Line 385...
              *soft-float* ) : ;;
              *soft-float* ) : ;;
              *) multidirs="${multidirs} ${x}" ;;
              *) multidirs="${multidirs} ${x}" ;;
            esac
            esac
          done
          done
        fi
        fi
        case " $multidirs " in
 
        *" mabi=64 "*)
 
          # We will not be able to create libraries with -mabi=64 if
 
          # we cannot even link a trivial program.  It usually
 
          # indicates the 64bit libraries are missing.
 
          if echo 'main() {}' > conftest.c &&
 
             ${CC-gcc} -mabi=64 conftest.c -o conftest; then
 
            :
 
          else
 
            echo Could not link program with -mabi=64, disabling it.
 
            old_multidirs="${multidirs}"
 
            multidirs=""
 
            for x in ${old_multidirs}; do
 
              case "$x" in
 
              *mabi=64* ) : ;;
 
              *) multidirs="${multidirs} ${x}" ;;
 
              esac
 
            done
 
          fi
 
          rm -f conftest.c conftest
 
          ;;
 
        esac
 
        ;;
        ;;
powerpc*-*-* | rs6000*-*-*)
powerpc*-*-* | rs6000*-*-*)
        if [ x$enable_aix64 = xno ]
        if [ x$enable_aix64 = xno ]
        then
        then
          old_multidirs="${multidirs}"
          old_multidirs="${multidirs}"
Line 493... Line 476...
              *) multidirs="${multidirs} ${x}" ;;
              *) multidirs="${multidirs} ${x}" ;;
            esac
            esac
          done
          done
        fi
        fi
        ;;
        ;;
sparc*-*-*)
 
        case " $multidirs " in
 
        *" m64 "*)
 
          # We will not be able to create libraries with -m64 if
 
          # we cannot even link a trivial program.  It usually
 
          # indicates the 64bit libraries are missing.
 
          if echo 'main() {}' > conftest.c &&
 
             ${CC-gcc} -m64 conftest.c -o conftest; then
 
            :
 
          else
 
            echo Could not link program with -m64, disabling it.
 
            old_multidirs="${multidirs}"
 
            multidirs=""
 
            for x in ${old_multidirs}; do
 
              case "$x" in
 
              *m64* ) : ;;
 
              *) multidirs="${multidirs} ${x}" ;;
 
              esac
 
            done
 
          fi
 
          rm -f conftest.c conftest
 
          ;;
 
        esac
 
        ;;
 
esac
esac
 
 
# Remove extraneous blanks from multidirs.
# Remove extraneous blanks from multidirs.
# Tests like `if [ -n "$multidirs" ]' require it.
# Tests like `if [ -n "$multidirs" ]' require it.
multidirs=`echo "$multidirs" | sed -e 's/^[ ][ ]*//' -e 's/[ ][ ]*$//' -e 's/[ ][ ]*/ /g'`
multidirs=`echo "$multidirs" | sed -e 's/^[ ][ ]*//' -e 's/[ ][ ]*$//' -e 's/[ ][ ]*/ /g'`

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.