$OpenBSD: patch-configure,v 1.3 2013/06/17 19:31:32 ajacoutot Exp $
--- configure.orig	Tue Oct  2 19:02:53 2007
+++ configure	Sat Oct 16 13:40:59 2010
@@ -4668,10 +4668,10 @@ TEST_SHELL=sh
 
 
 
-CFLAGS="-g -O3"
+#CFLAGS="-g -O3"
 
 NXCOMPINC="-I../nxcomp"
-NXCOMPLIBS="-L../nxcomp -lXcomp -lstdc++ -lpng -ljpeg -lz"
+NXCOMPLIBS="-L../nxcomp -lXcomp -lstdc++ -lm -lpng -ljpeg -lz"
 
 # Extract the first word of "groupadd", so it can be a program name with args.
 set dummy groupadd; ac_word=$2
