Opened 11 years ago
Closed 11 years ago
#8064 closed patch (fixed)
"unexpected operator" when mythtv/configure is run
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - General | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
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
Note: See
TracTickets for help on using
tickets.
(In [23543]) configure: fix merge error in [23525]. Refs #7233
move darwin-only -march= fixup under if test $target_os = darwin and fix test equal operator. Fixes #8064