oops, FIND_ fixes
This commit is contained in:
parent
7f0378d962
commit
7a5fb7bd3d
6
TODO
6
TODO
@ -1,7 +1,3 @@
|
||||
- FIND_TIFF etc. should not search so much
|
||||
|
||||
- configure should summarize missing stuff at the end
|
||||
|
||||
- try
|
||||
|
||||
libsrc/convolution$ grep -l offsets *.c
|
||||
@ -13,7 +9,7 @@
|
||||
|
||||
fixed? not sure, check again
|
||||
|
||||
- unsharp should work on GREY16? shuld be easy to add GREY16->LABS
|
||||
- unsharp should work on GREY16? should be easy to add GREY16->LABS
|
||||
|
||||
no, labs is signed short, ranges are all differrent, and the scaling will be
|
||||
wrong anyway
|
||||
|
40
acinclude.m4
40
acinclude.m4
@ -7,8 +7,7 @@ dnl Find ZIP libraries and headers
|
||||
dnl
|
||||
dnl Put includes stuff in ZIP_INCLUDES
|
||||
dnl Put link stuff in ZIP_LIBS
|
||||
dnl
|
||||
dnl Default ACTION-IF-FOUND defines HAVE_ZIP
|
||||
dnl Define HAVE_ZIP if found
|
||||
dnl
|
||||
AC_DEFUN([FIND_ZIP], [
|
||||
AC_REQUIRE([AC_PATH_XTRA])
|
||||
@ -103,13 +102,12 @@ if test "$zip_includes_result" = "no"; then
|
||||
zip_includes_result="(none)"
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT(
|
||||
[libraries $zip_libraries_result, headers $zip_includes_result])
|
||||
AC_MSG_RESULT([libraries $zip_libraries_result, headers $zip_includes_result])
|
||||
|
||||
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
|
||||
if test "$ZIP_INCLUDES" != "no" && test "$ZIP_LIBS" != "no"; then
|
||||
ifelse([$1],,AC_DEFINE(HAVE_ZIP,1,[Define if you have libz libraries and header files.]),[$1])
|
||||
:
|
||||
AC_DEFINE(HAVE_ZIP,1,[Define if you have libz libraries and header files.])
|
||||
$1
|
||||
else
|
||||
ZIP_LIBS=""
|
||||
ZIP_INCLUDES=""
|
||||
@ -127,8 +125,7 @@ dnl Find TIFF libraries and headers
|
||||
dnl
|
||||
dnl Put compile stuff in TIFF_INCLUDES
|
||||
dnl Put link stuff in TIFF_LIBS
|
||||
dnl
|
||||
dnl Default ACTION-IF-FOUND defines HAVE_TIFF
|
||||
dnl Define HAVE_TIFF if found
|
||||
dnl
|
||||
AC_DEFUN([FIND_TIFF], [
|
||||
AC_REQUIRE([AC_PATH_XTRA])
|
||||
@ -223,13 +220,12 @@ if test "$tiff_includes_result" = "no"; then
|
||||
tiff_includes_result="(none)"
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT(
|
||||
[libraries $tiff_libraries_result, headers $tiff_includes_result])
|
||||
AC_MSG_RESULT([libraries $tiff_libraries_result, headers $tiff_includes_result])
|
||||
|
||||
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
|
||||
if test "$TIFF_INCLUDES" != "no" && test "$TIFF_LIBS" != "no"; then
|
||||
ifelse([$1],,AC_DEFINE(HAVE_TIFF,1,[Define if you have tiff libraries and header files.]),[$1])
|
||||
:
|
||||
AC_DEFINE(HAVE_TIFF,1,[Define if you have tiff libraries and header files.])
|
||||
$1
|
||||
else
|
||||
TIFF_INCLUDES=""
|
||||
TIFF_LIBS=""
|
||||
@ -247,8 +243,7 @@ dnl Find JPEG libraries and headers
|
||||
dnl
|
||||
dnl Put compile stuff in JPEG_INCLUDES
|
||||
dnl Put link stuff in JPEG_LIBS
|
||||
dnl
|
||||
dnl Default ACTION-IF-FOUND defines HAVE_JPEG
|
||||
dnl Define HAVE_JPEG if found
|
||||
dnl
|
||||
AC_DEFUN([FIND_JPEG], [
|
||||
AC_REQUIRE([AC_PATH_XTRA])
|
||||
@ -349,13 +344,12 @@ if test "$jpeg_includes_result" = "no"; then
|
||||
jpeg_includes_result="(none)"
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT(
|
||||
[libraries $jpeg_libraries_result, headers $jpeg_includes_result])
|
||||
AC_MSG_RESULT([libraries $jpeg_libraries_result, headers $jpeg_includes_result])
|
||||
|
||||
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
|
||||
if test "$JPEG_INCLUDES" != "no" && test "$JPEG_LIBS" != "no"; then
|
||||
ifelse([$1],,AC_DEFINE(HAVE_JPEG,1,[Define if you have jpeg libraries and header files.]),[$1])
|
||||
:
|
||||
AC_DEFINE(HAVE_JPEG,1,[Define if you have jpeg libraries and header files.])
|
||||
$1
|
||||
else
|
||||
JPEG_INCLUDES=""
|
||||
JPEG_LIBS=""
|
||||
@ -373,8 +367,7 @@ dnl Find PNG libraries and headers
|
||||
dnl
|
||||
dnl Put compile stuff in PNG_INCLUDES
|
||||
dnl Put link stuff in PNG_LIBS
|
||||
dnl
|
||||
dnl Default ACTION-IF-FOUND defines HAVE_PNG
|
||||
dnl Define HAVE_PNG if found.
|
||||
dnl
|
||||
AC_DEFUN([FIND_PNG], [
|
||||
AC_REQUIRE([AC_PATH_XTRA])
|
||||
@ -469,13 +462,12 @@ if test "$png_includes_result" = "no"; then
|
||||
png_includes_result="(none)"
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT(
|
||||
[libraries $png_libraries_result, headers $png_includes_result])
|
||||
AC_MSG_RESULT([libraries $png_libraries_result, headers $png_includes_result])
|
||||
|
||||
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
|
||||
if test "$PNG_INCLUDES" != "no" && test "$PNG_LIBS" != "no"; then
|
||||
ifelse([$1],,AC_DEFINE(HAVE_PNG,1,[Define if you have png libraries and header files.]),[$1])
|
||||
:
|
||||
AC_DEFINE(HAVE_PNG,1,[Define if you have png libraries and header files.])
|
||||
$1
|
||||
else
|
||||
PNG_INCLUDES=""
|
||||
PNG_LIBS=""
|
||||
|
Loading…
Reference in New Issue
Block a user