22 lines
608 B
Plaintext
22 lines
608 B
Plaintext
$OpenBSD: patch-configure_in,v 1.1.1.1 2007/06/28 15:07:44 espie Exp $
|
|
--- configure.in.orig Wed Jun 13 02:01:45 2007
|
|
+++ configure.in Thu Jun 28 12:05:34 2007
|
|
@@ -113,7 +113,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
|
|
@@ -123,7 +123,7 @@ choke!
|
|
], [
|
|
cmsOpenProfileFromFile("foo", "r");
|
|
],
|
|
- [LCMS_LIBS='-llcms'; have_lcms='yes'])
|
|
+ [LCMS_LIBS='-llcms -lm'; have_lcms='yes'])
|
|
LIBS=$saved_libs
|
|
fi
|
|
|