22 lines
604 B
Plaintext
22 lines
604 B
Plaintext
$OpenBSD: patch-configure_in,v 1.2 2007/03/15 08:07:39 espie Exp $
|
|
--- configure.in.orig Sun Mar 4 21:33:34 2007
|
|
+++ configure.in Wed Mar 7 09:22:57 2007
|
|
@@ -194,7 +194,7 @@ have_lcms='no'
|
|
if test "$have_lcms_header" = 'yes'
|
|
then
|
|
saved_libs=$LIBS
|
|
- LIBS="$LIBS -llcms"
|
|
+ LIBS="$LIBS -llcms -lm"
|
|
AC_TRY_LINK([
|
|
#define inline __inline /* gcc is in ansi mode */
|
|
#include LCMS_HEADER
|
|
@@ -204,7 +204,7 @@ choke!
|
|
], [
|
|
cmsOpenProfileFromFile("foo", "r");
|
|
],
|
|
- [LCMS_LIBS='-llcms'; have_lcms='yes'])
|
|
+ [LCMS_LIBS='-llcms -lm'; have_lcms='yes'])
|
|
LIBS=$saved_libs
|
|
fi
|
|
|