mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
2.1 KiB

  1. --- ./configure.orig 2004-07-15 00:04:42.000000000 +0200
  2. +++ ./configure 2004-08-12 06:30:02.000000000 +0200
  3. @@ -513,7 +513,7 @@
  4. if test "$_skip_cc_check" != yes ; then
  5. for _cc in "$_cc" gcc gcc-3.3 gcc-3.2 gcc-3.1 gcc3 gcc-3.0 cc ; do
  6. echocheck "$_cc version"
  7. - cc_name=`( $_cc -v ) 2>&1 | tail -1 | cut -d ' ' -f 1`
  8. + cc_name=`( $_cc -v ) 2>&1 | tail -n1 | cut -d ' ' -f 1`
  9. cc_version=`( $_cc -dumpversion ) 2>&1`
  10. if test "$?" -gt 0; then
  11. cc_version="not found"
  12. @@ -623,15 +623,15 @@
  13. _def_arch="#define ARCH_X86 1"
  14. _target_arch="TARGET_ARCH_X86 = yes"
  15. - pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | head -1`
  16. - pvendor=`$_cpuinfo | grep 'vendor_id' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1`
  17. - pfamily=`$_cpuinfo | grep 'cpu family' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1`
  18. - pmodel=`$_cpuinfo | grep -v 'model name' | grep 'model' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1`
  19. - pstepping=`$_cpuinfo | grep 'stepping' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1`
  20. + pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | head -n1`
  21. + pvendor=`$_cpuinfo | grep 'vendor_id' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -n1`
  22. + pfamily=`$_cpuinfo | grep 'cpu family' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -n1`
  23. + pmodel=`$_cpuinfo | grep -v 'model name' | grep 'model' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -n1`
  24. + pstepping=`$_cpuinfo | grep 'stepping' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -n1`
  25. - pparam=`$_cpuinfo | grep 'features' | cut -d ':' -f 2 | head -1`
  26. + pparam=`$_cpuinfo | grep 'features' | cut -d ':' -f 2 | head -n1`
  27. if test -z "$pparam" ; then
  28. - pparam=`$_cpuinfo | grep 'flags' | cut -d ':' -f 2 | head -1`
  29. + pparam=`$_cpuinfo | grep 'flags' | cut -d ':' -f 2 | head -n1`
  30. fi
  31. _mmx=no
  32. @@ -884,7 +884,7 @@
  33. echocheck "CPU type"
  34. if linux && test -n "$_cpuinfo"; then
  35. - proc=`$_cpuinfo | grep 'cpu' | cut -d ':' -f 2 | cut -d ',' -f 1 | cut -b 2- | head -1`
  36. + proc=`$_cpuinfo | grep 'cpu' | cut -d ':' -f 2 | cut -d ',' -f 1 | cut -b 2- | head -n1`
  37. if test -n "`$_cpuinfo | grep altivec`"; then
  38. _altivec=yes
  39. fi