Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oleksii Turkot
CrystFEL
Commits
c57e0ce8
Commit
c57e0ce8
authored
Mar 09, 2011
by
Thomas White
Browse files
Fix TIFF test
parent
119608ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
config.h.in
View file @
c57e0ce8
...
...
@@ -53,9 +53,6 @@
/* Define to 1 if libPNG is available */
#undef HAVE_LIBPNG
/* Define to 1 if you have the `tiff' library (-ltiff). */
#undef HAVE_LIBTIFF
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#undef HAVE_MALLOC
...
...
configure
View file @
c57e0ce8
...
...
@@ -7043,14 +7043,10 @@ fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_lib_tiff_TIFFOpen
"
>
&5
$as_echo
"
$ac_cv_lib_tiff_TIFFOpen
"
>
&6
;
}
if
test
"x
$ac_cv_lib_tiff_TIFFOpen
"
=
x
""
yes
;
then
:
cat
>>
confdefs.h
<<
_ACEOF
#define HAVE_LIBTIFF 1
_ACEOF
LIBS
=
"-ltiff
$LIBS
"
have_libtiff
=
true
LIBTIFF_LIBS
=
"-ltiff"
else
have_libtiff
=
true
fi
...
...
configure.ac
View file @
c57e0ce8
...
...
@@ -159,7 +159,10 @@ AS_IF([test "x$enable_tiff" != "xno"],
LIBTIFF_LIBS="-L$withval/lib -ltiff"
have_libtiff=true
], [
AC_CHECK_LIB([tiff], [TIFFOpen], [], [have_libtiff=true])
AC_CHECK_LIB([tiff], [TIFFOpen], [
have_libtiff=true
LIBTIFF_LIBS="-ltiff"
])
])
], [
AC_MSG_RESULT([no])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment