This repository has been archived by the owner on Sep 4, 2019. It is now read-only.
forked from fukuchi/libqrencode
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
fukuchi
committed
Dec 17, 2006
1 parent
fdea022
commit 7fd4edd
Showing
4 changed files
with
7 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,6 +1,8 @@ | |||
2006.12.17 Kentaro FUKUCHI <fukuchi@megaui.net> | 2006.12.17 Kentaro FUKUCHI <fukuchi@megaui.net> | ||
* qrencode_inner.h, qrencode.c: | * qrencode_inner.h, qrencode.c: | ||
- Removed unused member variable "b2" from QRRawCode. | - Removed unused member variable "b2" from QRRawCode. | ||
* configure.ac, Makefile.am, acinclude.m4: | |||
- Better configuration of libpng. (now uses pkg-config correctly) | |||
|
|
||
2006.12.02 Kentaro FUKUCHI <fukuchi@megaui.net> | 2006.12.02 Kentaro FUKUCHI <fukuchi@megaui.net> | ||
* Bumped version to 1.0.0. | * Bumped version to 1.0.0. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,44 +0,0 @@ | |||
dnl Test for libpng | |||
AC_DEFUN([AM_PATH_LIBPNG], | |||
[ | |||
if test x$with_libpng != xno && test -z "$LIBPNG"; then | |||
AC_MSG_CHECKING(for libpng12) | |||
if pkg-config --exists libpng12 ; then | |||
AC_MSG_RESULT(yes) | |||
PNG='png' | |||
PNG_DEP_CFLAGS_PACKAGES=libpng12 | |||
LIBPNG=`pkg-config --libs libpng12` | |||
else | |||
AC_MSG_RESULT(no) | |||
AC_CHECK_LIB(png, png_read_info, | |||
[AC_CHECK_HEADER(png.h, | |||
png_ok=yes, | |||
png_ok=no)], | |||
AC_MSG_WARN(*** PNG library not found), -lz -lm) | |||
if test "$png_ok" = yes; then | |||
AC_MSG_CHECKING([for png_structp in png.h]) | |||
AC_TRY_COMPILE([#include <png.h>], | |||
[png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;], | |||
png_ok=yes, | |||
png_ok=no) | |||
AC_MSG_RESULT($png_ok) | |||
if test "$png_ok" = yes; then | |||
PNG='png'; LIBPNG='-lpng -lz' | |||
else | |||
AC_MSG_WARN(*** PNG library is too old) | |||
fi | |||
else | |||
AC_MSG_WARN(*** PNG header file not found) | |||
fi | |||
fi | |||
fi | |||
if test x$with_libpng != xno && test -z "$LIBPNG"; then | |||
AC_MSG_ERROR([ | |||
*** Checks for PNG library failed. You can build the library without it by | |||
*** passing --without-tools to configure but utility tools are not to be | |||
*** built.]) | |||
fi | |||
AC_SUBST(LIBPNG) | |||
]) | |||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters