diff -Naur onig-5.9.2/configure.in onig-5.9.2-haiku/configure.in
--- onig-5.9.2/configure.in	2010-01-05 22:48:47.002097152 +0900
+++ onig-5.9.2-haiku/configure.in	2011-05-06 23:43:40.378535936 +0900
@@ -38,6 +38,7 @@
 
 dnl Checks for programs.
 AC_PROG_CC
+AM_PROG_CC_C_O
 AM_PROG_LIBTOOL
 LTVERSION="2:0:0"
 AC_SUBST(LTVERSION)
