configure fails on Mac OS X

Bug #889949 reported by Carlos Sánchez de La Lama
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pocl
Fix Released
Undecided
Carlos Sánchez de La Lama

Bug Description

Fails during detection of native kernel library choice.

[...]
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
configure: using the x86_64 optimized kernel lib for the native device
../../src/pocl/configure: line 17776: syntax error near unexpected token `fi'
../../src/pocl/configure: line 17776: `fi'
make: *** [config.status] Error 2

It work on ubuntu, though.

Related branches

Changed in pocl:
assignee: nobody → Carlos Sánchez de La Lama (csanchezdll)
Revision history for this message
Carlos Sánchez de La Lama (csanchezdll) wrote :

Seems AC_ARG_ENABLE empty /action-if-not-given/ creates an empty else...fi clause which Lion shell complains about, but the argument is optional so just removing it fixed the bug.

Changed in pocl:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.