Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Explicit link to libpthread has been eliminated.

  • Loading branch information...
commit d5112330e763a6691a6e98c6aed1c417b2b5a0ae 1 parent eb7ef02
@fukuchi fukuchi authored
View
2  ChangeLog
@@ -3,6 +3,8 @@
* Following fixes have been contributed by Yutaka Niibe.
* qrencode.1.in:
- "Hyphen-used-as-minus-sign" error has been fixed.
+ * configure.ac, libqrencode.pc.in, tests/Makefile.am:
+ - Explicit link to libpthread has been eliminated.
2012.04.01 Kentaro FUKUCHI <kentaro@fukuchi.org>
[3.3]
View
21 README
@@ -120,13 +120,14 @@ countries.
Reed-Solomon encoder is written by Phil Karn, KA9Q.
Copyright (C) 2002, 2003, 2004, 2006 Phil Karn, KA9Q
-NANKI Haruo - improved lower-case characteres encoding
-Philippe Delcroix - improved mask evaluation
-Yusuke Mihara - structured-append support
-David Dahl - DPI patch
-Adam Shepherd - bug fix patch of the mask evaluation
-Josef Eisl (zapster) - EPS support patch
-Colin (moshen) - ANSI support patch
-Ralf Ertzinger - ASCII support patch
-Shigeyuki Hirai, Paul Janssens, wangsai, Gavan Fantom, Yutaka Niibe (gniibe),
-Matthew Baker - bug report / suggestion
+NANKI Haruo - improved lower-case characteres encoding
+Philippe Delcroix - improved mask evaluation
+Yusuke Mihara - structured-append support
+David Dahl - DPI patch
+Adam Shepherd - bug fix patch of the mask evaluation
+Josef Eisl (zapster) - EPS support patch
+Colin (moshen) - ANSI support patch
+Ralf Ertzinger - ASCII support patch
+Yutaka Niibe (gniibe) - various bug fix patches
+Shigeyuki Hirai, Paul Janssens, wangsai, Gavan Fantom, Matthew Baker
+ - bug report / suggestion
View
2  configure.ac
@@ -42,7 +42,7 @@ AC_ARG_ENABLE([thread-safety], [AS_HELP_STRING([--enable-thread-safety], [make t
[], [enable_thread_safety=yes])
if test x$enable_thread_safety = xyes; then
- AC_CHECK_LIB([pthread], [pthread_mutex_init])
+ AC_CHECK_LIB([pthread], [pthread_mutex_init], [AC_SUBST([LIBPTHREAD], [-lpthread])])
fi
AM_CONDITIONAL([HAVE_LIBPTHREAD], [test "x$ac_cv_lib_pthread_pthread_mutex_init" = "xyes" ])
View
3  libqrencode.pc.in
@@ -6,5 +6,6 @@ includedir=@includedir@
Name: libqrencode
Description: A QR Code encoding library
Version: @VERSION@
-Libs: -L${libdir} -lqrencode @LIBS@
+Libs: -L${libdir} -lqrencode
+Libs.private: @LIBPTHREAD@
Cflags: -I${includedir}
View
2  tests/Makefile.am
@@ -55,7 +55,7 @@ prof_qrencode_SOURCES = prof_qrencode.c
prof_qrencode_LDADD = ../libqrencode.la
pthread_qrencode_SOURCES = pthread_qrencode.c
-pthread_qrencode_LDADD = ../libqrencode.la
+pthread_qrencode_LDADD = ../libqrencode.la $(LIBPTHREAD)
create_frame_pattern_SOURCES = create_frame_pattern.c
create_frame_pattern_CFLAGS = $(png_CFLAGS)
Please sign in to comment.
Something went wrong with that request. Please try again.