6277ad089d
* Update MASTER_SITES to MASTER_SITE_LOCAL Changelog: New with 1.0.23, released 2012-08-19: * New backends: kvs40xx (Panasonic KV-S40xx), kodakaio (Kodak AiO ESP and Hero) * Significant enhancements to several backends. * 30 new scanner models supported. * V4L support improvements. * Improvements for builds on multiple platforms. * Improved udev rules. * Updated software deskew algorithm. * Documentation updates. * Bugfixes.
47 lines
1.9 KiB
Text
47 lines
1.9 KiB
Text
$NetBSD: patch-ab,v 1.13 2012/12/10 12:06:51 ryoon Exp $
|
|
|
|
--- configure.orig 2012-08-19 20:45:11.000000000 +0000
|
|
+++ configure
|
|
@@ -7236,13 +7236,13 @@ if test "x$ac_cv_header_pthread_h" = xye
|
|
#define HAVE_PTHREAD_H 1
|
|
_ACEOF
|
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
|
|
-$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5
|
|
+$as_echo_n "checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... " >&6; }
|
|
if ${ac_cv_lib_pthread_pthread_create+:} false; then :
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lpthread $LIBS"
|
|
+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -7273,7 +7273,7 @@ fi
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
|
|
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
|
|
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
|
|
- PTHREAD_LIBS="-lpthread"
|
|
+ PTHREAD_LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
|
|
fi
|
|
|
|
have_pthread=yes
|
|
@@ -17741,14 +17741,14 @@ for be in ${BACKENDS}; do
|
|
;;
|
|
|
|
mustek_pp)
|
|
- if test "${sane_cv_use_libieee1284}" != "yes" && test "${enable_parport_directio}" != "yes"; then
|
|
+ if test "${sane_cv_use_libieee1284}" != "yes" || test "${enable_parport_directio}" != "yes"; then
|
|
echo "*** $be backend requires libieee1284 and paraport-directio libraries - $DISABLE_MSG"
|
|
backend_supported="no"
|
|
fi
|
|
;;
|
|
|
|
dell1600n_net)
|
|
- if test "${sane_cv_use_libjpeg}" != "yes" || test "${sane_cv_use_libtiff}" != "yes"; then
|
|
+ if test "${sane_cv_use_libjpeg}" != "yes" && test "${sane_cv_use_libtiff}" != "yes"; then
|
|
echo "*** $be backend requires JPEG and/or TIFF library - $DISABLE_MSG"
|
|
backend_supported="no"
|
|
fi
|