[mythtv-commits] Ticket #8064: "unexpected operator" when mythtv/configure is run

MythTV mythtv at cvs.mythtv.org
Fri Feb 12 19:42:50 UTC 2010


#8064: "unexpected operator" when mythtv/configure is run
--------------------------------------------+-------------------------------
 Reporter:  Bill Meek <llibkeem@…>          |       Owner:  ijr    
     Type:  patch                           |      Status:  new    
 Priority:  minor                           |   Milestone:  unknown
Component:  MythTV - General                |     Version:  head   
 Severity:  low                             |     Mlocked:  0      
--------------------------------------------+-------------------------------
 When trunk/mythtv/configure is run, the following two errors print:
 {{{
 test: 3099: generic: unexpected operator
 test: 3105: generic: unexpected operator
 }}}
 Probably exposed after removing lines in 23525.
 Unless this is unique to Apple, suggest:
 {{{
 Index: configure
 ===================================================================
 --- configure   (revision 23541)
 +++ configure   (working copy)
 @@ -3094,13 +3094,13 @@
  fi

      # Apple GCC doesn't support march=core2 yet:
 -    if test $cpu == "core2"; then
 +    if test $cpu = "core2"; then
          cpu="nocona"
      fi
      # Core Duo might be identified as march=pentium3, which errors:
      # ...MachineExceptions.h:... error: '__m128i' does not name a type
      # ...MachineExceptions.h:... error: '__m128i' does not name a type
 -    if test $cpu == "pentium3"; then
 +    if test $cpu = "pentium3"; then
          cpu=prescott
      fi
  check_optflags -fomit-frame-pointer
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8064>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list